LibreOffice Module drawinglayer (master) 1
Public Member Functions | Private Attributes | List of all members
wmfemfhelper::PropertyHolder Class Reference

helper class for graphic context More...

#include <wmfemfhelper.hxx>

Collaboration diagram for wmfemfhelper::PropertyHolder:
[legend]

Public Member Functions

 PropertyHolder ()
 helper class for graphic context More...
 
const basegfx::B2DHomMatrixgetTransformation () const
 read/write accesses More...
 
void setTransformation (const basegfx::B2DHomMatrix &rNew)
 
MapUnit getMapUnit () const
 
void setMapUnit (MapUnit eNew)
 
const basegfx::BColorgetLineColor () const
 
void setLineColor (const basegfx::BColor &rNew)
 
bool getLineColorActive () const
 
void setLineColorActive (bool bNew)
 
const basegfx::BColorgetFillColor () const
 
void setFillColor (const basegfx::BColor &rNew)
 
bool getFillColorActive () const
 
void setFillColorActive (bool bNew)
 
const basegfx::BColorgetTextColor () const
 
void setTextColor (const basegfx::BColor &rNew)
 
bool getTextColorActive () const
 
void setTextColorActive (bool bNew)
 
const basegfx::BColorgetTextFillColor () const
 
void setTextFillColor (const basegfx::BColor &rNew)
 
bool getTextFillColorActive () const
 
void setTextFillColorActive (bool bNew)
 
const basegfx::BColorgetTextLineColor () const
 
void setTextLineColor (const basegfx::BColor &rNew)
 
bool getTextLineColorActive () const
 
void setTextLineColorActive (bool bNew)
 
const basegfx::BColorgetOverlineColor () const
 
void setOverlineColor (const basegfx::BColor &rNew)
 
bool getOverlineColorActive () const
 
void setOverlineColorActive (bool bNew)
 
const basegfx::B2DPolyPolygongetClipPolyPolygon () const
 
void setClipPolyPolygon (const basegfx::B2DPolyPolygon &rNew)
 
bool getClipPolyPolygonActive () const
 
void setClipPolyPolygonActive (bool bNew)
 
const vcl::FontgetFont () const
 
void setFont (const vcl::Font &rFont)
 
const RasterOpgetRasterOp () const
 
void setRasterOp (const RasterOp &rRasterOp)
 
bool isRasterOpInvert () const
 
bool isRasterOpForceBlack () const
 
bool isRasterOpActive () const
 
vcl::text::ComplexTextLayoutFlags getLayoutMode () const
 
void setLayoutMode (vcl::text::ComplexTextLayoutFlags nNew)
 
LanguageType getLanguageType () const
 
void setLanguageType (LanguageType aNew)
 
vcl::PushFlags getPushFlags () const
 
void setPushFlags (vcl::PushFlags nNew)
 
bool getLineOrFillActive () const
 

Private Attributes

basegfx::B2DHomMatrix maTransformation
 current transformation (aka MapMode) More...
 
MapUnit maMapUnit
 
basegfx::BColor maLineColor
 current colors More...
 
basegfx::BColor maFillColor
 
basegfx::BColor maTextColor
 
basegfx::BColor maTextFillColor
 
basegfx::BColor maTextLineColor
 
basegfx::BColor maOverlineColor
 
basegfx::B2DPolyPolygon maClipPolyPolygon
 clipping More...
 
vcl::Font maFont
 font, etc. More...
 
RasterOp maRasterOp
 
vcl::text::ComplexTextLayoutFlags mnLayoutMode
 
LanguageType maLanguageType
 
vcl::PushFlags mnPushFlags
 
bool mbLineColor: 1
 contains all active markers More...
 
bool mbFillColor: 1
 
bool mbTextColor: 1
 
bool mbTextFillColor: 1
 
bool mbTextLineColor: 1
 
bool mbOverlineColor: 1
 
bool mbClipPolyPolygonActive: 1
 

Detailed Description

helper class for graphic context

This class allows to hold a complete representation of classic VCL OutputDevice state. This data is needed for correct interpretation of the MetaFile action flow.

Definition at line 85 of file wmfemfhelper.hxx.

Constructor & Destructor Documentation

◆ PropertyHolder()

wmfemfhelper::PropertyHolder::PropertyHolder ( )

helper class for graphic context

This class allows to hold a complete representation of classic VCL OutputDevice state. This data is needed for correct interpretation of the MetaFile action flow.

Definition at line 115 of file wmfemfhelper.cxx.

References COL_BLACK(), Default, Map100thMM, NONE, OverPaint, and text().

Member Function Documentation

◆ getClipPolyPolygon()

const basegfx::B2DPolyPolygon & wmfemfhelper::PropertyHolder::getClipPolyPolygon ( ) const
inline

◆ getClipPolyPolygonActive()

bool wmfemfhelper::PropertyHolder::getClipPolyPolygonActive ( ) const
inline

◆ getFillColor()

const basegfx::BColor & wmfemfhelper::PropertyHolder::getFillColor ( ) const
inline

◆ getFillColorActive()

bool wmfemfhelper::PropertyHolder::getFillColorActive ( ) const
inline

◆ getFont()

const vcl::Font & wmfemfhelper::PropertyHolder::getFont ( ) const
inline

◆ getLanguageType()

LanguageType wmfemfhelper::PropertyHolder::getLanguageType ( ) const
inline

◆ getLayoutMode()

vcl::text::ComplexTextLayoutFlags wmfemfhelper::PropertyHolder::getLayoutMode ( ) const
inline

◆ getLineColor()

const basegfx::BColor & wmfemfhelper::PropertyHolder::getLineColor ( ) const
inline

◆ getLineColorActive()

bool wmfemfhelper::PropertyHolder::getLineColorActive ( ) const
inline

◆ getLineOrFillActive()

bool wmfemfhelper::PropertyHolder::getLineOrFillActive ( ) const
inline

Definition at line 182 of file wmfemfhelper.hxx.

References mbFillColor, and mbLineColor.

Referenced by wmfemfhelper::implInterpretMetafile().

◆ getMapUnit()

MapUnit wmfemfhelper::PropertyHolder::getMapUnit ( ) const
inline

◆ getOverlineColor()

const basegfx::BColor & wmfemfhelper::PropertyHolder::getOverlineColor ( ) const
inline

◆ getOverlineColorActive()

bool wmfemfhelper::PropertyHolder::getOverlineColorActive ( ) const
inline

◆ getPushFlags()

vcl::PushFlags wmfemfhelper::PropertyHolder::getPushFlags ( ) const
inline

◆ getRasterOp()

const RasterOp & wmfemfhelper::PropertyHolder::getRasterOp ( ) const
inline

◆ getTextColor()

const basegfx::BColor & wmfemfhelper::PropertyHolder::getTextColor ( ) const
inline

◆ getTextColorActive()

bool wmfemfhelper::PropertyHolder::getTextColorActive ( ) const
inline

◆ getTextFillColor()

const basegfx::BColor & wmfemfhelper::PropertyHolder::getTextFillColor ( ) const
inline

◆ getTextFillColorActive()

bool wmfemfhelper::PropertyHolder::getTextFillColorActive ( ) const
inline

◆ getTextLineColor()

const basegfx::BColor & wmfemfhelper::PropertyHolder::getTextLineColor ( ) const
inline

◆ getTextLineColorActive()

bool wmfemfhelper::PropertyHolder::getTextLineColorActive ( ) const
inline

◆ getTransformation()

const basegfx::B2DHomMatrix & wmfemfhelper::PropertyHolder::getTransformation ( ) const
inline

◆ isRasterOpActive()

bool wmfemfhelper::PropertyHolder::isRasterOpActive ( ) const
inline

◆ isRasterOpForceBlack()

bool wmfemfhelper::PropertyHolder::isRasterOpForceBlack ( ) const
inline

Definition at line 170 of file wmfemfhelper.hxx.

References maRasterOp.

Referenced by wmfemfhelper::HandleNewRasterOp(), and isRasterOpActive().

◆ isRasterOpInvert()

bool wmfemfhelper::PropertyHolder::isRasterOpInvert ( ) const
inline

Definition at line 169 of file wmfemfhelper.hxx.

References maRasterOp.

Referenced by wmfemfhelper::implInterpretMetafile(), and isRasterOpActive().

◆ setClipPolyPolygon()

void wmfemfhelper::PropertyHolder::setClipPolyPolygon ( const basegfx::B2DPolyPolygon rNew)
inline

◆ setClipPolyPolygonActive()

void wmfemfhelper::PropertyHolder::setClipPolyPolygonActive ( bool  bNew)
inline

◆ setFillColor()

void wmfemfhelper::PropertyHolder::setFillColor ( const basegfx::BColor rNew)
inline

◆ setFillColorActive()

void wmfemfhelper::PropertyHolder::setFillColorActive ( bool  bNew)
inline

◆ setFont()

void wmfemfhelper::PropertyHolder::setFont ( const vcl::Font rFont)
inline

◆ setLanguageType()

void wmfemfhelper::PropertyHolder::setLanguageType ( LanguageType  aNew)
inline

◆ setLayoutMode()

void wmfemfhelper::PropertyHolder::setLayoutMode ( vcl::text::ComplexTextLayoutFlags  nNew)
inline

◆ setLineColor()

void wmfemfhelper::PropertyHolder::setLineColor ( const basegfx::BColor rNew)
inline

◆ setLineColorActive()

void wmfemfhelper::PropertyHolder::setLineColorActive ( bool  bNew)
inline

◆ setMapUnit()

void wmfemfhelper::PropertyHolder::setMapUnit ( MapUnit  eNew)
inline

◆ setOverlineColor()

void wmfemfhelper::PropertyHolder::setOverlineColor ( const basegfx::BColor rNew)
inline

◆ setOverlineColorActive()

void wmfemfhelper::PropertyHolder::setOverlineColorActive ( bool  bNew)
inline

◆ setPushFlags()

void wmfemfhelper::PropertyHolder::setPushFlags ( vcl::PushFlags  nNew)
inline

Definition at line 180 of file wmfemfhelper.hxx.

References mnPushFlags.

Referenced by wmfemfhelper::PropertyHolders::Push().

◆ setRasterOp()

void wmfemfhelper::PropertyHolder::setRasterOp ( const RasterOp rRasterOp)
inline

Definition at line 168 of file wmfemfhelper.hxx.

References maRasterOp.

Referenced by wmfemfhelper::HandleNewRasterOp(), and wmfemfhelper::PropertyHolders::Pop().

◆ setTextColor()

void wmfemfhelper::PropertyHolder::setTextColor ( const basegfx::BColor rNew)
inline

◆ setTextColorActive()

void wmfemfhelper::PropertyHolder::setTextColorActive ( bool  bNew)
inline

◆ setTextFillColor()

void wmfemfhelper::PropertyHolder::setTextFillColor ( const basegfx::BColor rNew)
inline

◆ setTextFillColorActive()

void wmfemfhelper::PropertyHolder::setTextFillColorActive ( bool  bNew)
inline

◆ setTextLineColor()

void wmfemfhelper::PropertyHolder::setTextLineColor ( const basegfx::BColor rNew)
inline

◆ setTextLineColorActive()

void wmfemfhelper::PropertyHolder::setTextLineColorActive ( bool  bNew)
inline

◆ setTransformation()

void wmfemfhelper::PropertyHolder::setTransformation ( const basegfx::B2DHomMatrix rNew)
inline

Member Data Documentation

◆ maClipPolyPolygon

basegfx::B2DPolyPolygon wmfemfhelper::PropertyHolder::maClipPolyPolygon
private

clipping

Definition at line 101 of file wmfemfhelper.hxx.

Referenced by getClipPolyPolygon(), and setClipPolyPolygon().

◆ maFillColor

basegfx::BColor wmfemfhelper::PropertyHolder::maFillColor
private

Definition at line 94 of file wmfemfhelper.hxx.

Referenced by getFillColor(), and setFillColor().

◆ maFont

vcl::Font wmfemfhelper::PropertyHolder::maFont
private

font, etc.

Definition at line 104 of file wmfemfhelper.hxx.

Referenced by getFont(), and setFont().

◆ maLanguageType

LanguageType wmfemfhelper::PropertyHolder::maLanguageType
private

Definition at line 107 of file wmfemfhelper.hxx.

Referenced by getLanguageType(), and setLanguageType().

◆ maLineColor

basegfx::BColor wmfemfhelper::PropertyHolder::maLineColor
private

current colors

Definition at line 93 of file wmfemfhelper.hxx.

Referenced by getLineColor(), and setLineColor().

◆ maMapUnit

MapUnit wmfemfhelper::PropertyHolder::maMapUnit
private

Definition at line 90 of file wmfemfhelper.hxx.

Referenced by getMapUnit(), and setMapUnit().

◆ maOverlineColor

basegfx::BColor wmfemfhelper::PropertyHolder::maOverlineColor
private

Definition at line 98 of file wmfemfhelper.hxx.

Referenced by getOverlineColor(), and setOverlineColor().

◆ maRasterOp

RasterOp wmfemfhelper::PropertyHolder::maRasterOp
private

Definition at line 105 of file wmfemfhelper.hxx.

Referenced by getRasterOp(), isRasterOpForceBlack(), isRasterOpInvert(), and setRasterOp().

◆ maTextColor

basegfx::BColor wmfemfhelper::PropertyHolder::maTextColor
private

Definition at line 95 of file wmfemfhelper.hxx.

Referenced by getTextColor(), and setTextColor().

◆ maTextFillColor

basegfx::BColor wmfemfhelper::PropertyHolder::maTextFillColor
private

Definition at line 96 of file wmfemfhelper.hxx.

Referenced by getTextFillColor(), and setTextFillColor().

◆ maTextLineColor

basegfx::BColor wmfemfhelper::PropertyHolder::maTextLineColor
private

Definition at line 97 of file wmfemfhelper.hxx.

Referenced by getTextLineColor(), and setTextLineColor().

◆ maTransformation

basegfx::B2DHomMatrix wmfemfhelper::PropertyHolder::maTransformation
private

current transformation (aka MapMode)

Definition at line 89 of file wmfemfhelper.hxx.

Referenced by getTransformation(), and setTransformation().

◆ mbClipPolyPolygonActive

bool wmfemfhelper::PropertyHolder::mbClipPolyPolygonActive
private

Definition at line 117 of file wmfemfhelper.hxx.

Referenced by getClipPolyPolygonActive(), and setClipPolyPolygonActive().

◆ mbFillColor

bool wmfemfhelper::PropertyHolder::mbFillColor
private

Definition at line 112 of file wmfemfhelper.hxx.

Referenced by getFillColorActive(), getLineOrFillActive(), and setFillColorActive().

◆ mbLineColor

bool wmfemfhelper::PropertyHolder::mbLineColor
private

contains all active markers

Definition at line 111 of file wmfemfhelper.hxx.

Referenced by getLineColorActive(), getLineOrFillActive(), and setLineColorActive().

◆ mbOverlineColor

bool wmfemfhelper::PropertyHolder::mbOverlineColor
private

Definition at line 116 of file wmfemfhelper.hxx.

Referenced by getOverlineColorActive(), and setOverlineColorActive().

◆ mbTextColor

bool wmfemfhelper::PropertyHolder::mbTextColor
private

Definition at line 113 of file wmfemfhelper.hxx.

Referenced by getTextColorActive(), and setTextColorActive().

◆ mbTextFillColor

bool wmfemfhelper::PropertyHolder::mbTextFillColor
private

Definition at line 114 of file wmfemfhelper.hxx.

Referenced by getTextFillColorActive(), and setTextFillColorActive().

◆ mbTextLineColor

bool wmfemfhelper::PropertyHolder::mbTextLineColor
private

Definition at line 115 of file wmfemfhelper.hxx.

Referenced by getTextLineColorActive(), and setTextLineColorActive().

◆ mnLayoutMode

vcl::text::ComplexTextLayoutFlags wmfemfhelper::PropertyHolder::mnLayoutMode
private

Definition at line 106 of file wmfemfhelper.hxx.

Referenced by getLayoutMode(), and setLayoutMode().

◆ mnPushFlags

vcl::PushFlags wmfemfhelper::PropertyHolder::mnPushFlags
private

Definition at line 108 of file wmfemfhelper.hxx.

Referenced by getPushFlags(), and setPushFlags().


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