LibreOffice Module cui (master)  1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
OfaSwAutoFmtOptionsPage Class Reference

#include <autocdlg.hxx>

Inheritance diagram for OfaSwAutoFmtOptionsPage:
[legend]
Collaboration diagram for OfaSwAutoFmtOptionsPage:
[legend]

Public Member Functions

virtual bool FillItemSet (SfxItemSet *rSet) override
 
virtual void Reset (const SfxItemSet *rSet) override
 
virtual void ActivatePage (const SfxItemSet &) override
 
- Public Member Functions inherited from SfxTabPage
void SetDialogController (SfxOkDialogController *pDialog)
 
virtual ~SfxTabPage () override
 
const SfxItemSetGetItemSet () const
 
bool HasExchangeSupport () const
 
void SetExchangeSupport ()
 
virtual DeactivateRC DeactivatePage (SfxItemSet *pSet)
 
void SetUserData (const OUString &rString)
 
const OUString & GetUserData ()
 
virtual void FillUserData ()
 
virtual bool IsReadOnly () const
 
virtual void PageCreated (const SfxAllItemSet &aSet)
 
virtual void ChangesApplied ()
 
void SetFrame (const css::uno::Reference< css::frame::XFrame > &xFrame)
 
css::uno::Reference< css::frame::XFrame > GetFrame ()
 
const SfxItemSetGetDialogExampleSet () const
 
OString GetConfigId () const
 
weld::WindowGetDialogFrameWeld () const
 

Static Public Member Functions

static VclPtr< SfxTabPageCreate (TabPageParent pParent, const SfxItemSet *rAttrSet)
 
- Static Public Member Functions inherited from SfxTabPage
static const SfxPoolItemGetItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
static const T * GetItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 

Private Member Functions

 DECL_LINK (SelectHdl, weld::TreeView &, void)
 
 DECL_LINK (EditHdl, weld::Button &, void)
 
 DECL_LINK (DoubleClickEditHdl, weld::TreeView &, void)
 
void CreateEntry (const OUString &rTxt, sal_uInt16 nCol)
 
 OfaSwAutoFmtOptionsPage (TabPageParent pParent, const SfxItemSet &rSet)
 
virtual ~OfaSwAutoFmtOptionsPage () override
 
virtual void dispose () override
 

Private Attributes

OUString sDeleteEmptyPara
 
OUString sUseReplaceTbl
 
OUString sCapitalStartWord
 
OUString sCapitalStartSentence
 
OUString sUserStyle
 
OUString sBullet
 
OUString sBoldUnder
 
OUString sNoDblSpaces
 
OUString sCorrectCapsLock
 
OUString sDetectURL
 
OUString sDash
 
OUString sRightMargin
 
OUString sNum
 
OUString sBorder
 
OUString sTable
 
OUString sReplaceTemplates
 
OUString sDelSpaceAtSttEnd
 
OUString sDelSpaceBetweenLines
 
OUString sMargin
 
OUString sBulletChar
 
OUString sByInputBulletChar
 
vcl::Font aBulletFont
 
vcl::Font aByInputBulletFont
 
sal_uInt16 nPercent
 
std::unique_ptr< weld::TreeViewm_xCheckLB
 
std::unique_ptr< weld::Buttonm_xEditPB
 

Friends

class VclPtr< OfaSwAutoFmtOptionsPage >
 

Additional Inherited Members

- Protected Member Functions inherited from SfxTabPage
 SfxTabPage (vcl::Window *pParent, const OString &rID, const OUString &rUIXMLDescription, const SfxItemSet *rAttrSet)
 
 SfxTabPage (TabPageParent pParent, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet *rAttrSet)
 
sal_uInt16 GetWhich (sal_uInt16 nSlot, bool bDeep=true) const
 
const SfxPoolItemGetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
const T * GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 
SfxOkDialogControllerGetDialogController () const
 
- Protected Attributes inherited from SfxTabPage
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 

Detailed Description

Definition at line 87 of file autocdlg.hxx.

Constructor & Destructor Documentation

OfaSwAutoFmtOptionsPage::OfaSwAutoFmtOptionsPage ( TabPageParent  pParent,
const SfxItemSet rSet 
)
private

Definition at line 347 of file autocdlg.cxx.

References LINK, m_xCheckLB, m_xEditPB, and Width.

OfaSwAutoFmtOptionsPage::~OfaSwAutoFmtOptionsPage ( )
overrideprivatevirtual

Definition at line 394 of file autocdlg.cxx.

Member Function Documentation

void OfaSwAutoFmtOptionsPage::ActivatePage ( const SfxItemSet )
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 521 of file autocdlg.cxx.

References SfxTabPage::GetDialogController().

VclPtr< SfxTabPage > OfaSwAutoFmtOptionsPage::Create ( TabPageParent  pParent,
const SfxItemSet rAttrSet 
)
static

Definition at line 399 of file autocdlg.cxx.

References VclPtr< reference_type >::Create().

Referenced by OfaAutoCorrDlg::OfaAutoCorrDlg().

void OfaSwAutoFmtOptionsPage::CreateEntry ( const OUString &  rTxt,
sal_uInt16  nCol 
)
private

Definition at line 383 of file autocdlg.cxx.

References CBCOL_BOTH, CBCOL_FIRST, CBCOL_SECOND, m_xCheckLB, and TRISTATE_FALSE.

Referenced by Reset().

OfaSwAutoFmtOptionsPage::DECL_LINK ( SelectHdl  ,
weld::TreeView ,
void   
)
private
OfaSwAutoFmtOptionsPage::DECL_LINK ( EditHdl  ,
weld::Button ,
void   
)
private
OfaSwAutoFmtOptionsPage::DECL_LINK ( DoubleClickEditHdl  ,
weld::TreeView ,
void   
)
private
void OfaSwAutoFmtOptionsPage::dispose ( void  )
overrideprivatevirtual

Reimplemented from SfxTabPage.

Definition at line 1916 of file autocdlg.cxx.

References APPLY_NUMBERING, SfxTabPage::dispose(), m_xCheckLB, MERGE_SINGLE_LINE_PARA, and REPLACE_BULLETS.

bool OfaSwAutoFmtOptionsPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 405 of file autocdlg.cxx.

References SvxSwAutoFormatFlags::aBulletFont, aBulletFont, SvxSwAutoFormatFlags::aByInputBulletFont, aByInputBulletFont, APPLY_NUMBERING, SvxSwAutoFormatFlags::bAFormatByInpDelSpacesAtSttEnd, SvxSwAutoFormatFlags::bAFormatByInpDelSpacesBetweenLines, SvxSwAutoFormatFlags::bAFormatDelSpacesAtSttEnd, SvxSwAutoFormatFlags::bAFormatDelSpacesBetweenLines, SvxSwAutoFormatFlags::bAutoCorrect, SvxSwAutoFormatFlags::bCapitalStartSentence, SvxSwAutoFormatFlags::bCapitalStartWord, SvxSwAutoFormatFlags::bChgEnumNum, SvxSwAutoFormatFlags::bChgToEnEmDash, SvxSwAutoFormatFlags::bChgUserColl, SvxSwAutoFormatFlags::bChgWeightUnderl, SvxSwAutoFormatFlags::bCreateTable, SvxSwAutoFormatFlags::bDelEmptyNode, BEGIN_UPPER, BOLD_UNDERLINE, SvxSwAutoFormatFlags::bReplaceStyles, SvxSwAutoFormatFlags::bRightMargin, SvxSwAutoFormatFlags::bSetBorder, SvxSwAutoFormatFlags::bSetINetAttr, SvxSwAutoFormatFlags::bSetNumRule, CBCOL_FIRST, CBCOL_SECOND, SvxSwAutoFormatFlags::cBullet, SvxSwAutoFormatFlags::cByInputBullet, SvxAutoCorrCfg::Commit(), CORR_UPPER, CORRECT_CAPS_LOCK, CREATE_TABLE, DEL_EMPTY_NODE, DEL_SPACES_AT_STT_END, DEL_SPACES_BETWEEN_LINES, DETECT_URL, comphelper::string::equals(), SvxAutoCorrCfg::Get(), SvxAutoCorrCfg::GetAutoCorrect(), SvxAutoCorrect::GetFlags(), SvxAutoCorrect::GetSwFlags(), IGNORE_DBLSPACE, INSERT_BORDER, m_xCheckLB, MERGE_SINGLE_LINE_PARA, nPercent, SvxSwAutoFormatFlags::nRightMargin, REPLACE_BULLETS, REPLACE_DASHES, REPLACE_STYLES, REPLACE_USER_COLL, sBulletChar, sByInputBulletChar, SvxAutoCorrect::SetAutoCorrFlag(), SvxAutoCorrCfg::SetModified(), TRISTATE_TRUE, and USE_REPLACE_TABLE.

void OfaSwAutoFmtOptionsPage::Reset ( const SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 526 of file autocdlg.cxx.

References SvxSwAutoFormatFlags::aBulletFont, aBulletFont, SvxSwAutoFormatFlags::aByInputBulletFont, aByInputBulletFont, APPLY_NUMBERING, SvxSwAutoFormatFlags::bAFormatByInpDelSpacesAtSttEnd, SvxSwAutoFormatFlags::bAFormatByInpDelSpacesBetweenLines, SvxSwAutoFormatFlags::bAFormatDelSpacesAtSttEnd, SvxSwAutoFormatFlags::bAFormatDelSpacesBetweenLines, SvxSwAutoFormatFlags::bAutoCorrect, SvxSwAutoFormatFlags::bCapitalStartSentence, SvxSwAutoFormatFlags::bCapitalStartWord, SvxSwAutoFormatFlags::bChgEnumNum, SvxSwAutoFormatFlags::bChgToEnEmDash, SvxSwAutoFormatFlags::bChgUserColl, SvxSwAutoFormatFlags::bChgWeightUnderl, SvxSwAutoFormatFlags::bCreateTable, SvxSwAutoFormatFlags::bDelEmptyNode, BEGIN_UPPER, BOLD_UNDERLINE, SvxSwAutoFormatFlags::bReplaceStyles, SvxSwAutoFormatFlags::bRightMargin, SvxSwAutoFormatFlags::bSetBorder, SvxSwAutoFormatFlags::bSetINetAttr, SvxSwAutoFormatFlags::bSetNumRule, CBCOL_BOTH, CBCOL_FIRST, CBCOL_SECOND, SvxSwAutoFormatFlags::cBullet, SvxSwAutoFormatFlags::cByInputBullet, CORR_UPPER, CORRECT_CAPS_LOCK, CREATE_TABLE, CreateEntry(), DEL_EMPTY_NODE, DEL_SPACES_AT_STT_END, DEL_SPACES_BETWEEN_LINES, DETECT_URL, unicode::formatPercent(), SvxAutoCorrCfg::Get(), SvxAutoCorrCfg::GetAutoCorrect(), SvxAutoCorrect::GetFlags(), Application::GetSettings(), SvxAutoCorrect::GetSwFlags(), IGNORE_DBLSPACE, INSERT_BORDER, m_xCheckLB, MERGE_SINGLE_LINE_PARA, nPercent, SvxSwAutoFormatFlags::nRightMargin, REPLACE_BULLETS, REPLACE_DASHES, REPLACE_STYLES, REPLACE_USER_COLL, sBoldUnder, sBorder, sBullet, sBulletChar, sByInputBulletChar, sCapitalStartSentence, sCapitalStartWord, sCorrectCapsLock, sDash, sDeleteEmptyPara, sDelSpaceAtSttEnd, sDelSpaceBetweenLines, sDetectURL, sId, sMargin, sNoDblSpaces, sNum, sReplaceTemplates, sRightMargin, sTable, sUseReplaceTbl, sUserStyle, TRISTATE_FALSE, TRISTATE_TRUE, and USE_REPLACE_TABLE.

Friends And Related Function Documentation

friend class VclPtr< OfaSwAutoFmtOptionsPage >
friend

Definition at line 89 of file autocdlg.hxx.

Member Data Documentation

vcl::Font OfaSwAutoFmtOptionsPage::aBulletFont
private

Definition at line 115 of file autocdlg.hxx.

Referenced by FillItemSet(), and Reset().

vcl::Font OfaSwAutoFmtOptionsPage::aByInputBulletFont
private

Definition at line 116 of file autocdlg.hxx.

Referenced by FillItemSet(), and Reset().

std::unique_ptr<weld::TreeView> OfaSwAutoFmtOptionsPage::m_xCheckLB
private

Definition at line 119 of file autocdlg.hxx.

Referenced by CreateEntry(), dispose(), FillItemSet(), OfaSwAutoFmtOptionsPage(), and Reset().

std::unique_ptr<weld::Button> OfaSwAutoFmtOptionsPage::m_xEditPB
private

Definition at line 120 of file autocdlg.hxx.

Referenced by OfaSwAutoFmtOptionsPage().

sal_uInt16 OfaSwAutoFmtOptionsPage::nPercent
private

Definition at line 117 of file autocdlg.hxx.

Referenced by FillItemSet(), and Reset().

OUString OfaSwAutoFmtOptionsPage::sBoldUnder
private

Definition at line 98 of file autocdlg.hxx.

Referenced by Reset().

OUString OfaSwAutoFmtOptionsPage::sBorder
private

Definition at line 105 of file autocdlg.hxx.

Referenced by Reset().

OUString OfaSwAutoFmtOptionsPage::sBullet
private

Definition at line 97 of file autocdlg.hxx.

Referenced by Reset().

OUString OfaSwAutoFmtOptionsPage::sBulletChar
private

Definition at line 112 of file autocdlg.hxx.

Referenced by FillItemSet(), and Reset().

OUString OfaSwAutoFmtOptionsPage::sByInputBulletChar
private

Definition at line 113 of file autocdlg.hxx.

Referenced by FillItemSet(), and Reset().

OUString OfaSwAutoFmtOptionsPage::sCapitalStartSentence
private

Definition at line 95 of file autocdlg.hxx.

Referenced by Reset().

OUString OfaSwAutoFmtOptionsPage::sCapitalStartWord
private

Definition at line 94 of file autocdlg.hxx.

Referenced by Reset().

OUString OfaSwAutoFmtOptionsPage::sCorrectCapsLock
private

Definition at line 100 of file autocdlg.hxx.

Referenced by Reset().

OUString OfaSwAutoFmtOptionsPage::sDash
private

Definition at line 102 of file autocdlg.hxx.

Referenced by Reset().

OUString OfaSwAutoFmtOptionsPage::sDeleteEmptyPara
private

Definition at line 92 of file autocdlg.hxx.

Referenced by Reset().

OUString OfaSwAutoFmtOptionsPage::sDelSpaceAtSttEnd
private

Definition at line 108 of file autocdlg.hxx.

Referenced by Reset().

OUString OfaSwAutoFmtOptionsPage::sDelSpaceBetweenLines
private

Definition at line 109 of file autocdlg.hxx.

Referenced by Reset().

OUString OfaSwAutoFmtOptionsPage::sDetectURL
private

Definition at line 101 of file autocdlg.hxx.

Referenced by Reset().

OUString OfaSwAutoFmtOptionsPage::sMargin
private

Definition at line 111 of file autocdlg.hxx.

Referenced by Reset().

OUString OfaSwAutoFmtOptionsPage::sNoDblSpaces
private

Definition at line 99 of file autocdlg.hxx.

Referenced by Reset().

OUString OfaSwAutoFmtOptionsPage::sNum
private

Definition at line 104 of file autocdlg.hxx.

Referenced by Reset().

OUString OfaSwAutoFmtOptionsPage::sReplaceTemplates
private

Definition at line 107 of file autocdlg.hxx.

Referenced by Reset().

OUString OfaSwAutoFmtOptionsPage::sRightMargin
private

Definition at line 103 of file autocdlg.hxx.

Referenced by Reset().

OUString OfaSwAutoFmtOptionsPage::sTable
private

Definition at line 106 of file autocdlg.hxx.

Referenced by Reset().

OUString OfaSwAutoFmtOptionsPage::sUseReplaceTbl
private

Definition at line 93 of file autocdlg.hxx.

Referenced by Reset().

OUString OfaSwAutoFmtOptionsPage::sUserStyle
private

Definition at line 96 of file autocdlg.hxx.

Referenced by Reset().


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