LibreOffice Module sw (master) 1
|
#include <optcomp.hxx>
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 SfxItemSet & | GetItemSet () 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 SfxItemSet * | GetDialogExampleSet () const |
OUString | GetHelpId () const |
OUString | GetConfigId () const |
bool | IsVisible () const |
weld::Window * | GetFrameWeld () const |
std::unordered_map< OUString, css::uno::Any > & | getAdditionalProperties () |
Static Public Member Functions | |
static std::unique_ptr< SfxTabPage > | Create (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet) |
Static Public Member Functions inherited from SfxTabPage | |
static const SfxPoolItem * | GetItem (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 |
SwWrtShell * | m_pWrtShell |
std::unique_ptr< SwCompatibilityOptPage_Impl > | m_pImpl |
sal_uInt32 | m_nSavedOptions |
bool | m_bSavedMSFormsMenuOption |
std::unique_ptr< weld::Frame > | m_xMain |
std::unique_ptr< weld::Frame > | m_xGlobalOptionsFrame |
std::unique_ptr< weld::ComboBox > | m_xFormattingLB |
std::unique_ptr< weld::ComboBox > | m_xGlobalOptionsLB |
std::unique_ptr< weld::TreeView > | m_xOptionsLB |
std::unique_ptr< weld::TreeView > | m_xGlobalOptionsCLB |
std::unique_ptr< weld::Button > | m_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 SfxPoolItem * | GetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
const T * | GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
SfxOkDialogController * | GetDialogController () const |
Definition at line 30 of file optcomp.hxx.
SwCompatibilityOptPage::SwCompatibilityOptPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rSet | ||
) |
Definition at line 48 of file optcomp.cxx.
References bReadOnly, weld::Check, sw::proofreadingiterator::get(), i, InitControls(), SvtCompatibilityEntry::INVALID, LINK, m_pImpl, m_sUserEntry, m_xDefaultPB, m_xFormattingLB, m_xGlobalOptionsCLB, m_xGlobalOptionsLB, m_xOptionsLB, SvtCompatibilityEntry::Module, nPos, rSet, TRISTATE_FALSE, and TRISTATE_TRUE.
|
overridevirtual |
Definition at line 105 of file optcomp.cxx.
|
static |
Definition at line 354 of file optcomp.cxx.
Referenced by SwAbstractDialogFactory_Impl::GetTabPageCreatorFunc().
|
private |
|
private |
|
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().
|
private |
Definition at line 320 of file optcomp.cxx.
References ADD_EXT_LEADING, ADD_PARA_LINE_SPACING_TO_TABLE_CELLS, ADD_PARA_SPACING_TO_TABLE_CELLS, CONSIDER_WRAP_ON_OBJECT_POSITION, convertBools2Ulong_Impl(), DO_NOT_JUSTIFY_LINES_WITH_MANUAL_BREAK, EMPTY_DB_FIELD_HIDES_PARA, IDocumentSettingAccess::get(), SwViewShell::getIDocumentSettingAccess(), m_pWrtShell, MS_WORD_COMP_TRAILING_BLANKS, OLD_LINE_SPACING, PARA_SPACE_MAX, PARA_SPACE_MAX_AT_PAGES, PROTECT_FORM, SUBTRACT_FLYS, TAB_COMPAT, USE_FORMER_OBJECT_POS, USE_FORMER_TEXT_WRAPPING, and USE_VARIABLE_WIDTH_NBSP.
Referenced by Reset().
|
private |
Definition at line 183 of file optcomp.cxx.
References SvtCompatibilityEntry::AddSpacing, SvtCompatibilityEntry::AddSpacingAtPages, SvtCompatibilityEntry::AddTableLineSpacing, SvtCompatibilityEntry::AddTableSpacing, SvtCompatibilityEntry::ConsiderWrappingStyle, convertBools2Ulong_Impl(), SvtCompatibilityEntry::DEFAULT_ENTRY_NAME, SvtCompatibilityEntry::EmptyDbFieldHidesPara, SvtCompatibilityEntry::ExpandWordSpace, FN_PARAM_WRTSHELL, SwView::GetDocShell(), SfxObjectShell::GetFactory(), SfxFilterContainer::GetFilter4FilterName(), SfxObjectFactory::GetFilterContainer(), SfxItemSet::GetItemIfSet(), SvtCompatibilityOptions::GetList(), SfxObjectShell::GetTitle(), SwWrtShell::GetView(), m_aConfigItem, m_pImpl, m_pWrtShell, m_sUserEntry, m_xFormattingLB, m_xGlobalOptionsFrame, m_xMain, SvtCompatibilityEntry::MsWordTrailingBlanks, SvtCompatibilityEntry::Name, SvtCompatibilityEntry::NoExtLeading, SvtCompatibilityEntry::ProtectForm, rSet, SvtCompatibilityEntry::SubtractFlysAnchoredAtFlys, SvtCompatibilityEntry::UseLineSpacing, SvtCompatibilityEntry::UseObjectPositioning, SvtCompatibilityEntry::UseOurTabStops, SvtCompatibilityEntry::UseOurTextWrapping, SvtCompatibilityEntry::USER_ENTRY_NAME, and SvtCompatibilityEntry::UseVariableWidthNBSP.
Referenced by SwCompatibilityOptPage().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 486 of file optcomp.cxx.
References sw::proofreadingiterator::get(), GetDocumentOptions(), m_bSavedMSFormsMenuOption, m_nSavedOptions, m_xGlobalOptionsCLB, m_xOptionsLB, SetCurrentOptions(), TRISTATE_FALSE, and TRISTATE_TRUE.
|
private |
Definition at line 298 of file optcomp.cxx.
References SvtCompatibilityEntry::AddTableSpacing, i, m_xOptionsLB, nCount, TRISTATE_FALSE, TRISTATE_INDET, TRISTATE_TRUE, and value.
Referenced by Reset().
|
private |
Definition at line 347 of file optcomp.cxx.
References SvtCompatibilityOptions::AppendItem(), SvtCompatibilityOptions::Clear(), m_aConfigItem, and m_pImpl.
Referenced by FillItemSet().
|
private |
Definition at line 34 of file optcomp.hxx.
Referenced by InitControls(), and WriteOptions().
|
private |
Definition at line 43 of file optcomp.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 42 of file optcomp.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 40 of file optcomp.hxx.
Referenced by InitControls(), and WriteOptions().
|
private |
Definition at line 38 of file optcomp.hxx.
Referenced by FillItemSet(), GetDocumentOptions(), and InitControls().
|
private |
Definition at line 36 of file optcomp.hxx.
Referenced by InitControls(), and SwCompatibilityOptPage().
|
private |
Definition at line 52 of file optcomp.hxx.
Referenced by SwCompatibilityOptPage().
|
private |
Definition at line 48 of file optcomp.hxx.
Referenced by InitControls(), and SwCompatibilityOptPage().
|
private |
Definition at line 51 of file optcomp.hxx.
Referenced by FillItemSet(), Reset(), and SwCompatibilityOptPage().
|
private |
Definition at line 47 of file optcomp.hxx.
Referenced by InitControls().
|
private |
Definition at line 49 of file optcomp.hxx.
Referenced by SwCompatibilityOptPage().
|
private |
Definition at line 46 of file optcomp.hxx.
Referenced by InitControls().
|
private |
Definition at line 50 of file optcomp.hxx.
Referenced by FillItemSet(), Reset(), SetCurrentOptions(), and SwCompatibilityOptPage().