20 #undef SC_DLLIMPLEMENTATION
29 #include <svx/dialogs.hrc>
30 #include <editeng/editids.hrc>
32 #include <osl/diagnose.h>
36 "FormatCellsDialog", pCellAttrs)
71 if (rPageId ==
"numbers")
75 else if (rPageId ==
"font")
78 assert(pInfoItem &&
"FontListItem not found :-(");
79 aSet.
Put (
SvxFontListItem(static_cast<const SvxFontListItem*>(pInfoItem)->GetFontList(), SID_ATTR_CHAR_FONTLIST ));
82 else if (rPageId ==
"background")
virtual void PageCreated(const OString &rPageId, SfxTabPage &rTabPage) override
virtual void PageCreated(const SfxAllItemSet &aSet)
static SfxAbstractDialogFactory * Create()
void RemoveTabPage(const OString &rName)
SfxItemSet * GetInputSetImpl()
static SfxObjectShell * Current()
virtual CreateTabPage GetTabPageCreatorFunc(sal_uInt16 nId)=0
ScAttrDlg(weld::Window *pParent, const SfxItemSet *pCellAttrs)
const SfxPoolItem * GetItem(sal_uInt16 nSlotId) const
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
bool IsAsianTypographyEnabled()
const SfxPoolItem * Put(const SfxPoolItem &rItem, sal_uInt16 nWhich)
virtual ~ScAttrDlg() override
void AddTabPage(const OString &rName, CreateTabPage pCreateFunc, GetTabPageRanges pRangesFunc)