LibreOffice Module cui (master) 1
|
#include <paragrph.hxx>
Public Member Functions | |
SvxExtParagraphTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet) | |
virtual | ~SvxExtParagraphTabPage () override |
virtual bool | FillItemSet (SfxItemSet *rSet) override |
virtual void | Reset (const SfxItemSet *rSet) override |
virtual void | ChangesApplied () override |
void | DisablePageBreak () |
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 *rSet) |
static WhichRangesContainer | GetRanges () |
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) |
Protected Member Functions | |
virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) override |
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 |
Private Member Functions | |
void | HyphenClickHdl () |
void | PageNumBoxClickHdl () |
void | ApplyCollClickHdl () |
void | PageBreakHdl () |
void | KeepTogetherHdl () |
void | OrphanHdl () |
void | WidowHdl () |
DECL_LINK (PageBreakHdl_Impl, weld::Toggleable &, void) | |
DECL_LINK (KeepTogetherHdl_Impl, weld::Toggleable &, void) | |
DECL_LINK (WidowHdl_Impl, weld::Toggleable &, void) | |
DECL_LINK (OrphanHdl_Impl, weld::Toggleable &, void) | |
DECL_LINK (HyphenClickHdl_Impl, weld::Toggleable &, void) | |
DECL_LINK (ApplyCollClickHdl_Impl, weld::Toggleable &, void) | |
DECL_LINK (PageBreakPosHdl_Impl, weld::ComboBox &, void) | |
DECL_LINK (PageBreakTypeHdl_Impl, weld::ComboBox &, void) | |
DECL_LINK (PageNumBoxClickHdl_Impl, weld::Toggleable &, void) | |
DECL_LINK (KeepParaBoxClickHdl_Impl, weld::Toggleable &, void) | |
virtual void | PageCreated (const SfxAllItemSet &aSet) override |
Static Private Attributes | |
static const WhichRangesContainer | pExtRanges |
Definition at line 196 of file paragrph.hxx.
SvxExtParagraphTabPage::SvxExtParagraphTabPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rSet | ||
) |
Definition at line 2175 of file paragrph.cxx.
References bHtmlMode, CM, SfxObjectShell::Current(), SfxStyleSheetBasePool::First(), GetHtmlMode_Impl(), SfxStyleSheetBase::GetName(), HTMLMODE_ON, LINK, m_aHyphenZone, m_xAfterText, m_xApplyCollBox, m_xApplyCollBtn, m_xBeforeText, m_xBreakPositionLB, m_xBreakTypeLB, m_xExtHyphenAfterBox, m_xExtHyphenBeforeBox, m_xHyphenBox, m_xHyphenNoCapsBox, m_xHyphenNoLastWordBox, m_xHyphenZoneLabel, m_xKeepParaBox, m_xKeepTogetherBox, m_xMaxHyphenEdit, m_xMaxHyphenLabel, m_xMinWordLabel, m_xMinWordLength, m_xOrphanBox, m_xPageBreakBox, m_xPageNumBox, m_xPagenumEdit, m_xWidowBox, SfxStyleSheetBasePool::Next(), nStdPos, SvxRelativeField::set_sensitive(), and SfxTabPage::SetExchangeSupport().
|
overridevirtual |
Definition at line 2271 of file paragrph.cxx.
|
private |
Definition at line 2411 of file paragrph.cxx.
References bHtmlMode, m_xApplyCollBox, m_xApplyCollBtn, m_xPageNumBox, m_xPagenumEdit, nStdPos, and TRISTATE_TRUE.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 2126 of file paragrph.cxx.
References DBG_ASSERT, SvxRelativeField::get_value(), SfxTabPage::GetItemSet(), SfxItemPool::GetMetric(), SfxItemSet::GetPool(), SfxTabPage::GetWhich(), m_aHyphenZone, m_xApplyCollBox, m_xApplyCollBtn, m_xBreakPositionLB, m_xBreakTypeLB, m_xExtHyphenAfterBox, m_xExtHyphenBeforeBox, m_xHyphenBox, m_xHyphenNoCapsBox, m_xHyphenNoLastWordBox, m_xKeepParaBox, m_xKeepTogetherBox, m_xMaxHyphenEdit, m_xMinWordLength, m_xOrphanBox, m_xOrphanRowNo, m_xPageBreakBox, m_xPageNumBox, m_xPagenumEdit, m_xWidowBox, m_xWidowRowNo, MapToFieldUnit(), and SvxRelativeField::set_value().
Referenced by Reset().
|
static |
Definition at line 1594 of file paragrph.cxx.
References rSet.
Referenced by AbstractDialogFactory_Impl::GetTabPageCreatorFunc(), and SvxSearchFormatDialog::SvxSearchFormatDialog().
|
overrideprotectedvirtual |
Reimplemented from SfxTabPage.
Definition at line 2155 of file paragrph.cxx.
References FillItemSet().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
void SvxExtParagraphTabPage::DisablePageBreak | ( | ) |
Definition at line 2162 of file paragrph.cxx.
References bPageBreak, m_xApplyCollBox, m_xApplyCollBtn, m_xBreakPositionFT, m_xBreakPositionLB, m_xBreakTypeLB, m_xPageBreakBox, m_xPageNumBox, and m_xPagenumEdit.
Referenced by PageCreated().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 1599 of file paragrph.cxx.
References DBG_ASSERT, SfxItemSet::DisableItem(), Get(), SvxRelativeField::get_value_changed_from_saved(), SvxFormatBreakItem::GetBreak(), SvxRelativeField::GetCoreValue(), SfxTabPage::GetItemSet(), SfxItemSet::GetItemState(), SvxHyphenZoneItem::GetMaxHyphens(), SfxItemPool::GetMetric(), SvxHyphenZoneItem::GetMinLead(), SvxHyphenZoneItem::GetMinTrail(), SvxHyphenZoneItem::GetMinWordLength(), SfxTabPage::GetOldItem(), SfxItemSet::GetPool(), SvxHyphenZoneItem::GetTextHyphenZone(), GetValue(), SfxTabPage::GetWhich(), IsInvalidItem(), m_aHyphenZone, m_xApplyCollBox, m_xApplyCollBtn, m_xBreakPositionLB, m_xBreakTypeLB, m_xExtHyphenAfterBox, m_xExtHyphenBeforeBox, m_xHyphenBox, m_xHyphenNoCapsBox, m_xHyphenNoLastWordBox, m_xKeepParaBox, m_xKeepTogetherBox, m_xMaxHyphenEdit, m_xMinWordLength, m_xOrphanBox, m_xOrphanRowNo, m_xPageBreakBox, m_xPageNumBox, m_xPagenumEdit, m_xWidowBox, m_xWidowRowNo, SfxItemSet::Put(), SvxHyphenZoneItem::SetHyphen(), SvxHyphenZoneItem::SetNoCapsHyphenation(), SvxHyphenZoneItem::SetNoLastWordHyphenation(), TRISTATE_FALSE, and TRISTATE_TRUE.
Referenced by DeactivatePage().
|
inlinestatic |
Definition at line 206 of file paragrph.hxx.
References pExtRanges.
Referenced by AbstractDialogFactory_Impl::GetTabPageRangesFunc().
|
private |
Definition at line 2387 of file paragrph.cxx.
References m_aHyphenZone, m_xAfterText, m_xBeforeText, m_xExtHyphenAfterBox, m_xExtHyphenBeforeBox, m_xHyphenBox, m_xHyphenNoCapsBox, m_xHyphenNoLastWordBox, m_xHyphenZoneLabel, m_xMaxHyphenEdit, m_xMaxHyphenLabel, m_xMinWordLabel, m_xMinWordLength, SvxRelativeField::set_sensitive(), TRISTATE_FALSE, and TRISTATE_TRUE.
|
private |
Definition at line 2321 of file paragrph.cxx.
References m_xKeepTogetherBox, m_xOrphanBox, m_xWidowBox, and TRISTATE_FALSE.
Referenced by Reset().
|
private |
Definition at line 2366 of file paragrph.cxx.
References m_xKeepTogetherBox, m_xOrphanBox, m_xOrphanRowLabel, m_xOrphanRowNo, m_xWidowBox, TRISTATE_FALSE, TRISTATE_INDET, and TRISTATE_TRUE.
Referenced by Reset().
|
private |
Definition at line 2275 of file paragrph.cxx.
References bHtmlMode, m_xApplyCollBox, m_xApplyCollBtn, m_xBreakPositionFT, m_xBreakPositionLB, m_xBreakTypeFT, m_xBreakTypeLB, m_xPageBreakBox, m_xPageNumBox, m_xPagenumEdit, TRISTATE_FALSE, TRISTATE_INDET, and TRISTATE_TRUE.
Referenced by Reset().
|
overrideprivatevirtual |
Reimplemented from SfxTabPage.
Definition at line 2494 of file paragrph.cxx.
References DisablePageBreak(), SfxItemSet::GetItem(), and SfxBoolItem::GetValue().
|
private |
Definition at line 2478 of file paragrph.cxx.
References m_xPageNumBox, m_xPagenumEdit, and TRISTATE_TRUE.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 1820 of file paragrph.cxx.
References aApplyCollState, aHyphenState, aKeepParaState, aKeepTogetherState, aOrphanState, aPageBreakState, aPageNumState, aStr, aWidowState, bHtmlMode, bPageBreak, weld::TriStateEnabled::bTriStateEnabled, ChangesApplied(), DBG_ASSERT, weld::TriStateEnabled::eState, SfxItemSet::Get(), GetApplyCharUnit(), SvxFormatBreakItem::GetBreak(), SfxItemSet::GetItem(), SfxItemSet::GetItemState(), SvxHyphenZoneItem::GetMaxHyphens(), SvxHyphenZoneItem::GetMinLead(), SvxHyphenZoneItem::GetMinTrail(), SvxHyphenZoneItem::GetMinWordLength(), GetModuleFieldUnit(), SfxItemSet::GetPool(), SvxHyphenZoneItem::GetTextHyphenZone(), CntUInt16Item::GetValue(), SfxTabPage::GetWhich(), SvtCJKOptions::IsAsianTypographyEnabled(), SvxHyphenZoneItem::IsHyphen(), SvxHyphenZoneItem::IsNoCapsHyphenation(), SvxHyphenZoneItem::IsNoLastWordHyphenation(), KeepTogetherHdl(), m_aHyphenZone, m_xAfterText, m_xApplyCollBox, m_xApplyCollBtn, m_xBeforeText, m_xBreakPositionFT, m_xBreakPositionLB, m_xBreakTypeFT, m_xBreakTypeLB, m_xExtHyphenAfterBox, m_xExtHyphenBeforeBox, m_xHyphenBox, m_xHyphenNoCapsBox, m_xHyphenNoLastWordBox, m_xHyphenZoneLabel, m_xKeepParaBox, m_xKeepTogetherBox, m_xMaxHyphenEdit, m_xMaxHyphenLabel, m_xMinWordLabel, m_xMinWordLength, m_xOrphanBox, m_xOrphanRowLabel, m_xOrphanRowNo, m_xPageBreakBox, m_xPageNumBox, m_xPagenumEdit, m_xWidowBox, m_xWidowRowNo, nType, OrphanHdl(), PageBreakHdl(), rSet, SvxRelativeField::set_sensitive(), SvxRelativeField::SetFieldUnit(), SvxRelativeField::SetMetricValue(), TRISTATE_FALSE, TRISTATE_INDET, TRISTATE_TRUE, and WidowHdl().
|
private |
Definition at line 2334 of file paragrph.cxx.
References m_xKeepTogetherBox, m_xOrphanBox, m_xWidowBox, m_xWidowRowLabel, m_xWidowRowNo, TRISTATE_FALSE, TRISTATE_INDET, and TRISTATE_TRUE.
Referenced by Reset().
|
private |
Definition at line 220 of file paragrph.hxx.
Referenced by Reset().
|
private |
Definition at line 218 of file paragrph.hxx.
Referenced by Reset().
|
private |
Definition at line 223 of file paragrph.hxx.
Referenced by Reset().
|
private |
Definition at line 222 of file paragrph.hxx.
Referenced by Reset().
|
private |
Definition at line 224 of file paragrph.hxx.
Referenced by Reset().
|
private |
Definition at line 219 of file paragrph.hxx.
Referenced by Reset().
|
private |
Definition at line 221 of file paragrph.hxx.
Referenced by Reset().
|
private |
Definition at line 225 of file paragrph.hxx.
Referenced by Reset().
|
private |
Definition at line 228 of file paragrph.hxx.
Referenced by ApplyCollClickHdl(), PageBreakHdl(), Reset(), and SvxExtParagraphTabPage().
|
private |
Definition at line 227 of file paragrph.hxx.
Referenced by DisablePageBreak(), and Reset().
|
private |
Definition at line 244 of file paragrph.hxx.
Referenced by ChangesApplied(), FillItemSet(), HyphenClickHdl(), Reset(), and SvxExtParagraphTabPage().
|
private |
Definition at line 237 of file paragrph.hxx.
Referenced by HyphenClickHdl(), Reset(), and SvxExtParagraphTabPage().
|
private |
Definition at line 253 of file paragrph.hxx.
Referenced by ApplyCollClickHdl(), ChangesApplied(), DisablePageBreak(), FillItemSet(), PageBreakHdl(), Reset(), and SvxExtParagraphTabPage().
|
private |
Definition at line 252 of file paragrph.hxx.
Referenced by ApplyCollClickHdl(), ChangesApplied(), DisablePageBreak(), FillItemSet(), PageBreakHdl(), Reset(), and SvxExtParagraphTabPage().
|
private |
Definition at line 235 of file paragrph.hxx.
Referenced by HyphenClickHdl(), Reset(), and SvxExtParagraphTabPage().
|
private |
Definition at line 250 of file paragrph.hxx.
Referenced by DisablePageBreak(), PageBreakHdl(), and Reset().
|
private |
Definition at line 251 of file paragrph.hxx.
Referenced by ChangesApplied(), DisablePageBreak(), FillItemSet(), PageBreakHdl(), Reset(), and SvxExtParagraphTabPage().
|
private |
Definition at line 248 of file paragrph.hxx.
Referenced by PageBreakHdl(), and Reset().
|
private |
Definition at line 249 of file paragrph.hxx.
Referenced by ChangesApplied(), DisablePageBreak(), FillItemSet(), PageBreakHdl(), Reset(), and SvxExtParagraphTabPage().
|
private |
Definition at line 238 of file paragrph.hxx.
Referenced by ChangesApplied(), FillItemSet(), HyphenClickHdl(), Reset(), and SvxExtParagraphTabPage().
|
private |
Definition at line 236 of file paragrph.hxx.
Referenced by ChangesApplied(), FillItemSet(), HyphenClickHdl(), Reset(), and SvxExtParagraphTabPage().
|
private |
Definition at line 232 of file paragrph.hxx.
Referenced by ChangesApplied(), FillItemSet(), HyphenClickHdl(), Reset(), and SvxExtParagraphTabPage().
|
private |
Definition at line 233 of file paragrph.hxx.
Referenced by ChangesApplied(), FillItemSet(), HyphenClickHdl(), Reset(), and SvxExtParagraphTabPage().
|
private |
Definition at line 234 of file paragrph.hxx.
Referenced by ChangesApplied(), FillItemSet(), HyphenClickHdl(), Reset(), and SvxExtParagraphTabPage().
|
private |
Definition at line 243 of file paragrph.hxx.
Referenced by HyphenClickHdl(), Reset(), and SvxExtParagraphTabPage().
|
private |
Definition at line 259 of file paragrph.hxx.
Referenced by ChangesApplied(), FillItemSet(), Reset(), and SvxExtParagraphTabPage().
|
private |
Definition at line 258 of file paragrph.hxx.
Referenced by ChangesApplied(), FillItemSet(), KeepTogetherHdl(), OrphanHdl(), Reset(), SvxExtParagraphTabPage(), and WidowHdl().
|
private |
Definition at line 240 of file paragrph.hxx.
Referenced by ChangesApplied(), FillItemSet(), HyphenClickHdl(), Reset(), and SvxExtParagraphTabPage().
|
private |
Definition at line 239 of file paragrph.hxx.
Referenced by HyphenClickHdl(), Reset(), and SvxExtParagraphTabPage().
|
private |
Definition at line 241 of file paragrph.hxx.
Referenced by HyphenClickHdl(), Reset(), and SvxExtParagraphTabPage().
|
private |
Definition at line 242 of file paragrph.hxx.
Referenced by ChangesApplied(), FillItemSet(), HyphenClickHdl(), Reset(), and SvxExtParagraphTabPage().
|
private |
Definition at line 262 of file paragrph.hxx.
Referenced by ChangesApplied(), FillItemSet(), KeepTogetherHdl(), OrphanHdl(), Reset(), SvxExtParagraphTabPage(), and WidowHdl().
|
private |
Definition at line 264 of file paragrph.hxx.
Referenced by OrphanHdl(), and Reset().
|
private |
Definition at line 263 of file paragrph.hxx.
Referenced by ChangesApplied(), FillItemSet(), OrphanHdl(), and Reset().
|
private |
Definition at line 247 of file paragrph.hxx.
Referenced by ChangesApplied(), DisablePageBreak(), FillItemSet(), PageBreakHdl(), Reset(), and SvxExtParagraphTabPage().
|
private |
Definition at line 254 of file paragrph.hxx.
Referenced by ApplyCollClickHdl(), ChangesApplied(), DisablePageBreak(), FillItemSet(), PageBreakHdl(), PageNumBoxClickHdl(), Reset(), and SvxExtParagraphTabPage().
|
private |
Definition at line 255 of file paragrph.hxx.
Referenced by ApplyCollClickHdl(), ChangesApplied(), DisablePageBreak(), FillItemSet(), PageBreakHdl(), PageNumBoxClickHdl(), Reset(), and SvxExtParagraphTabPage().
|
private |
Definition at line 266 of file paragrph.hxx.
Referenced by ChangesApplied(), FillItemSet(), KeepTogetherHdl(), OrphanHdl(), Reset(), SvxExtParagraphTabPage(), and WidowHdl().
|
private |
Definition at line 268 of file paragrph.hxx.
Referenced by WidowHdl().
|
private |
Definition at line 267 of file paragrph.hxx.
Referenced by ChangesApplied(), FillItemSet(), Reset(), and WidowHdl().
|
private |
Definition at line 229 of file paragrph.hxx.
Referenced by ApplyCollClickHdl(), and SvxExtParagraphTabPage().
|
staticprivate |
Definition at line 198 of file paragrph.hxx.
Referenced by GetRanges().