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

#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
 
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
 
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::ComboBox &, void)
 
 DECL_LINK (UseAsDefaultHdl, weld::Button &, void)
 
void InitControls (const SfxItemSet &rSet)
 
void SetCurrentOptions (sal_uLong nOptions)
 
sal_uLong GetDocumentOptions () const
 
void WriteOptions ()
 

Private Attributes

SvtCompatibilityOptions m_aConfigItem
 
SvtCompatibilityViewOptions m_aViewConfigItem
 
OUString m_sUserEntry
 
SwWrtShellm_pWrtShell
 
std::unique_ptr< SwCompatibilityOptPage_Implm_pImpl
 
sal_uLong 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 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 31 of file optcomp.hxx.

Constructor & Destructor Documentation

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

Definition at line 112 of file optcomp.cxx.

Member Function Documentation

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

Definition at line 343 of file optcomp.cxx.

Referenced by SwAbstractDialogFactory_Impl::GetTabPageCreatorFunc().

SwCompatibilityOptPage::DECL_LINK ( SelectHdl  ,
weld::ComboBox ,
void   
)
private
SwCompatibilityOptPage::DECL_LINK ( UseAsDefaultHdl  ,
weld::Button ,
void   
)
private
bool SwCompatibilityOptPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 348 of file optcomp.cxx.

References SvtCompatibilityEntry::AddSpacing, SvtCompatibilityEntry::AddSpacingAtPages, SvtCompatibilityEntry::AddTableSpacing, SvtCompatibilityEntry::ConsiderWrappingStyle, SvtCompatibilityEntry::EmptyDbFieldHidesPara, svtools::executeRestartDialog(), SvtCompatibilityEntry::ExpandWordSpace, SfxTabPage::GetDialogController(), SfxTabPage::GetFrameWeld(), comphelper::getProcessComponentContext(), i, m_aViewConfigItem, 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, SwViewShell::SetAddExtLeading(), SwViewShell::SetAddParaSpacingToTableCells(), SwViewShell::SetConsiderWrapOnObjPos(), SwViewShell::SetDoNotJustifyLinesWithManualBreak(), SwViewShell::SetEmptyDbFieldHidesPara(), SvtCompatibilityViewOptions::SetMSOCompatibleFormsMenu(), SwViewShell::SetMsWordCompTrailingBlanks(), SwViewShell::SetParaSpaceMax(), SwViewShell::SetParaSpaceMaxAtPages(), SwViewShell::SetProtectForm(), SwViewShell::SetSubtractFlysAnchoredAtFlys(), SwViewShell::SetTabCompat(), SwViewShell::SetUseFormerLineSpacing(), SwViewShell::SetUseFormerObjectPositioning(), SwViewShell::SetUseFormerTextWrapping(), SwViewShell::SetUseVirDev(), SvtCompatibilityEntry::SubtractFlysAnchoredAtFlys, TRISTATE_TRUE, SvtCompatibilityEntry::UseLineSpacing, SvtCompatibilityEntry::UseObjectPositioning, SvtCompatibilityEntry::UseOurTabStops, SvtCompatibilityEntry::UseOurTextWrapping, SvtCompatibilityEntry::UsePrtMetrics, and WriteOptions().

sal_uLong SwCompatibilityOptPage::GetDocumentOptions ( ) const
private
void SwCompatibilityOptPage::InitControls ( const SfxItemSet rSet)
private
void SwCompatibilityOptPage::Reset ( const SfxItemSet rSet)
overridevirtual
void SwCompatibilityOptPage::SetCurrentOptions ( sal_uLong  nOptions)
private

Definition at line 298 of file optcomp.cxx.

References i, m_xOptionsLB, nCount, TRISTATE_FALSE, and TRISTATE_TRUE.

Referenced by Reset().

void SwCompatibilityOptPage::WriteOptions ( )
private

Member Data Documentation

SvtCompatibilityOptions SwCompatibilityOptPage::m_aConfigItem
private

Definition at line 35 of file optcomp.hxx.

Referenced by InitControls(), and WriteOptions().

SvtCompatibilityViewOptions SwCompatibilityOptPage::m_aViewConfigItem
private

Definition at line 37 of file optcomp.hxx.

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

bool SwCompatibilityOptPage::m_bSavedMSFormsMenuOption
private

Definition at line 46 of file optcomp.hxx.

Referenced by FillItemSet(), and Reset().

sal_uLong SwCompatibilityOptPage::m_nSavedOptions
private

Definition at line 45 of file optcomp.hxx.

Referenced by FillItemSet(), and Reset().

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

Definition at line 43 of file optcomp.hxx.

Referenced by InitControls(), and WriteOptions().

SwWrtShell* SwCompatibilityOptPage::m_pWrtShell
private

Definition at line 41 of file optcomp.hxx.

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

OUString SwCompatibilityOptPage::m_sUserEntry
private

Definition at line 39 of file optcomp.hxx.

Referenced by InitControls(), and SwCompatibilityOptPage().

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

Definition at line 55 of file optcomp.hxx.

Referenced by SwCompatibilityOptPage().

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

Definition at line 51 of file optcomp.hxx.

Referenced by InitControls(), and SwCompatibilityOptPage().

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

Definition at line 54 of file optcomp.hxx.

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

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

Definition at line 50 of file optcomp.hxx.

Referenced by InitControls().

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

Definition at line 52 of file optcomp.hxx.

Referenced by SwCompatibilityOptPage().

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

Definition at line 49 of file optcomp.hxx.

Referenced by InitControls().

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

Definition at line 53 of file optcomp.hxx.

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


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