LibreOffice Module sw (master) 1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
SwModuleOptions Class Reference

#include <modcfg.hxx>

Collaboration diagram for SwModuleOptions:
[legend]

Public Member Functions

 SwModuleOptions ()
 
TableChgMode GetTableMode () const
 
void SetTableMode (TableChgMode eSet)
 
sal_uInt16 GetTableHMove () const
 
void SetTableHMove (sal_uInt16 nSet)
 
sal_uInt16 GetTableVMove () const
 
void SetTableVMove (sal_uInt16 nSet)
 
sal_uInt16 GetTableHInsert () const
 
void SetTableHInsert (sal_uInt16 nSet)
 
sal_uInt16 GetTableVInsert () const
 
void SetTableVInsert (sal_uInt16 nSet)
 
const AuthorCharAttrGetInsertAuthorAttr () const
 
void SetInsertAuthorAttr (AuthorCharAttr const &rAttr)
 
const AuthorCharAttrGetDeletedAuthorAttr () const
 
void SetDeletedAuthorAttr (AuthorCharAttr const &rAttr)
 
const AuthorCharAttrGetFormatAuthorAttr () const
 
void SetFormatAuthorAttr (AuthorCharAttr const &rAttr)
 
sal_uInt16 GetMarkAlignMode () const
 
void SetMarkAlignMode (sal_uInt16 nMode)
 
const ColorGetMarkAlignColor () const
 
void SetMarkAlignColor (const Color &rColor)
 
bool IsInsWithCaption (bool bHTML) const
 
void SetInsWithCaption (bool bHTML, bool b)
 
bool IsCaptionOrderNumberingFirst () const
 
void SetCaptionOrderNumberingFirst (bool bSet)
 
bool IsInsTableFormatNum (bool bHTML) const
 
void SetInsTableFormatNum (bool bHTML, bool b)
 
bool IsInsTableChangeNumFormat (bool bHTML) const
 
void SetInsTableChangeNumFormat (bool bHTML, bool b)
 
bool IsInsTableAlignNum (bool bHTML) const
 
void SetInsTableAlignNum (bool bHTML, bool b)
 
const SwInsertTableOptionsGetInsTableFlags (bool bHTML) const
 
void SetInsTableFlags (bool bHTML, const SwInsertTableOptions &rOpts)
 
bool IsSplitVerticalByDefault (bool bHTML) const
 
void SetSplitVerticalByDefault (bool bHTML, bool b)
 
const InsCaptionOptGetCapOption (bool bHTML, const SwCapObjType eType, const SvGlobalName *pOleId)
 
bool SetCapOption (bool bHTML, const InsCaptionOpt *pOpt)
 
bool IsGrfToGalleryAsLnk () const
 
void SetGrfToGalleryAsLnk (bool b)
 
MailTextFormats GetMailingFormats () const
 
void SetMailingFormats (MailTextFormats nSet)
 
void SetSinglePrintJob (bool b)
 
bool IsNameFromColumn () const
 
void SetIsNameFromColumn (bool bSet)
 
bool IsAskForMailMerge () const
 
const OUString & GetNameFromColumn () const
 
void SetNameFromColumn (const OUString &rSet)
 
bool IsFileEncryptedFromColumn () const
 
void SetIsFileEncryptedFromColumn (bool bSet)
 
const OUString & GetPasswordFromColumn () const
 
void SetPasswordFromColumn (const OUString &rSet)
 
const OUString & GetMailingPath () const
 
void SetMailingPath (const OUString &sPath)
 
const OUString & GetWordDelimiter () const
 
void SetWordDelimiter (const OUString &sDelim)
 
bool IsShowIndexPreview () const
 
void SetShowIndexPreview (bool bSet)
 
void SetDefaultFontInCurrDocOnly (bool bSet)
 
bool IsHideFieldTips () const
 
void SetHideFieldTips (bool bSet)
 
SwCompareMode GetCompareMode () const
 
void SetCompareMode (SwCompareMode eMode)
 
bool IsUseRsid () const
 
void SetUseRsid (bool b)
 
bool IsIgnorePieces () const
 
void SetIgnorePieces (bool b)
 
sal_uInt16 GetPieceLen () const
 
void SetPieceLen (sal_uInt16 nLen)
 
bool IsStoreRsid () const
 
void SetStoreRsid (bool bStoreRsid)
 

Static Public Member Functions

static OUString ConvertWordDelimiter (std::u16string_view aDelim, bool bFromUI)
 

Private Attributes

SwRevisionConfig m_aRevisionConfig
 
SwInsertConfig m_aInsertConfig
 
SwInsertConfig m_aWebInsertConfig
 
SwTableConfig m_aTableConfig
 
SwTableConfig m_aWebTableConfig
 
SwMiscConfig m_aMiscConfig
 
SwCompareConfig m_aCompareConfig
 
bool m_bHideFieldTips: 1
 

Detailed Description

Definition at line 206 of file modcfg.hxx.

Constructor & Destructor Documentation

◆ SwModuleOptions()

SwModuleOptions::SwModuleOptions ( )

Definition at line 124 of file modcfg.cxx.

Member Function Documentation

◆ ConvertWordDelimiter()

OUString SwModuleOptions::ConvertWordDelimiter ( std::u16string_view  aDelim,
bool  bFromUI 
)
static

Definition at line 133 of file modcfg.cxx.

References i, and n.

Referenced by SwMiscConfig::ImplCommit(), and SwMiscConfig::Load().

◆ GetCapOption()

const InsCaptionOpt * SwModuleOptions::GetCapOption ( bool  bHTML,
const SwCapObjType  eType,
const SvGlobalName pOleId 
)

◆ GetCompareMode()

SwCompareMode SwModuleOptions::GetCompareMode ( ) const
inline

Definition at line 380 of file modcfg.hxx.

References SwCompareConfig::m_eCmpMode.

Referenced by SwCompareOptionsTabPage::Reset().

◆ GetDeletedAuthorAttr()

const AuthorCharAttr & SwModuleOptions::GetDeletedAuthorAttr ( ) const
inline

◆ GetFormatAuthorAttr()

const AuthorCharAttr & SwModuleOptions::GetFormatAuthorAttr ( ) const
inline

◆ GetInsertAuthorAttr()

const AuthorCharAttr & SwModuleOptions::GetInsertAuthorAttr ( ) const
inline

◆ GetInsTableFlags()

const SwInsertTableOptions & SwModuleOptions::GetInsTableFlags ( bool  bHTML) const
inline

◆ GetMailingFormats()

MailTextFormats SwModuleOptions::GetMailingFormats ( ) const
inline

Definition at line 324 of file modcfg.hxx.

References SwMiscConfig::m_nMailingFormats.

Referenced by SwMailMergeDlg::SwMailMergeDlg().

◆ GetMailingPath()

const OUString & SwModuleOptions::GetMailingPath ( ) const
inline

◆ GetMarkAlignColor()

const Color & SwModuleOptions::GetMarkAlignColor ( ) const
inline

◆ GetMarkAlignMode()

sal_uInt16 SwModuleOptions::GetMarkAlignMode ( ) const
inline

◆ GetNameFromColumn()

const OUString & SwModuleOptions::GetNameFromColumn ( ) const
inline

Definition at line 340 of file modcfg.hxx.

References SwMiscConfig::m_sNameFromColumn.

Referenced by SwMailMergeDlg::SwMailMergeDlg().

◆ GetPasswordFromColumn()

const OUString & SwModuleOptions::GetPasswordFromColumn ( ) const
inline

Definition at line 351 of file modcfg.hxx.

References SwMiscConfig::m_sPasswordFromColumn.

Referenced by SwMailMergeDlg::SwMailMergeDlg().

◆ GetPieceLen()

sal_uInt16 SwModuleOptions::GetPieceLen ( ) const
inline

Definition at line 392 of file modcfg.hxx.

References SwCompareConfig::m_nPieceLen.

Referenced by SwCompareOptionsTabPage::Reset().

◆ GetTableHInsert()

sal_uInt16 SwModuleOptions::GetTableHInsert ( ) const
inline

Definition at line 237 of file modcfg.hxx.

References SwTableConfig::m_nTableHInsert.

Referenced by SwTableOptionsTabPage::Reset().

◆ GetTableHMove()

sal_uInt16 SwModuleOptions::GetTableHMove ( ) const
inline

Definition at line 229 of file modcfg.hxx.

References SwTableConfig::m_nTableHMove.

Referenced by SwEditWin::KeyInput(), and SwTableOptionsTabPage::Reset().

◆ GetTableMode()

TableChgMode SwModuleOptions::GetTableMode ( ) const
inline

◆ GetTableVInsert()

sal_uInt16 SwModuleOptions::GetTableVInsert ( ) const
inline

Definition at line 241 of file modcfg.hxx.

References SwTableConfig::m_nTableVInsert.

Referenced by SwTableOptionsTabPage::Reset().

◆ GetTableVMove()

sal_uInt16 SwModuleOptions::GetTableVMove ( ) const
inline

Definition at line 233 of file modcfg.hxx.

References SwTableConfig::m_nTableVMove.

Referenced by SwEditWin::KeyInput(), and SwTableOptionsTabPage::Reset().

◆ GetWordDelimiter()

const OUString & SwModuleOptions::GetWordDelimiter ( ) const
inline

Definition at line 359 of file modcfg.hxx.

References SwMiscConfig::m_sWordDelimiter.

◆ IsAskForMailMerge()

bool SwModuleOptions::IsAskForMailMerge ( ) const
inline

Definition at line 338 of file modcfg.hxx.

References SwMiscConfig::m_bAskForMailMergeInPrint.

◆ IsCaptionOrderNumberingFirst()

bool SwModuleOptions::IsCaptionOrderNumberingFirst ( ) const
inline

Definition at line 272 of file modcfg.hxx.

References SwInsertConfig::m_bCaptionOrderNumberingFirst.

◆ IsFileEncryptedFromColumn()

bool SwModuleOptions::IsFileEncryptedFromColumn ( ) const
inline

Definition at line 344 of file modcfg.hxx.

References SwMiscConfig::m_bIsPasswordFromColumn.

◆ IsGrfToGalleryAsLnk()

bool SwModuleOptions::IsGrfToGalleryAsLnk ( ) const
inline

Definition at line 320 of file modcfg.hxx.

References SwMiscConfig::m_bGrfToGalleryAsLnk.

◆ IsHideFieldTips()

bool SwModuleOptions::IsHideFieldTips ( ) const
inline

Definition at line 377 of file modcfg.hxx.

Referenced by SwEditWin::RequestHelp().

◆ IsIgnorePieces()

bool SwModuleOptions::IsIgnorePieces ( ) const
inline

Definition at line 388 of file modcfg.hxx.

References SwCompareConfig::m_bIgnorePieces.

Referenced by SwCompareOptionsTabPage::Reset().

◆ IsInsTableAlignNum()

bool SwModuleOptions::IsInsTableAlignNum ( bool  bHTML) const
inline

Definition at line 296 of file modcfg.hxx.

References SwTableConfig::m_bInsTableAlignNum.

Referenced by SwTableOptionsTabPage::Reset().

◆ IsInsTableChangeNumFormat()

bool SwModuleOptions::IsInsTableChangeNumFormat ( bool  bHTML) const
inline

Definition at line 289 of file modcfg.hxx.

References SwTableConfig::m_bInsTableChangeNumFormat.

Referenced by SwTableOptionsTabPage::Reset().

◆ IsInsTableFormatNum()

bool SwModuleOptions::IsInsTableFormatNum ( bool  bHTML) const
inline

Definition at line 282 of file modcfg.hxx.

References SwTableConfig::m_bInsTableFormatNum.

Referenced by SwTableOptionsTabPage::Reset().

◆ IsInsWithCaption()

bool SwModuleOptions::IsInsWithCaption ( bool  bHTML) const
inline

Definition at line 265 of file modcfg.hxx.

References SwInsertConfig::m_bInsWithCaption.

Referenced by SwView::AutoCaption().

◆ IsNameFromColumn()

bool SwModuleOptions::IsNameFromColumn ( ) const
inline

Definition at line 331 of file modcfg.hxx.

References SwMiscConfig::m_bIsNameFromColumn.

Referenced by SwMailMergeDlg::SwMailMergeDlg().

◆ IsShowIndexPreview()

bool SwModuleOptions::IsShowIndexPreview ( ) const
inline

Definition at line 366 of file modcfg.hxx.

References SwMiscConfig::m_bShowIndexPreview.

◆ IsSplitVerticalByDefault()

bool SwModuleOptions::IsSplitVerticalByDefault ( bool  bHTML) const
inline

Definition at line 310 of file modcfg.hxx.

References SwTableConfig::m_bSplitVerticalByDefault.

◆ IsStoreRsid()

bool SwModuleOptions::IsStoreRsid ( ) const
inline

Definition at line 396 of file modcfg.hxx.

References SwCompareConfig::m_bStoreRsid.

Referenced by SwCompareOptionsTabPage::Reset().

◆ IsUseRsid()

bool SwModuleOptions::IsUseRsid ( ) const
inline

Definition at line 384 of file modcfg.hxx.

References SwCompareConfig::m_bUseRsid.

Referenced by SwCompareOptionsTabPage::Reset().

◆ SetCapOption()

bool SwModuleOptions::SetCapOption ( bool  bHTML,
const InsCaptionOpt pOpt 
)

◆ SetCaptionOrderNumberingFirst()

void SwModuleOptions::SetCaptionOrderNumberingFirst ( bool  bSet)
inline

◆ SetCompareMode()

void SwModuleOptions::SetCompareMode ( SwCompareMode  eMode)
inline

◆ SetDefaultFontInCurrDocOnly()

void SwModuleOptions::SetDefaultFontInCurrDocOnly ( bool  bSet)
inline

◆ SetDeletedAuthorAttr()

void SwModuleOptions::SetDeletedAuthorAttr ( AuthorCharAttr const &  rAttr)
inline

◆ SetFormatAuthorAttr()

void SwModuleOptions::SetFormatAuthorAttr ( AuthorCharAttr const &  rAttr)
inline

◆ SetGrfToGalleryAsLnk()

void SwModuleOptions::SetGrfToGalleryAsLnk ( bool  b)
inline

◆ SetHideFieldTips()

void SwModuleOptions::SetHideFieldTips ( bool  bSet)
inline

Definition at line 378 of file modcfg.hxx.

◆ SetIgnorePieces()

void SwModuleOptions::SetIgnorePieces ( bool  b)
inline

◆ SetInsertAuthorAttr()

void SwModuleOptions::SetInsertAuthorAttr ( AuthorCharAttr const &  rAttr)
inline

◆ SetInsTableAlignNum()

void SwModuleOptions::SetInsTableAlignNum ( bool  bHTML,
bool  b 
)
inline

Definition at line 298 of file modcfg.hxx.

References config.

Referenced by SwTableOptionsTabPage::FillItemSet().

◆ SetInsTableChangeNumFormat()

void SwModuleOptions::SetInsTableChangeNumFormat ( bool  bHTML,
bool  b 
)
inline

Definition at line 291 of file modcfg.hxx.

References config.

Referenced by SwTableOptionsTabPage::FillItemSet().

◆ SetInsTableFlags()

void SwModuleOptions::SetInsTableFlags ( bool  bHTML,
const SwInsertTableOptions rOpts 
)
inline

Definition at line 305 of file modcfg.hxx.

References config.

Referenced by SwTableOptionsTabPage::FillItemSet().

◆ SetInsTableFormatNum()

void SwModuleOptions::SetInsTableFormatNum ( bool  bHTML,
bool  b 
)
inline

Definition at line 284 of file modcfg.hxx.

References config.

Referenced by SwTableOptionsTabPage::FillItemSet().

◆ SetInsWithCaption()

void SwModuleOptions::SetInsWithCaption ( bool  bHTML,
bool  b 
)
inline

◆ SetIsFileEncryptedFromColumn()

void SwModuleOptions::SetIsFileEncryptedFromColumn ( bool  bSet)
inline

◆ SetIsNameFromColumn()

void SwModuleOptions::SetIsNameFromColumn ( bool  bSet)
inline

◆ SetMailingFormats()

void SwModuleOptions::SetMailingFormats ( MailTextFormats  nSet)
inline

◆ SetMailingPath()

void SwModuleOptions::SetMailingPath ( const OUString &  sPath)
inline

◆ SetMarkAlignColor()

void SwModuleOptions::SetMarkAlignColor ( const Color rColor)
inline

◆ SetMarkAlignMode()

void SwModuleOptions::SetMarkAlignMode ( sal_uInt16  nMode)
inline

◆ SetNameFromColumn()

void SwModuleOptions::SetNameFromColumn ( const OUString &  rSet)
inline

◆ SetPasswordFromColumn()

void SwModuleOptions::SetPasswordFromColumn ( const OUString &  rSet)
inline

◆ SetPieceLen()

void SwModuleOptions::SetPieceLen ( sal_uInt16  nLen)
inline

◆ SetShowIndexPreview()

void SwModuleOptions::SetShowIndexPreview ( bool  bSet)
inline

◆ SetSinglePrintJob()

void SwModuleOptions::SetSinglePrintJob ( bool  b)
inline

◆ SetSplitVerticalByDefault()

void SwModuleOptions::SetSplitVerticalByDefault ( bool  bHTML,
bool  b 
)
inline

Definition at line 312 of file modcfg.hxx.

References config.

◆ SetStoreRsid()

void SwModuleOptions::SetStoreRsid ( bool  bStoreRsid)
inline

◆ SetTableHInsert()

void SwModuleOptions::SetTableHInsert ( sal_uInt16  nSet)
inline

◆ SetTableHMove()

void SwModuleOptions::SetTableHMove ( sal_uInt16  nSet)
inline

◆ SetTableMode()

void SwModuleOptions::SetTableMode ( TableChgMode  eSet)
inline

◆ SetTableVInsert()

void SwModuleOptions::SetTableVInsert ( sal_uInt16  nSet)
inline

◆ SetTableVMove()

void SwModuleOptions::SetTableVMove ( sal_uInt16  nSet)
inline

◆ SetUseRsid()

void SwModuleOptions::SetUseRsid ( bool  b)
inline

◆ SetWordDelimiter()

void SwModuleOptions::SetWordDelimiter ( const OUString &  sDelim)
inline

Definition at line 360 of file modcfg.hxx.

References SwMiscConfig::m_sWordDelimiter, and utl::ConfigItem::SetModified().

Member Data Documentation

◆ m_aCompareConfig

SwCompareConfig SwModuleOptions::m_aCompareConfig
private

Definition at line 217 of file modcfg.hxx.

◆ m_aInsertConfig

SwInsertConfig SwModuleOptions::m_aInsertConfig
private

Definition at line 209 of file modcfg.hxx.

Referenced by GetCapOption(), and SetCapOption().

◆ m_aMiscConfig

SwMiscConfig SwModuleOptions::m_aMiscConfig
private

Definition at line 215 of file modcfg.hxx.

◆ m_aRevisionConfig

SwRevisionConfig SwModuleOptions::m_aRevisionConfig
private

Definition at line 208 of file modcfg.hxx.

◆ m_aTableConfig

SwTableConfig SwModuleOptions::m_aTableConfig
private

Definition at line 212 of file modcfg.hxx.

◆ m_aWebInsertConfig

SwInsertConfig SwModuleOptions::m_aWebInsertConfig
private

Definition at line 210 of file modcfg.hxx.

◆ m_aWebTableConfig

SwTableConfig SwModuleOptions::m_aWebTableConfig
private

Definition at line 213 of file modcfg.hxx.

◆ m_bHideFieldTips

bool SwModuleOptions::m_bHideFieldTips
private

Definition at line 220 of file modcfg.hxx.


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