22#include <sfx2/sfxsids.hrc>
34 return static_cast<FieldUnit>(pItem->GetValue());
41 bool bUseCharUnit =
false;
43 bUseCharUnit = pItem->GetValue();
56 pItem = pModule->
GetItem( SID_ATTR_APPLYCHARUNIT );
58 bUseCharUnit = pItem->GetValue();
62 SAL_WARN(
"svx.dialog",
"GetApplyCharUnit(): no module found" );
const T * GetItemIfSet(TypedWhichId< T > nWhich, bool bSrchInParent=true) const
static FieldUnit GetCurrentFieldUnit()
SfxModule * GetModule() const
const SfxPoolItem * GetItem(sal_uInt16 nSlotId) const
static SAL_WARN_UNUSED_RESULT SfxViewFrame * Current()
virtual SfxObjectShell * GetObjectShell() override
FieldUnit GetModuleFieldUnit(const SfxItemSet &rSet)
bool GetApplyCharUnit(const SfxItemSet &rSet)
#define SAL_WARN(area, stream)