LibreOffice Module extensions (master) 1
|
#include <fontdialog.hxx>
Public Member Functions | |
ControlCharacterDialog (weld::Window *pParent, const SfxItemSet &rCoreSet) | |
virtual | ~ControlCharacterDialog () override |
Public Member Functions inherited from SfxTabDialogController | |
SfxTabDialogController (weld::Widget *pParent, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *=nullptr, bool bEditFmt=false) | |
virtual | ~SfxTabDialogController () override |
void | AddTabPage (const OUString &rName, CreateTabPage pCreateFunc, GetTabPageRanges pRangesFunc) |
void | AddTabPage (const OUString &rName, sal_uInt16 nPageCreateId) |
void | AddTabPage (const OUString &rName, const OUString &rLabel, CreateTabPage pCreateFunc) |
void | AddTabPage (const OUString &rName, const OUString &rLabel, sal_uInt16 nPageCreateId) |
void | RemoveTabPage (const OUString &rName) |
void | SetCurPageId (const OUString &rName) |
void | ShowPage (const OUString &rName) |
OUString | GetCurPageId () const |
SfxTabPage * | GetCurTabPage () const |
const WhichRangesContainer & | GetInputRanges (const SfxItemPool &) |
void | SetInputSet (const SfxItemSet *pInSet) |
const SfxItemSet * | GetOutputItemSet () const |
virtual weld::Button & | GetOKButton () const override |
weld::Button & | GetCancelButton () const |
weld::Button * | GetUserButton () const |
weld::Button * | GetStandardButton () const |
weld::Button * | GetApplyButton () const |
weld::Button * | GetResetButton () const |
void | RemoveResetButton () |
void | RemoveStandardButton () |
virtual short | run () override |
virtual const SfxItemSet * | GetExampleSet () const override |
void | SetApplyHandler (const Link< weld::Button &, void > &_rHdl) |
bool | Apply () |
void | Applied () |
std::vector< OUString > | getAllPageUIXMLDescriptions () const |
bool | selectPageByUIXMLDescription (const OUString &rUIXMLDescription) |
BitmapEx | createScreenshot () const |
OUString | GetScreenshotId () const |
Public Member Functions inherited from SfxOkDialogController | |
SfxOkDialogController (weld::Widget *pParent, const OUString &rUIXMLDescription, const OUString &rID) | |
virtual weld::Button & | GetOKButton () const=0 |
virtual const SfxItemSet * | GetExampleSet () const=0 |
Public Member Functions inherited from SfxDialogController | |
SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId) | |
virtual void | Activate () |
virtual void | Deactivate () |
virtual void | ChildWinDispose () |
virtual void | Close () |
virtual void | EndDialog (int nResponse) |
virtual bool | CloseOnHide () const |
Static Public Member Functions | |
static void | createItemSet (std::unique_ptr< SfxItemSet > &_rpSet, rtl::Reference< SfxItemPool > &_rpPool, std::vector< SfxPoolItem * > *&_rpDefaults) |
creates an item set to be used with this dialog More... | |
static void | destroyItemSet (std::unique_ptr< SfxItemSet > &_rpSet, rtl::Reference< SfxItemPool > &_rpPool, std::vector< SfxPoolItem * > *&_rpDefaults) |
destroys an item previously created with <method>createItemSet</method> More... | |
static void | translatePropertiesToItems (const css::uno::Reference< css::beans::XPropertySet > &_rxModel, SfxItemSet *_pSet) |
fills the given item set with values obtained from the given property set More... | |
static void | translateItemsToProperties (const SfxItemSet &_rSet, const css::uno::Reference< css::beans::XPropertySet > &_rxModel) |
fills the given property set with values obtained from the given item set More... | |
static void | translateItemsToProperties (const SfxItemSet &_rSet, std::vector< css::beans::NamedValue > &_out_properties) |
fills the given property set with values obtained from the given item set More... | |
Static Public Member Functions inherited from SfxTabDialogController | |
static bool | runAsync (const std::shared_ptr< SfxTabDialogController > &rController, const std::function< void(sal_Int32)> &) |
Protected Member Functions | |
virtual void | PageCreated (const OUString &rId, SfxTabPage &rPage) override |
Protected Member Functions inherited from SfxTabDialogController | |
DECL_LINK (OkHdl, weld::Button &, void) | |
DECL_DLLPRIVATE_LINK (ResetHdl, weld::Button &, void) | |
DECL_DLLPRIVATE_LINK (BaseFmtHdl, weld::Button &, void) | |
DECL_DLLPRIVATE_LINK (UserHdl, weld::Button &, void) | |
DECL_DLLPRIVATE_LINK (CancelHdl, weld::Button &, void) | |
virtual short | Ok () |
virtual void | RefreshInputSet () |
virtual SfxItemSet * | CreateInputItemSet (const OUString &rName) |
virtual void | PageCreated (const OUString &rName, SfxTabPage &rPage) |
virtual void | ActivatePage (const OUString &rPage) |
bool | DeactivatePage (std::u16string_view aPage) |
SfxItemSet * | GetInputSetImpl () |
SfxTabPage * | GetTabPage (std::u16string_view rPageId) const |
bool | PrepareLeaveCurrentPage () |
void | SavePosAndId () |
Additional Inherited Members | |
Protected Attributes inherited from SfxTabDialogController | |
std::unique_ptr< weld::Notebook > | m_xTabCtrl |
std::unique_ptr< SfxItemSet > | m_xExampleSet |
Definition at line 32 of file fontdialog.hxx.
pcr::ControlCharacterDialog::ControlCharacterDialog | ( | weld::Window * | pParent, |
const SfxItemSet & | rCoreSet | ||
) |
Definition at line 201 of file fontdialog.cxx.
References SfxTabDialogController::AddTabPage(), and SvxAbstractDialogFactory::Create().
|
overridevirtual |
Definition at line 209 of file fontdialog.cxx.
|
static |
creates an item set to be used with this dialog
Definition at line 495 of file fontdialog.cxx.
References aItemInfos, pcr::FontItemIds::CFID_CASEMAP, pcr::FontItemIds::CFID_CHARCOLOR, pcr::FontItemIds::CFID_CJK_FONT, pcr::FontItemIds::CFID_CJK_HEIGHT, pcr::FontItemIds::CFID_CJK_LANGUAGE, pcr::FontItemIds::CFID_CJK_POSTURE, pcr::FontItemIds::CFID_CJK_WEIGHT, pcr::FontItemIds::CFID_CONTOUR(), pcr::FontItemIds::CFID_EMPHASIS(), pcr::FontItemIds::CFID_FIRST_ITEM_ID, pcr::FontItemIds::CFID_FONT, pcr::FontItemIds::CFID_FONTLIST, pcr::FontItemIds::CFID_HEIGHT, pcr::FontItemIds::CFID_LANGUAGE, pcr::FontItemIds::CFID_LAST_ITEM_ID, pcr::FontItemIds::CFID_POSTURE, pcr::FontItemIds::CFID_RELIEF, pcr::FontItemIds::CFID_SHADOWED(), pcr::FontItemIds::CFID_STRIKEOUT, pcr::FontItemIds::CFID_UNDERLINE, pcr::FontItemIds::CFID_WEIGHT, pcr::FontItemIds::CFID_WORDLINEMODE(), StyleSettings::GetAppFont(), vcl::Font::GetCharSet(), vcl::Font::GetColor(), Application::GetDefaultDevice(), vcl::Font::GetEmphasisMark(), vcl::Font::GetFamilyName(), vcl::Font::GetFamilyType(), vcl::Font::GetFontHeight(), vcl::Font::GetItalic(), vcl::Font::GetPitch(), vcl::Font::GetRelief(), Application::GetSettings(), OutputDevice::GetSettings(), vcl::Font::GetStrikeout(), vcl::Font::GetStyleName(), AllSettings::GetStyleSettings(), vcl::Font::GetUnderline(), vcl::Font::GetWeight(), and vcl::Font::IsWordLineMode().
Referenced by pcr::OControlFontDialog::createDialog().
|
static |
destroys an item previously created with <method>createItemSet</method>
Definition at line 565 of file fontdialog.cxx.
References pcr::FontItemIds::CFID_FONTLIST, and SvxFontListItem::GetFontList().
Referenced by pcr::OControlFontDialog::~OControlFontDialog().
|
overrideprotectedvirtual |
Reimplemented from SfxTabDialogController.
Definition at line 586 of file fontdialog.cxx.
References pcr::FontItemIds::CFID_FONTLIST, DISABLE_HIDE_LANGUAGE, Get(), SfxTabDialogController::GetInputSetImpl(), SfxTabPage::PageCreated(), and SfxItemSet::Put().
|
static |
fills the given property set with values obtained from the given item set
Referenced by pcr::OControlFontDialog::executedDialog().
|
static |
fills the given property set with values obtained from the given item set
|
static |
fills the given item set with values obtained from the given property set
Definition at line 213 of file fontdialog.cxx.
References Any, pcr::FontItemIds::CFID_CHARCOLOR, pcr::FontItemIds::CFID_EMPHASIS(), pcr::FontItemIds::CFID_FONT, pcr::FontItemIds::CFID_HEIGHT, pcr::FontItemIds::CFID_LANGUAGE, pcr::FontItemIds::CFID_POSTURE, pcr::FontItemIds::CFID_RELIEF, pcr::FontItemIds::CFID_STRIKEOUT, pcr::FontItemIds::CFID_UNDERLINE, pcr::FontItemIds::CFID_WEIGHT, pcr::FontItemIds::CFID_WORDLINEMODE(), COL_AUTO(), ColorTransparency, o3tl::convert(), vcl::unohelper::ConvertFontSlant(), vcl::unohelper::ConvertFontWeight(), VCLUnoHelper::CreateFontDescriptor(), SfxItemSet::DisableItem(), Exception, StyleSettings::GetAppFont(), Application::GetDefaultDevice(), vcl::Font::GetEmphasisMark(), vcl::Font::GetRelief(), Application::GetSettings(), OutputDevice::GetSettings(), AllSettings::GetStyleSettings(), PITCH_DONTKNOW, PROPERTY_FONT_CHARSET, PROPERTY_FONT_EMPHASIS_MARK, PROPERTY_FONT_FAMILY, PROPERTY_FONT_HEIGHT, PROPERTY_FONT_NAME, PROPERTY_FONT_RELIEF, PROPERTY_FONT_SLANT, PROPERTY_FONT_STRIKEOUT, PROPERTY_FONT_STYLENAME, PROPERTY_FONT_UNDERLINE, PROPERTY_FONT_WEIGHT, PROPERTY_TEXTCOLOR, PROPERTY_TEXTLINECOLOR, PROPERTY_WORDLINEMODE, o3tl::pt, SfxItemSet::Put(), SvxTextLineItem::SetColor(), TOOLS_WARN_EXCEPTION, and o3tl::twip.
Referenced by pcr::OControlFontDialog::createDialog().