diff options
Diffstat (limited to 'sw/inc/IDocumentSettingAccess.hxx')
-rw-r--r-- | sw/inc/IDocumentSettingAccess.hxx | 31 |
1 files changed, 26 insertions, 5 deletions
diff --git a/sw/inc/IDocumentSettingAccess.hxx b/sw/inc/IDocumentSettingAccess.hxx index 8273954f4a71..0dd9467bdf13 100644 --- a/sw/inc/IDocumentSettingAccess.hxx +++ b/sw/inc/IDocumentSettingAccess.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SW_INC_IDOCUMENTSETTINGACCESS_HXX -#define INCLUDED_SW_INC_IDOCUMENTSETTINGACCESS_HXX +#pragma once #include <sal/types.h> #include "fldupde.hxx" @@ -59,6 +58,8 @@ enum class DocumentSettingId DO_NOT_JUSTIFY_LINES_WITH_MANUAL_BREAK, TREAT_SINGLE_COLUMN_BREAK_AS_PAGE_BREAK, DO_NOT_RESET_PARA_ATTRS_FOR_NUM_FONT, + // tdf#159382: MS Word compatible handling of space between footnote number and text + NO_GAP_AFTER_NOTE_NUMBER, DO_NOT_CAPTURE_DRAW_OBJS_ON_PAGE, TABLE_ROW_KEEP, @@ -82,6 +83,7 @@ enum class DocumentSettingId CLIPPED_PICTURES, BACKGROUND_PARA_OVER_DRAWINGS, TAB_OVER_MARGIN, + TAB_OVER_SPACING, // MS Word still wraps text around objects with less space than LO would. SURROUND_TEXT_WRAP_SMALL, PROP_LINE_SPACING_SHRINKS_FIRST_LINE, @@ -89,6 +91,14 @@ enum class DocumentSettingId // tdf#112443 disable off-page content positioning DISABLE_OFF_PAGE_POSITIONING, EMPTY_DB_FIELD_HIDES_PARA, + // tdf#129448: Auto first-line indent should not be effected by line space + AUTO_FIRST_LINE_INDENT_DISREGARD_LINE_SPACE, + HYPHENATE_URLS, ///< tdf#152952 + DO_NOT_BREAK_WRAPPED_TABLES, + ALLOW_TEXT_AFTER_FLOATING_TABLE_BREAK, + // tdf#119908 new paragraph justification + JUSTIFY_LINES_WITH_SHRINKING, + APPLY_TEXT_ATTR_TO_EMPTY_LINE_AT_END_OF_PARAGRAPH, // COMPATIBILITY FLAGS END BROWSE_MODE, HTML_MODE, @@ -99,7 +109,6 @@ enum class DocumentSettingId KERN_ASIAN_PUNCTUATION, MATH_BASELINE_ALIGNMENT, STYLES_NODEFAULT, - FLOATTABLE_NOMARGINS, EMBED_FONTS, EMBED_USED_FONTS, EMBED_LATIN_SCRIPT_FONTS, @@ -112,6 +121,17 @@ enum class DocumentSettingId PROTECT_FIELDS, HEADER_SPACING_BELOW_LAST_PARA, FRAME_AUTOWIDTH_WITH_MORE_PARA, + GUTTER_AT_TOP, + // footnoteContainer default position is the page end instead of the column end + // only if "evenly distributed" is set, and "collected at the end" is not set + FOOTNOTE_IN_COLUMN_TO_PAGEEND, + // Should we display follow by symbol for numbered paragraph if numbering exists, but "None"? + NO_NUMBERING_SHOW_FOLLOWBY, + // drop cap punctuation: smaller dashes, bullet, asterisks, quotation marks etc. + // by extending the rounding box of the glyph to the baseline + DROP_CAP_PUNCTUATION, + // render NBSP as standard-space-width (prettier when justified) + USE_VARIABLE_WIDTH_NBSP, }; /** Provides access to settings of a document @@ -250,10 +270,11 @@ public: */ virtual void Setn32DummyCompatibilityOptions2(const sal_uInt32 CompatibilityOptions2) = 0; + virtual sal_Int32 getImagePreferredDPI() = 0; + virtual void setImagePreferredDPI(sal_Int32 nValue) = 0; + protected: virtual ~IDocumentSettingAccess(){}; }; -#endif // INCLUDED_SW_INC_IDOCUMENTSETTINGACCESS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |