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

#include <autocdlg.hxx>

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

Public Member Functions

 OfaSwAutoFmtOptionsPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
 
virtual ~OfaSwAutoFmtOptionsPage () override
 
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
 
void set_visible (bool bVisible)
 
const SfxItemSetGetItemSet () const
 
bool HasExchangeSupport () const
 
void SetExchangeSupport ()
 
virtual DeactivateRC DeactivatePage (SfxItemSet *pSet)
 
void SetUserData (const OUString &rString)
 
const OUString & GetUserData () const
 
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
 
const SfxItemSetGetDialogExampleSet () const
 
OString GetHelpId () const
 
OString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 

Static Public Member Functions

static std::unique_ptr< SfxTabPageCreate (weld::Container *pPage, weld::DialogController *pController, 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 &, bool)
 
void CreateEntry (const OUString &rTxt, sal_uInt16 nCol)
 

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
 

Additional Inherited Members

- Protected Member Functions inherited from SfxTabPage
 SfxTabPage (weld::Container *pPage, weld::DialogController *pController, 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
 

Detailed Description

Definition at line 83 of file autocdlg.hxx.

Constructor & Destructor Documentation

OfaSwAutoFmtOptionsPage::OfaSwAutoFmtOptionsPage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rSet 
)

Definition at line 346 of file autocdlg.cxx.

References LINK, m_xCheckLB, m_xEditPB, and Width.

OfaSwAutoFmtOptionsPage::~OfaSwAutoFmtOptionsPage ( )
overridevirtual

Definition at line 393 of file autocdlg.cxx.

References APPLY_NUMBERING, m_xCheckLB, MERGE_SINGLE_LINE_PARA, and REPLACE_BULLETS.

Member Function Documentation

void OfaSwAutoFmtOptionsPage::ActivatePage ( const SfxItemSet )
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 522 of file autocdlg.cxx.

References SfxTabPage::GetDialogController().

std::unique_ptr< SfxTabPage > OfaSwAutoFmtOptionsPage::Create ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rAttrSet 
)
static

Definition at line 400 of file autocdlg.cxx.

Referenced by OfaAutoCorrDlg::OfaAutoCorrDlg().

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

Definition at line 382 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 ,
bool   
)
private
bool OfaSwAutoFmtOptionsPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 406 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 527 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.

Member Data Documentation

vcl::Font OfaSwAutoFmtOptionsPage::aBulletFont
private

Definition at line 108 of file autocdlg.hxx.

Referenced by FillItemSet(), and Reset().

vcl::Font OfaSwAutoFmtOptionsPage::aByInputBulletFont
private

Definition at line 109 of file autocdlg.hxx.

Referenced by FillItemSet(), and Reset().

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

Definition at line 113 of file autocdlg.hxx.

Referenced by OfaSwAutoFmtOptionsPage().

sal_uInt16 OfaSwAutoFmtOptionsPage::nPercent
private

Definition at line 110 of file autocdlg.hxx.

Referenced by FillItemSet(), and Reset().

OUString OfaSwAutoFmtOptionsPage::sBoldUnder
private

Definition at line 91 of file autocdlg.hxx.

Referenced by Reset().

OUString OfaSwAutoFmtOptionsPage::sBorder
private

Definition at line 98 of file autocdlg.hxx.

Referenced by Reset().

OUString OfaSwAutoFmtOptionsPage::sBullet
private

Definition at line 90 of file autocdlg.hxx.

Referenced by Reset().

OUString OfaSwAutoFmtOptionsPage::sBulletChar
private

Definition at line 105 of file autocdlg.hxx.

Referenced by FillItemSet(), and Reset().

OUString OfaSwAutoFmtOptionsPage::sByInputBulletChar
private

Definition at line 106 of file autocdlg.hxx.

Referenced by FillItemSet(), and Reset().

OUString OfaSwAutoFmtOptionsPage::sCapitalStartSentence
private

Definition at line 88 of file autocdlg.hxx.

Referenced by Reset().

OUString OfaSwAutoFmtOptionsPage::sCapitalStartWord
private

Definition at line 87 of file autocdlg.hxx.

Referenced by Reset().

OUString OfaSwAutoFmtOptionsPage::sCorrectCapsLock
private

Definition at line 93 of file autocdlg.hxx.

Referenced by Reset().

OUString OfaSwAutoFmtOptionsPage::sDash
private

Definition at line 95 of file autocdlg.hxx.

Referenced by Reset().

OUString OfaSwAutoFmtOptionsPage::sDeleteEmptyPara
private

Definition at line 85 of file autocdlg.hxx.

Referenced by Reset().

OUString OfaSwAutoFmtOptionsPage::sDelSpaceAtSttEnd
private

Definition at line 101 of file autocdlg.hxx.

Referenced by Reset().

OUString OfaSwAutoFmtOptionsPage::sDelSpaceBetweenLines
private

Definition at line 102 of file autocdlg.hxx.

Referenced by Reset().

OUString OfaSwAutoFmtOptionsPage::sDetectURL
private

Definition at line 94 of file autocdlg.hxx.

Referenced by Reset().

OUString OfaSwAutoFmtOptionsPage::sMargin
private

Definition at line 104 of file autocdlg.hxx.

Referenced by Reset().

OUString OfaSwAutoFmtOptionsPage::sNoDblSpaces
private

Definition at line 92 of file autocdlg.hxx.

Referenced by Reset().

OUString OfaSwAutoFmtOptionsPage::sNum
private

Definition at line 97 of file autocdlg.hxx.

Referenced by Reset().

OUString OfaSwAutoFmtOptionsPage::sReplaceTemplates
private

Definition at line 100 of file autocdlg.hxx.

Referenced by Reset().

OUString OfaSwAutoFmtOptionsPage::sRightMargin
private

Definition at line 96 of file autocdlg.hxx.

Referenced by Reset().

OUString OfaSwAutoFmtOptionsPage::sTable
private

Definition at line 99 of file autocdlg.hxx.

Referenced by Reset().

OUString OfaSwAutoFmtOptionsPage::sUseReplaceTbl
private

Definition at line 86 of file autocdlg.hxx.

Referenced by Reset().

OUString OfaSwAutoFmtOptionsPage::sUserStyle
private

Definition at line 89 of file autocdlg.hxx.

Referenced by Reset().


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