LibreOffice Module filter (master) 1
Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | List of all members
CGMElements Class Reference

#include <elements.hxx>

Collaboration diagram for CGMElements:
[legend]

Public Member Functions

 CGMElements ()
 
 ~CGMElements ()
 
CGMElements & operator= (const CGMElements &)
 
void Init ()
 

Static Public Member Functions

static Bundle * GetBundleIndex (tools::Long nIndex, BundleList &, Bundle &)
 
static Bundle * GetBundle (BundleList &rList, tools::Long nIndex)
 
static Bundle * InsertBundle (BundleList &, Bundle &)
 
static void CopyAllBundles (const BundleList &Source, BundleList &Dest)
 

Public Attributes

tools::Long nMetaFileVersion
 
sal_uInt32 nIntegerPrecision
 
sal_uInt32 nIndexPrecision
 
RealPrecision eRealPrecision
 
sal_uInt32 nRealSize
 
sal_uInt32 nColorPrecision
 
sal_uInt32 nColorIndexPrecision
 
ScalingMode eScalingMode
 
double nScalingFactor
 
VDCType eVDCType
 
sal_uInt32 nVDCIntegerPrecision
 
RealPrecision eVDCRealPrecision
 
sal_uInt32 nVDCRealSize
 
FloatRect aVDCExtent
 
FloatRect aVDCExtentMaximum
 
DeviceViewPortMode eDeviceViewPortMode
 
double nDeviceViewPortScale
 
DeviceViewPortMap eDeviceViewPortMap
 
DeviceViewPortMapH eDeviceViewPortMapH
 
DeviceViewPortMapV eDeviceViewPortMapV
 
FloatRect aDeviceViewPort
 
double nMitreLimit
 
ClipIndicator eClipIndicator
 
FloatRect aClipRect
 
ColorSelectionMode eColorSelectionMode
 
sal_uInt32 nColorMaximumIndex
 
sal_uInt32 nLatestColorMaximumIndex
 
sal_Int8 aColorTableEntryIs [256]
 
sal_uInt32 aColorTable [256]
 
sal_uInt32 aLatestColorTable [256]
 
sal_uInt32 nColorValueExtent [8]
 
sal_uInt32 nAspectSourceFlags
 
LineBundle * pLineBundle
 
LineBundle aLineBundle
 
BundleList aLineList
 
SpecMode eLineWidthSpecMode
 
LineCapType eLineCapType
 
LineJoinType eLineJoinType
 
MarkerBundle * pMarkerBundle
 
MarkerBundle aMarkerBundle
 
BundleList aMarkerList
 
SpecMode eMarkerSizeSpecMode
 
EdgeBundle * pEdgeBundle
 
EdgeBundle aEdgeBundle
 
BundleList aEdgeList
 
EdgeVisibility eEdgeVisibility
 
SpecMode eEdgeWidthSpecMode
 
TextBundle * pTextBundle
 
TextBundle aTextBundle
 
BundleList aTextList
 
double nCharacterHeight
 
double nCharacterOrientation [4]
 
UnderlineMode eUnderlineMode
 
sal_uInt32 nUnderlineColor
 
TextPath eTextPath
 
TextAlignmentH eTextAlignmentH
 
TextAlignmentV eTextAlignmentV
 
double nTextAlignmentHCont
 
double nTextAlignmentVCont
 
tools::Long nCharacterSetIndex
 
tools::Long nAlternateCharacterSetIndex
 
CharacterCodingA eCharacterCodingA
 
CGMFList aFontList
 
FillBundle * pFillBundle
 
FillBundle aFillBundle
 
BundleList aFillList
 
FloatPoint aFillRefPoint
 
::std::map< sal_uInt32, HatchEntry > maHatchMap
 
Transparency eTransparency
 
sal_uInt32 nAuxiliaryColor
 
bool bSegmentCount
 

Private Member Functions

void ImplInsertHatch (sal_Int32 Key, int Style, tools::Long Distance, tools::Long Angle)
 

Detailed Description

Definition at line 30 of file elements.hxx.

Constructor & Destructor Documentation

◆ CGMElements()

CGMElements::CGMElements ( )
explicit

Definition at line 25 of file elements.cxx.

References Init().

◆ ~CGMElements()

CGMElements::~CGMElements ( )

Definition at line 31 of file elements.cxx.

Member Function Documentation

◆ CopyAllBundles()

void CGMElements::CopyAllBundles ( const BundleList &  Source,
BundleList &  Dest 
)
static

Definition at line 290 of file elements.cxx.

Referenced by operator=().

◆ GetBundle()

Bundle * CGMElements::GetBundle ( BundleList &  rList,
tools::Long  nIndex 
)
static

Definition at line 311 of file elements.cxx.

References gentoken::i, and nIndex.

Referenced by GetBundleIndex(), InsertBundle(), and operator=().

◆ GetBundleIndex()

Bundle * CGMElements::GetBundleIndex ( tools::Long  nIndex,
BundleList &  rList,
Bundle &  rBundle 
)
static

Definition at line 301 of file elements.cxx.

References GetBundle(), InsertBundle(), nIndex, and Bundle::SetIndex().

Referenced by CGM::ImplDoClass2(), and CGM::ImplDoClass5().

◆ ImplInsertHatch()

void CGMElements::ImplInsertHatch ( sal_Int32  Key,
int  Style,
tools::Long  Distance,
tools::Long  Angle 
)
private

Definition at line 281 of file elements.cxx.

References HatchEntry::HatchAngle, HatchEntry::HatchDistance, HatchEntry::HatchStyle, and maHatchMap.

Referenced by Init().

◆ Init()

void CGMElements::Init ( void  )

Definition at line 136 of file elements.cxx.

References aClipRect, aColorTable, aColorTableEntryIs, aDeviceViewPort, aEdgeBundle, aEdgeList, aFillBundle, aFillList, aLatestColorTable, aLineBundle, aLineList, aMarkerBundle, aMarkerList, aTextBundle, aTextList, aVDCExtent, aVDCExtentMaximum, FloatRect::Bottom, bSegmentCount, CCA_BASIC_7, CI_ON, CSM_INDEXED, DVPM_FORCED, DVPM_FRACTION, DVPMH_LEFT, DVPMV_BOTTOM, eCharacterCodingA, eClipIndicator, eColorSelectionMode, eDeviceViewPortMap, eDeviceViewPortMapH, eDeviceViewPortMapV, eDeviceViewPortMode, EdgeBundle::eEdgeType, eEdgeVisibility, eEdgeWidthSpecMode, FillBundle::eFillInteriorStyle, eLineCapType, eLineJoinType, LineBundle::eLineType, eLineWidthSpecMode, eMarkerSizeSpecMode, MarkerBundle::eMarkerType, eRealPrecision, eScalingMode, ET_SOLID, eTextAlignmentH, eTextAlignmentV, eTextPath, TextBundle::eTextPrecision, eTransparency, eUnderlineMode, EV_OFF, eVDCRealPrecision, eVDCType, FIS_HOLLOW, gentoken::i, ImplInsertHatch(), InsertBundle(), LCT_NONE, FloatRect::Left, LJT_NONE, LT_SOLID, MT_STAR, nAlternateCharacterSetIndex, nAspectSourceFlags, nAuxiliaryColor, nBackGroundColor, TextBundle::nCharacterExpansion, nCharacterHeight, nCharacterOrientation, nCharacterSetIndex, TextBundle::nCharacterSpacing, nColorIndexPrecision, nColorMaximumIndex, nColorPrecision, nColorValueExtent, nDeviceViewPortScale, EdgeBundle::nEdgeWidth, FillBundle::nFillHatchIndex, FillBundle::nFillPatternIndex, nIndexPrecision, nIntegerPrecision, nLatestColorMaximumIndex, LineBundle::nLineWidth, MarkerBundle::nMarkerSize, nMetaFileVersion, nMitreLimit, nRealSize, nScalingFactor, nTextAlignmentHCont, nTextAlignmentVCont, TextBundle::nTextFontIndex, nUnderlineColor, nVDCIntegerPrecision, nVDCRealSize, pEdgeBundle, pFillBundle, pLineBundle, pMarkerBundle, pTextBundle, FloatRect::Right, RP_FIXED, Bundle::SetColor(), Bundle::SetIndex(), SM_ABSTRACT, SM_SCALED, T_ON, TAH_NORMAL, TAV_NORMAL, FloatRect::Top, TPR_RIGHT, TPR_STRING, UM_OFF, and VDC_INTEGER.

Referenced by CGMElements().

◆ InsertBundle()

Bundle * CGMElements::InsertBundle ( BundleList &  rList,
Bundle &  rBundle 
)
static

Definition at line 322 of file elements.cxx.

References Bundle::Clone(), GetBundle(), and Bundle::GetIndex().

Referenced by GetBundleIndex(), CGM::ImplDoClass2(), and Init().

◆ operator=()

CGMElements & CGMElements::operator= ( const CGMElements &  rSource)

Member Data Documentation

◆ aClipRect

FloatRect CGMElements::aClipRect

Definition at line 63 of file elements.hxx.

Referenced by Init(), and operator=().

◆ aColorTable

sal_uInt32 CGMElements::aColorTable[256]

Definition at line 69 of file elements.hxx.

Referenced by Init(), and operator=().

◆ aColorTableEntryIs

sal_Int8 CGMElements::aColorTableEntryIs[256]

Definition at line 68 of file elements.hxx.

Referenced by Init(), and operator=().

◆ aDeviceViewPort

FloatRect CGMElements::aDeviceViewPort

Definition at line 58 of file elements.hxx.

Referenced by Init(), and operator=().

◆ aEdgeBundle

EdgeBundle CGMElements::aEdgeBundle

Definition at line 90 of file elements.hxx.

Referenced by Init(), and operator=().

◆ aEdgeList

BundleList CGMElements::aEdgeList

Definition at line 91 of file elements.hxx.

Referenced by Init(), and operator=().

◆ aFillBundle

FillBundle CGMElements::aFillBundle

Definition at line 113 of file elements.hxx.

Referenced by Init(), and operator=().

◆ aFillList

BundleList CGMElements::aFillList

Definition at line 114 of file elements.hxx.

Referenced by Init(), and operator=().

◆ aFillRefPoint

FloatPoint CGMElements::aFillRefPoint

Definition at line 115 of file elements.hxx.

Referenced by operator=().

◆ aFontList

CGMFList CGMElements::aFontList

Definition at line 110 of file elements.hxx.

Referenced by operator=().

◆ aLatestColorTable

sal_uInt32 CGMElements::aLatestColorTable[256]

Definition at line 70 of file elements.hxx.

Referenced by Init(), and operator=().

◆ aLineBundle

LineBundle CGMElements::aLineBundle

Definition at line 78 of file elements.hxx.

Referenced by Init(), and operator=().

◆ aLineList

BundleList CGMElements::aLineList

Definition at line 79 of file elements.hxx.

Referenced by Init(), and operator=().

◆ aMarkerBundle

MarkerBundle CGMElements::aMarkerBundle

Definition at line 85 of file elements.hxx.

Referenced by Init(), and operator=().

◆ aMarkerList

BundleList CGMElements::aMarkerList

Definition at line 86 of file elements.hxx.

Referenced by Init(), and operator=().

◆ aTextBundle

TextBundle CGMElements::aTextBundle

Definition at line 96 of file elements.hxx.

Referenced by Init(), and operator=().

◆ aTextList

BundleList CGMElements::aTextList

Definition at line 97 of file elements.hxx.

Referenced by Init(), and operator=().

◆ aVDCExtent

FloatRect CGMElements::aVDCExtent

Definition at line 50 of file elements.hxx.

Referenced by Init(), and operator=().

◆ aVDCExtentMaximum

FloatRect CGMElements::aVDCExtentMaximum

Definition at line 51 of file elements.hxx.

Referenced by Init(), and operator=().

◆ bSegmentCount

bool CGMElements::bSegmentCount

Definition at line 125 of file elements.hxx.

Referenced by Init(), and operator=().

◆ eCharacterCodingA

CharacterCodingA CGMElements::eCharacterCodingA

Definition at line 109 of file elements.hxx.

Referenced by Init(), and operator=().

◆ eClipIndicator

ClipIndicator CGMElements::eClipIndicator

Definition at line 62 of file elements.hxx.

Referenced by Init(), and operator=().

◆ eColorSelectionMode

ColorSelectionMode CGMElements::eColorSelectionMode

Definition at line 65 of file elements.hxx.

Referenced by Init(), and operator=().

◆ eDeviceViewPortMap

DeviceViewPortMap CGMElements::eDeviceViewPortMap

Definition at line 55 of file elements.hxx.

Referenced by Init(), and operator=().

◆ eDeviceViewPortMapH

DeviceViewPortMapH CGMElements::eDeviceViewPortMapH

Definition at line 56 of file elements.hxx.

Referenced by Init(), and operator=().

◆ eDeviceViewPortMapV

DeviceViewPortMapV CGMElements::eDeviceViewPortMapV

Definition at line 57 of file elements.hxx.

Referenced by Init(), and operator=().

◆ eDeviceViewPortMode

DeviceViewPortMode CGMElements::eDeviceViewPortMode

Definition at line 53 of file elements.hxx.

Referenced by Init(), and operator=().

◆ eEdgeVisibility

EdgeVisibility CGMElements::eEdgeVisibility

Definition at line 92 of file elements.hxx.

Referenced by Init(), and operator=().

◆ eEdgeWidthSpecMode

SpecMode CGMElements::eEdgeWidthSpecMode

Definition at line 93 of file elements.hxx.

Referenced by Init(), and operator=().

◆ eLineCapType

LineCapType CGMElements::eLineCapType

Definition at line 81 of file elements.hxx.

Referenced by Init(), and operator=().

◆ eLineJoinType

LineJoinType CGMElements::eLineJoinType

Definition at line 82 of file elements.hxx.

Referenced by Init(), and operator=().

◆ eLineWidthSpecMode

SpecMode CGMElements::eLineWidthSpecMode

Definition at line 80 of file elements.hxx.

Referenced by Init(), and operator=().

◆ eMarkerSizeSpecMode

SpecMode CGMElements::eMarkerSizeSpecMode

Definition at line 87 of file elements.hxx.

Referenced by Init(), and operator=().

◆ eRealPrecision

RealPrecision CGMElements::eRealPrecision

Definition at line 38 of file elements.hxx.

Referenced by Init(), and operator=().

◆ eScalingMode

ScalingMode CGMElements::eScalingMode

Definition at line 43 of file elements.hxx.

Referenced by Init(), and operator=().

◆ eTextAlignmentH

TextAlignmentH CGMElements::eTextAlignmentH

Definition at line 103 of file elements.hxx.

Referenced by Init(), and operator=().

◆ eTextAlignmentV

TextAlignmentV CGMElements::eTextAlignmentV

Definition at line 104 of file elements.hxx.

Referenced by Init(), and operator=().

◆ eTextPath

TextPath CGMElements::eTextPath

Definition at line 102 of file elements.hxx.

Referenced by Init(), and operator=().

◆ eTransparency

Transparency CGMElements::eTransparency

Definition at line 119 of file elements.hxx.

Referenced by Init(), and operator=().

◆ eUnderlineMode

UnderlineMode CGMElements::eUnderlineMode

Definition at line 100 of file elements.hxx.

Referenced by Init(), and operator=().

◆ eVDCRealPrecision

RealPrecision CGMElements::eVDCRealPrecision

Definition at line 48 of file elements.hxx.

Referenced by Init(), and operator=().

◆ eVDCType

VDCType CGMElements::eVDCType

Definition at line 46 of file elements.hxx.

Referenced by Init(), and operator=().

◆ maHatchMap

::std::map<sal_uInt32, HatchEntry> CGMElements::maHatchMap

Definition at line 117 of file elements.hxx.

Referenced by ImplInsertHatch(), and operator=().

◆ nAlternateCharacterSetIndex

tools::Long CGMElements::nAlternateCharacterSetIndex

Definition at line 108 of file elements.hxx.

Referenced by Init(), and operator=().

◆ nAspectSourceFlags

sal_uInt32 CGMElements::nAspectSourceFlags

Definition at line 74 of file elements.hxx.

Referenced by Init(), and operator=().

◆ nAuxiliaryColor

sal_uInt32 CGMElements::nAuxiliaryColor

Definition at line 121 of file elements.hxx.

Referenced by Init(), and operator=().

◆ nCharacterHeight

double CGMElements::nCharacterHeight

Definition at line 98 of file elements.hxx.

Referenced by Init(), and operator=().

◆ nCharacterOrientation

double CGMElements::nCharacterOrientation[4]

Definition at line 99 of file elements.hxx.

Referenced by Init(), and operator=().

◆ nCharacterSetIndex

tools::Long CGMElements::nCharacterSetIndex

Definition at line 107 of file elements.hxx.

Referenced by Init(), and operator=().

◆ nColorIndexPrecision

sal_uInt32 CGMElements::nColorIndexPrecision

Definition at line 41 of file elements.hxx.

Referenced by Init(), and operator=().

◆ nColorMaximumIndex

sal_uInt32 CGMElements::nColorMaximumIndex

Definition at line 66 of file elements.hxx.

Referenced by Init(), and operator=().

◆ nColorPrecision

sal_uInt32 CGMElements::nColorPrecision

Definition at line 40 of file elements.hxx.

Referenced by Init(), and operator=().

◆ nColorValueExtent

sal_uInt32 CGMElements::nColorValueExtent[8]

Definition at line 71 of file elements.hxx.

Referenced by Init(), and operator=().

◆ nDeviceViewPortScale

double CGMElements::nDeviceViewPortScale

Definition at line 54 of file elements.hxx.

Referenced by Init(), and operator=().

◆ nIndexPrecision

sal_uInt32 CGMElements::nIndexPrecision

Definition at line 37 of file elements.hxx.

Referenced by Init(), and operator=().

◆ nIntegerPrecision

sal_uInt32 CGMElements::nIntegerPrecision

Definition at line 36 of file elements.hxx.

Referenced by Init(), and operator=().

◆ nLatestColorMaximumIndex

sal_uInt32 CGMElements::nLatestColorMaximumIndex

Definition at line 67 of file elements.hxx.

Referenced by Init(), and operator=().

◆ nMetaFileVersion

tools::Long CGMElements::nMetaFileVersion

Definition at line 34 of file elements.hxx.

Referenced by Init(), and operator=().

◆ nMitreLimit

double CGMElements::nMitreLimit

Definition at line 60 of file elements.hxx.

Referenced by Init(), and operator=().

◆ nRealSize

sal_uInt32 CGMElements::nRealSize

Definition at line 39 of file elements.hxx.

Referenced by Init(), and operator=().

◆ nScalingFactor

double CGMElements::nScalingFactor

Definition at line 44 of file elements.hxx.

Referenced by Init(), and operator=().

◆ nTextAlignmentHCont

double CGMElements::nTextAlignmentHCont

Definition at line 105 of file elements.hxx.

Referenced by Init(), and operator=().

◆ nTextAlignmentVCont

double CGMElements::nTextAlignmentVCont

Definition at line 106 of file elements.hxx.

Referenced by Init(), and operator=().

◆ nUnderlineColor

sal_uInt32 CGMElements::nUnderlineColor

Definition at line 101 of file elements.hxx.

Referenced by Init(), and operator=().

◆ nVDCIntegerPrecision

sal_uInt32 CGMElements::nVDCIntegerPrecision

Definition at line 47 of file elements.hxx.

Referenced by Init(), and operator=().

◆ nVDCRealSize

sal_uInt32 CGMElements::nVDCRealSize

Definition at line 49 of file elements.hxx.

Referenced by Init(), and operator=().

◆ pEdgeBundle

EdgeBundle* CGMElements::pEdgeBundle

Definition at line 89 of file elements.hxx.

Referenced by Init(), and operator=().

◆ pFillBundle

FillBundle* CGMElements::pFillBundle

Definition at line 112 of file elements.hxx.

Referenced by Init(), and operator=().

◆ pLineBundle

LineBundle* CGMElements::pLineBundle

Definition at line 77 of file elements.hxx.

Referenced by Init(), and operator=().

◆ pMarkerBundle

MarkerBundle* CGMElements::pMarkerBundle

Definition at line 84 of file elements.hxx.

Referenced by Init(), and operator=().

◆ pTextBundle

TextBundle* CGMElements::pTextBundle

Definition at line 95 of file elements.hxx.

Referenced by Init(), and operator=().


The documentation for this class was generated from the following files: