LibreOffice Module sw (master) 1
Public Member Functions | Private Attributes | List of all members
sw::DocumentSettingManager Class Referencefinal

#include <DocumentSettingManager.hxx>

Inheritance diagram for sw::DocumentSettingManager:
[legend]
Collaboration diagram for sw::DocumentSettingManager:
[legend]

Public Member Functions

 DocumentSettingManager (SwDoc &rDoc)
 
virtual ~DocumentSettingManager () override
 
virtual bool get (DocumentSettingId id) const override
 Return the specified document setting. More...
 
virtual void set (DocumentSettingId id, bool value) override
 Set the specified document setting. More...
 
virtual const css::i18n::ForbiddenCharacters * getForbiddenCharacters (LanguageType nLang, bool bLocaleData) const override
 Return the forbidden characters. More...
 
virtual void setForbiddenCharacters (LanguageType nLang, const css::i18n::ForbiddenCharacters &rForbiddenCharacters) override
 Set the forbidden characters. More...
 
virtual std::shared_ptr< SvxForbiddenCharactersTable > & getForbiddenCharacterTable () override
 Get the forbidden character table and creates one if necessary. More...
 
virtual const std::shared_ptr< SvxForbiddenCharactersTable > & getForbiddenCharacterTable () const override
 Get the forbidden character table. More...
 
virtual sal_uInt16 getLinkUpdateMode (bool bGlobalSettings) const override
 Get the current link update mode. More...
 
virtual void setLinkUpdateMode (sal_uInt16 nMode) override
 Set the current link update mode. More...
 
virtual SwFieldUpdateFlags getFieldUpdateFlags (bool bGlobalSettings) const override
 Get the current field update mode. More...
 
virtual void setFieldUpdateFlags (SwFieldUpdateFlags eMode) override
 Set the current field update mode. More...
 
virtual CharCompressType getCharacterCompressionType () const override
 Get the character compression type for Asian characters. More...
 
virtual void setCharacterCompressionType (CharCompressType nType) override
 Set the character compression type for Asian characters. More...
 
sal_Int32 getImagePreferredDPI () override
 
void setImagePreferredDPI (sal_Int32 nValue) override
 
void ReplaceCompatibilityOptions (const DocumentSettingManager &rSource)
 
sal_uInt32 Getn32DummyCompatibilityOptions1 () const override
 Get the n32DummyCompatibilityOptions1. More...
 
void Setn32DummyCompatibilityOptions1 (const sal_uInt32 CompatibilityOptions1) override
 Set the n32DummyCompatibilityOptions1. More...
 
sal_uInt32 Getn32DummyCompatibilityOptions2 () const override
 Get the n32DummyCompatibilityOptions2. More...
 
void Setn32DummyCompatibilityOptions2 (const sal_uInt32 CompatibilityOptions2) override
 Set the n32DummyCompatibilityOptions2. More...
 
void dumpAsXml (xmlTextWriterPtr pWriter) const
 
virtual bool get (DocumentSettingId id) const =0
 Return the specified document setting. More...
 
virtual void set (DocumentSettingId id, bool value)=0
 Set the specified document setting. More...
 
virtual const css::i18n::ForbiddenCharacters * getForbiddenCharacters (LanguageType nLang, bool bLocaleData) const =0
 Return the forbidden characters. More...
 
virtual void setForbiddenCharacters (LanguageType nLang, const css::i18n::ForbiddenCharacters &rForbiddenCharacters)=0
 Set the forbidden characters. More...
 
virtual std::shared_ptr< SvxForbiddenCharactersTable > & getForbiddenCharacterTable ()=0
 Get the forbidden character table and creates one if necessary. More...
 
virtual const std::shared_ptr< SvxForbiddenCharactersTable > & getForbiddenCharacterTable () const =0
 Get the forbidden character table. More...
 
virtual sal_uInt16 getLinkUpdateMode (bool bGlobalSettings) const =0
 Get the current link update mode. More...
 
virtual void setLinkUpdateMode (sal_uInt16 nMode)=0
 Set the current link update mode. More...
 
virtual SwFieldUpdateFlags getFieldUpdateFlags (bool bGlobalSettings) const =0
 Get the current field update mode. More...
 
virtual void setFieldUpdateFlags (SwFieldUpdateFlags nMode)=0
 Set the current field update mode. More...
 
virtual CharCompressType getCharacterCompressionType () const =0
 Get the character compression type for Asian characters. More...
 
virtual void setCharacterCompressionType (CharCompressType nType)=0
 Set the character compression type for Asian characters. More...
 
virtual sal_uInt32 Getn32DummyCompatibilityOptions1 () const =0
 Get the n32DummyCompatibilityOptions1. More...
 
virtual void Setn32DummyCompatibilityOptions1 (const sal_uInt32 CompatibilityOptions1)=0
 Set the n32DummyCompatibilityOptions1. More...
 
virtual sal_uInt32 Getn32DummyCompatibilityOptions2 () const =0
 Get the n32DummyCompatibilityOptions2. More...
 
virtual void Setn32DummyCompatibilityOptions2 (const sal_uInt32 CompatibilityOptions2)=0
 Set the n32DummyCompatibilityOptions2. More...
 
virtual sal_Int32 getImagePreferredDPI ()=0
 
virtual void setImagePreferredDPI (sal_Int32 nValue)=0
 

Private Attributes

std::shared_ptr< SvxForbiddenCharactersTablemxForbiddenCharsTable
 
SwDocm_rDoc
 
sal_uInt16 mnLinkUpdMode
 
SwFieldUpdateFlags meFieldUpdMode
 
CharCompressType meChrCmprType
 
sal_uInt32 mn32DummyCompatibilityOptions1
 
sal_uInt32 mn32DummyCompatibilityOptions2
 
bool mbHTMLMode: 1
 
bool mbIsGlobalDoc: 1
 
bool mbGlblDocSaveLinks: 1
 
bool mbIsLabelDoc: 1
 
bool mbPurgeOLE: 1
 
bool mbKernAsianPunctuation: 1
 
bool mbParaSpaceMax: 1
 
bool mbParaSpaceMaxAtPages: 1
 
bool mbTabCompat: 1
 
bool mbUseVirtualDevice: 1
 
bool mbAddFlyOffsets: 1
 
bool mbAddVerticalFlyOffsets: 1
 
bool mbAddExternalLeading: 1
 
bool mbUseHiResolutionVirtualDevice: 1
 
bool mbOldLineSpacing: 1
 
bool mbAddParaSpacingToTableCells: 1
 
bool mbUseFormerObjectPos: 1
 
bool mbUseFormerTextWrapping: 1
 
bool mbConsiderWrapOnObjPos: 1
 
bool mbMathBaselineAlignment: 1
 
bool mbStylesNoDefault: 1
 
bool mbFloattableNomargins: 1
 
bool mEmbedFonts: 1
 
bool mEmbedUsedFonts: 1
 
bool mEmbedLatinScriptFonts: 1
 
bool mEmbedAsianScriptFonts: 1
 
bool mEmbedComplexScriptFonts: 1
 
bool mEmbedSystemFonts: 1
 
bool mbOldNumbering: 1
 
bool mbIgnoreFirstLineIndentInNumbering: 1
 
bool mbDoNotJustifyLinesWithManualBreak: 1
 
bool mbDoNotResetParaAttrsForNumFont: 1
 
bool mbTableRowKeep: 1
 
bool mbIgnoreTabsAndBlanksForLineCalculation: 1
 
bool mbDoNotCaptureDrawObjsOnPage: 1
 
bool mbClipAsCharacterAnchoredWriterFlyFrames: 1
 
bool mbUnixForceZeroExtLeading: 1
 
bool mbTabRelativeToIndent: 1
 
bool mbProtectForm: 1
 
bool mbMsWordCompTrailingBlanks: 1
 
bool mbMsWordCompMinLineHeightByFly: 1
 
bool mbInvertBorderSpacing: 1
 
bool mbCollapseEmptyCellPara: 1
 
bool mbTabAtLeftIndentForParagraphsInList
 
bool mbSmallCapsPercentage66
 
bool mbTabOverflow
 
bool mbUnbreakableNumberings
 
bool mbClippedPictures
 
bool mbBackgroundParaOverDrawings
 
bool mbTabOverMargin
 
bool mbTabOverSpacing
 
bool mbTreatSingleColumnBreakAsPageBreak
 
bool mbSurroundTextWrapSmall
 
bool mbPropLineSpacingShrinksFirstLine
 
bool mbSubtractFlys
 
bool mApplyParagraphMarkFormatToNumbering
 
bool mbAddParaLineSpacingToTableCells
 
bool mbLastBrowseMode: 1
 
bool mbDisableOffPagePositioning
 
bool mbEmptyDbFieldHidesPara
 
bool mbContinuousEndnotes = false
 
bool mbProtectBookmarks
 
bool mbProtectFields
 
bool mbHeaderSpacingBelowLastPara
 
bool mbFrameAutowidthWithMorePara
 
bool mbGutterAtTop
 Gutter position: false means left (not a compatibility setting). More...
 
bool mbFootnoteInColumnToPageEnd
 
sal_Int32 mnImagePreferredDPI
 
bool mbAutoFirstLineIndentDisregardLineSpace
 
bool mbHyphenateURLs = false
 
bool mbDoNotBreakWrappedTables = false
 
bool mbNoNumberingShowFollowBy
 
bool mbDropCapPunctuation
 
bool mbUseVariableWidthNBSP: 1
 

Additional Inherited Members

- Protected Member Functions inherited from IDocumentSettingAccess
virtual ~IDocumentSettingAccess ()
 

Detailed Description

Definition at line 27 of file DocumentSettingManager.hxx.

Constructor & Destructor Documentation

◆ DocumentSettingManager()

sw::DocumentSettingManager::DocumentSettingManager ( SwDoc rDoc)

◆ ~DocumentSettingManager()

sw::DocumentSettingManager::~DocumentSettingManager ( )
overridevirtual

Definition at line 169 of file DocumentSettingManager.cxx.

Member Function Documentation

◆ dumpAsXml()

void sw::DocumentSettingManager::dumpAsXml ( xmlTextWriterPtr  pWriter) const

Definition at line 752 of file DocumentSettingManager.cxx.

◆ get()

bool sw::DocumentSettingManager::get ( DocumentSettingId  id) const
overridevirtual

Return the specified document setting.

Parameters
id[in] the identifier of the document setting to be returned. See above for a list of valid document setting identifiers.
Returns
the value of the requested document setting.

Implements IDocumentSettingAccess.

Definition at line 174 of file DocumentSettingManager.cxx.

References ADD_EXT_LEADING, ADD_FLY_OFFSETS, ADD_PARA_LINE_SPACING_TO_TABLE_CELLS, ADD_PARA_SPACING_TO_TABLE_CELLS, ADD_VERTICAL_FLY_OFFSETS, APPLY_PARAGRAPH_MARK_FORMAT_TO_NUMBERING, AUTO_FIRST_LINE_INDENT_DISREGARD_LINE_SPACE, BACKGROUND_PARA_OVER_DRAWINGS, BROWSE_MODE, CLIP_AS_CHARACTER_ANCHORED_WRITER_FLY_FRAME, CLIPPED_PICTURES, COLLAPSE_EMPTY_CELL_PARA, CONSIDER_WRAP_ON_OBJECT_POSITION, CONTINUOUS_ENDNOTES, DISABLE_OFF_PAGE_POSITIONING, DO_NOT_BREAK_WRAPPED_TABLES, DO_NOT_CAPTURE_DRAW_OBJS_ON_PAGE, DO_NOT_JUSTIFY_LINES_WITH_MANUAL_BREAK, DO_NOT_RESET_PARA_ATTRS_FOR_NUM_FONT, DROP_CAP_PUNCTUATION, EMBED_ASIAN_SCRIPT_FONTS, EMBED_COMPLEX_SCRIPT_FONTS, EMBED_FONTS, EMBED_LATIN_SCRIPT_FONTS, EMBED_SYSTEM_FONTS, EMBED_USED_FONTS, EMPTY_DB_FIELD_HIDES_PARA, FLOATTABLE_NOMARGINS, FOOTNOTE_IN_COLUMN_TO_PAGEEND, FRAME_AUTOWIDTH_WITH_MORE_PARA, GLOBAL_DOCUMENT, GLOBAL_DOCUMENT_SAVE_LINKS, GUTTER_AT_TOP, HEADER_SPACING_BELOW_LAST_PARA, HTML_MODE, HYPHENATE_URLS, IGNORE_FIRST_LINE_INDENT_IN_NUMBERING, IGNORE_TABS_AND_BLANKS_FOR_LINE_CALCULATION, INVERT_BORDER_SPACING, KERN_ASIAN_PUNCTUATION, LABEL_DOCUMENT, MATH_BASELINE_ALIGNMENT, MS_WORD_COMP_MIN_LINE_HEIGHT_BY_FLY, MS_WORD_COMP_TRAILING_BLANKS, NO_NUMBERING_SHOW_FOLLOWBY, OLD_LINE_SPACING, OLD_NUMBERING, PARA_SPACE_MAX, PARA_SPACE_MAX_AT_PAGES, PROP_LINE_SPACING_SHRINKS_FIRST_LINE, PROTECT_BOOKMARKS, PROTECT_FIELDS, PROTECT_FORM, PURGE_OLE, SMALL_CAPS_PERCENTAGE_66, STYLES_NODEFAULT, SUBTRACT_FLYS, SURROUND_TEXT_WRAP_SMALL, TAB_AT_LEFT_INDENT_FOR_PARA_IN_LIST, TAB_COMPAT, TAB_OVER_MARGIN, TAB_OVER_SPACING, TAB_OVERFLOW, TABLE_ROW_KEEP, TABS_RELATIVE_TO_INDENT, TREAT_SINGLE_COLUMN_BREAK_AS_PAGE_BREAK, UNBREAKABLE_NUMBERINGS, UNIX_FORCE_ZERO_EXT_LEADING, USE_FORMER_OBJECT_POS, USE_FORMER_TEXT_WRAPPING, USE_HIRES_VIRTUAL_DEVICE, USE_VARIABLE_WIDTH_NBSP, and USE_VIRTUAL_DEVICE.

Referenced by SwBorderAttrs::CalcLeft(), SwBorderAttrs::CalcRight(), SwDrawView::CheckPossibilities(), sw::DocumentDeviceManager::CreateVirtualDevice_(), SwDoc::FieldCanHideParaWeight(), sw::DocumentStylePoolManager::GetFormatFromPool(), sw::DocumentDeviceManager::getReferenceDevice(), sw::DocumentStylePoolManager::GetTextCollFromPool(), SwPaM::HasReadonlySel(), SwFrameNotify::ImplDestroy(), SwFrame::IsProtected(), lcl_MaskRedlinesAndHiddenText(), SwTabFrame::MakeAll(), SwRootFrame::PaintSwFrame(), sw::DocumentDeviceManager::PrtDataChanged(), sw::DocumentDeviceManager::setJobsetup(), sw::DocumentDeviceManager::setPrinter(), sw::DocumentDeviceManager::setReferenceDeviceType(), sw::DocumentDeviceManager::setVirtualDevice(), and SwTOXBaseSection::Update().

◆ getCharacterCompressionType()

CharCompressType sw::DocumentSettingManager::getCharacterCompressionType ( ) const
overridevirtual

Get the character compression type for Asian characters.

Returns
the current character compression mode.

Implements IDocumentSettingAccess.

Definition at line 631 of file DocumentSettingManager.cxx.

Referenced by SwDrawModel::SwDrawModel().

◆ getFieldUpdateFlags()

SwFieldUpdateFlags sw::DocumentSettingManager::getFieldUpdateFlags ( bool  bGlobalSettings) const
overridevirtual

Get the current field update mode.

Parameters
bGlobalSettings[in] if set, the field update mode is obtained from the module, if it is set to GLOBALSETTING
Returns
the current field update mode.

Implements IDocumentSettingAccess.

Definition at line 618 of file DocumentSettingManager.cxx.

References AUTOUPD_GLOBALSETTING, and SW_MOD.

Referenced by sw::DocumentTimerManager::GetNextIdleJob().

◆ getForbiddenCharacters()

const css::i18n::ForbiddenCharacters * sw::DocumentSettingManager::getForbiddenCharacters ( LanguageType  nLang,
bool  bLocaleData 
) const
overridevirtual

Return the forbidden characters.

Parameters
nLang[in] the language for which the forbidden character list is returned.
bLocaleData[in] if set and there is no user defined forbidden character list for language lang, the default list for language lang will be returned.
Returns
a list of forbidden characters.

Implements IDocumentSettingAccess.

Definition at line 557 of file DocumentSettingManager.cxx.

References g_pBreakIt, SwBreakIt::GetForbidden(), and nLang.

◆ getForbiddenCharacterTable() [1/2]

const std::shared_ptr< SvxForbiddenCharactersTable > & sw::DocumentSettingManager::getForbiddenCharacterTable ( ) const
overridevirtual

Get the forbidden character table.

Returns
the forbidden characters table.

Implements IDocumentSettingAccess.

Definition at line 600 of file DocumentSettingManager.cxx.

◆ getForbiddenCharacterTable() [2/2]

std::shared_ptr< SvxForbiddenCharactersTable > & sw::DocumentSettingManager::getForbiddenCharacterTable ( )
overridevirtual

Get the forbidden character table and creates one if necessary.

Returns
the forbidden characters table.

Implements IDocumentSettingAccess.

Definition at line 593 of file DocumentSettingManager.cxx.

References SvxForbiddenCharactersTable::makeForbiddenCharactersTable().

Referenced by SwDrawModel::SwDrawModel().

◆ getImagePreferredDPI()

sal_Int32 sw::DocumentSettingManager::getImagePreferredDPI ( )
inlineoverridevirtual

Implements IDocumentSettingAccess.

Definition at line 203 of file DocumentSettingManager.hxx.

References mnImagePreferredDPI.

◆ getLinkUpdateMode()

sal_uInt16 sw::DocumentSettingManager::getLinkUpdateMode ( bool  bGlobalSettings) const
overridevirtual

Get the current link update mode.

Parameters
bGlobalSettings[in] if set, the link update mode is obtained from the module, if it is set to GLOBALSETTING
Returns
the current link update mode.

Implements IDocumentSettingAccess.

Definition at line 605 of file DocumentSettingManager.cxx.

References GLOBALSETTING, and SW_MOD.

Referenced by sw::DocumentLinksAdministrationManager::UpdateLinks().

◆ Getn32DummyCompatibilityOptions1()

sal_uInt32 sw::DocumentSettingManager::Getn32DummyCompatibilityOptions1 ( ) const
overridevirtual

Get the n32DummyCompatibilityOptions1.

Implements IDocumentSettingAccess.

Definition at line 732 of file DocumentSettingManager.cxx.

Referenced by ReplaceCompatibilityOptions().

◆ Getn32DummyCompatibilityOptions2()

sal_uInt32 sw::DocumentSettingManager::Getn32DummyCompatibilityOptions2 ( ) const
overridevirtual

Get the n32DummyCompatibilityOptions2.

Implements IDocumentSettingAccess.

Definition at line 742 of file DocumentSettingManager.cxx.

Referenced by ReplaceCompatibilityOptions().

◆ ReplaceCompatibilityOptions()

void sw::DocumentSettingManager::ReplaceCompatibilityOptions ( const DocumentSettingManager rSource)

Definition at line 663 of file DocumentSettingManager.cxx.

References Getn32DummyCompatibilityOptions1(), Getn32DummyCompatibilityOptions2(), mbAddExternalLeading, mbAddFlyOffsets, mbAddParaLineSpacingToTableCells, mbAddParaSpacingToTableCells, mbAddVerticalFlyOffsets, mbBackgroundParaOverDrawings, mbClipAsCharacterAnchoredWriterFlyFrames, mbClippedPictures, mbCollapseEmptyCellPara, mbConsiderWrapOnObjPos, mbContinuousEndnotes, mbDisableOffPagePositioning, mbDoNotCaptureDrawObjsOnPage, mbDoNotJustifyLinesWithManualBreak, mbDoNotResetParaAttrsForNumFont, mbDropCapPunctuation, mbEmptyDbFieldHidesPara, mbFloattableNomargins, mbFootnoteInColumnToPageEnd, mbFrameAutowidthWithMorePara, mbGlblDocSaveLinks, mbHeaderSpacingBelowLastPara, mbIgnoreFirstLineIndentInNumbering, mbIgnoreTabsAndBlanksForLineCalculation, mbInvertBorderSpacing, mbIsLabelDoc, mbKernAsianPunctuation, mbMathBaselineAlignment, mbMsWordCompMinLineHeightByFly, mbMsWordCompTrailingBlanks, mbOldLineSpacing, mbOldNumbering, mbParaSpaceMax, mbParaSpaceMaxAtPages, mbPropLineSpacingShrinksFirstLine, mbProtectForm, mbPurgeOLE, mbSmallCapsPercentage66, mbStylesNoDefault, mbSubtractFlys, mbSurroundTextWrapSmall, mbTabAtLeftIndentForParagraphsInList, mbTabCompat, mbTableRowKeep, mbTabOverflow, mbTabOverMargin, mbTabOverSpacing, mbTabRelativeToIndent, mbTreatSingleColumnBreakAsPageBreak, mbUnbreakableNumberings, mbUnixForceZeroExtLeading, mbUseFormerObjectPos, mbUseFormerTextWrapping, mbUseHiResolutionVirtualDevice, mbUseVariableWidthNBSP, and mbUseVirtualDevice.

◆ set()

void sw::DocumentSettingManager::set ( DocumentSettingId  id,
bool  value 
)
overridevirtual

Set the specified document setting.

Parameters
id[in] the identifier of the document setting to be set. See above for a list of valid document setting identifiers.
value[in] the new value of the specified document setting.

Implements IDocumentSettingAccess.

Definition at line 265 of file DocumentSettingManager.cxx.

References ADD_EXT_LEADING, ADD_FLY_OFFSETS, ADD_PARA_LINE_SPACING_TO_TABLE_CELLS, ADD_PARA_SPACING_TO_TABLE_CELLS, ADD_VERTICAL_FLY_OFFSETS, APPLY_PARAGRAPH_MARK_FORMAT_TO_NUMBERING, AUTO_FIRST_LINE_INDENT_DISREGARD_LINE_SPACE, BACKGROUND_PARA_OVER_DRAWINGS, BROWSE_MODE, CLIP_AS_CHARACTER_ANCHORED_WRITER_FLY_FRAME, CLIPPED_PICTURES, COLLAPSE_EMPTY_CELL_PARA, CONSIDER_WRAP_ON_OBJECT_POSITION, CONTINUOUS_ENDNOTES, DISABLE_OFF_PAGE_POSITIONING, DO_NOT_BREAK_WRAPPED_TABLES, DO_NOT_CAPTURE_DRAW_OBJS_ON_PAGE, DO_NOT_JUSTIFY_LINES_WITH_MANUAL_BREAK, DO_NOT_RESET_PARA_ATTRS_FOR_NUM_FONT, DROP_CAP_PUNCTUATION, EMBED_ASIAN_SCRIPT_FONTS, EMBED_COMPLEX_SCRIPT_FONTS, EMBED_FONTS, EMBED_LATIN_SCRIPT_FONTS, EMBED_SYSTEM_FONTS, EMBED_USED_FONTS, EMPTY_DB_FIELD_HIDES_PARA, FLOATTABLE_NOMARGINS, FOOTNOTE_IN_COLUMN_TO_PAGEEND, FRAME_AUTOWIDTH_WITH_MORE_PARA, SwDoc::GetNumRuleTable(), SwDoc::GetOutlineNumRule(), GLOBAL_DOCUMENT, GLOBAL_DOCUMENT_SAVE_LINKS, GUTTER_AT_TOP, HEADER_SPACING_BELOW_LAST_PARA, HTML_MODE, HYPHENATE_URLS, IGNORE_FIRST_LINE_INDENT_IN_NUMBERING, IGNORE_TABS_AND_BLANKS_FOR_LINE_CALCULATION, INVERT_BORDER_SPACING, comphelper::LibreOfficeKit::isActive(), KERN_ASIAN_PUNCTUATION, LABEL_DOCUMENT, m_rDoc, MATH_BASELINE_ALIGNMENT, MS_WORD_COMP_MIN_LINE_HEIGHT_BY_FLY, MS_WORD_COMP_TRAILING_BLANKS, n, NO_NUMBERING_SHOW_FOLLOWBY, OLD_LINE_SPACING, OLD_NUMBERING, PARA_SPACE_MAX, PARA_SPACE_MAX_AT_PAGES, PROP_LINE_SPACING_SHRINKS_FIRST_LINE, PROTECT_BOOKMARKS, PROTECT_FIELDS, PROTECT_FORM, PURGE_OLE, SwNumRule::SetCountPhantoms(), SwVectorModifyBase< Value >::size(), SMALL_CAPS_PERCENTAGE_66, STYLES_NODEFAULT, SUBTRACT_FLYS, SURROUND_TEXT_WRAP_SMALL, TAB_AT_LEFT_INDENT_FOR_PARA_IN_LIST, TAB_COMPAT, TAB_OVER_MARGIN, TAB_OVER_SPACING, TAB_OVERFLOW, TABLE_ROW_KEEP, TABS_RELATIVE_TO_INDENT, TREAT_SINGLE_COLUMN_BREAK_AS_PAGE_BREAK, UNBREAKABLE_NUMBERINGS, UNIX_FORCE_ZERO_EXT_LEADING, SwDoc::UpdateNumRule(), USE_FORMER_OBJECT_POS, USE_FORMER_TEXT_WRAPPING, USE_HIRES_VIRTUAL_DEVICE, USE_VARIABLE_WIDTH_NBSP, USE_VIRTUAL_DEVICE, SwNumRule::Validate(), and value.

Referenced by PurgeGuard::PurgeGuard(), SwEditShell::SetLabelDoc(), sw::DocumentDeviceManager::setReferenceDeviceType(), SwDoc::SplitDoc(), and PurgeGuard::~PurgeGuard().

◆ setCharacterCompressionType()

void sw::DocumentSettingManager::setCharacterCompressionType ( CharCompressType  nType)
overridevirtual

◆ setFieldUpdateFlags()

void sw::DocumentSettingManager::setFieldUpdateFlags ( SwFieldUpdateFlags  nMode)
overridevirtual

Set the current field update mode.

Parameters
nMode[in] the new field update mode.

Implements IDocumentSettingAccess.

Definition at line 626 of file DocumentSettingManager.cxx.

References eMode.

◆ setForbiddenCharacters()

void sw::DocumentSettingManager::setForbiddenCharacters ( LanguageType  nLang,
const css::i18n::ForbiddenCharacters &  rForbiddenCharacters 
)
overridevirtual

◆ setImagePreferredDPI()

void sw::DocumentSettingManager::setImagePreferredDPI ( sal_Int32  nValue)
inlineoverridevirtual

Implements IDocumentSettingAccess.

Definition at line 207 of file DocumentSettingManager.hxx.

References mnImagePreferredDPI, and nValue.

◆ setLinkUpdateMode()

void sw::DocumentSettingManager::setLinkUpdateMode ( sal_uInt16  nMode)
overridevirtual

Set the current link update mode.

Parameters
nMode[in] the new link update mode.

Implements IDocumentSettingAccess.

Definition at line 613 of file DocumentSettingManager.cxx.

References eMode.

◆ Setn32DummyCompatibilityOptions1()

void sw::DocumentSettingManager::Setn32DummyCompatibilityOptions1 ( const sal_uInt32  CompatibilityOptions1)
overridevirtual

Set the n32DummyCompatibilityOptions1.

Implements IDocumentSettingAccess.

Definition at line 737 of file DocumentSettingManager.cxx.

◆ Setn32DummyCompatibilityOptions2()

void sw::DocumentSettingManager::Setn32DummyCompatibilityOptions2 ( const sal_uInt32  CompatibilityOptions2)
overridevirtual

Set the n32DummyCompatibilityOptions2.

Implements IDocumentSettingAccess.

Definition at line 747 of file DocumentSettingManager.cxx.

Member Data Documentation

◆ m_rDoc

SwDoc& sw::DocumentSettingManager::m_rDoc
private

Definition at line 31 of file DocumentSettingManager.hxx.

◆ mApplyParagraphMarkFormatToNumbering

bool sw::DocumentSettingManager::mApplyParagraphMarkFormatToNumbering
private

Definition at line 161 of file DocumentSettingManager.hxx.

◆ mbAddExternalLeading

bool sw::DocumentSettingManager::mbAddExternalLeading
private

◆ mbAddFlyOffsets

bool sw::DocumentSettingManager::mbAddFlyOffsets
private

Definition at line 111 of file DocumentSettingManager.hxx.

Referenced by ReplaceCompatibilityOptions().

◆ mbAddParaLineSpacingToTableCells

bool sw::DocumentSettingManager::mbAddParaLineSpacingToTableCells
private

◆ mbAddParaSpacingToTableCells

bool sw::DocumentSettingManager::mbAddParaSpacingToTableCells
private

◆ mbAddVerticalFlyOffsets

bool sw::DocumentSettingManager::mbAddVerticalFlyOffsets
private

Definition at line 112 of file DocumentSettingManager.hxx.

Referenced by ReplaceCompatibilityOptions().

◆ mbAutoFirstLineIndentDisregardLineSpace

bool sw::DocumentSettingManager::mbAutoFirstLineIndentDisregardLineSpace
private

Definition at line 176 of file DocumentSettingManager.hxx.

◆ mbBackgroundParaOverDrawings

bool sw::DocumentSettingManager::mbBackgroundParaOverDrawings
private

Definition at line 154 of file DocumentSettingManager.hxx.

Referenced by ReplaceCompatibilityOptions().

◆ mbClipAsCharacterAnchoredWriterFlyFrames

bool sw::DocumentSettingManager::mbClipAsCharacterAnchoredWriterFlyFrames
private

Definition at line 141 of file DocumentSettingManager.hxx.

Referenced by ReplaceCompatibilityOptions().

◆ mbClippedPictures

bool sw::DocumentSettingManager::mbClippedPictures
private

Definition at line 153 of file DocumentSettingManager.hxx.

Referenced by ReplaceCompatibilityOptions().

◆ mbCollapseEmptyCellPara

bool sw::DocumentSettingManager::mbCollapseEmptyCellPara
private

Definition at line 148 of file DocumentSettingManager.hxx.

Referenced by ReplaceCompatibilityOptions().

◆ mbConsiderWrapOnObjPos

bool sw::DocumentSettingManager::mbConsiderWrapOnObjPos
private

◆ mbContinuousEndnotes

bool sw::DocumentSettingManager::mbContinuousEndnotes = false
private

Definition at line 167 of file DocumentSettingManager.hxx.

Referenced by ReplaceCompatibilityOptions().

◆ mbDisableOffPagePositioning

bool sw::DocumentSettingManager::mbDisableOffPagePositioning
private

Definition at line 165 of file DocumentSettingManager.hxx.

Referenced by ReplaceCompatibilityOptions().

◆ mbDoNotBreakWrappedTables

bool sw::DocumentSettingManager::mbDoNotBreakWrappedTables = false
private

Definition at line 178 of file DocumentSettingManager.hxx.

◆ mbDoNotCaptureDrawObjsOnPage

bool sw::DocumentSettingManager::mbDoNotCaptureDrawObjsOnPage
private

Definition at line 140 of file DocumentSettingManager.hxx.

Referenced by ReplaceCompatibilityOptions().

◆ mbDoNotJustifyLinesWithManualBreak

bool sw::DocumentSettingManager::mbDoNotJustifyLinesWithManualBreak
private

◆ mbDoNotResetParaAttrsForNumFont

bool sw::DocumentSettingManager::mbDoNotResetParaAttrsForNumFont
private

Definition at line 137 of file DocumentSettingManager.hxx.

Referenced by ReplaceCompatibilityOptions().

◆ mbDropCapPunctuation

bool sw::DocumentSettingManager::mbDropCapPunctuation
private

Definition at line 181 of file DocumentSettingManager.hxx.

Referenced by ReplaceCompatibilityOptions().

◆ mbEmptyDbFieldHidesPara

bool sw::DocumentSettingManager::mbEmptyDbFieldHidesPara
private

◆ mbFloattableNomargins

bool sw::DocumentSettingManager::mbFloattableNomargins
private

Definition at line 125 of file DocumentSettingManager.hxx.

Referenced by ReplaceCompatibilityOptions().

◆ mbFootnoteInColumnToPageEnd

bool sw::DocumentSettingManager::mbFootnoteInColumnToPageEnd
private

Definition at line 174 of file DocumentSettingManager.hxx.

Referenced by ReplaceCompatibilityOptions().

◆ mbFrameAutowidthWithMorePara

bool sw::DocumentSettingManager::mbFrameAutowidthWithMorePara
private

Definition at line 171 of file DocumentSettingManager.hxx.

Referenced by ReplaceCompatibilityOptions().

◆ mbGlblDocSaveLinks

bool sw::DocumentSettingManager::mbGlblDocSaveLinks
private

Definition at line 102 of file DocumentSettingManager.hxx.

Referenced by ReplaceCompatibilityOptions().

◆ mbGutterAtTop

bool sw::DocumentSettingManager::mbGutterAtTop
private

Gutter position: false means left (not a compatibility setting).

Definition at line 173 of file DocumentSettingManager.hxx.

◆ mbHeaderSpacingBelowLastPara

bool sw::DocumentSettingManager::mbHeaderSpacingBelowLastPara
private

Definition at line 170 of file DocumentSettingManager.hxx.

Referenced by ReplaceCompatibilityOptions().

◆ mbHTMLMode

bool sw::DocumentSettingManager::mbHTMLMode
private

Definition at line 100 of file DocumentSettingManager.hxx.

◆ mbHyphenateURLs

bool sw::DocumentSettingManager::mbHyphenateURLs = false
private

Definition at line 177 of file DocumentSettingManager.hxx.

◆ mbIgnoreFirstLineIndentInNumbering

bool sw::DocumentSettingManager::mbIgnoreFirstLineIndentInNumbering
private

Definition at line 135 of file DocumentSettingManager.hxx.

Referenced by ReplaceCompatibilityOptions().

◆ mbIgnoreTabsAndBlanksForLineCalculation

bool sw::DocumentSettingManager::mbIgnoreTabsAndBlanksForLineCalculation
private

Definition at line 139 of file DocumentSettingManager.hxx.

Referenced by ReplaceCompatibilityOptions().

◆ mbInvertBorderSpacing

bool sw::DocumentSettingManager::mbInvertBorderSpacing
private

Definition at line 147 of file DocumentSettingManager.hxx.

Referenced by ReplaceCompatibilityOptions().

◆ mbIsGlobalDoc

bool sw::DocumentSettingManager::mbIsGlobalDoc
private

Definition at line 101 of file DocumentSettingManager.hxx.

◆ mbIsLabelDoc

bool sw::DocumentSettingManager::mbIsLabelDoc
private

Definition at line 103 of file DocumentSettingManager.hxx.

Referenced by ReplaceCompatibilityOptions().

◆ mbKernAsianPunctuation

bool sw::DocumentSettingManager::mbKernAsianPunctuation
private

Definition at line 105 of file DocumentSettingManager.hxx.

Referenced by ReplaceCompatibilityOptions().

◆ mbLastBrowseMode

bool sw::DocumentSettingManager::mbLastBrowseMode
private

Definition at line 164 of file DocumentSettingManager.hxx.

◆ mbMathBaselineAlignment

bool sw::DocumentSettingManager::mbMathBaselineAlignment
private

Definition at line 123 of file DocumentSettingManager.hxx.

Referenced by ReplaceCompatibilityOptions().

◆ mbMsWordCompMinLineHeightByFly

bool sw::DocumentSettingManager::mbMsWordCompMinLineHeightByFly
private

Definition at line 146 of file DocumentSettingManager.hxx.

Referenced by ReplaceCompatibilityOptions().

◆ mbMsWordCompTrailingBlanks

bool sw::DocumentSettingManager::mbMsWordCompTrailingBlanks
private

◆ mbNoNumberingShowFollowBy

bool sw::DocumentSettingManager::mbNoNumberingShowFollowBy
private

Definition at line 180 of file DocumentSettingManager.hxx.

◆ mbOldLineSpacing

bool sw::DocumentSettingManager::mbOldLineSpacing
private

◆ mbOldNumbering

bool sw::DocumentSettingManager::mbOldNumbering
private

Definition at line 134 of file DocumentSettingManager.hxx.

Referenced by ReplaceCompatibilityOptions().

◆ mbParaSpaceMax

bool sw::DocumentSettingManager::mbParaSpaceMax
private

◆ mbParaSpaceMaxAtPages

bool sw::DocumentSettingManager::mbParaSpaceMaxAtPages
private

◆ mbPropLineSpacingShrinksFirstLine

bool sw::DocumentSettingManager::mbPropLineSpacingShrinksFirstLine
private

Definition at line 159 of file DocumentSettingManager.hxx.

Referenced by ReplaceCompatibilityOptions().

◆ mbProtectBookmarks

bool sw::DocumentSettingManager::mbProtectBookmarks
private

Definition at line 168 of file DocumentSettingManager.hxx.

◆ mbProtectFields

bool sw::DocumentSettingManager::mbProtectFields
private

Definition at line 169 of file DocumentSettingManager.hxx.

◆ mbProtectForm

bool sw::DocumentSettingManager::mbProtectForm
private

◆ mbPurgeOLE

bool sw::DocumentSettingManager::mbPurgeOLE
private

Definition at line 104 of file DocumentSettingManager.hxx.

Referenced by ReplaceCompatibilityOptions().

◆ mbSmallCapsPercentage66

bool sw::DocumentSettingManager::mbSmallCapsPercentage66
private

Definition at line 150 of file DocumentSettingManager.hxx.

Referenced by ReplaceCompatibilityOptions().

◆ mbStylesNoDefault

bool sw::DocumentSettingManager::mbStylesNoDefault
private

Definition at line 124 of file DocumentSettingManager.hxx.

Referenced by ReplaceCompatibilityOptions().

◆ mbSubtractFlys

bool sw::DocumentSettingManager::mbSubtractFlys
private

◆ mbSurroundTextWrapSmall

bool sw::DocumentSettingManager::mbSurroundTextWrapSmall
private

Definition at line 158 of file DocumentSettingManager.hxx.

Referenced by ReplaceCompatibilityOptions().

◆ mbTabAtLeftIndentForParagraphsInList

bool sw::DocumentSettingManager::mbTabAtLeftIndentForParagraphsInList
private

Definition at line 149 of file DocumentSettingManager.hxx.

Referenced by ReplaceCompatibilityOptions().

◆ mbTabCompat

bool sw::DocumentSettingManager::mbTabCompat
private

◆ mbTableRowKeep

bool sw::DocumentSettingManager::mbTableRowKeep
private

Definition at line 138 of file DocumentSettingManager.hxx.

Referenced by ReplaceCompatibilityOptions().

◆ mbTabOverflow

bool sw::DocumentSettingManager::mbTabOverflow
private

Definition at line 151 of file DocumentSettingManager.hxx.

Referenced by ReplaceCompatibilityOptions().

◆ mbTabOverMargin

bool sw::DocumentSettingManager::mbTabOverMargin
private

Definition at line 155 of file DocumentSettingManager.hxx.

Referenced by ReplaceCompatibilityOptions().

◆ mbTabOverSpacing

bool sw::DocumentSettingManager::mbTabOverSpacing
private

Definition at line 156 of file DocumentSettingManager.hxx.

Referenced by ReplaceCompatibilityOptions().

◆ mbTabRelativeToIndent

bool sw::DocumentSettingManager::mbTabRelativeToIndent
private

Definition at line 143 of file DocumentSettingManager.hxx.

Referenced by ReplaceCompatibilityOptions().

◆ mbTreatSingleColumnBreakAsPageBreak

bool sw::DocumentSettingManager::mbTreatSingleColumnBreakAsPageBreak
private

Definition at line 157 of file DocumentSettingManager.hxx.

Referenced by ReplaceCompatibilityOptions().

◆ mbUnbreakableNumberings

bool sw::DocumentSettingManager::mbUnbreakableNumberings
private

Definition at line 152 of file DocumentSettingManager.hxx.

Referenced by ReplaceCompatibilityOptions().

◆ mbUnixForceZeroExtLeading

bool sw::DocumentSettingManager::mbUnixForceZeroExtLeading
private

Definition at line 142 of file DocumentSettingManager.hxx.

Referenced by ReplaceCompatibilityOptions().

◆ mbUseFormerObjectPos

bool sw::DocumentSettingManager::mbUseFormerObjectPos
private

◆ mbUseFormerTextWrapping

bool sw::DocumentSettingManager::mbUseFormerTextWrapping
private

◆ mbUseHiResolutionVirtualDevice

bool sw::DocumentSettingManager::mbUseHiResolutionVirtualDevice
private

Definition at line 114 of file DocumentSettingManager.hxx.

Referenced by ReplaceCompatibilityOptions().

◆ mbUseVariableWidthNBSP

bool sw::DocumentSettingManager::mbUseVariableWidthNBSP
private

◆ mbUseVirtualDevice

bool sw::DocumentSettingManager::mbUseVirtualDevice
private

◆ meChrCmprType

CharCompressType sw::DocumentSettingManager::meChrCmprType
private

Definition at line 36 of file DocumentSettingManager.hxx.

◆ meFieldUpdMode

SwFieldUpdateFlags sw::DocumentSettingManager::meFieldUpdMode
private

Definition at line 35 of file DocumentSettingManager.hxx.

◆ mEmbedAsianScriptFonts

bool sw::DocumentSettingManager::mEmbedAsianScriptFonts
private

Definition at line 129 of file DocumentSettingManager.hxx.

◆ mEmbedComplexScriptFonts

bool sw::DocumentSettingManager::mEmbedComplexScriptFonts
private

Definition at line 130 of file DocumentSettingManager.hxx.

◆ mEmbedFonts

bool sw::DocumentSettingManager::mEmbedFonts
private

Definition at line 126 of file DocumentSettingManager.hxx.

◆ mEmbedLatinScriptFonts

bool sw::DocumentSettingManager::mEmbedLatinScriptFonts
private

Definition at line 128 of file DocumentSettingManager.hxx.

◆ mEmbedSystemFonts

bool sw::DocumentSettingManager::mEmbedSystemFonts
private

Definition at line 131 of file DocumentSettingManager.hxx.

◆ mEmbedUsedFonts

bool sw::DocumentSettingManager::mEmbedUsedFonts
private

Definition at line 127 of file DocumentSettingManager.hxx.

◆ mn32DummyCompatibilityOptions1

sal_uInt32 sw::DocumentSettingManager::mn32DummyCompatibilityOptions1
private

Definition at line 38 of file DocumentSettingManager.hxx.

◆ mn32DummyCompatibilityOptions2

sal_uInt32 sw::DocumentSettingManager::mn32DummyCompatibilityOptions2
private

Definition at line 39 of file DocumentSettingManager.hxx.

◆ mnImagePreferredDPI

sal_Int32 sw::DocumentSettingManager::mnImagePreferredDPI
private

Definition at line 175 of file DocumentSettingManager.hxx.

Referenced by getImagePreferredDPI(), and setImagePreferredDPI().

◆ mnLinkUpdMode

sal_uInt16 sw::DocumentSettingManager::mnLinkUpdMode
private

Definition at line 33 of file DocumentSettingManager.hxx.

◆ mxForbiddenCharsTable

std::shared_ptr<SvxForbiddenCharactersTable> sw::DocumentSettingManager::mxForbiddenCharsTable
private

Definition at line 30 of file DocumentSettingManager.hxx.


The documentation for this class was generated from the following files: