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 (const OUString &rDelim, 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 ( )

Definition at line 124 of file modcfg.cxx.

Member Function Documentation

OUString SwModuleOptions::ConvertWordDelimiter ( const OUString &  rDelim,
bool  bFromUI 
)
static

Definition at line 133 of file modcfg.cxx.

References i, and n.

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

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

Definition at line 61 of file modcfg.cxx.

References GLOB_NAME_CHART, nId, and OLE_CAP.

Referenced by SwView::AutoCaption(), and SwCaptionOptPage::SetOptions().

SwCompareMode SwModuleOptions::GetCompareMode ( ) const
inline

Definition at line 380 of file modcfg.hxx.

References SwCompareConfig::m_eCmpMode.

Referenced by SwCompareOptionsTabPage::Reset().

const AuthorCharAttr& SwModuleOptions::GetDeletedAuthorAttr ( ) const
inline
const AuthorCharAttr& SwModuleOptions::GetFormatAuthorAttr ( ) const
inline
const AuthorCharAttr& SwModuleOptions::GetInsertAuthorAttr ( ) const
inline
const SwInsertTableOptions& SwModuleOptions::GetInsTableFlags ( bool  bHTML) const
inline
MailTextFormats SwModuleOptions::GetMailingFormats ( ) const
inline

Definition at line 324 of file modcfg.hxx.

References SwMiscConfig::m_nMailingFormats.

Referenced by SwMailMergeDlg::SwMailMergeDlg().

const OUString& SwModuleOptions::GetMailingPath ( ) const
inline
const Color& SwModuleOptions::GetMarkAlignColor ( ) const
inline
sal_uInt16 SwModuleOptions::GetMarkAlignMode ( ) const
inline
const OUString& SwModuleOptions::GetNameFromColumn ( ) const
inline

Definition at line 340 of file modcfg.hxx.

References SwMiscConfig::m_sNameFromColumn.

Referenced by SwMailMergeDlg::SwMailMergeDlg().

const OUString& SwModuleOptions::GetPasswordFromColumn ( ) const
inline

Definition at line 351 of file modcfg.hxx.

References SwMiscConfig::m_sPasswordFromColumn.

Referenced by SwMailMergeDlg::SwMailMergeDlg().

sal_uInt16 SwModuleOptions::GetPieceLen ( ) const
inline

Definition at line 392 of file modcfg.hxx.

References SwCompareConfig::m_nPieceLen.

Referenced by SwCompareOptionsTabPage::Reset().

sal_uInt16 SwModuleOptions::GetTableHInsert ( ) const
inline

Definition at line 237 of file modcfg.hxx.

References SwTableConfig::m_nTableHInsert.

Referenced by SwTableOptionsTabPage::Reset().

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().

TableChgMode SwModuleOptions::GetTableMode ( ) const
inline
sal_uInt16 SwModuleOptions::GetTableVInsert ( ) const
inline

Definition at line 241 of file modcfg.hxx.

References SwTableConfig::m_nTableVInsert.

Referenced by SwTableOptionsTabPage::Reset().

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().

const OUString& SwModuleOptions::GetWordDelimiter ( ) const
inline

Definition at line 359 of file modcfg.hxx.

References SwMiscConfig::m_sWordDelimiter.

bool SwModuleOptions::IsAskForMailMerge ( ) const
inline

Definition at line 338 of file modcfg.hxx.

References SwMiscConfig::m_bAskForMailMergeInPrint.

bool SwModuleOptions::IsCaptionOrderNumberingFirst ( ) const
inline

Definition at line 272 of file modcfg.hxx.

References SwInsertConfig::m_bCaptionOrderNumberingFirst.

bool SwModuleOptions::IsFileEncryptedFromColumn ( ) const
inline

Definition at line 344 of file modcfg.hxx.

References SwMiscConfig::m_bIsPasswordFromColumn.

bool SwModuleOptions::IsGrfToGalleryAsLnk ( ) const
inline

Definition at line 320 of file modcfg.hxx.

References SwMiscConfig::m_bGrfToGalleryAsLnk.

bool SwModuleOptions::IsHideFieldTips ( ) const
inline

Definition at line 377 of file modcfg.hxx.

Referenced by SwEditWin::RequestHelp().

bool SwModuleOptions::IsIgnorePieces ( ) const
inline

Definition at line 388 of file modcfg.hxx.

References SwCompareConfig::m_bIgnorePieces.

Referenced by SwCompareOptionsTabPage::Reset().

bool SwModuleOptions::IsInsTableAlignNum ( bool  bHTML) const
inline

Definition at line 296 of file modcfg.hxx.

References SwTableConfig::m_bInsTableAlignNum.

Referenced by SwTableOptionsTabPage::Reset().

bool SwModuleOptions::IsInsTableChangeNumFormat ( bool  bHTML) const
inline

Definition at line 289 of file modcfg.hxx.

References SwTableConfig::m_bInsTableChangeNumFormat.

Referenced by SwTableOptionsTabPage::Reset().

bool SwModuleOptions::IsInsTableFormatNum ( bool  bHTML) const
inline

Definition at line 282 of file modcfg.hxx.

References SwTableConfig::m_bInsTableFormatNum.

Referenced by SwTableOptionsTabPage::Reset().

bool SwModuleOptions::IsInsWithCaption ( bool  bHTML) const
inline

Definition at line 265 of file modcfg.hxx.

References SwInsertConfig::m_bInsWithCaption.

Referenced by SwView::AutoCaption().

bool SwModuleOptions::IsNameFromColumn ( ) const
inline

Definition at line 331 of file modcfg.hxx.

References SwMiscConfig::m_bIsNameFromColumn.

Referenced by SwMailMergeDlg::SwMailMergeDlg().

bool SwModuleOptions::IsShowIndexPreview ( ) const
inline

Definition at line 366 of file modcfg.hxx.

References SwMiscConfig::m_bShowIndexPreview.

bool SwModuleOptions::IsSplitVerticalByDefault ( bool  bHTML) const
inline

Definition at line 310 of file modcfg.hxx.

References SwTableConfig::m_bSplitVerticalByDefault.

bool SwModuleOptions::IsStoreRsid ( ) const
inline

Definition at line 396 of file modcfg.hxx.

References SwCompareConfig::m_bStoreRsid.

Referenced by SwCompareOptionsTabPage::Reset().

bool SwModuleOptions::IsUseRsid ( ) const
inline

Definition at line 384 of file modcfg.hxx.

References SwCompareConfig::m_bUseRsid.

Referenced by SwCompareOptionsTabPage::Reset().

bool SwModuleOptions::SetCapOption ( bool  bHTML,
const InsCaptionOpt pOpt 
)
void SwModuleOptions::SetCaptionOrderNumberingFirst ( bool  bSet)
inline
void SwModuleOptions::SetCompareMode ( SwCompareMode  eMode)
inline
void SwModuleOptions::SetDefaultFontInCurrDocOnly ( bool  bSet)
inline
void SwModuleOptions::SetDeletedAuthorAttr ( AuthorCharAttr const &  rAttr)
inline
void SwModuleOptions::SetFormatAuthorAttr ( AuthorCharAttr const &  rAttr)
inline
void SwModuleOptions::SetGrfToGalleryAsLnk ( bool  b)
inline
void SwModuleOptions::SetHideFieldTips ( bool  bSet)
inline

Definition at line 378 of file modcfg.hxx.

void SwModuleOptions::SetIgnorePieces ( bool  b)
inline
void SwModuleOptions::SetInsertAuthorAttr ( AuthorCharAttr const &  rAttr)
inline
void SwModuleOptions::SetInsTableAlignNum ( bool  bHTML,
bool  b 
)
inline

Definition at line 298 of file modcfg.hxx.

References config.

Referenced by SwTableOptionsTabPage::FillItemSet().

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

Definition at line 291 of file modcfg.hxx.

References config.

Referenced by SwTableOptionsTabPage::FillItemSet().

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

Definition at line 305 of file modcfg.hxx.

References config.

Referenced by SwTableOptionsTabPage::FillItemSet().

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

Definition at line 284 of file modcfg.hxx.

References config.

Referenced by SwTableOptionsTabPage::FillItemSet().

void SwModuleOptions::SetInsWithCaption ( bool  bHTML,
bool  b 
)
inline
void SwModuleOptions::SetIsFileEncryptedFromColumn ( bool  bSet)
inline
void SwModuleOptions::SetIsNameFromColumn ( bool  bSet)
inline
void SwModuleOptions::SetMailingFormats ( MailTextFormats  nSet)
inline
void SwModuleOptions::SetMailingPath ( const OUString &  sPath)
inline
void SwModuleOptions::SetMarkAlignColor ( const Color rColor)
inline
void SwModuleOptions::SetMarkAlignMode ( sal_uInt16  nMode)
inline
void SwModuleOptions::SetNameFromColumn ( const OUString &  rSet)
inline
void SwModuleOptions::SetPasswordFromColumn ( const OUString &  rSet)
inline
void SwModuleOptions::SetPieceLen ( sal_uInt16  nLen)
inline
void SwModuleOptions::SetShowIndexPreview ( bool  bSet)
inline
void SwModuleOptions::SetSinglePrintJob ( bool  b)
inline
void SwModuleOptions::SetSplitVerticalByDefault ( bool  bHTML,
bool  b 
)
inline

Definition at line 312 of file modcfg.hxx.

References config.

void SwModuleOptions::SetStoreRsid ( bool  bStoreRsid)
inline
void SwModuleOptions::SetTableHInsert ( sal_uInt16  nSet)
inline
void SwModuleOptions::SetTableHMove ( sal_uInt16  nSet)
inline
void SwModuleOptions::SetTableMode ( TableChgMode  eSet)
inline
void SwModuleOptions::SetTableVInsert ( sal_uInt16  nSet)
inline
void SwModuleOptions::SetTableVMove ( sal_uInt16  nSet)
inline
void SwModuleOptions::SetUseRsid ( bool  b)
inline
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

SwCompareConfig SwModuleOptions::m_aCompareConfig
private

Definition at line 217 of file modcfg.hxx.

SwInsertConfig SwModuleOptions::m_aInsertConfig
private

Definition at line 209 of file modcfg.hxx.

SwMiscConfig SwModuleOptions::m_aMiscConfig
private

Definition at line 215 of file modcfg.hxx.

SwRevisionConfig SwModuleOptions::m_aRevisionConfig
private

Definition at line 208 of file modcfg.hxx.

SwTableConfig SwModuleOptions::m_aTableConfig
private

Definition at line 212 of file modcfg.hxx.

SwInsertConfig SwModuleOptions::m_aWebInsertConfig
private

Definition at line 210 of file modcfg.hxx.

SwTableConfig SwModuleOptions::m_aWebTableConfig
private

Definition at line 213 of file modcfg.hxx.

bool SwModuleOptions::m_bHideFieldTips
private

Definition at line 220 of file modcfg.hxx.


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