summaryrefslogtreecommitdiff
path: root/filter/source/graphicfilter/icgm/elements.hxx
diff options
context:
space:
mode:
authorJoseph Powers <jpowers27@cox.net>2011-06-10 23:01:24 -0700
committerJoseph Powers <jpowers27@cox.net>2011-06-10 23:01:24 -0700
commit6e3bb904a2043238386abbb5bdf1f98645cdb532 (patch)
tree56faaa104391e457364a367ca962f09fab8d5d07 /filter/source/graphicfilter/icgm/elements.hxx
parent035060b7eb7a304612bcbcbbc42d62bab0feeddf (diff)
Replace List with vector< BUndle* >
Diffstat (limited to 'filter/source/graphicfilter/icgm/elements.hxx')
-rw-r--r--filter/source/graphicfilter/icgm/elements.hxx23
1 files changed, 13 insertions, 10 deletions
diff --git a/filter/source/graphicfilter/icgm/elements.hxx b/filter/source/graphicfilter/icgm/elements.hxx
index 4ff41008da7a..c378ac5abe92 100644
--- a/filter/source/graphicfilter/icgm/elements.hxx
+++ b/filter/source/graphicfilter/icgm/elements.hxx
@@ -30,9 +30,12 @@
#include "main.hxx"
#include <tools/table.hxx>
+#include <vector>
#define nBackGroundColor aColorTable[ 0 ]
+typedef ::std::vector< Bundle* > BundleList;
+
class CGMElements
{
void ImplInsertHatch( sal_Int32 Key, int Style, long Distance, long Angle );
@@ -84,25 +87,25 @@ class CGMElements
LineBundle* pLineBundle; // Pointer to the current LineBundleIndex
LineBundle aLineBundle;
- List aLineList;
+ BundleList aLineList;
SpecMode eLineWidthSpecMode;
LineCapType eLineCapType;
LineJoinType eLineJoinType;
MarkerBundle* pMarkerBundle; // Pointer to the current MarkerBundleIndex
MarkerBundle aMarkerBundle;
- List aMarkerList;
+ BundleList aMarkerList;
SpecMode eMarkerSizeSpecMode;
EdgeBundle* pEdgeBundle; // Pointer to the current EdgeBundleIndex
EdgeBundle aEdgeBundle;
- List aEdgeList;
+ BundleList aEdgeList;
EdgeVisibility eEdgeVisibility;
SpecMode eEdgeWidthSpecMode;
TextBundle* pTextBundle; // Pointer to the current TextBundleIndex
TextBundle aTextBundle;
- List aTextList;
+ BundleList aTextList;
double nCharacterHeight;
double nCharacterOrientation[ 4 ];
UnderlineMode eUnderlineMode;
@@ -119,7 +122,7 @@ class CGMElements
FillBundle* pFillBundle; // Pointer to the current EdgeBundleIndex
FillBundle aFillBundle;
- List aFillList;
+ BundleList aFillList;
FloatPoint aFillRefPoint;
Table aHatchTable;
@@ -135,11 +138,11 @@ class CGMElements
CGMElements& operator=( CGMElements& );
void Init();
void DeleteTable( Table& );
- Bundle* GetBundleIndex( sal_uInt32 nIndex, List&, Bundle& );
- Bundle* GetBundle( List& rList, long nIndex );
- Bundle* InsertBundle( List&, Bundle& );
- void DeleteAllBundles( List& );
- void CopyAllBundles( List& Source, List& Dest );
+ Bundle* GetBundleIndex( long nIndex, BundleList&, Bundle& );
+ Bundle* GetBundle( BundleList& rList, long nIndex );
+ Bundle* InsertBundle( BundleList&, Bundle& );
+ void DeleteAllBundles( BundleList& );
+ void CopyAllBundles( BundleList& Source, BundleList& Dest );
};
#endif