LibreOffice Module vcl (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
MetafileXmlDump Class Referencefinal

#include <mtfxmldump.hxx>

Collaboration diagram for MetafileXmlDump:
[legend]

Public Member Functions

 MetafileXmlDump ()
 
 ~MetafileXmlDump ()
 
void filterActionType (const MetaActionType nActionType, bool bShouldFilter)
 
void filterAllActionTypes ()
 
void dump (const GDIMetaFile &rMetaFile, SvStream &rStream)
 The actual result that will be used for testing. More...
 

Private Member Functions

void writeXml (const GDIMetaFile &rMetaFile, tools::XmlWriter &rWriter)
 

Private Attributes

o3tl::enumarray< MetaActionType, bool > maFilter
 

Detailed Description

Definition at line 24 of file mtfxmldump.hxx.

Constructor & Destructor Documentation

MetafileXmlDump::MetafileXmlDump ( )

Definition at line 498 of file mtfxmldump.cxx.

References o3tl::enumarray< class, class >::fill(), and maFilter.

MetafileXmlDump::~MetafileXmlDump ( )

Definition at line 503 of file mtfxmldump.cxx.

Member Function Documentation

void MetafileXmlDump::dump ( const GDIMetaFile rMetaFile,
SvStream rStream 
)

The actual result that will be used for testing.

Definition at line 516 of file mtfxmldump.cxx.

References tools::XmlWriter::endDocument(), tools::XmlWriter::endElement(), tools::XmlWriter::startDocument(), tools::XmlWriter::startElement(), and writeXml().

Referenced by GDIMetaFile::dumpAsXml().

void MetafileXmlDump::filterActionType ( const MetaActionType  nActionType,
bool  bShouldFilter 
)

Definition at line 506 of file mtfxmldump.cxx.

References maFilter.

void MetafileXmlDump::filterAllActionTypes ( )

Definition at line 511 of file mtfxmldump.cxx.

References o3tl::enumarray< class, class >::fill(), and maFilter.

void MetafileXmlDump::writeXml ( const GDIMetaFile rMetaFile,
tools::XmlWriter rWriter 
)
private

Definition at line 528 of file mtfxmldump.cxx.

References ARC, tools::XmlWriter::attribute(), BMP, BMPEX, BMPEXSCALE, BMPEXSCALEPART, BMPSCALE, BMPSCALEPART, CHORD, CLIPREGION, COMMENT, tools::XmlWriter::content(), ELLIPSE, tools::XmlWriter::endElement(), FILLCOLOR, FONT, GDIMetaFile::GetAction(), GDIMetaFile::GetActionSize(), Bitmap::GetBitCount(), BitmapEx::GetBitmap(), vcl::Region::GetBoundRect(), BitmapEx::GetChecksum(), vcl::Font::GetColor(), MetaLineColorAction::GetColor(), MetaFillColorAction::GetColor(), MetaTextColorAction::GetColor(), MetaTextFillColorAction::GetColor(), MetaTextLineColorAction::GetColor(), MetaCommentAction::GetComment(), MetaCommentAction::GetDataSize(), MetaTextArrayAction::GetDXArray(), MetaLineAction::GetEndPoint(), vcl::Font::GetFamilyName(), vcl::Font::GetFillColor(), tools::Polygon::GetFlags(), MetaPushAction::GetFlags(), MetaFontAction::GetFont(), vcl::Font::GetFontSize(), MetaGradientAction::GetGradient(), MetaTextArrayAction::GetIndex(), MetaTextArrayAction::GetLen(), MetaLineAction::GetLineInfo(), MetaPolyLineAction::GetLineInfo(), MetaMapModeAction::GetMapMode(), MapMode::GetMapUnit(), vcl::Font::GetOrientation(), MapMode::GetOrigin(), MetaTextArrayAction::GetPoint(), MetaPolyLineAction::GetPolygon(), MetaPolygonAction::GetPolygon(), MetaPolyPolygonAction::GetPolyPolygon(), MetaTransparentAction::GetPolyPolygon(), MetaRasterOpAction::GetRasterOp(), MetaRectAction::GetRect(), MetaGradientAction::GetRect(), MetaISectRectClipRegionAction::GetRect(), MetaISectRegionClipRegionAction::GetRegion(), MapMode::GetScaleX(), MapMode::GetScaleY(), tools::Polygon::GetSize(), BitmapEx::GetSizePixel(), MetaLineAction::GetStartPoint(), vcl::Font::GetStyleName(), MetaTextArrayAction::GetText(), MetaTextAlignAction::GetTextAlign(), MetaTransparentAction::GetTransparence(), BitmapEx::GetTransparentType(), MetaAction::GetType(), vcl::Font::GetWeight(), GRADIENT, tools::Polygon::HasFlags(), HATCH, Size::Height(), i, ISECTRECTCLIPREGION, ISECTREGIONCLIPREGION, MetaTextFillColorAction::IsSetting(), LINE, LINECOLOR, maFilter, MAPMODE, MASK, MASKSCALE, MASKSCALEPART, NONE, OVERLINECOLOR, OverPaint, PIE, PIXEL, POINT, POLYGON, POLYLINE, POLYPOLYGON, POP, PUSH, RASTEROP, RECT, ROUNDRECT, tools::XmlWriter::startElement(), STRETCHTEXT, TEXT, TEXTALIGN, TEXTARRAY, TEXTCOLOR, TEXTFILLCOLOR, TEXTLINE, TEXTLINECOLOR, TEXTRECT, Transparent, WALLPAPER, and Size::Width().

Referenced by dump().

Member Data Documentation

o3tl::enumarray<MetaActionType, bool> MetafileXmlDump::maFilter
private

Definition at line 26 of file mtfxmldump.hxx.

Referenced by filterActionType(), filterAllActionTypes(), MetafileXmlDump(), and writeXml().


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