LibreOffice Module drawinglayer (master) 1
Classes | Typedefs | Enumerations | Functions | Variables
emfplushelper Namespace Reference

Classes

struct  EMFPBrush
 
struct  EMFPCustomLineCap
 
struct  EMFPFont
 
struct  EMFPImage
 
struct  EMFPImageAttributes
 
class  EmfPlusHelper
 EMF+ data holder. More...
 
struct  EmfPlusHelperData
 
struct  EMFPObject
 
class  EMFPPath
 
struct  EMFPPen
 
struct  EMFPRegion
 
struct  EMFPStringFormat
 

Typedefs

typedef std::map< int, wmfemfhelper::PropertyHolderGraphicStateMap
 
typedef double matrix[4][4]
 

Enumerations

enum  EmfPlusHatchStyle {
  HatchStyleHorizontal = 0x00000000 ,
  HatchStyleVertical = 0x00000001 ,
  HatchStyleForwardDiagonal = 0x00000002 ,
  HatchStyleBackwardDiagonal = 0x00000003 ,
  HatchStyleLargeGrid = 0x00000004 ,
  HatchStyleDiagonalCross = 0x00000005 ,
  HatchStyle05Percent = 0x00000006 ,
  HatchStyle10Percent = 0x00000007 ,
  HatchStyle20Percent = 0x00000008 ,
  HatchStyle25Percent = 0x00000009 ,
  HatchStyle30Percent = 0x0000000A ,
  HatchStyle40Percent = 0x0000000B ,
  HatchStyle50Percent = 0x0000000C ,
  HatchStyle60Percent = 0x0000000D ,
  HatchStyle70Percent = 0x0000000E ,
  HatchStyle75Percent = 0x0000000F ,
  HatchStyle80Percent = 0x00000010 ,
  HatchStyle90Percent = 0x00000011 ,
  HatchStyleLightDownwardDiagonal = 0x00000012 ,
  HatchStyleLightUpwardDiagonal = 0x00000013 ,
  HatchStyleDarkDownwardDiagonal = 0x00000014 ,
  HatchStyleDarkUpwardDiagonal = 0x00000015 ,
  HatchStyleWideDownwardDiagonal = 0x00000016 ,
  HatchStyleWideUpwardDiagonal = 0x00000017 ,
  HatchStyleLightVertical = 0x00000018 ,
  HatchStyleLightHorizontal = 0x00000019 ,
  HatchStyleNarrowVertical = 0x0000001A ,
  HatchStyleNarrowHorizontal = 0x0000001B ,
  HatchStyleDarkVertical = 0x0000001C ,
  HatchStyleDarkHorizontal = 0x0000001D ,
  HatchStyleDashedDownwardDiagonal = 0x0000001E ,
  HatchStyleDashedUpwardDiagonal = 0x0000001F ,
  HatchStyleDashedHorizontal = 0x00000020 ,
  HatchStyleDashedVertical = 0x00000021 ,
  HatchStyleSmallConfetti = 0x00000022 ,
  HatchStyleLargeConfetti = 0x00000023 ,
  HatchStyleZigZag = 0x00000024 ,
  HatchStyleWave = 0x00000025 ,
  HatchStyleDiagonalBrick = 0x00000026 ,
  HatchStyleHorizontalBrick = 0x00000027 ,
  HatchStyleWeave = 0x00000028 ,
  HatchStylePlaid = 0x00000029 ,
  HatchStyleDivot = 0x0000002A ,
  HatchStyleDottedGrid = 0x0000002B ,
  HatchStyleDottedDiamond = 0x0000002C ,
  HatchStyleShingle = 0x0000002D ,
  HatchStyleTrellis = 0x0000002E ,
  HatchStyleSphere = 0x0000002F ,
  HatchStyleSmallGrid = 0x00000030 ,
  HatchStyleSmallCheckerBoard = 0x00000031 ,
  HatchStyleLargeCheckerBoard = 0x00000032 ,
  HatchStyleOutlinedDiamond = 0x00000033 ,
  HatchStyleSolidDiamond = 0x00000034
}
 
enum  EmfPlusBrushType {
  BrushTypeSolidColor = 0x00000000 ,
  BrushTypeHatchFill = 0x00000001 ,
  BrushTypeTextureFill = 0x00000002 ,
  BrushTypePathGradient = 0x00000003 ,
  BrushTypeLinearGradient = 0x00000004
}
 
enum  {
  WrapModeTile = 0x00000000 ,
  WrapModeTileFlipX = 0x00000001 ,
  WrapModeTileFlipY = 0x00000002 ,
  WrapModeTileFlipXY = 0x00000003 ,
  WrapModeClamp = 0x00000004
}
 
enum  PixelOffsetMode {
  PixelOffsetModeDefault = 0x00 ,
  PixelOffsetModeHighSpeed = 0x01 ,
  PixelOffsetModeHighQuality = 0x02 ,
  PixelOffsetModeNone = 0x03 ,
  PixelOffsetModeHalf = 0x04
}
 
enum  SmoothingMode {
  SmoothingModeDefault = 0x00 ,
  SmoothingModeHighSpeed = 0x01 ,
  SmoothingModeHighQuality = 0x02 ,
  SmoothingModeNone = 0x03 ,
  SmoothingModeAntiAlias8x4 = 0x04 ,
  SmoothingModeAntiAlias8x8 = 0x05
}
 
enum  InterpolationMode {
  InterpolationModeDefault = 0x00 ,
  InterpolationModeLowQuality = 0x01 ,
  InterpolationModeHighQuality = 0x02 ,
  InterpolationModeBilinear = 0x03 ,
  InterpolationModeBicubic = 0x04 ,
  InterpolationModeNearestNeighbor = 0x05 ,
  InterpolationModeHighQualityBilinear = 0x06 ,
  InterpolationModeHighQualityBicubic = 0x07
}
 
enum  TextRenderingHint {
  TextRenderingHintSystemDefault = 0x00 ,
  TextRenderingHintSingleBitPerPixelGridFit = 0x01 ,
  TextRenderingHintSingleBitPerPixel = 0x02 ,
  TextRenderingHintAntialiasGridFit = 0x03 ,
  TextRenderingHintAntialias = 0x04 ,
  TextRenderingHintClearTypeGridFit = 0x05
}
 
enum  UnitType {
  UnitTypeWorld = 0x00 ,
  UnitTypeDisplay = 0x01 ,
  UnitTypePixel = 0x02 ,
  UnitTypePoint = 0x03 ,
  UnitTypeInch = 0x04 ,
  UnitTypeDocument = 0x05 ,
  UnitTypeMillimeter = 0x06
}
 
enum  EmfPlusCombineMode {
  EmfPlusCombineModeReplace = 0x00000000 ,
  EmfPlusCombineModeIntersect = 0x00000001 ,
  EmfPlusCombineModeUnion = 0x00000002 ,
  EmfPlusCombineModeXOR = 0x00000003 ,
  EmfPlusCombineModeExclude = 0x00000004 ,
  EmfPlusCombineModeComplement = 0x00000005
}
 
enum  ImageDataType {
  ImageDataTypeUnknown = 0x00000000 ,
  ImageDataTypeBitmap = 0x00000001 ,
  ImageDataTypeMetafile = 0x00000002
}
 
enum  LineCapType {
  LineCapTypeFlat = 0x00000000 ,
  LineCapTypeSquare = 0x00000001 ,
  LineCapTypeRound = 0x00000002 ,
  LineCapTypeTriangle = 0x00000003 ,
  LineCapTypeNoAnchor = 0x00000010 ,
  LineCapTypeSquareAnchor = 0x00000011 ,
  LineCapTypeRoundAnchor = 0x00000012 ,
  LineCapTypeDiamondAnchor = 0x00000013 ,
  LineCapTypeArrowAnchor = 0x00000014 ,
  LineCapTypeAnchorMask = 0x000000F0 ,
  LineCapTypeCustom = 0x000000FF
}
 
enum  LineJoinType {
  LineJoinTypeMiter = 0x00000000 ,
  LineJoinTypeBevel = 0x00000001 ,
  LineJoinTypeRound = 0x00000002 ,
  LineJoinTypeMiterClipped = 0x00000003
}
 
enum  DashedLineCapType {
  DashedLineCapTypeFlat = 0x00000000 ,
  DashedLineCapTypeRound = 0x00000002 ,
  DashedLineCapTypeTriangle = 0x00000003
}
 
enum  PenAlignment {
  PenAlignmentCenter = 0x00000000 ,
  PenAlignmentInset = 0x00000001 ,
  PenAlignmentLeft = 0x00000002 ,
  PenAlignmentOutset = 0x00000003 ,
  PenAlignmentRight = 0x00000004
}
 
enum  RegionNodeDataType {
  RegionNodeDataTypeAnd = 0x00000001 ,
  RegionNodeDataTypeOr = 0x00000002 ,
  RegionNodeDataTypeXor = 0x00000003 ,
  RegionNodeDataTypeExclude = 0x00000004 ,
  RegionNodeDataTypeComplement = 0x00000005 ,
  RegionNodeDataTypeRect = 0x10000000 ,
  RegionNodeDataTypePath = 0x10000001 ,
  RegionNodeDataTypeEmpty = 0x10000002 ,
  RegionNodeDataTypeInfinite = 0x10000003
}
 
enum  StringAlignment {
  StringAlignmentNear = 0x00000000 ,
  StringAlignmentCenter = 0x00000001 ,
  StringAlignmentFar = 0x00000002
}
 
enum  StringDigitSubstitution {
  StringDigitSubstitutionUser = 0x00000000 ,
  StringDigitSubstitutionNone = 0x00000001 ,
  StringDigitSubstitutionNational = 0x00000002 ,
  StringDigitSubstitutionTraditional = 0x00000003
}
 
enum  HotkeyPrefix {
  HotkeyPrefixNone = 0x00000000 ,
  HotkeyPrefixShow = 0x00000001 ,
  HotkeyPrefixHide = 0x00000002
}
 
enum  StringTrimming {
  StringTrimmingNone = 0x00000000 ,
  StringTrimmingCharacter = 0x00000001 ,
  StringTrimmingWord = 0x00000002 ,
  StringTrimmingEllipsisCharacter = 0x00000003 ,
  StringTrimmingEllipsisWord = 0x00000004 ,
  StringTrimmingEllipsisPath = 0x00000005
}
 

Functions

static OUString BrushTypeToString (sal_uInt32 type)
 
static OUString FontStyleToString (sal_uInt32 style)
 
const char * emfTypeToName (sal_uInt16 type)
 
static OUString emfObjectToName (sal_uInt16 type)
 
static OUString PixelOffsetModeToString (sal_uInt16 nPixelOffset)
 
static OUString SmoothingModeToString (sal_uInt16 nSmoothMode)
 
static OUString TextRenderingHintToString (sal_uInt16 nHint)
 
static OUString InterpolationModeToString (sal_uInt16 nMode)
 
OUString UnitTypeToString (sal_uInt16 nType)
 
static bool IsBrush (sal_uInt16 flags)
 
static OUString BrushIDToString (sal_uInt16 flags, sal_uInt32 brushid)
 
static sal_Int16 GetEmfPlusInteger (SvStream &s)
 
static void GetCardinalMatrix (float tension, matrix &m)
 
static double calculateSplineCoefficients (float p0, float p1, float p2, float p3, sal_uInt32 step, matrix m)
 
static OUString PenDataFlagsToString (sal_uInt32 flags)
 
static OUString LineCapTypeToString (sal_uInt32 linecap)
 
static OUString DashedLineCapTypeToString (sal_uInt32 dashedlinecaptype)
 
static OUString PenAlignmentToString (sal_uInt32 alignment)
 
static OUString StringFormatFlags (sal_uInt32 flag)
 
static OUString StringAlignmentString (sal_uInt32 nAlignment)
 
static OUString DigitSubstitutionString (sal_uInt32 nSubst)
 
static OUString HotkeyPrefixString (sal_uInt32 nHotkey)
 
static OUString StringTrimmingString (sal_uInt32 nTrimming)
 

Variables

const sal_uInt32 EmfPlusCustomLineCapDataTypeDefault = 0x00000000
 
const sal_uInt32 EmfPlusCustomLineCapDataTypeAdjustableArrow = 0x00000001
 
const sal_uInt32 EmfPlusCustomLineCapDataFillPath = 0x00000001
 
const sal_uInt32 EmfPlusCustomLineCapDataLinePath = 0x00000002
 
const sal_uInt32 FontStyleBold = 0x00000001
 
const sal_uInt32 FontStyleItalic = 0x00000002
 
const sal_uInt32 FontStyleUnderline = 0x00000004
 
const sal_uInt32 FontStyleStrikeout = 0x00000008
 
const sal_uInt32 EmpPlusRectClamp = 0x00000000
 
const sal_uInt32 EmpPlusBitmapClamp = 0x00000001
 
constexpr sal_uInt32 nDetails = 8
 
constexpr double alpha [nDetails]
 
const sal_uInt32 EmfPlusLineCapTypeSquare = 0x00000001
 
const sal_uInt32 EmfPlusLineCapTypeRound = 0x00000002
 
const sal_uInt32 EmfPlusLineCapTypeTriangle = 0x00000003
 
const sal_uInt32 EmfPlusLineJoinTypeMiter = 0x00000000
 
const sal_uInt32 EmfPlusLineJoinTypeBevel = 0x00000001
 
const sal_uInt32 EmfPlusLineJoinTypeRound = 0x00000002
 
const sal_uInt32 EmfPlusLineJoinTypeMiterClipped = 0x00000003
 
const sal_Int32 EmfPlusLineStyleSolid = 0x00000000
 
const sal_Int32 EmfPlusLineStyleDash = 0x00000001
 
const sal_Int32 EmfPlusLineStyleDot = 0x00000002
 
const sal_Int32 EmfPlusLineStyleDashDot = 0x00000003
 
const sal_Int32 EmfPlusLineStyleDashDotDot = 0x00000004
 
const sal_Int32 EmfPlusLineStyleCustom = 0x00000005
 
const sal_uInt32 EmfPlusPenDataTransform = 0x00000001
 
const sal_uInt32 EmfPlusPenDataStartCap = 0x00000002
 
const sal_uInt32 EmfPlusPenDataEndCap = 0x00000004
 
const sal_uInt32 EmfPlusPenDataJoin = 0x00000008
 
const sal_uInt32 EmfPlusPenDataMiterLimit = 0x00000010
 
const sal_uInt32 EmfPlusPenDataLineStyle = 0x00000020
 
const sal_uInt32 EmfPlusPenDataDashedLineCap = 0x00000040
 
const sal_uInt32 EmfPlusPenDataDashedLineOffset = 0x00000080
 
const sal_uInt32 EmfPlusPenDataDashedLine = 0x00000100
 
const sal_uInt32 EmfPlusPenDataAlignment = 0x00000200
 
const sal_uInt32 EmfPlusPenDataCompoundLine = 0x00000400
 
const sal_uInt32 EmfPlusPenDataCustomStartCap = 0x00000800
 
const sal_uInt32 EmfPlusPenDataCustomEndCap = 0x000001000
 
const sal_uInt32 StringFormatDirectionRightToLeft = 0x00000001
 
const sal_uInt32 StringFormatDirectionVertical = 0x00000002
 
const sal_uInt32 StringFormatNoFitBlackBox = 0x00000004
 
const sal_uInt32 StringFormatDisplayFormatControl = 0x00000020
 
const sal_uInt32 StringFormatNoFontFallback = 0x00000400
 
const sal_uInt32 StringFormatMeasureTrailingSpaces = 0x00000800
 
const sal_uInt32 StringFormatNoWrap = 0x00001000
 
const sal_uInt32 StringFormatLineLimit = 0x00002000
 
const sal_uInt32 StringFormatNoClip = 0x00004000
 
const sal_uInt32 StringFormatBypassGDI = 0x80000000
 

Typedef Documentation

◆ GraphicStateMap

Definition at line 176 of file emfphelperdata.hxx.

◆ matrix

typedef double emfplushelper::matrix[4][4]

Definition at line 37 of file emfppath.cxx.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
WrapModeTile 
WrapModeTileFlipX 
WrapModeTileFlipY 
WrapModeTileFlipXY 
WrapModeClamp 

Definition at line 61 of file emfphelperdata.cxx.

◆ DashedLineCapType

Enumerator
DashedLineCapTypeFlat 
DashedLineCapTypeRound 
DashedLineCapTypeTriangle 

Definition at line 81 of file emfppen.hxx.

◆ EmfPlusBrushType

Enumerator
BrushTypeSolidColor 
BrushTypeHatchFill 
BrushTypeTextureFill 
BrushTypePathGradient 
BrushTypeLinearGradient 

Definition at line 84 of file emfpbrush.hxx.

◆ EmfPlusCombineMode

Enumerator
EmfPlusCombineModeReplace 
EmfPlusCombineModeIntersect 
EmfPlusCombineModeUnion 
EmfPlusCombineModeXOR 
EmfPlusCombineModeExclude 
EmfPlusCombineModeComplement 

Definition at line 158 of file emfphelperdata.hxx.

◆ EmfPlusHatchStyle

Enumerator
HatchStyleHorizontal 
HatchStyleVertical 
HatchStyleForwardDiagonal 
HatchStyleBackwardDiagonal 
HatchStyleLargeGrid 
HatchStyleDiagonalCross 
HatchStyle05Percent 
HatchStyle10Percent 
HatchStyle20Percent 
HatchStyle25Percent 
HatchStyle30Percent 
HatchStyle40Percent 
HatchStyle50Percent 
HatchStyle60Percent 
HatchStyle70Percent 
HatchStyle75Percent 
HatchStyle80Percent 
HatchStyle90Percent 
HatchStyleLightDownwardDiagonal 
HatchStyleLightUpwardDiagonal 
HatchStyleDarkDownwardDiagonal 
HatchStyleDarkUpwardDiagonal 
HatchStyleWideDownwardDiagonal 
HatchStyleWideUpwardDiagonal 
HatchStyleLightVertical 
HatchStyleLightHorizontal 
HatchStyleNarrowVertical 
HatchStyleNarrowHorizontal 
HatchStyleDarkVertical 
HatchStyleDarkHorizontal 
HatchStyleDashedDownwardDiagonal 
HatchStyleDashedUpwardDiagonal 
HatchStyleDashedHorizontal 
HatchStyleDashedVertical 
HatchStyleSmallConfetti 
HatchStyleLargeConfetti 
HatchStyleZigZag 
HatchStyleWave 
HatchStyleDiagonalBrick 
HatchStyleHorizontalBrick 
HatchStyleWeave 
HatchStylePlaid 
HatchStyleDivot 
HatchStyleDottedGrid 
HatchStyleDottedDiamond 
HatchStyleShingle 
HatchStyleTrellis 
HatchStyleSphere 
HatchStyleSmallGrid 
HatchStyleSmallCheckerBoard 
HatchStyleLargeCheckerBoard 
HatchStyleOutlinedDiamond 
HatchStyleSolidDiamond 

Definition at line 27 of file emfpbrush.hxx.

◆ HotkeyPrefix

Enumerator
HotkeyPrefixNone 
HotkeyPrefixShow 
HotkeyPrefixHide 

Definition at line 52 of file emfpstringformat.hxx.

◆ ImageDataType

Enumerator
ImageDataTypeUnknown 
ImageDataTypeBitmap 
ImageDataTypeMetafile 

Definition at line 28 of file emfpimage.hxx.

◆ InterpolationMode

Enumerator
InterpolationModeDefault 
InterpolationModeLowQuality 
InterpolationModeHighQuality 
InterpolationModeBilinear 
InterpolationModeBicubic 
InterpolationModeNearestNeighbor 
InterpolationModeHighQualityBilinear 
InterpolationModeHighQualityBicubic 

Definition at line 125 of file emfphelperdata.hxx.

◆ LineCapType

Enumerator
LineCapTypeFlat 
LineCapTypeSquare 
LineCapTypeRound 
LineCapTypeTriangle 
LineCapTypeNoAnchor 
LineCapTypeSquareAnchor 
LineCapTypeRoundAnchor 
LineCapTypeDiamondAnchor 
LineCapTypeArrowAnchor 
LineCapTypeAnchorMask 
LineCapTypeCustom 

Definition at line 58 of file emfppen.hxx.

◆ LineJoinType

Enumerator
LineJoinTypeMiter 
LineJoinTypeBevel 
LineJoinTypeRound 
LineJoinTypeMiterClipped 

Definition at line 73 of file emfppen.hxx.

◆ PenAlignment

Enumerator
PenAlignmentCenter 
PenAlignmentInset 
PenAlignmentLeft 
PenAlignmentOutset 
PenAlignmentRight 

Definition at line 88 of file emfppen.hxx.

◆ PixelOffsetMode

Enumerator
PixelOffsetModeDefault 
PixelOffsetModeHighSpeed 
PixelOffsetModeHighQuality 
PixelOffsetModeNone 
PixelOffsetModeHalf 

Definition at line 106 of file emfphelperdata.hxx.

◆ RegionNodeDataType

Enumerator
RegionNodeDataTypeAnd 
RegionNodeDataTypeOr 
RegionNodeDataTypeXor 
RegionNodeDataTypeExclude 
RegionNodeDataTypeComplement 
RegionNodeDataTypeRect 
RegionNodeDataTypePath 
RegionNodeDataTypeEmpty 
RegionNodeDataTypeInfinite 

Definition at line 26 of file emfpregion.hxx.

◆ SmoothingMode

Enumerator
SmoothingModeDefault 
SmoothingModeHighSpeed 
SmoothingModeHighQuality 
SmoothingModeNone 
SmoothingModeAntiAlias8x4 
SmoothingModeAntiAlias8x8 

Definition at line 115 of file emfphelperdata.hxx.

◆ StringAlignment

Enumerator
StringAlignmentNear 
StringAlignmentCenter 
StringAlignmentFar 

Definition at line 37 of file emfpstringformat.hxx.

◆ StringDigitSubstitution

Enumerator
StringDigitSubstitutionUser 
StringDigitSubstitutionNone 
StringDigitSubstitutionNational 
StringDigitSubstitutionTraditional 

Definition at line 44 of file emfpstringformat.hxx.

◆ StringTrimming

Enumerator
StringTrimmingNone 
StringTrimmingCharacter 
StringTrimmingWord 
StringTrimmingEllipsisCharacter 
StringTrimmingEllipsisWord 
StringTrimmingEllipsisPath 

Definition at line 59 of file emfpstringformat.hxx.

◆ TextRenderingHint

Enumerator
TextRenderingHintSystemDefault 
TextRenderingHintSingleBitPerPixelGridFit 
TextRenderingHintSingleBitPerPixel 
TextRenderingHintAntialiasGridFit 
TextRenderingHintAntialias 
TextRenderingHintClearTypeGridFit 

Definition at line 137 of file emfphelperdata.hxx.

◆ UnitType

Enumerator
UnitTypeWorld 
UnitTypeDisplay 
UnitTypePixel 
UnitTypePoint 
UnitTypeInch 
UnitTypeDocument 
UnitTypeMillimeter 

Definition at line 147 of file emfphelperdata.hxx.

Function Documentation

◆ BrushIDToString()

static OUString emfplushelper::BrushIDToString ( sal_uInt16  flags,
sal_uInt32  brushid 
)
static

Definition at line 220 of file emfphelperdata.cxx.

References IsBrush().

Referenced by emfplushelper::EmfPlusHelperData::processEmfPlusData().

◆ BrushTypeToString()

static OUString emfplushelper::BrushTypeToString ( sal_uInt32  type)
static

◆ calculateSplineCoefficients()

static double emfplushelper::calculateSplineCoefficients ( float  p0,
float  p1,
float  p2,
float  p3,
sal_uInt32  step,
matrix  m 
)
static

◆ DashedLineCapTypeToString()

static OUString emfplushelper::DashedLineCapTypeToString ( sal_uInt32  dashedlinecaptype)
static

◆ DigitSubstitutionString()

static OUString emfplushelper::DigitSubstitutionString ( sal_uInt32  nSubst)
static

◆ emfObjectToName()

static OUString emfplushelper::emfObjectToName ( sal_uInt16  type)
static

◆ emfTypeToName()

const char * emfplushelper::emfTypeToName ( sal_uInt16  type)

Definition at line 70 of file emfphelperdata.cxx.

References EmfPlusRecordTypeBeginContainer, EmfPlusRecordTypeBeginContainerNoParams, EmfPlusRecordTypeComment, EmfPlusRecordTypeDrawArc, EmfPlusRecordTypeDrawBeziers, EmfPlusRecordTypeDrawClosedCurve, EmfPlusRecordTypeDrawCurve, EmfPlusRecordTypeDrawDriverString, EmfPlusRecordTypeDrawEllipse, EmfPlusRecordTypeDrawImage, EmfPlusRecordTypeDrawImagePoints, EmfPlusRecordTypeDrawLines, EmfPlusRecordTypeDrawPath, EmfPlusRecordTypeDrawPie, EmfPlusRecordTypeDrawRects, EmfPlusRecordTypeDrawString, EmfPlusRecordTypeEndContainer, EmfPlusRecordTypeEndOfFile, EmfPlusRecordTypeFillClosedCurve, EmfPlusRecordTypeFillEllipse, EmfPlusRecordTypeFillPath, EmfPlusRecordTypeFillPie, EmfPlusRecordTypeFillPolygon, EmfPlusRecordTypeFillRects, EmfPlusRecordTypeFillRegion, EmfPlusRecordTypeGetDC, EmfPlusRecordTypeHeader, EmfPlusRecordTypeMultiplyWorldTransform, EmfPlusRecordTypeObject, EmfPlusRecordTypeOffsetClip, EmfPlusRecordTypeResetClip, EmfPlusRecordTypeResetWorldTransform, EmfPlusRecordTypeRestore, EmfPlusRecordTypeSave, EmfPlusRecordTypeScaleWorldTransform, EmfPlusRecordTypeSetAntiAliasMode, EmfPlusRecordTypeSetClipPath, EmfPlusRecordTypeSetClipRect, EmfPlusRecordTypeSetClipRegion, EmfPlusRecordTypeSetCompositingQuality, EmfPlusRecordTypeSetInterpolationMode, EmfPlusRecordTypeSetPageTransform, EmfPlusRecordTypeSetPixelOffsetMode, EmfPlusRecordTypeSetRenderingOrigin, EmfPlusRecordTypeSetTextContrast, EmfPlusRecordTypeSetTextRenderingHint, EmfPlusRecordTypeSetWorldTransform, EmfPlusRecordTypeTranslateWorldTransform, and type.

Referenced by emfplushelper::EmfPlusHelperData::processEmfPlusData().

◆ FontStyleToString()

static OUString emfplushelper::FontStyleToString ( sal_uInt32  style)
static

◆ GetCardinalMatrix()

static void emfplushelper::GetCardinalMatrix ( float  tension,
matrix m 
)
static

◆ GetEmfPlusInteger()

static sal_Int16 emfplushelper::GetEmfPlusInteger ( SvStream s)
static

Definition at line 47 of file emfppath.cxx.

References SvStream::ReadUChar().

Referenced by emfplushelper::EMFPPath::Read().

◆ HotkeyPrefixString()

static OUString emfplushelper::HotkeyPrefixString ( sal_uInt32  nHotkey)
static

◆ InterpolationModeToString()

static OUString emfplushelper::InterpolationModeToString ( sal_uInt16  nMode)
static

◆ IsBrush()

static bool emfplushelper::IsBrush ( sal_uInt16  flags)
static

Definition at line 215 of file emfphelperdata.cxx.

Referenced by BrushIDToString().

◆ LineCapTypeToString()

static OUString emfplushelper::LineCapTypeToString ( sal_uInt32  linecap)
static

◆ PenAlignmentToString()

static OUString emfplushelper::PenAlignmentToString ( sal_uInt32  alignment)
static

◆ PenDataFlagsToString()

static OUString emfplushelper::PenDataFlagsToString ( sal_uInt32  flags)
static

◆ PixelOffsetModeToString()

static OUString emfplushelper::PixelOffsetModeToString ( sal_uInt16  nPixelOffset)
static

◆ SmoothingModeToString()

static OUString emfplushelper::SmoothingModeToString ( sal_uInt16  nSmoothMode)
static

◆ StringAlignmentString()

static OUString emfplushelper::StringAlignmentString ( sal_uInt32  nAlignment)
static

◆ StringFormatFlags()

static OUString emfplushelper::StringFormatFlags ( sal_uInt32  flag)
static

◆ StringTrimmingString()

static OUString emfplushelper::StringTrimmingString ( sal_uInt32  nTrimming)
static

◆ TextRenderingHintToString()

static OUString emfplushelper::TextRenderingHintToString ( sal_uInt16  nHint)
static

◆ UnitTypeToString()

OUString emfplushelper::UnitTypeToString ( sal_uInt16  nType)

Variable Documentation

◆ alpha

constexpr double emfplushelper::alpha[nDetails]
constexpr
Initial value:
= { 1. / nDetails, 2. / nDetails, 3. / nDetails, 4. / nDetails,
5. / nDetails, 6. / nDetails, 7. / nDetails, 8. / nDetails }
constexpr sal_uInt32 nDetails
Definition: emfppath.cxx:39

Definition at line 40 of file emfppath.cxx.

Referenced by calculateSplineCoefficients(), and emfplushelper::EmfPlusHelperData::processEmfPlusData().

◆ EmfPlusCustomLineCapDataFillPath

const sal_uInt32 emfplushelper::EmfPlusCustomLineCapDataFillPath = 0x00000001

Definition at line 33 of file emfpcustomlinecap.cxx.

Referenced by emfplushelper::EMFPCustomLineCap::Read().

◆ EmfPlusCustomLineCapDataLinePath

const sal_uInt32 emfplushelper::EmfPlusCustomLineCapDataLinePath = 0x00000002

Definition at line 34 of file emfpcustomlinecap.cxx.

Referenced by emfplushelper::EMFPCustomLineCap::Read().

◆ EmfPlusCustomLineCapDataTypeAdjustableArrow

const sal_uInt32 emfplushelper::EmfPlusCustomLineCapDataTypeAdjustableArrow = 0x00000001

Definition at line 32 of file emfpcustomlinecap.cxx.

Referenced by emfplushelper::EMFPCustomLineCap::Read().

◆ EmfPlusCustomLineCapDataTypeDefault

const sal_uInt32 emfplushelper::EmfPlusCustomLineCapDataTypeDefault = 0x00000000

Definition at line 31 of file emfpcustomlinecap.cxx.

Referenced by emfplushelper::EMFPCustomLineCap::Read().

◆ EmfPlusLineCapTypeRound

const sal_uInt32 emfplushelper::EmfPlusLineCapTypeRound = 0x00000002

Definition at line 29 of file emfppen.hxx.

◆ EmfPlusLineCapTypeSquare

const sal_uInt32 emfplushelper::EmfPlusLineCapTypeSquare = 0x00000001

Definition at line 28 of file emfppen.hxx.

◆ EmfPlusLineCapTypeTriangle

const sal_uInt32 emfplushelper::EmfPlusLineCapTypeTriangle = 0x00000003

Definition at line 30 of file emfppen.hxx.

◆ EmfPlusLineJoinTypeBevel

const sal_uInt32 emfplushelper::EmfPlusLineJoinTypeBevel = 0x00000001

Definition at line 33 of file emfppen.hxx.

Referenced by emfplushelper::EMFPPen::Read().

◆ EmfPlusLineJoinTypeMiter

const sal_uInt32 emfplushelper::EmfPlusLineJoinTypeMiter = 0x00000000

Definition at line 32 of file emfppen.hxx.

Referenced by emfplushelper::EMFPPen::Read().

◆ EmfPlusLineJoinTypeMiterClipped

const sal_uInt32 emfplushelper::EmfPlusLineJoinTypeMiterClipped = 0x00000003

Definition at line 35 of file emfppen.hxx.

Referenced by emfplushelper::EMFPPen::Read().

◆ EmfPlusLineJoinTypeRound

const sal_uInt32 emfplushelper::EmfPlusLineJoinTypeRound = 0x00000002

Definition at line 34 of file emfppen.hxx.

Referenced by emfplushelper::EMFPPen::Read().

◆ EmfPlusLineStyleCustom

const sal_Int32 emfplushelper::EmfPlusLineStyleCustom = 0x00000005

◆ EmfPlusLineStyleDash

const sal_Int32 emfplushelper::EmfPlusLineStyleDash = 0x00000001

Definition at line 38 of file emfppen.hxx.

Referenced by emfplushelper::EMFPPen::GetStrokeAttribute().

◆ EmfPlusLineStyleDashDot

const sal_Int32 emfplushelper::EmfPlusLineStyleDashDot = 0x00000003

Definition at line 40 of file emfppen.hxx.

Referenced by emfplushelper::EMFPPen::GetStrokeAttribute().

◆ EmfPlusLineStyleDashDotDot

const sal_Int32 emfplushelper::EmfPlusLineStyleDashDotDot = 0x00000004

Definition at line 41 of file emfppen.hxx.

Referenced by emfplushelper::EMFPPen::GetStrokeAttribute().

◆ EmfPlusLineStyleDot

const sal_Int32 emfplushelper::EmfPlusLineStyleDot = 0x00000002

Definition at line 39 of file emfppen.hxx.

Referenced by emfplushelper::EMFPPen::GetStrokeAttribute().

◆ EmfPlusLineStyleSolid

const sal_Int32 emfplushelper::EmfPlusLineStyleSolid = 0x00000000

Definition at line 37 of file emfppen.hxx.

◆ EmfPlusPenDataAlignment

const sal_uInt32 emfplushelper::EmfPlusPenDataAlignment = 0x00000200

Definition at line 53 of file emfppen.hxx.

Referenced by PenDataFlagsToString(), and emfplushelper::EMFPPen::Read().

◆ EmfPlusPenDataCompoundLine

const sal_uInt32 emfplushelper::EmfPlusPenDataCompoundLine = 0x00000400

Definition at line 54 of file emfppen.hxx.

Referenced by PenDataFlagsToString(), and emfplushelper::EMFPPen::Read().

◆ EmfPlusPenDataCustomEndCap

const sal_uInt32 emfplushelper::EmfPlusPenDataCustomEndCap = 0x000001000

◆ EmfPlusPenDataCustomStartCap

const sal_uInt32 emfplushelper::EmfPlusPenDataCustomStartCap = 0x00000800

◆ EmfPlusPenDataDashedLine

const sal_uInt32 emfplushelper::EmfPlusPenDataDashedLine = 0x00000100

◆ EmfPlusPenDataDashedLineCap

const sal_uInt32 emfplushelper::EmfPlusPenDataDashedLineCap = 0x00000040

Definition at line 50 of file emfppen.hxx.

Referenced by PenDataFlagsToString(), and emfplushelper::EMFPPen::Read().

◆ EmfPlusPenDataDashedLineOffset

const sal_uInt32 emfplushelper::EmfPlusPenDataDashedLineOffset = 0x00000080

Definition at line 51 of file emfppen.hxx.

Referenced by PenDataFlagsToString(), and emfplushelper::EMFPPen::Read().

◆ EmfPlusPenDataEndCap

const sal_uInt32 emfplushelper::EmfPlusPenDataEndCap = 0x00000004

◆ EmfPlusPenDataJoin

const sal_uInt32 emfplushelper::EmfPlusPenDataJoin = 0x00000008

Definition at line 47 of file emfppen.hxx.

Referenced by PenDataFlagsToString(), and emfplushelper::EMFPPen::Read().

◆ EmfPlusPenDataLineStyle

const sal_uInt32 emfplushelper::EmfPlusPenDataLineStyle = 0x00000020

◆ EmfPlusPenDataMiterLimit

const sal_uInt32 emfplushelper::EmfPlusPenDataMiterLimit = 0x00000010

Definition at line 48 of file emfppen.hxx.

Referenced by PenDataFlagsToString(), and emfplushelper::EMFPPen::Read().

◆ EmfPlusPenDataStartCap

const sal_uInt32 emfplushelper::EmfPlusPenDataStartCap = 0x00000002

◆ EmfPlusPenDataTransform

const sal_uInt32 emfplushelper::EmfPlusPenDataTransform = 0x00000001

Definition at line 44 of file emfppen.hxx.

Referenced by PenDataFlagsToString(), and emfplushelper::EMFPPen::Read().

◆ EmpPlusBitmapClamp

const sal_uInt32 emfplushelper::EmpPlusBitmapClamp = 0x00000001

Definition at line 17 of file emfpimageattributes.hxx.

Referenced by emfplushelper::EMFPImageAttributes::Read().

◆ EmpPlusRectClamp

const sal_uInt32 emfplushelper::EmpPlusRectClamp = 0x00000000

Definition at line 16 of file emfpimageattributes.hxx.

Referenced by emfplushelper::EMFPImageAttributes::Read().

◆ FontStyleBold

const sal_uInt32 emfplushelper::FontStyleBold = 0x00000001

Definition at line 26 of file emfpfont.hxx.

Referenced by emfplushelper::EMFPFont::Bold(), and FontStyleToString().

◆ FontStyleItalic

const sal_uInt32 emfplushelper::FontStyleItalic = 0x00000002

Definition at line 27 of file emfpfont.hxx.

Referenced by FontStyleToString(), and emfplushelper::EMFPFont::Italic().

◆ FontStyleStrikeout

const sal_uInt32 emfplushelper::FontStyleStrikeout = 0x00000008

Definition at line 29 of file emfpfont.hxx.

Referenced by FontStyleToString(), and emfplushelper::EMFPFont::Strikeout().

◆ FontStyleUnderline

const sal_uInt32 emfplushelper::FontStyleUnderline = 0x00000004

Definition at line 28 of file emfpfont.hxx.

Referenced by FontStyleToString(), and emfplushelper::EMFPFont::Underline().

◆ nDetails

constexpr sal_uInt32 emfplushelper::nDetails = 8
constexpr

◆ StringFormatBypassGDI

const sal_uInt32 emfplushelper::StringFormatBypassGDI = 0x80000000

Definition at line 35 of file emfpstringformat.hxx.

Referenced by StringFormatFlags().

◆ StringFormatDirectionRightToLeft

const sal_uInt32 emfplushelper::StringFormatDirectionRightToLeft = 0x00000001

Definition at line 26 of file emfpstringformat.hxx.

Referenced by StringFormatFlags().

◆ StringFormatDirectionVertical

const sal_uInt32 emfplushelper::StringFormatDirectionVertical = 0x00000002

Definition at line 27 of file emfpstringformat.hxx.

Referenced by StringFormatFlags().

◆ StringFormatDisplayFormatControl

const sal_uInt32 emfplushelper::StringFormatDisplayFormatControl = 0x00000020

Definition at line 29 of file emfpstringformat.hxx.

Referenced by StringFormatFlags().

◆ StringFormatLineLimit

const sal_uInt32 emfplushelper::StringFormatLineLimit = 0x00002000

Definition at line 33 of file emfpstringformat.hxx.

Referenced by StringFormatFlags().

◆ StringFormatMeasureTrailingSpaces

const sal_uInt32 emfplushelper::StringFormatMeasureTrailingSpaces = 0x00000800

Definition at line 31 of file emfpstringformat.hxx.

Referenced by StringFormatFlags().

◆ StringFormatNoClip

const sal_uInt32 emfplushelper::StringFormatNoClip = 0x00004000

Definition at line 34 of file emfpstringformat.hxx.

Referenced by StringFormatFlags().

◆ StringFormatNoFitBlackBox

const sal_uInt32 emfplushelper::StringFormatNoFitBlackBox = 0x00000004

Definition at line 28 of file emfpstringformat.hxx.

Referenced by StringFormatFlags().

◆ StringFormatNoFontFallback

const sal_uInt32 emfplushelper::StringFormatNoFontFallback = 0x00000400

Definition at line 30 of file emfpstringformat.hxx.

Referenced by StringFormatFlags().

◆ StringFormatNoWrap

const sal_uInt32 emfplushelper::StringFormatNoWrap = 0x00001000

Definition at line 32 of file emfpstringformat.hxx.

Referenced by StringFormatFlags().