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 499 of file mtfxmldump.cxx.

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

MetafileXmlDump::~MetafileXmlDump ( )

Definition at line 504 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 517 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 507 of file mtfxmldump.cxx.

References maFilter.

void MetafileXmlDump::filterAllActionTypes ( )

Definition at line 512 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 529 of file mtfxmldump.cxx.

References aIndex, 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(), BitmapEx::GetChecksum(), vcl::Font::GetColor(), MetaLineColorAction::GetColor(), MetaFillColorAction::GetColor(), MetaCommentAction::GetComment(), MetaCommentAction::GetDataSize(), MetaLineAction::GetEndPoint(), vcl::Font::GetFamilyName(), vcl::Font::GetFillColor(), tools::Polygon::GetFlags(), vcl::Font::GetFontSize(), MetaGradientAction::GetGradient(), MetaLineAction::GetLineInfo(), MapMode::GetMapUnit(), vcl::Font::GetOrientation(), MapMode::GetOrigin(), MetaTransparentAction::GetPolyPolygon(), MetaRectAction::GetRect(), MetaGradientAction::GetRect(), MapMode::GetScaleX(), MapMode::GetScaleY(), tools::Polygon::GetSize(), BitmapEx::GetSizePixel(), MetaLineAction::GetStartPoint(), vcl::Font::GetStyleName(), MetaTransparentAction::GetTransparence(), BitmapEx::GetTransparentType(), MetaAction::GetType(), vcl::Font::GetWeight(), GRADIENT, tools::Polygon::HasFlags(), HATCH, Size::Height(), i, ISECTRECTCLIPREGION, ISECTREGIONCLIPREGION, vcl::Font::IsVertical(), 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: