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
 
virtual bool FillItemSet (SfxItemSet *)
 
virtual void Reset (const SfxItemSet *)
 
virtual bool DeferResetToFirstActivation ()
 
bool HasExchangeSupport () const
 
void SetExchangeSupport ()
 
virtual void ActivatePage (const SfxItemSet &)
 
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
 
OUString GetHelpId () const
 
OUString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 
std::unordered_map< OUString, css::uno::Any > & getAdditionalProperties ()
 

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 sDetectDOI
 
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 OUString &rID, const SfxItemSet *rAttrSet)
 
sal_uInt16 GetWhich (sal_uInt16 nSlot, bool bDeep=true) const
 
TypedWhichId< T > GetWhich (TypedWhichId< T > 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 84 of file autocdlg.hxx.

Constructor & Destructor Documentation

◆ OfaSwAutoFmtOptionsPage()

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

Definition at line 358 of file autocdlg.cxx.

References LINK, m_xCheckLB, m_xEditPB, rSet, and sBorder.

◆ ~OfaSwAutoFmtOptionsPage()

OfaSwAutoFmtOptionsPage::~OfaSwAutoFmtOptionsPage ( )
overridevirtual

Definition at line 408 of file autocdlg.cxx.

References m_xCheckLB.

Member Function Documentation

◆ ActivatePage()

void OfaSwAutoFmtOptionsPage::ActivatePage ( const SfxItemSet )
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 543 of file autocdlg.cxx.

References SfxTabPage::GetDialogController().

◆ Create()

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

Definition at line 415 of file autocdlg.cxx.

Referenced by OfaAutoCorrDlg::OfaAutoCorrDlg().

◆ CreateEntry()

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

Definition at line 397 of file autocdlg.cxx.

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

Referenced by Reset().

◆ DECL_LINK() [1/3]

OfaSwAutoFmtOptionsPage::DECL_LINK ( DoubleClickEditHdl  ,
weld::TreeView ,
bool   
)
private

◆ DECL_LINK() [2/3]

OfaSwAutoFmtOptionsPage::DECL_LINK ( EditHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [3/3]

OfaSwAutoFmtOptionsPage::DECL_LINK ( SelectHdl  ,
weld::TreeView ,
void   
)
private

◆ FillItemSet()

bool OfaSwAutoFmtOptionsPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

◆ Reset()

void OfaSwAutoFmtOptionsPage::Reset ( const SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 548 of file autocdlg.cxx.

References aBulletFont, SvxSwAutoFormatFlags::aBulletFont, aByInputBulletFont, SvxSwAutoFormatFlags::aByInputBulletFont, 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, SvxSwAutoFormatFlags::bReplaceStyles, SvxSwAutoFormatFlags::bRightMargin, SvxSwAutoFormatFlags::bSetBorder, SvxSwAutoFormatFlags::bSetDOIAttr, SvxSwAutoFormatFlags::bSetINetAttr, SvxSwAutoFormatFlags::bSetNumRule, CBCOL_BOTH, CBCOL_FIRST, CBCOL_SECOND, SvxSwAutoFormatFlags::cBullet, SvxSwAutoFormatFlags::cByInputBullet, CreateEntry(), unicode::formatPercent(), SvxAutoCorrCfg::Get(), SvxAutoCorrCfg::GetAutoCorrect(), SvxAutoCorrect::GetFlags(), Application::GetSettings(), SvxAutoCorrect::GetSwFlags(), m_xCheckLB, nPercent, SvxSwAutoFormatFlags::nRightMargin, sBoldUnder, sBorder, sBullet, sBulletChar, sByInputBulletChar, sCapitalStartSentence, sCapitalStartWord, sCorrectCapsLock, sDash, sDeleteEmptyPara, sDelSpaceAtSttEnd, sDelSpaceBetweenLines, sDetectDOI, sDetectURL, sId, sMargin, sNoDblSpaces, sNum, sReplaceTemplates, sRightMargin, sTable, sUseReplaceTbl, sUserStyle, weld::toId(), TRISTATE_FALSE, and TRISTATE_TRUE.

Member Data Documentation

◆ aBulletFont

vcl::Font OfaSwAutoFmtOptionsPage::aBulletFont
private

Definition at line 110 of file autocdlg.hxx.

Referenced by FillItemSet(), and Reset().

◆ aByInputBulletFont

vcl::Font OfaSwAutoFmtOptionsPage::aByInputBulletFont
private

Definition at line 111 of file autocdlg.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_xCheckLB

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

◆ m_xEditPB

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

Definition at line 115 of file autocdlg.hxx.

Referenced by OfaSwAutoFmtOptionsPage().

◆ nPercent

sal_uInt16 OfaSwAutoFmtOptionsPage::nPercent
private

Definition at line 112 of file autocdlg.hxx.

Referenced by FillItemSet(), and Reset().

◆ sBoldUnder

OUString OfaSwAutoFmtOptionsPage::sBoldUnder
private

Definition at line 92 of file autocdlg.hxx.

Referenced by Reset().

◆ sBorder

OUString OfaSwAutoFmtOptionsPage::sBorder
private

Definition at line 100 of file autocdlg.hxx.

Referenced by Reset().

◆ sBullet

OUString OfaSwAutoFmtOptionsPage::sBullet
private

Definition at line 91 of file autocdlg.hxx.

Referenced by Reset().

◆ sBulletChar

OUString OfaSwAutoFmtOptionsPage::sBulletChar
private

Definition at line 107 of file autocdlg.hxx.

Referenced by FillItemSet(), and Reset().

◆ sByInputBulletChar

OUString OfaSwAutoFmtOptionsPage::sByInputBulletChar
private

Definition at line 108 of file autocdlg.hxx.

Referenced by FillItemSet(), and Reset().

◆ sCapitalStartSentence

OUString OfaSwAutoFmtOptionsPage::sCapitalStartSentence
private

Definition at line 89 of file autocdlg.hxx.

Referenced by Reset().

◆ sCapitalStartWord

OUString OfaSwAutoFmtOptionsPage::sCapitalStartWord
private

Definition at line 88 of file autocdlg.hxx.

Referenced by Reset().

◆ sCorrectCapsLock

OUString OfaSwAutoFmtOptionsPage::sCorrectCapsLock
private

Definition at line 94 of file autocdlg.hxx.

Referenced by Reset().

◆ sDash

OUString OfaSwAutoFmtOptionsPage::sDash
private

Definition at line 97 of file autocdlg.hxx.

Referenced by Reset().

◆ sDeleteEmptyPara

OUString OfaSwAutoFmtOptionsPage::sDeleteEmptyPara
private

Definition at line 86 of file autocdlg.hxx.

Referenced by Reset().

◆ sDelSpaceAtSttEnd

OUString OfaSwAutoFmtOptionsPage::sDelSpaceAtSttEnd
private

Definition at line 103 of file autocdlg.hxx.

Referenced by Reset().

◆ sDelSpaceBetweenLines

OUString OfaSwAutoFmtOptionsPage::sDelSpaceBetweenLines
private

Definition at line 104 of file autocdlg.hxx.

Referenced by Reset().

◆ sDetectDOI

OUString OfaSwAutoFmtOptionsPage::sDetectDOI
private

Definition at line 96 of file autocdlg.hxx.

Referenced by Reset().

◆ sDetectURL

OUString OfaSwAutoFmtOptionsPage::sDetectURL
private

Definition at line 95 of file autocdlg.hxx.

Referenced by Reset().

◆ sMargin

OUString OfaSwAutoFmtOptionsPage::sMargin
private

Definition at line 106 of file autocdlg.hxx.

Referenced by Reset().

◆ sNoDblSpaces

OUString OfaSwAutoFmtOptionsPage::sNoDblSpaces
private

Definition at line 93 of file autocdlg.hxx.

Referenced by Reset().

◆ sNum

OUString OfaSwAutoFmtOptionsPage::sNum
private

Definition at line 99 of file autocdlg.hxx.

Referenced by Reset().

◆ sReplaceTemplates

OUString OfaSwAutoFmtOptionsPage::sReplaceTemplates
private

Definition at line 102 of file autocdlg.hxx.

Referenced by Reset().

◆ sRightMargin

OUString OfaSwAutoFmtOptionsPage::sRightMargin
private

Definition at line 98 of file autocdlg.hxx.

Referenced by Reset().

◆ sTable

OUString OfaSwAutoFmtOptionsPage::sTable
private

Definition at line 101 of file autocdlg.hxx.

Referenced by Reset().

◆ sUseReplaceTbl

OUString OfaSwAutoFmtOptionsPage::sUseReplaceTbl
private

Definition at line 87 of file autocdlg.hxx.

Referenced by Reset().

◆ sUserStyle

OUString OfaSwAutoFmtOptionsPage::sUserStyle
private

Definition at line 90 of file autocdlg.hxx.

Referenced by Reset().


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