LibreOffice Module sw (master) 1
|
#include <drpcps.hxx>
Public Member Functions | |
SwDropCapsPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet) | |
virtual | ~SwDropCapsPage () override |
virtual bool | FillItemSet (SfxItemSet *rSet) override |
virtual void | Reset (const SfxItemSet *rSet) override |
void | SetFormat (bool bSet) |
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) |
Private Member Functions | |
virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) override |
void | FillSet (SfxItemSet &rSet) |
void | ModifyEntry (const weld::Entry &rEdit) |
DECL_LINK (ClickHdl, weld::Toggleable &, void) | |
DECL_LINK (MetricValueChangedHdl, weld::MetricSpinButton &, void) | |
DECL_LINK (ValueChangedHdl, weld::SpinButton &, void) | |
DECL_LINK (ModifyHdl, weld::Entry &, void) | |
DECL_LINK (SelectHdl, weld::ComboBox &, void) | |
DECL_LINK (WholeWordHdl, weld::Toggleable &, void) | |
Private Attributes | |
SwDropCapsPict | m_aPict |
bool | m_bModified |
bool | m_bFormat |
bool | m_bHtmlMode |
std::unique_ptr< weld::CheckButton > | m_xDropCapsBox |
std::unique_ptr< weld::CheckButton > | m_xWholeWordCB |
std::unique_ptr< weld::Label > | m_xSwitchText |
std::unique_ptr< weld::SpinButton > | m_xDropCapsField |
std::unique_ptr< weld::Label > | m_xLinesText |
std::unique_ptr< weld::SpinButton > | m_xLinesField |
std::unique_ptr< weld::Label > | m_xDistanceText |
std::unique_ptr< weld::MetricSpinButton > | m_xDistanceField |
std::unique_ptr< weld::Label > | m_xTextText |
std::unique_ptr< weld::Entry > | m_xTextEdit |
std::unique_ptr< weld::Label > | m_xTemplateText |
std::unique_ptr< weld::ComboBox > | m_xTemplateBox |
std::unique_ptr< weld::CustomWeld > | m_xPict |
Static Private Attributes | |
static const WhichRangesContainer | s_aPageRg |
Friends | |
class | SwDropCapsPict |
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 112 of file drpcps.hxx.
SwDropCapsPage::SwDropCapsPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rSet | ||
) |
Definition at line 472 of file drpcps.cxx.
References CM, SfxObjectShell::Current(), GetDfltMetric(), GetHtmlMode(), HTMLMODE_ON, LINK, m_aPict, m_bFormat, m_bHtmlMode, m_xDistanceField, m_xDropCapsBox, m_xDropCapsField, m_xLinesField, m_xTemplateBox, m_xTextEdit, m_xTextText, m_xWholeWordCB, rSet, SwDropCapsPict::SetDropCapsPage(), SfxTabPage::SetExchangeSupport(), and SetFieldUnit().
|
overridevirtual |
Definition at line 520 of file drpcps.cxx.
|
static |
Definition at line 532 of file drpcps.cxx.
References rSet.
Referenced by SwDropCapsDlg::SwDropCapsDlg(), SwParaDlg::SwParaDlg(), and SwTemplateDlgController::SwTemplateDlgController().
|
overrideprivatevirtual |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 537 of file drpcps.cxx.
References FillSet(), m_bModified, and rSet.
|
private |
Definition at line 711 of file drpcps.cxx.
References aStr, FN_FORMAT_DROPCAPS, GetActiveView(), SwFormatDrop::GetChars(), SwFormatDrop::GetDistance(), SwFormatDrop::GetLines(), SfxTabPage::GetOldItem(), SwFormatDrop::GetWholeWord(), m_bFormat, m_bModified, m_xDistanceField, m_xDropCapsBox, m_xDropCapsField, m_xLinesField, m_xTemplateBox, m_xTextEdit, m_xWholeWordCB, SfxItemSet::Put(), rSet, and SwFormatDrop::SetCharFormat().
Referenced by DeactivatePage(), and FillItemSet().
|
inlinestatic |
Definition at line 154 of file drpcps.hxx.
References s_aPageRg.
Referenced by SwParaDlg::SwParaDlg(), and SwTemplateDlgController::SwTemplateDlgController().
|
private |
Definition at line 638 of file drpcps.cxx.
References GetActiveView(), GetDefaultString(), m_aPict, m_bFormat, m_bModified, m_xDistanceField, m_xDropCapsField, m_xLinesField, m_xTextEdit, m_xWholeWordCB, min(), SwDropCapsPict::SetDistance(), SwDropCapsPict::SetLines(), SwDropCapsPict::SetText(), and sPreview.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 544 of file drpcps.cxx.
References FillCharStyleListBox(), SfxItemSet::Get(), GetActiveView(), SwFormatDrop::GetCharFormat(), SwFormatDrop::GetChars(), GetDefaultString(), SwFormatDrop::GetDistance(), SwView::GetDocShell(), SwEditShell::GetDropText(), SwFormatDrop::GetLines(), SwFormat::GetName(), SwWrtShell::GetView(), SwFormatDrop::GetWholeWord(), SwView::GetWrtShell(), m_aPict, m_bFormat, m_bModified, m_xDistanceField, m_xDropCapsBox, m_xDropCapsField, m_xLinesField, m_xTemplateBox, m_xTextEdit, m_xTextText, m_xWholeWordCB, nPos, RES_PARATR_DROP(), rSet, SwDropCapsPict::SetValues(), and SwResId().
|
inline |
Definition at line 160 of file drpcps.hxx.
References m_bFormat.
|
friend |
Definition at line 114 of file drpcps.hxx.
|
private |
Definition at line 115 of file drpcps.hxx.
Referenced by ModifyEntry(), Reset(), and SwDropCapsPage().
|
private |
Definition at line 118 of file drpcps.hxx.
Referenced by FillSet(), ModifyEntry(), Reset(), SetFormat(), and SwDropCapsPage().
|
private |
Definition at line 119 of file drpcps.hxx.
Referenced by SwDropCapsPage().
|
private |
Definition at line 117 of file drpcps.hxx.
Referenced by FillItemSet(), FillSet(), ModifyEntry(), and Reset().
|
private |
Definition at line 128 of file drpcps.hxx.
Referenced by FillSet(), ModifyEntry(), Reset(), and SwDropCapsPage().
|
private |
Definition at line 127 of file drpcps.hxx.
|
private |
Definition at line 121 of file drpcps.hxx.
Referenced by FillSet(), SwDropCapsPict::Paint(), Reset(), and SwDropCapsPage().
|
private |
Definition at line 124 of file drpcps.hxx.
Referenced by FillSet(), ModifyEntry(), Reset(), and SwDropCapsPage().
|
private |
Definition at line 126 of file drpcps.hxx.
Referenced by FillSet(), ModifyEntry(), Reset(), and SwDropCapsPage().
|
private |
Definition at line 125 of file drpcps.hxx.
|
private |
Definition at line 133 of file drpcps.hxx.
|
private |
Definition at line 123 of file drpcps.hxx.
|
private |
Definition at line 132 of file drpcps.hxx.
Referenced by FillSet(), Reset(), SwDropCapsPage(), and SwDropCapsPict::UpdatePaintSettings().
|
private |
Definition at line 131 of file drpcps.hxx.
|
private |
Definition at line 130 of file drpcps.hxx.
Referenced by FillSet(), ModifyEntry(), Reset(), and SwDropCapsPage().
|
private |
Definition at line 129 of file drpcps.hxx.
Referenced by Reset(), and SwDropCapsPage().
|
private |
Definition at line 122 of file drpcps.hxx.
Referenced by FillSet(), ModifyEntry(), Reset(), and SwDropCapsPage().
|
staticprivate |
Definition at line 147 of file drpcps.hxx.
Referenced by GetRanges().