LibreOffice Module editeng (master) 1
|
#include <sal/config.h>
#include <osl/diagnose.h>
#include <vcl/outdev.hxx>
#include <editeng/editrids.hrc>
#include <unotools/intlwrapper.hxx>
#include <unotools/localedatawrapper.hxx>
#include <editeng/itemtype.hxx>
#include <editeng/eerdll.hxx>
#include <rtl/ustrbuf.hxx>
Go to the source code of this file.
Functions | |
OUString | GetMetricText (tools::Long nVal, MapUnit eSrcUnit, MapUnit eDestUnit, const IntlWrapper *pIntl) |
OUString | GetColorString (const Color &rCol) |
TranslateId | GetMetricId (MapUnit eUnit) |
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().
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().
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().