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 (vcl::Window *pParent, const SfxItemSet &rSet)
 
virtual ~SwCompatibilityOptPage () override
 
virtual void dispose () 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
 
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 ()
 
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, ListBox &, void)
 
 DECL_LINK (UseAsDefaultHdl, Button *, void)
 
void InitControls (const SfxItemSet &rSet)
 
void SetCurrentOptions (sal_uLong nOptions)
 
sal_uLong GetDocumentOptions () const
 
void WriteOptions ()
 

Private Attributes

VclPtr< VclFramem_pMain
 
VclPtr< VclFramem_pGlobalOptionsFrame
 
VclPtr< ListBoxm_pFormattingLB
 
VclPtr< ListBoxm_pGlobalOptionsLB
 
VclPtr< SvxCheckListBoxm_pOptionsLB
 
VclPtr< SvxCheckListBoxm_pGlobalOptionsCLB
 
VclPtr< PushButtonm_pDefaultPB
 
SvtCompatibilityOptions m_aConfigItem
 
SvtCompatibilityViewOptions m_aViewConfigItem
 
OUString m_sUserEntry
 
SwWrtShellm_pWrtShell
 
std::unique_ptr< SwCompatibilityOptPage_Implm_pImpl
 
sal_uLong m_nSavedOptions
 
bool m_bSavedMSFormsMenuOption
 

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

Constructor & Destructor Documentation

SwCompatibilityOptPage::SwCompatibilityOptPage ( vcl::Window pParent,
const SfxItemSet rSet 
)
SwCompatibilityOptPage::~SwCompatibilityOptPage ( )
overridevirtual

Definition at line 129 of file optcomp.cxx.

Member Function Documentation

VclPtr< SfxTabPage > SwCompatibilityOptPage::Create ( TabPageParent  pParent,
const SfxItemSet rAttrSet 
)
static
SwCompatibilityOptPage::DECL_LINK ( SelectHdl  ,
ListBox ,
void   
)
private
SwCompatibilityOptPage::DECL_LINK ( UseAsDefaultHdl  ,
Button ,
void   
)
private
void SwCompatibilityOptPage::dispose ( void  )
overridevirtual
bool SwCompatibilityOptPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 387 of file optcomp.cxx.

References SvtCompatibilityEntry::AddSpacing, SvtCompatibilityEntry::AddSpacingAtPages, SvtCompatibilityEntry::AddTableSpacing, SvtCompatibilityEntry::ConsiderWrappingStyle, SvtCompatibilityEntry::EmptyDbFieldHidesPara, svtools::executeRestartDialog(), SvtCompatibilityEntry::ExpandWordSpace, GetFrameWeld(), comphelper::getProcessComponentContext(), i, SvxCheckListBox::IsChecked(), m_aViewConfigItem, m_bSavedMSFormsMenuOption, m_nSavedOptions, m_pGlobalOptionsCLB, m_pOptionsLB, m_pWrtShell, SvtCompatibilityEntry::MsWordTrailingBlanks, 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, 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

Definition at line 217 of file optcomp.cxx.

References SvtCompatibilityEntry::AddSpacing, SvtCompatibilityEntry::AddSpacingAtPages, SvtCompatibilityEntry::AddTableSpacing, SvtCompatibilityEntry::ConsiderWrappingStyle, convertBools2Ulong_Impl(), vcl::Window::Disable(), SvtCompatibilityEntry::EmptyDbFieldHidesPara, SvtCompatibilityEntry::ExpandWordSpace, FN_PARAM_WRTSHELL, VclFrame::get_label(), SvtCompatibilityEntry::getDefaultEntryName(), SwView::GetDocShell(), ListBox::GetEntryCount(), SfxObjectShell::GetFactory(), SfxFilterContainer::GetFilter4FilterName(), SfxObjectFactory::GetFilterContainer(), SvtCompatibilityEntry::getIndex(), SfxItemSet::GetItemState(), SvtCompatibilityOptions::GetList(), SfxObjectShell::GetTitle(), SvtCompatibilityEntry::getUserEntryName(), SvtCompatibilityEntry::getValue(), SwWrtShell::GetView(), i, ListBox::InsertEntry(), SvtCompatibilityEntry::isDefaultEntry(), m_aConfigItem, m_pFormattingLB, m_pGlobalOptionsFrame, m_pImpl, m_pMain, m_pWrtShell, m_sUserEntry, SvtCompatibilityEntry::MsWordTrailingBlanks, SvtCompatibilityEntry::Name, SvtCompatibilityEntry::NoExtLeading, nPos, SvtCompatibilityEntry::ProtectForm, VclFrame::set_label(), SvtCompatibilityEntry::setDefaultEntry(), ListBox::SetDropDownLineCount(), ListBox::SetEntryData(), SvtCompatibilityEntry::setValue(), SvtCompatibilityEntry::SubtractFlysAnchoredAtFlys, SvtCompatibilityEntry::UseLineSpacing, SvtCompatibilityEntry::UseObjectPositioning, SvtCompatibilityEntry::UseOurTabStops, SvtCompatibilityEntry::UseOurTextWrapping, and SvtCompatibilityEntry::UsePrtMetrics.

Referenced by SwCompatibilityOptPage().

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

Definition at line 337 of file optcomp.cxx.

References SvxCheckListBox::CheckEntryPos(), i, and m_pOptionsLB.

Referenced by Reset().

void SwCompatibilityOptPage::WriteOptions ( )
private

Member Data Documentation

SvtCompatibilityOptions SwCompatibilityOptPage::m_aConfigItem
private

Definition at line 47 of file optcomp.hxx.

Referenced by InitControls(), and WriteOptions().

SvtCompatibilityViewOptions SwCompatibilityOptPage::m_aViewConfigItem
private

Definition at line 49 of file optcomp.hxx.

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

bool SwCompatibilityOptPage::m_bSavedMSFormsMenuOption
private

Definition at line 58 of file optcomp.hxx.

Referenced by FillItemSet(), and Reset().

sal_uLong SwCompatibilityOptPage::m_nSavedOptions
private

Definition at line 57 of file optcomp.hxx.

Referenced by FillItemSet(), and Reset().

VclPtr<PushButton> SwCompatibilityOptPage::m_pDefaultPB
private

Definition at line 45 of file optcomp.hxx.

Referenced by dispose(), and SwCompatibilityOptPage().

VclPtr<ListBox> SwCompatibilityOptPage::m_pFormattingLB
private

Definition at line 41 of file optcomp.hxx.

Referenced by dispose(), InitControls(), and SwCompatibilityOptPage().

VclPtr<SvxCheckListBox> SwCompatibilityOptPage::m_pGlobalOptionsCLB
private

Definition at line 44 of file optcomp.hxx.

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

VclPtr<VclFrame> SwCompatibilityOptPage::m_pGlobalOptionsFrame
private

Definition at line 40 of file optcomp.hxx.

Referenced by dispose(), InitControls(), and SwCompatibilityOptPage().

VclPtr<ListBox> SwCompatibilityOptPage::m_pGlobalOptionsLB
private

Definition at line 42 of file optcomp.hxx.

Referenced by dispose(), and SwCompatibilityOptPage().

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

Definition at line 55 of file optcomp.hxx.

Referenced by dispose(), InitControls(), and WriteOptions().

VclPtr<VclFrame> SwCompatibilityOptPage::m_pMain
private

Definition at line 39 of file optcomp.hxx.

Referenced by dispose(), InitControls(), and SwCompatibilityOptPage().

VclPtr<SvxCheckListBox> SwCompatibilityOptPage::m_pOptionsLB
private

Definition at line 43 of file optcomp.hxx.

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

SwWrtShell* SwCompatibilityOptPage::m_pWrtShell
private

Definition at line 53 of file optcomp.hxx.

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

OUString SwCompatibilityOptPage::m_sUserEntry
private

Definition at line 51 of file optcomp.hxx.

Referenced by InitControls(), and SwCompatibilityOptPage().


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