LibreOffice Module editeng (master) 1
|
#include <rtl/ustring.hxx>
#include <tools/long.hxx>
#include <tools/mapunit.hxx>
#include <editeng/editengdllapi.h>
#include <unotools/resmgr.hxx>
Go to the source code of this file.
Functions | |
EDITENG_DLLPUBLIC OUString | GetMetricText (tools::Long nVal, MapUnit eSrcUnit, MapUnit eDestUnit, const IntlWrapper *pIntl) |
OUString | GetColorString (const Color &rCol) |
EDITENG_DLLPUBLIC TranslateId | GetMetricId (MapUnit eUnit) |
Variables | |
constexpr OUStringLiteral | cpDelim = u", " |
OUString GetColorString | ( | const Color & | rCol | ) |
Definition at line 137 of file itemtype.cxx.
References COL_AUTO(), COL_BLACK(), COL_BLUE(), COL_BROWN(), COL_CYAN(), COL_GRAY(), COL_GREEN(), COL_LIGHTBLUE(), COL_LIGHTCYAN(), COL_LIGHTGRAY(), COL_LIGHTGREEN(), COL_LIGHTMAGENTA(), COL_LIGHTRED(), COL_MAGENTA(), COL_RED(), COL_WHITE(), COL_YELLOW(), cpDelim, EditResId(), Color::GetBlue(), Color::GetGreen(), Color::GetRed(), Color::GetRGBColor(), and SAL_N_ELEMENTS.
Referenced by SvxBrushItem::GetPresentation(), SvxShadowItem::GetPresentation(), SvxTextLineItem::GetPresentation(), SvxColorItem::GetPresentation(), and editeng::SvxBorderLine::GetValueString().
EDITENG_DLLPUBLIC TranslateId GetMetricId | ( | MapUnit | eUnit | ) |
Definition at line 191 of file itemtype.cxx.
Referenced by SvxBoxItem::GetPresentation(), SvxFontHeightItem::GetPresentation(), SvxHyphenZoneItem::GetPresentation(), SvxKerningItem::GetPresentation(), SvxLeftMarginItem::GetPresentation(), SvxTextLeftMarginItem::GetPresentation(), SvxFirstLineIndentItem::GetPresentation(), SvxRightMarginItem::GetPresentation(), SvxLRSpaceItem::GetPresentation(), SvxLineSpacingItem::GetPresentation(), SvxShadowItem::GetPresentation(), SvxSizeItem::GetPresentation(), SvxTabStopItem::GetPresentation(), SvxULSpaceItem::GetPresentation(), and editeng::SvxBorderLine::GetValueString().
EDITENG_DLLPUBLIC OUString GetMetricText | ( | tools::Long | nVal, |
MapUnit | eSrcUnit, | ||
MapUnit | eDestUnit, | ||
const IntlWrapper * | pIntl | ||
) |
Definition at line 32 of file itemtype.cxx.
References IntlWrapper::getLocaleData(), LocaleDataWrapper::getNumDecimalSep(), and OutputDevice::LogicToLogic().
Referenced by SvxLeftMarginItem::dumpAsJSON(), SvxTextLeftMarginItem::dumpAsJSON(), SvxFirstLineIndentItem::dumpAsJSON(), SvxRightMarginItem::dumpAsJSON(), SvxLRSpaceItem::dumpAsJSON(), SvxULSpaceItem::dumpAsJSON(), SvxBoxItem::GetPresentation(), SvxFontHeightItem::GetPresentation(), SvxHyphenZoneItem::GetPresentation(), SvxKerningItem::GetPresentation(), SvxLeftMarginItem::GetPresentation(), SvxTextLeftMarginItem::GetPresentation(), SvxFirstLineIndentItem::GetPresentation(), SvxRightMarginItem::GetPresentation(), SvxLRSpaceItem::GetPresentation(), SvxLineSpacingItem::GetPresentation(), SvxShadowItem::GetPresentation(), SvxSizeItem::GetPresentation(), SvxTabStopItem::GetPresentation(), SvxULSpaceItem::GetPresentation(), and editeng::SvxBorderLine::GetValueString().
|
inlineconstexpr |
Definition at line 33 of file itemtype.hxx.
Referenced by GetColorString(), SvxBoxItem::GetPresentation(), SvxBrushItem::GetPresentation(), SvxHyphenZoneItem::GetPresentation(), SvxLRSpaceItem::GetPresentation(), SvxProtectItem::GetPresentation(), SvxShadowItem::GetPresentation(), SvxSizeItem::GetPresentation(), SvxTextLineItem::GetPresentation(), SvxULSpaceItem::GetPresentation(), and editeng::SvxBorderLine::GetValueString().