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

#include <optcomp.hxx>

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

Public Member Functions

 SwCompatibilityOptPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
 
virtual ~SwCompatibilityOptPage () override
 
virtual bool FillItemSet (SfxItemSet *rSet) override
 
virtual void Reset (const SfxItemSet *rSet) 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::ComboBox &, void)
 
 DECL_LINK (UseAsDefaultHdl, weld::Button &, void)
 
void InitControls (const SfxItemSet &rSet)
 
void SetCurrentOptions (sal_uInt32 nOptions)
 
sal_uInt32 GetDocumentOptions () const
 
void WriteOptions ()
 

Private Attributes

SvtCompatibilityOptions m_aConfigItem
 
OUString m_sUserEntry
 
SwWrtShellm_pWrtShell
 
std::unique_ptr< SwCompatibilityOptPage_Implm_pImpl
 
sal_uInt32 m_nSavedOptions
 
bool m_bSavedMSFormsMenuOption
 
std::unique_ptr< weld::Framem_xMain
 
std::unique_ptr< weld::Framem_xGlobalOptionsFrame
 
std::unique_ptr< weld::ComboBoxm_xFormattingLB
 
std::unique_ptr< weld::ComboBoxm_xGlobalOptionsLB
 
std::unique_ptr< weld::TreeViewm_xOptionsLB
 
std::unique_ptr< weld::TreeViewm_xGlobalOptionsCLB
 
std::unique_ptr< weld::Buttonm_xDefaultPB
 

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 30 of file optcomp.hxx.

Constructor & Destructor Documentation

◆ SwCompatibilityOptPage()

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

◆ ~SwCompatibilityOptPage()

SwCompatibilityOptPage::~SwCompatibilityOptPage ( )
overridevirtual

Definition at line 105 of file optcomp.cxx.

Member Function Documentation

◆ Create()

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

Definition at line 354 of file optcomp.cxx.

Referenced by SwAbstractDialogFactory_Impl::GetTabPageCreatorFunc().

◆ DECL_LINK() [1/2]

SwCompatibilityOptPage::DECL_LINK ( SelectHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [2/2]

SwCompatibilityOptPage::DECL_LINK ( UseAsDefaultHdl  ,
weld::Button ,
void   
)
private

◆ FillItemSet()

bool SwCompatibilityOptPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 359 of file optcomp.cxx.

References SvtCompatibilityEntry::AddSpacing, SvtCompatibilityEntry::AddSpacingAtPages, SvtCompatibilityEntry::AddTableSpacing, SvtCompatibilityEntry::ConsiderWrappingStyle, comphelper::ConfigurationChanges::create(), SvtCompatibilityEntry::EmptyDbFieldHidesPara, svtools::executeRestartDialog(), SvtCompatibilityEntry::ExpandWordSpace, SfxTabPage::GetDialogController(), SwViewShell::GetDoc(), SfxTabPage::GetFrameWeld(), SwDoc::getIDocumentSettingAccess(), comphelper::getProcessComponentContext(), i, m_bSavedMSFormsMenuOption, m_nSavedOptions, m_pWrtShell, m_xGlobalOptionsCLB, m_xOptionsLB, SvtCompatibilityEntry::MsWordTrailingBlanks, nCount, SvtCompatibilityEntry::NoExtLeading, SvtCompatibilityEntry::ProtectForm, svtools::RESTART_REASON_MSCOMPATIBLE_FORMS_MENU, RET_OK, IDocumentSettingAccess::set(), SwViewShell::SetAddExtLeading(), SwViewShell::SetAddParaSpacingToTableCells(), SwViewShell::SetConsiderWrapOnObjPos(), SwViewShell::SetDoNotJustifyLinesWithManualBreak(), SwViewShell::SetEmptyDbFieldHidesPara(), SwViewShell::SetMsWordCompTrailingBlanks(), SwViewShell::SetParaSpaceMax(), SwViewShell::SetParaSpaceMaxAtPages(), SwViewShell::SetProtectForm(), SwViewShell::SetSubtractFlysAnchoredAtFlys(), SwViewShell::SetTabCompat(), SwViewShell::SetUseFormerLineSpacing(), SwViewShell::SetUseFormerObjectPositioning(), SwViewShell::SetUseFormerTextWrapping(), SvtCompatibilityEntry::SubtractFlysAnchoredAtFlys, TRISTATE_FALSE, TRISTATE_INDET, TRISTATE_TRUE, USE_VARIABLE_WIDTH_NBSP, SvtCompatibilityEntry::UseLineSpacing, SvtCompatibilityEntry::UseObjectPositioning, SvtCompatibilityEntry::UseOurTabStops, SvtCompatibilityEntry::UseOurTextWrapping, SvtCompatibilityEntry::UseVariableWidthNBSP, and WriteOptions().

◆ GetDocumentOptions()

sal_uInt32 SwCompatibilityOptPage::GetDocumentOptions ( ) const
private

◆ InitControls()

void SwCompatibilityOptPage::InitControls ( const SfxItemSet rSet)
private

◆ Reset()

void SwCompatibilityOptPage::Reset ( const SfxItemSet rSet)
overridevirtual

◆ SetCurrentOptions()

void SwCompatibilityOptPage::SetCurrentOptions ( sal_uInt32  nOptions)
private

◆ WriteOptions()

void SwCompatibilityOptPage::WriteOptions ( )
private

Member Data Documentation

◆ m_aConfigItem

SvtCompatibilityOptions SwCompatibilityOptPage::m_aConfigItem
private

Definition at line 34 of file optcomp.hxx.

Referenced by InitControls(), and WriteOptions().

◆ m_bSavedMSFormsMenuOption

bool SwCompatibilityOptPage::m_bSavedMSFormsMenuOption
private

Definition at line 43 of file optcomp.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_nSavedOptions

sal_uInt32 SwCompatibilityOptPage::m_nSavedOptions
private

Definition at line 42 of file optcomp.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_pImpl

std::unique_ptr<SwCompatibilityOptPage_Impl> SwCompatibilityOptPage::m_pImpl
private

Definition at line 40 of file optcomp.hxx.

Referenced by InitControls(), and WriteOptions().

◆ m_pWrtShell

SwWrtShell* SwCompatibilityOptPage::m_pWrtShell
private

Definition at line 38 of file optcomp.hxx.

Referenced by FillItemSet(), GetDocumentOptions(), and InitControls().

◆ m_sUserEntry

OUString SwCompatibilityOptPage::m_sUserEntry
private

Definition at line 36 of file optcomp.hxx.

Referenced by InitControls(), and SwCompatibilityOptPage().

◆ m_xDefaultPB

std::unique_ptr<weld::Button> SwCompatibilityOptPage::m_xDefaultPB
private

Definition at line 52 of file optcomp.hxx.

Referenced by SwCompatibilityOptPage().

◆ m_xFormattingLB

std::unique_ptr<weld::ComboBox> SwCompatibilityOptPage::m_xFormattingLB
private

Definition at line 48 of file optcomp.hxx.

Referenced by InitControls(), and SwCompatibilityOptPage().

◆ m_xGlobalOptionsCLB

std::unique_ptr<weld::TreeView> SwCompatibilityOptPage::m_xGlobalOptionsCLB
private

Definition at line 51 of file optcomp.hxx.

Referenced by FillItemSet(), Reset(), and SwCompatibilityOptPage().

◆ m_xGlobalOptionsFrame

std::unique_ptr<weld::Frame> SwCompatibilityOptPage::m_xGlobalOptionsFrame
private

Definition at line 47 of file optcomp.hxx.

Referenced by InitControls().

◆ m_xGlobalOptionsLB

std::unique_ptr<weld::ComboBox> SwCompatibilityOptPage::m_xGlobalOptionsLB
private

Definition at line 49 of file optcomp.hxx.

Referenced by SwCompatibilityOptPage().

◆ m_xMain

std::unique_ptr<weld::Frame> SwCompatibilityOptPage::m_xMain
private

Definition at line 46 of file optcomp.hxx.

Referenced by InitControls().

◆ m_xOptionsLB

std::unique_ptr<weld::TreeView> SwCompatibilityOptPage::m_xOptionsLB
private

Definition at line 50 of file optcomp.hxx.

Referenced by FillItemSet(), Reset(), SetCurrentOptions(), and SwCompatibilityOptPage().


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