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

#include <wmfwr.hxx>

Collaboration diagram for WMFWriter:
[legend]

Public Member Functions

 WMFWriter ()
 
bool WriteWMF (const GDIMetaFile &rMTF, SvStream &rTargetStream, FilterConfigItem const *pFilterConfigItem, bool bPlaceable)
 

Private Member Functions

void MayCallback ()
 
void CountActionsAndBitmaps (const GDIMetaFile &rMTF)
 
void WritePointXY (const Point &rPoint)
 
void WritePointYX (const Point &rPoint)
 
sal_Int32 ScaleWidth (sal_Int32 nDX)
 
void WriteSize (const Size &rSize)
 
void WriteHeightWidth (const Size &rSize)
 
void WriteRectangle (const tools::Rectangle &rRect)
 
void WriteColor (const Color &rColor)
 
void WriteRecordHeader (sal_uInt32 nSizeWords, sal_uInt16 nType)
 
void UpdateRecordHeader ()
 
void WMFRecord_Arc (const tools::Rectangle &rRect, const Point &rStartPt, const Point &rEndPt)
 
void WMFRecord_Chord (const tools::Rectangle &rRect, const Point &rStartPt, const Point &rEndPt)
 
void WMFRecord_CreateBrushIndirect (const Color &rColor)
 
void WMFRecord_CreateFontIndirect (const vcl::Font &rFont)
 
void WMFRecord_CreatePenIndirect (const Color &rColor, const LineInfo &rLineInfo)
 
void WMFRecord_DeleteObject (sal_uInt16 nObjectHandle)
 
void WMFRecord_Ellipse (const tools::Rectangle &rRect)
 
void WMFRecord_Escape (sal_uInt32 nEsc, sal_uInt32 nLen, const sal_Int8 *pData)
 
bool WMFRecord_Escape_Unicode (const Point &rPoint, const OUString &rStr, const long *pDXAry)
 
void WMFRecord_ExtTextOut (const Point &rPoint, const OUString &rString, const long *pDXAry)
 
void TrueExtTextOut (const Point &rPoint, const OUString &rString, const OString &rByteString, const long *pDXAry)
 
void TrueTextOut (const Point &rPoint, const OString &rString)
 
void WMFRecord_LineTo (const Point &rPoint)
 
void WMFRecord_MoveTo (const Point &rPoint)
 
void WMFRecord_Pie (const tools::Rectangle &rRect, const Point &rStartPt, const Point &rEndPt)
 
void WMFRecord_Polygon (const tools::Polygon &rPoly)
 
void WMFRecord_PolyLine (const tools::Polygon &rPoly)
 
void WMFRecord_PolyPolygon (const tools::PolyPolygon &rPolyPoly)
 
void WMFRecord_Rectangle (const tools::Rectangle &rRect)
 
void WMFRecord_RestoreDC ()
 
void WMFRecord_RoundRect (const tools::Rectangle &rRect, long nHorzRound, long nVertRound)
 
void WMFRecord_SaveDC ()
 
void WMFRecord_SelectObject (sal_uInt16 nObjectHandle)
 
void WMFRecord_SetBkMode (bool bTransparent)
 
void WMFRecord_SetStretchBltMode ()
 
void WMFRecord_SetPixel (const Point &rPoint, const Color &rColor)
 
void WMFRecord_SetROP2 (RasterOp eROP)
 
void WMFRecord_SetTextAlign (FontAlign eFontAlign, sal_uInt16 eHorTextAlign)
 
void WMFRecord_SetTextColor (const Color &rColor)
 
void WMFRecord_SetWindowExt (const Size &rSize)
 
void WMFRecord_SetWindowOrg (const Point &rPoint)
 
void WMFRecord_StretchDIB (const Point &rPoint, const Size &rSize, const Bitmap &rBitmap, sal_uInt32 nROP=0)
 
void WMFRecord_TextOut (const Point &rPoint, const OUString &rString)
 
void WMFRecord_IntersectClipRect (const tools::Rectangle &rRect)
 
sal_uInt16 AllocHandle ()
 
void FreeHandle (sal_uInt16 nObjectHandle)
 
void CreateSelectDeletePen (const Color &rColor, const LineInfo &rLineInfo)
 
void CreateSelectDeleteFont (const vcl::Font &rFont)
 
void CreateSelectDeleteBrush (const Color &rColor)
 
void SetLineAndFillAttr ()
 
void SetAllAttr ()
 
void HandleLineInfoPolyPolygons (const LineInfo &rInfo, const basegfx::B2DPolygon &rLinePolygon)
 
void WriteRecords (const GDIMetaFile &rMTF)
 
void WriteHeader (bool bPlaceable)
 
void UpdateHeader ()
 
void WriteEmbeddedEMF (const GDIMetaFile &rMTF)
 
void WriteEMFRecord (SvMemoryStream &rStream, sal_uInt32 nCurSize, sal_uInt32 nRemainingSize, sal_uInt32 nTotalSize, sal_uInt32 nRecCounts, sal_uInt16 nCheckSum)
 
sal_uInt16 CalcSaveTargetMapMode (MapMode &rMapMode, const Size &rPrefSize)
 

Private Attributes

bool bStatus
 
sal_uLong nLastPercent
 
css::uno::Reference< css::task::XStatusIndicator > xStatusIndicator
 
SvStreampWMF
 
VclPtr< VirtualDevicepVirDev
 
MapMode aTargetMapMode
 
Size aTargetSize
 
sal_uLong nMetafileHeaderPos
 
sal_uInt32 nMaxRecordSize
 
sal_uLong nActRecordPos
 
Color aSrcLineColor
 
Color aSrcFillColor
 
Color aSrcTextColor
 
LineInfo aSrcLineInfo
 
RasterOp eSrcRasterOp
 
FontAlign eSrcTextAlign
 
vcl::Font aSrcFont
 
MapMode aSrcMapMode
 
vcl::Region aSrcClipRegion
 
WMFWriterAttrStackMemberpAttrStack
 
sal_uInt16 eSrcHorTextAlign
 
Color aDstLineColor
 
Color aDstFillColor
 
Color aDstTextColor
 
LineInfo aDstLineInfo
 
RasterOp eDstROP2
 
FontAlign eDstTextAlign
 
vcl::Font aDstFont
 
sal_uInt16 eDstHorTextAlign
 
vcl::Region aDstClipRegion
 
bool bHandleAllocated [MAXOBJECTHANDLES]
 
sal_uInt16 nDstPenHandle
 
sal_uInt16 nDstFontHandle
 
sal_uInt16 nDstBrushHandle
 
sal_uLong nNumberOfActions
 
sal_uLong nNumberOfBitmaps
 
sal_uLong nWrittenActions
 
sal_uLong nWrittenBitmaps
 
sal_uLong nActBitmapPercent
 
bool bEmbedEMF
 

Detailed Description

Definition at line 51 of file wmfwr.hxx.

Constructor & Destructor Documentation

WMFWriter::WMFWriter ( )

Definition at line 137 of file wmfwr.cxx.

References ALIGN_BASELINE, and OverPaint.

Member Function Documentation

sal_uInt16 WMFWriter::AllocHandle ( )
private
sal_uInt16 WMFWriter::CalcSaveTargetMapMode ( MapMode rMapMode,
const Size rPrefSize 
)
private
void WMFWriter::CountActionsAndBitmaps ( const GDIMetaFile rMTF)
private
void WMFWriter::CreateSelectDeleteBrush ( const Color rColor)
private
void WMFWriter::CreateSelectDeleteFont ( const vcl::Font rFont)
private
void WMFWriter::CreateSelectDeletePen ( const Color rColor,
const LineInfo rLineInfo 
)
private
void WMFWriter::FreeHandle ( sal_uInt16  nObjectHandle)
private
void WMFWriter::HandleLineInfoPolyPolygons ( const LineInfo rInfo,
const basegfx::B2DPolygon rLinePolygon 
)
private
void WMFWriter::MayCallback ( )
private
sal_Int32 WMFWriter::ScaleWidth ( sal_Int32  nDX)
private

Definition at line 226 of file wmfwr.cxx.

References aSrcMapMode, aTargetMapMode, OutputDevice::LogicToLogic(), and Size::Width().

Referenced by TrueExtTextOut().

void WMFWriter::SetAllAttr ( )
private
void WMFWriter::SetLineAndFillAttr ( )
private
void WMFWriter::TrueExtTextOut ( const Point rPoint,
const OUString &  rString,
const OString &  rByteString,
const long *  pDXAry 
)
private
void WMFWriter::TrueTextOut ( const Point rPoint,
const OString &  rString 
)
private
void WMFWriter::UpdateHeader ( )
private
void WMFWriter::UpdateRecordHeader ( )
private
void WMFWriter::WMFRecord_Arc ( const tools::Rectangle rRect,
const Point rStartPt,
const Point rEndPt 
)
private

Definition at line 279 of file wmfwr.cxx.

References W_META_ARC, WritePointYX(), WriteRecordHeader(), and WriteRectangle().

Referenced by WriteRecords().

void WMFWriter::WMFRecord_Chord ( const tools::Rectangle rRect,
const Point rStartPt,
const Point rEndPt 
)
private

Definition at line 287 of file wmfwr.cxx.

References W_META_CHORD, WritePointYX(), WriteRecordHeader(), and WriteRectangle().

Referenced by WriteRecords().

void WMFWriter::WMFRecord_CreateBrushIndirect ( const Color rColor)
private
void WMFWriter::WMFRecord_CreateFontIndirect ( const vcl::Font rFont)
private
void WMFWriter::WMFRecord_CreatePenIndirect ( const Color rColor,
const LineInfo rLineInfo 
)
private
void WMFWriter::WMFRecord_DeleteObject ( sal_uInt16  nObjectHandle)
private
void WMFWriter::WMFRecord_Ellipse ( const tools::Rectangle rRect)
private

Definition at line 412 of file wmfwr.cxx.

References W_META_ELLIPSE, WriteRecordHeader(), and WriteRectangle().

Referenced by WriteRecords().

void WMFWriter::WMFRecord_Escape ( sal_uInt32  nEsc,
sal_uInt32  nLen,
const sal_Int8 pData 
)
private
bool WMFWriter::WMFRecord_Escape_Unicode ( const Point rPoint,
const OUString &  rStr,
const long *  pDXAry 
)
private
void WMFWriter::WMFRecord_ExtTextOut ( const Point rPoint,
const OUString &  rString,
const long *  pDXAry 
)
private
void WMFWriter::WMFRecord_IntersectClipRect ( const tools::Rectangle rRect)
private

Definition at line 844 of file wmfwr.cxx.

References W_META_INTERSECTCLIPRECT, WriteRecordHeader(), and WriteRectangle().

Referenced by WriteRecords().

void WMFWriter::WMFRecord_LineTo ( const Point rPoint)
private

Definition at line 599 of file wmfwr.cxx.

References W_META_LINETO, WritePointYX(), and WriteRecordHeader().

Referenced by WriteRecords().

void WMFWriter::WMFRecord_MoveTo ( const Point rPoint)
private

Definition at line 605 of file wmfwr.cxx.

References W_META_MOVETO, WritePointYX(), and WriteRecordHeader().

Referenced by WriteRecords().

void WMFWriter::WMFRecord_Pie ( const tools::Rectangle rRect,
const Point rStartPt,
const Point rEndPt 
)
private

Definition at line 611 of file wmfwr.cxx.

References W_META_PIE, WritePointYX(), WriteRecordHeader(), and WriteRectangle().

Referenced by WriteRecords().

void WMFWriter::WMFRecord_Polygon ( const tools::Polygon rPoly)
private
void WMFWriter::WMFRecord_PolyLine ( const tools::Polygon rPoly)
private
void WMFWriter::WMFRecord_PolyPolygon ( const tools::PolyPolygon rPolyPoly)
private
void WMFWriter::WMFRecord_Rectangle ( const tools::Rectangle rRect)
private

Definition at line 674 of file wmfwr.cxx.

References W_META_RECTANGLE, WriteRecordHeader(), and WriteRectangle().

Referenced by WriteRecords().

void WMFWriter::WMFRecord_RestoreDC ( )
private

Definition at line 680 of file wmfwr.cxx.

References pWMF, W_META_RESTOREDC, SvStream::WriteInt16(), and WriteRecordHeader().

Referenced by WriteRecords().

void WMFWriter::WMFRecord_RoundRect ( const tools::Rectangle rRect,
long  nHorzRound,
long  nVertRound 
)
private

Definition at line 686 of file wmfwr.cxx.

References W_META_ROUNDRECT, WriteHeightWidth(), WriteRecordHeader(), and WriteRectangle().

Referenced by WriteRecords().

void WMFWriter::WMFRecord_SaveDC ( )
private

Definition at line 693 of file wmfwr.cxx.

References W_META_SAVEDC, and WriteRecordHeader().

Referenced by WriteRecords().

void WMFWriter::WMFRecord_SelectObject ( sal_uInt16  nObjectHandle)
private
void WMFWriter::WMFRecord_SetBkMode ( bool  bTransparent)
private

Definition at line 704 of file wmfwr.cxx.

References pWMF, W_META_SETBKMODE, W_OPAQUE, W_TRANSPARENT, WriteRecordHeader(), and SvStream::WriteUInt16().

Referenced by WriteWMF().

void WMFWriter::WMFRecord_SetPixel ( const Point rPoint,
const Color rColor 
)
private

Definition at line 717 of file wmfwr.cxx.

References W_META_SETPIXEL, WriteColor(), WritePointYX(), and WriteRecordHeader().

Referenced by WriteRecords().

void WMFWriter::WMFRecord_SetROP2 ( RasterOp  eROP)
private
void WMFWriter::WMFRecord_SetStretchBltMode ( )
private

Definition at line 711 of file wmfwr.cxx.

References pWMF, W_META_SETSTRETCHBLTMODE, WriteRecordHeader(), and SvStream::WriteUInt16().

Referenced by WriteRecords().

void WMFWriter::WMFRecord_SetTextAlign ( FontAlign  eFontAlign,
sal_uInt16  eHorTextAlign 
)
private
void WMFWriter::WMFRecord_SetTextColor ( const Color rColor)
private

Definition at line 753 of file wmfwr.cxx.

References W_META_SETTEXTCOLOR, WriteColor(), and WriteRecordHeader().

Referenced by SetAllAttr(), and WriteWMF().

void WMFWriter::WMFRecord_SetWindowExt ( const Size rSize)
private

Definition at line 759 of file wmfwr.cxx.

References W_META_SETWINDOWEXT, WriteHeightWidth(), and WriteRecordHeader().

Referenced by WriteWMF().

void WMFWriter::WMFRecord_SetWindowOrg ( const Point rPoint)
private

Definition at line 765 of file wmfwr.cxx.

References W_META_SETWINDOWORG, WritePointYX(), and WriteRecordHeader().

Referenced by WriteWMF().

void WMFWriter::WMFRecord_StretchDIB ( const Point rPoint,
const Size rSize,
const Bitmap rBitmap,
sal_uInt32  nROP = 0 
)
private
void WMFWriter::WMFRecord_TextOut ( const Point rPoint,
const OUString &  rString 
)
private

Definition at line 826 of file wmfwr.cxx.

References aSrcFont, vcl::Font::GetCharSet(), OUStringToOString(), and TrueTextOut().

Referenced by WMFRecord_ExtTextOut(), and WriteRecords().

void WMFWriter::WriteColor ( const Color rColor)
private
void WMFWriter::WriteEmbeddedEMF ( const GDIMetaFile rMTF)
private
void WMFWriter::WriteEMFRecord ( SvMemoryStream rStream,
sal_uInt32  nCurSize,
sal_uInt32  nRemainingSize,
sal_uInt32  nTotalSize,
sal_uInt32  nRecCounts,
sal_uInt16  nCheckSum 
)
private
void WMFWriter::WriteHeader ( bool  bPlaceable)
private
void WMFWriter::WriteHeightWidth ( const Size rSize)
private
void WMFWriter::WritePointXY ( const Point rPoint)
private
void WMFWriter::WritePointYX ( const Point rPoint)
private
void WMFWriter::WriteRecordHeader ( sal_uInt32  nSizeWords,
sal_uInt16  nType 
)
private
void WMFWriter::WriteRecords ( const GDIMetaFile rMTF)
private

Definition at line 1006 of file wmfwr.cxx.

References WMFWriterAttrStackMember::aClipRegion, OutputDevice::AddGradientActions(), OutputDevice::AddHatchActions(), aDstClipRegion, aDstFillColor, aDstFont, aDstLineColor, aDstLineInfo, aDstTextColor, WMFWriterAttrStackMember::aFillColor, WMFWriterAttrStackMember::aFont, ALIGN_BASELINE, WMFWriterAttrStackMember::aLineColor, WMFWriterAttrStackMember::aLineInfo, WMFWriterAttrStackMember::aMapMode, basegfx::B2DPolygon::append(), ARC, aSrcClipRegion, aSrcFillColor, aSrcFont, aSrcLineColor, aSrcLineInfo, aSrcMapMode, aSrcTextColor, WMFWriterAttrStackMember::aTextColor, BiDiRtl, BMP, BMPEX, BMPEXSCALE, BMPEXSCALEPART, BMPSCALE, BMPSCALEPART, bStatus, CHORD, CLIPREGION, COL_TRANSPARENT(), COL_WHITE(), COMMENT, BitmapEx::Crop(), Default, eDstROP2, eDstTextAlign, ELLIPSE, EPS, WMFWriterAttrStackMember::eRasterOp, eSrcHorTextAlign, eSrcRasterOp, eSrcTextAlign, WMFWriterAttrStackMember::eTextAlign, FILLCOLOR, FLOATTRANSPARENT, FONT, FRound(), GDIMetaFile::GetAction(), GDIMetaFile::GetActionSize(), vcl::Font::GetAlignment(), tools::Polygon::getB2DPolygon(), BitmapEx::GetBitmap(), MetaBmpAction::GetBitmap(), MetaBmpScaleAction::GetBitmap(), MetaBmpScalePartAction::GetBitmap(), MetaBmpExAction::GetBitmapEx(), MetaBmpExScaleAction::GetBitmapEx(), MetaBmpExScalePartAction::GetBitmapEx(), vcl::Font::GetCharSet(), Wallpaper::GetColor(), vcl::Font::GetColor(), MetaPixelAction::GetColor(), MetaLineColorAction::GetColor(), MetaFillColorAction::GetColor(), MetaTextColorAction::GetColor(), MetaTextFillColorAction::GetColor(), Fraction::GetDenominator(), MetaBmpScalePartAction::GetDestPoint(), MetaBmpExScalePartAction::GetDestPoint(), MetaBmpScalePartAction::GetDestSize(), MetaBmpExScalePartAction::GetDestSize(), MetaTextArrayAction::GetDXArray(), MetaLineAction::GetEndPoint(), MetaArcAction::GetEndPoint(), MetaPieAction::GetEndPoint(), MetaChordAction::GetEndPoint(), SvStream::GetError(), MetaPushAction::GetFlags(), MetaFontAction::GetFont(), MetaFloatTransparentAction::GetGDIMetaFile(), MetaGradientAction::GetGradient(), MetaHatchAction::GetHatch(), MetaRoundRectAction::GetHorzRound(), MetaTextAction::GetIndex(), MetaTextArrayAction::GetIndex(), MetaStretchTextAction::GetIndex(), MetaTextAction::GetLen(), MetaTextArrayAction::GetLen(), MetaStretchTextAction::GetLen(), MetaLineAction::GetLineInfo(), MetaPolyLineAction::GetLineInfo(), MetaMapModeAction::GetMapMode(), MapMode::GetMapUnit(), BitmapEx::GetMask(), Fraction::GetNumerator(), MapMode::GetOrigin(), MetaPixelAction::GetPoint(), MetaPointAction::GetPoint(), MetaTextAction::GetPoint(), MetaTextArrayAction::GetPoint(), MetaStretchTextAction::GetPoint(), MetaBmpAction::GetPoint(), MetaBmpScaleAction::GetPoint(), MetaBmpExAction::GetPoint(), MetaBmpExScaleAction::GetPoint(), MetaFloatTransparentAction::GetPoint(), MetaEPSAction::GetPoint(), MetaPolyLineAction::GetPolygon(), MetaPolygonAction::GetPolygon(), MetaPolyPolygonAction::GetPolyPolygon(), MetaHatchAction::GetPolyPolygon(), MetaRasterOpAction::GetRasterOp(), MetaRectAction::GetRect(), MetaRoundRectAction::GetRect(), MetaEllipseAction::GetRect(), MetaArcAction::GetRect(), MetaPieAction::GetRect(), MetaChordAction::GetRect(), MetaTextRectAction::GetRect(), MetaGradientAction::GetRect(), MetaWallpaperAction::GetRect(), MetaISectRectClipRegionAction::GetRect(), MapMode::GetScaleX(), MapMode::GetScaleY(), tools::Polygon::GetSize(), MetaBmpScaleAction::GetSize(), MetaBmpExScaleAction::GetSize(), MetaFloatTransparentAction::GetSize(), MetaEPSAction::GetSize(), Bitmap::GetSizePixel(), MetaBmpScalePartAction::GetSrcPoint(), MetaBmpExScalePartAction::GetSrcPoint(), MetaBmpScalePartAction::GetSrcSize(), MetaBmpExScalePartAction::GetSrcSize(), MetaLineAction::GetStartPoint(), MetaArcAction::GetStartPoint(), MetaPieAction::GetStartPoint(), MetaChordAction::GetStartPoint(), MetaEPSAction::GetSubstitute(), MetaTextAction::GetText(), MetaTextArrayAction::GetText(), MetaStretchTextAction::GetText(), MetaTextRectAction::GetText(), MetaTextAlignAction::GetTextAlign(), OutputDevice::GetTextArray(), MetaAction::GetType(), MetaRoundRectAction::GetVertRound(), MetaWallpaperAction::GetWallpaper(), MetaStretchTextAction::GetWidth(), GRADIENT, HandleLineInfoPolyPolygons(), HATCH, i, ISECTRECTCLIPREGION, MetaLineColorAction::IsSetting(), MetaFillColorAction::IsSetting(), MetaTextFillColorAction::IsSetting(), LAYOUTMODE, LINE, LINECOLOR, MAPMODE, MayCallback(), WMFWriterAttrStackMember::nFlags, nWrittenActions, pAttrStack, PIE, PIXEL, POINT, POLYGON, POLYLINE, POLYPOLYGON, POP, WMFWriterAttrStackMember::pSucc, PUSH, pVirDev, pWMF, RASTEROP, RECT, Bitmap::Replace(), ROUNDRECT, vcl::Font::SetAlignment(), SetAllAttr(), vcl::Font::SetCharSet(), vcl::Font::SetColor(), vcl::Font::SetFillColor(), OutputDevice::SetFont(), SetLineAndFillAttr(), MapMode::SetOrigin(), MapMode::SetScaleX(), MapMode::SetScaleY(), Point::setX(), Point::setY(), STRETCHTEXT, TEXT, TEXTALIGN, TEXTARRAY, TEXTCOLOR, TEXTFILLCOLOR, TEXTLANGUAGE, TextOriginLeft, TextOriginRight, TEXTRECT, tools::Rectangle::TopLeft(), Transparent, W_SRCAND, W_SRCPAINT, W_TA_RIGHT, W_TA_RTLREADING, WALLPAPER, Size::Width(), WMFRecord_Arc(), WMFRecord_Chord(), WMFRecord_Ellipse(), WMFRecord_Escape_Unicode(), WMFRecord_ExtTextOut(), WMFRecord_IntersectClipRect(), WMFRecord_LineTo(), WMFRecord_MoveTo(), WMFRecord_Pie(), WMFRecord_Polygon(), WMFRecord_PolyLine(), WMFRecord_PolyPolygon(), WMFRecord_Rectangle(), WMFRecord_RestoreDC(), WMFRecord_RoundRect(), WMFRecord_SaveDC(), WMFRecord_SetPixel(), WMFRecord_SetStretchBltMode(), WMFRecord_StretchDIB(), WMFRecord_TextOut(), Point::X(), and Point::Y().

Referenced by WriteWMF().

void WMFWriter::WriteRectangle ( const tools::Rectangle rRect)
private
void WMFWriter::WriteSize ( const Size rSize)
private
bool WMFWriter::WriteWMF ( const GDIMetaFile rMTF,
SvStream rTargetStream,
FilterConfigItem const *  pFilterConfigItem,
bool  bPlaceable 
)

Definition at line 1678 of file wmfwr.cxx.

References aDstClipRegion, aDstFillColor, aDstFont, aDstLineColor, aDstLineInfo, aDstTextColor, ALIGN_BASELINE, aSrcClipRegion, aSrcFillColor, aSrcFont, aSrcLineColor, aSrcMapMode, aSrcTextColor, aTargetMapMode, aTargetSize, bEmbedEMF, bHandleAllocated, bStatus, CalcSaveTargetMapMode(), COL_BLACK(), COL_WHITE(), CountActionsAndBitmaps(), VclPtr< reference_type >::Create(), CreateSelectDeleteBrush(), CreateSelectDeleteFont(), CreateSelectDeletePen(), VclPtr< reference_type >::disposeAndClear(), eDstHorTextAlign, eDstROP2, eDstTextAlign, eSrcHorTextAlign, eSrcRasterOp, eSrcTextAlign, GetExtendedTextEncoding(), GDIMetaFile::GetPrefMapMode(), GDIMetaFile::GetPrefSize(), FilterConfigItem::GetStatusIndicator(), Size::Height(), OutputDevice::LogicToLogic(), OutputDevice::LogicToPixel(), MapMode, nActBitmapPercent, nDstBrushHandle, nDstFontHandle, nDstPenHandle, nLastPercent, nMaxRecordSize, nNumberOfActions, nNumberOfBitmaps, nWrittenActions, nWrittenBitmaps, OverPaint, pAttrStack, WMFWriterAttrStackMember::pSucc, pVirDev, pWMF, vcl::Font::SetAlignment(), vcl::Font::SetCharSet(), vcl::Font::SetColor(), SvStream::SetEndian(), Size::setHeight(), OutputDevice::SetMapMode(), MapMode::SetScaleX(), MapMode::SetScaleY(), Size::setWidth(), UpdateHeader(), W_TA_LEFT, Size::Width(), WMFRecord_SetBkMode(), WMFRecord_SetROP2(), WMFRecord_SetTextAlign(), WMFRecord_SetTextColor(), WMFRecord_SetWindowExt(), WMFRecord_SetWindowOrg(), WriteEmbeddedEMF(), WriteHeader(), WriteRecordHeader(), WriteRecords(), and xStatusIndicator.

Referenced by ConvertGDIMetaFileToWMF(), and WriteWindowMetafileBits().

Member Data Documentation

vcl::Region WMFWriter::aDstClipRegion
private

Definition at line 95 of file wmfwr.hxx.

Referenced by WriteRecords(), and WriteWMF().

Color WMFWriter::aDstFillColor
private

Definition at line 86 of file wmfwr.hxx.

Referenced by SetLineAndFillAttr(), WriteRecords(), and WriteWMF().

vcl::Font WMFWriter::aDstFont
private

Definition at line 91 of file wmfwr.hxx.

Referenced by SetAllAttr(), WriteRecords(), and WriteWMF().

Color WMFWriter::aDstLineColor
private

Definition at line 85 of file wmfwr.hxx.

Referenced by SetLineAndFillAttr(), WriteRecords(), and WriteWMF().

LineInfo WMFWriter::aDstLineInfo
private

Definition at line 88 of file wmfwr.hxx.

Referenced by SetLineAndFillAttr(), WriteRecords(), and WriteWMF().

Color WMFWriter::aDstTextColor
private

Definition at line 87 of file wmfwr.hxx.

Referenced by SetAllAttr(), WriteRecords(), and WriteWMF().

vcl::Region WMFWriter::aSrcClipRegion
private

Definition at line 79 of file wmfwr.hxx.

Referenced by WriteRecords(), and WriteWMF().

Color WMFWriter::aSrcFillColor
private
vcl::Font WMFWriter::aSrcFont
private
Color WMFWriter::aSrcLineColor
private
LineInfo WMFWriter::aSrcLineInfo
private
MapMode WMFWriter::aSrcMapMode
private
Color WMFWriter::aSrcTextColor
private

Definition at line 73 of file wmfwr.hxx.

Referenced by SetAllAttr(), WMFRecord_Escape_Unicode(), WriteRecords(), and WriteWMF().

MapMode WMFWriter::aTargetMapMode
private
Size WMFWriter::aTargetSize
private

Definition at line 64 of file wmfwr.hxx.

Referenced by WriteHeader(), and WriteWMF().

bool WMFWriter::bEmbedEMF
private

Definition at line 109 of file wmfwr.hxx.

Referenced by WriteWMF().

bool WMFWriter::bHandleAllocated[MAXOBJECTHANDLES]
private

Definition at line 96 of file wmfwr.hxx.

Referenced by AllocHandle(), FreeHandle(), and WriteWMF().

bool WMFWriter::bStatus
private

Definition at line 55 of file wmfwr.hxx.

Referenced by AllocHandle(), WriteRecords(), and WriteWMF().

sal_uInt16 WMFWriter::eDstHorTextAlign
private

Definition at line 93 of file wmfwr.hxx.

Referenced by SetAllAttr(), and WriteWMF().

RasterOp WMFWriter::eDstROP2
private

Definition at line 89 of file wmfwr.hxx.

Referenced by SetLineAndFillAttr(), WriteRecords(), and WriteWMF().

FontAlign WMFWriter::eDstTextAlign
private

Definition at line 90 of file wmfwr.hxx.

Referenced by SetAllAttr(), WriteRecords(), and WriteWMF().

sal_uInt16 WMFWriter::eSrcHorTextAlign
private

Definition at line 82 of file wmfwr.hxx.

Referenced by SetAllAttr(), WriteRecords(), and WriteWMF().

RasterOp WMFWriter::eSrcRasterOp
private

Definition at line 75 of file wmfwr.hxx.

Referenced by SetLineAndFillAttr(), WMFRecord_StretchDIB(), WriteRecords(), and WriteWMF().

FontAlign WMFWriter::eSrcTextAlign
private

Definition at line 76 of file wmfwr.hxx.

Referenced by SetAllAttr(), WriteRecords(), and WriteWMF().

sal_uLong WMFWriter::nActBitmapPercent
private

Definition at line 107 of file wmfwr.hxx.

Referenced by MayCallback(), WMFRecord_StretchDIB(), and WriteWMF().

sal_uLong WMFWriter::nActRecordPos
private

Definition at line 68 of file wmfwr.hxx.

Referenced by UpdateRecordHeader(), and WriteRecordHeader().

sal_uInt16 WMFWriter::nDstBrushHandle
private

Definition at line 97 of file wmfwr.hxx.

Referenced by CreateSelectDeleteBrush(), and WriteWMF().

sal_uInt16 WMFWriter::nDstFontHandle
private

Definition at line 97 of file wmfwr.hxx.

Referenced by CreateSelectDeleteFont(), and WriteWMF().

sal_uInt16 WMFWriter::nDstPenHandle
private

Definition at line 97 of file wmfwr.hxx.

Referenced by CreateSelectDeletePen(), and WriteWMF().

sal_uLong WMFWriter::nLastPercent
private

Definition at line 57 of file wmfwr.hxx.

Referenced by MayCallback(), and WriteWMF().

sal_uInt32 WMFWriter::nMaxRecordSize
private

Definition at line 67 of file wmfwr.hxx.

Referenced by UpdateHeader(), UpdateRecordHeader(), WriteRecordHeader(), and WriteWMF().

sal_uLong WMFWriter::nMetafileHeaderPos
private

Definition at line 66 of file wmfwr.hxx.

Referenced by UpdateHeader(), and WriteHeader().

sal_uLong WMFWriter::nNumberOfActions
private

Definition at line 103 of file wmfwr.hxx.

Referenced by CountActionsAndBitmaps(), MayCallback(), and WriteWMF().

sal_uLong WMFWriter::nNumberOfBitmaps
private

Definition at line 104 of file wmfwr.hxx.

Referenced by CountActionsAndBitmaps(), MayCallback(), and WriteWMF().

sal_uLong WMFWriter::nWrittenActions
private

Definition at line 105 of file wmfwr.hxx.

Referenced by MayCallback(), WriteRecords(), and WriteWMF().

sal_uLong WMFWriter::nWrittenBitmaps
private

Definition at line 106 of file wmfwr.hxx.

Referenced by MayCallback(), WMFRecord_StretchDIB(), and WriteWMF().

WMFWriterAttrStackMember* WMFWriter::pAttrStack
private

Definition at line 80 of file wmfwr.hxx.

Referenced by WriteRecords(), and WriteWMF().

VclPtr<VirtualDevice> WMFWriter::pVirDev
private

Definition at line 62 of file wmfwr.hxx.

Referenced by SetAllAttr(), WMFRecord_Escape_Unicode(), WriteRecords(), and WriteWMF().

SvStream* WMFWriter::pWMF
private
css::uno::Reference< css::task::XStatusIndicator > WMFWriter::xStatusIndicator
private

Definition at line 59 of file wmfwr.hxx.

Referenced by MayCallback(), and WriteWMF().


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