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

#include <outact.hxx>

Collaboration diagram for CGMImpressOutAct:
[legend]

Public Member Functions

 CGMImpressOutAct (CGM &, const css::uno::Reference< css::frame::XModel > &)
 
 ~CGMImpressOutAct ()
 
void InsertPage ()
 
void BeginGroup ()
 
void EndGroup ()
 
void EndGrouping ()
 
void DrawRectangle (FloatRect const &)
 
void DrawEllipse (FloatPoint const &center, FloatPoint const &, double &Orientation)
 
void DrawEllipticalArc (FloatPoint const &center, FloatPoint const &size, double &orientation, sal_uInt32 etype, double &startangle, double &endangle)
 
void DrawBitmap (CGMBitmapDescriptor *)
 
void DrawPolygon (tools::Polygon &)
 
void DrawPolyLine (tools::Polygon &)
 
void DrawPolybezier (tools::Polygon &)
 
void DrawPolyPolygon (tools::PolyPolygon const &)
 
void DrawText (css::awt::Point const &TextRectPos, css::awt::Size const &TextRectSize, const OUString &rString, FinalFlag)
 
void AppendText (const char *String)
 
void FirstOutPut ()
 
void BeginFigure ()
 
void CloseRegion ()
 
void NewRegion ()
 
void EndFigure ()
 
void RegPolyLine (tools::Polygon const &, bool bReverse=false)
 
void SetGradientOffset (tools::Long nHorzOfs, tools::Long nVertOfs)
 
void SetGradientAngle (tools::Long nAngle)
 
void SetGradientDescriptor (sal_uInt32 nColorFrom, sal_uInt32 nColorTo)
 
void SetGradientStyle (sal_uInt32 nStyle)
 

Private Member Functions

bool ImplCreateShape (const OUString &rType)
 
bool ImplInitPage ()
 
void ImplSetOrientation (FloatPoint const &RefPoint, double Orientation)
 
void ImplSetLineBundle ()
 
void ImplSetFillBundle ()
 
void ImplSetTextBundle (const css::uno::Reference< css::beans::XPropertySet > &)
 

Private Attributes

sal_uInt16 mnCurrentPage
 
sal_uInt32 mnGroupActCount
 
sal_uInt32 mnGroupLevel
 
std::array< sal_uInt32, CGM_OUTACT_MAX_GROUP_LEVELmaGroupLevel
 
std::vector< PolyFlagsmaFlags
 
std::vector< PointmaPoints
 
tools::PolyPolygon maPolyPolygon
 
std::unique_ptr< css::awt::Gradient > mpGradient
 
CGMmpCGM
 
css::uno::Reference< css::drawing::XDrawPages > maXDrawPages
 
css::uno::Reference< css::drawing::XDrawPage > maXDrawPage
 
css::uno::Reference< css::lang::XMultiServiceFactory > maXMultiServiceFactory
 
css::uno::Reference< css::drawing::XShape > maXShape
 
css::uno::Reference< css::beans::XPropertySetmaXPropSet
 
css::uno::Reference< css::drawing::XShapes > maXShapes
 
std::vector< css::uno::Reference< css::document::XActionLockable > > maLockedNewXShapes
 
sal_uInt32 nFinalTextCount
 

Detailed Description

Definition at line 41 of file outact.hxx.

Constructor & Destructor Documentation

◆ CGMImpressOutAct()

CGMImpressOutAct::CGMImpressOutAct ( CGM ,
const css::uno::Reference< css::frame::XModel > &   
)

◆ ~CGMImpressOutAct()

CGMImpressOutAct::~CGMImpressOutAct ( )

Definition at line 91 of file actimpr.cxx.

References a, and maLockedNewXShapes.

Member Function Documentation

◆ AppendText()

void CGMImpressOutAct::AppendText ( const char *  String)

Definition at line 883 of file actimpr.cxx.

References aStr, ImplSetTextBundle(), maXShapes, and nFinalTextCount.

◆ BeginFigure()

void CGMImpressOutAct::BeginFigure ( )

Definition at line 920 of file actimpr.cxx.

References BeginGroup(), EndFigure(), maFlags, and maPoints.

◆ BeginGroup()

void CGMImpressOutAct::BeginGroup ( )

◆ CloseRegion()

void CGMImpressOutAct::CloseRegion ( )

◆ DrawBitmap()

void CGMImpressOutAct::DrawBitmap ( CGMBitmapDescriptor pBmpDesc)

◆ DrawEllipse()

void CGMImpressOutAct::DrawEllipse ( FloatPoint const &  center,
FloatPoint const &  rSize,
double &  Orientation 
)

◆ DrawEllipticalArc()

void CGMImpressOutAct::DrawEllipticalArc ( FloatPoint const &  center,
FloatPoint const &  size,
double &  orientation,
sal_uInt32  etype,
double &  startangle,
double &  endangle 
)

◆ DrawPolybezier()

void CGMImpressOutAct::DrawPolybezier ( tools::Polygon rPolygon)

◆ DrawPolygon()

void CGMImpressOutAct::DrawPolygon ( tools::Polygon rPoly)

Definition at line 608 of file actimpr.cxx.

References tools::Polygon::GetSize(), ImplCreateShape(), ImplSetFillBundle(), maXPropSet, n, X, and Y.

◆ DrawPolyLine()

void CGMImpressOutAct::DrawPolyLine ( tools::Polygon rPoly)

Definition at line 638 of file actimpr.cxx.

References tools::Polygon::GetSize(), ImplCreateShape(), ImplSetLineBundle(), maXPropSet, n, X, and Y.

◆ DrawPolyPolygon()

void CGMImpressOutAct::DrawPolyPolygon ( tools::PolyPolygon const &  rPolyPolygon)

◆ DrawRectangle()

void CGMImpressOutAct::DrawRectangle ( FloatRect const &  rFloatRect)

◆ DrawText()

void CGMImpressOutAct::DrawText ( css::awt::Point const &  TextRectPos,
css::awt::Size const &  TextRectSize,
const OUString &  rString,
FinalFlag   
)

◆ EndFigure()

void CGMImpressOutAct::EndFigure ( )

◆ EndGroup()

void CGMImpressOutAct::EndGroup ( )

◆ EndGrouping()

void CGMImpressOutAct::EndGrouping ( )

Definition at line 445 of file actimpr.cxx.

References EndGroup(), and mnGroupLevel.

◆ FirstOutPut()

void CGMImpressOutAct::FirstOutPut ( )
inline

Definition at line 95 of file outact.hxx.

References CGM::mbFirstOutPut, and mpCGM.

◆ ImplCreateShape()

bool CGMImpressOutAct::ImplCreateShape ( const OUString &  rType)
private

◆ ImplInitPage()

bool CGMImpressOutAct::ImplInitPage ( )
private

Definition at line 97 of file actimpr.cxx.

References maXDrawPage, and maXShapes.

Referenced by CGMImpressOutAct(), and InsertPage().

◆ ImplSetFillBundle()

void CGMImpressOutAct::ImplSetFillBundle ( )
private

◆ ImplSetLineBundle()

void CGMImpressOutAct::ImplSetLineBundle ( )
private

◆ ImplSetOrientation()

void CGMImpressOutAct::ImplSetOrientation ( FloatPoint const &  RefPoint,
double  Orientation 
)
private

Definition at line 132 of file actimpr.cxx.

References maXPropSet, FloatPoint::X, and FloatPoint::Y.

Referenced by DrawBitmap(), DrawEllipse(), and DrawEllipticalArc().

◆ ImplSetTextBundle()

void CGMImpressOutAct::ImplSetTextBundle ( const css::uno::Reference< css::beans::XPropertySet > &  )
private

◆ InsertPage()

void CGMImpressOutAct::InsertPage ( )

◆ NewRegion()

void CGMImpressOutAct::NewRegion ( )

Definition at line 940 of file actimpr.cxx.

References tools::PolyPolygon::Insert(), maFlags, maPoints, and maPolyPolygon.

Referenced by CloseRegion(), and EndFigure().

◆ RegPolyLine()

void CGMImpressOutAct::RegPolyLine ( tools::Polygon const &  rPolygon,
bool  bReverse = false 
)

◆ SetGradientAngle()

void CGMImpressOutAct::SetGradientAngle ( tools::Long  nAngle)

Definition at line 993 of file actimpr.cxx.

References mpGradient.

◆ SetGradientDescriptor()

void CGMImpressOutAct::SetGradientDescriptor ( sal_uInt32  nColorFrom,
sal_uInt32  nColorTo 
)

Definition at line 1000 of file actimpr.cxx.

References mpGradient.

◆ SetGradientOffset()

void CGMImpressOutAct::SetGradientOffset ( tools::Long  nHorzOfs,
tools::Long  nVertOfs 
)

Definition at line 985 of file actimpr.cxx.

References mpGradient.

◆ SetGradientStyle()

void CGMImpressOutAct::SetGradientStyle ( sal_uInt32  nStyle)

Definition at line 1008 of file actimpr.cxx.

References mpGradient.

Member Data Documentation

◆ maFlags

std::vector<PolyFlags> CGMImpressOutAct::maFlags
private

Definition at line 50 of file outact.hxx.

Referenced by BeginFigure(), EndFigure(), NewRegion(), and RegPolyLine().

◆ maGroupLevel

std::array<sal_uInt32, CGM_OUTACT_MAX_GROUP_LEVEL> CGMImpressOutAct::maGroupLevel
private

Definition at line 48 of file outact.hxx.

Referenced by BeginGroup(), and EndGroup().

◆ maLockedNewXShapes

std::vector<css::uno::Reference<css::document::XActionLockable> > CGMImpressOutAct::maLockedNewXShapes
private

Definition at line 66 of file outact.hxx.

Referenced by ImplCreateShape(), and ~CGMImpressOutAct().

◆ maPoints

std::vector<Point> CGMImpressOutAct::maPoints
private

Definition at line 51 of file outact.hxx.

Referenced by BeginFigure(), CloseRegion(), EndFigure(), NewRegion(), and RegPolyLine().

◆ maPolyPolygon

tools::PolyPolygon CGMImpressOutAct::maPolyPolygon
private

Definition at line 52 of file outact.hxx.

Referenced by CloseRegion(), EndFigure(), and NewRegion().

◆ maXDrawPage

css::uno::Reference< css::drawing::XDrawPage > CGMImpressOutAct::maXDrawPage
private

Definition at line 59 of file outact.hxx.

Referenced by CGMImpressOutAct(), EndGroup(), ImplInitPage(), and InsertPage().

◆ maXDrawPages

css::uno::Reference< css::drawing::XDrawPages > CGMImpressOutAct::maXDrawPages
private

Definition at line 58 of file outact.hxx.

Referenced by CGMImpressOutAct(), and InsertPage().

◆ maXMultiServiceFactory

css::uno::Reference< css::lang::XMultiServiceFactory > CGMImpressOutAct::maXMultiServiceFactory
private

Definition at line 61 of file outact.hxx.

Referenced by CGMImpressOutAct(), and ImplCreateShape().

◆ maXPropSet

css::uno::Reference< css::beans::XPropertySet > CGMImpressOutAct::maXPropSet
private

◆ maXShape

css::uno::Reference< css::drawing::XShape > CGMImpressOutAct::maXShape
private

◆ maXShapes

css::uno::Reference< css::drawing::XShapes > CGMImpressOutAct::maXShapes
private

Definition at line 65 of file outact.hxx.

Referenced by AppendText(), BeginGroup(), DrawText(), EndGroup(), ImplCreateShape(), and ImplInitPage().

◆ mnCurrentPage

sal_uInt16 CGMImpressOutAct::mnCurrentPage
private

Definition at line 43 of file outact.hxx.

Referenced by InsertPage().

◆ mnGroupActCount

sal_uInt32 CGMImpressOutAct::mnGroupActCount
private

Definition at line 45 of file outact.hxx.

Referenced by BeginGroup(), and DrawRectangle().

◆ mnGroupLevel

sal_uInt32 CGMImpressOutAct::mnGroupLevel
private

Definition at line 46 of file outact.hxx.

Referenced by BeginGroup(), EndGroup(), and EndGrouping().

◆ mpCGM

CGM* CGMImpressOutAct::mpCGM
private

◆ mpGradient

std::unique_ptr<css::awt::Gradient> CGMImpressOutAct::mpGradient
private

◆ nFinalTextCount

sal_uInt32 CGMImpressOutAct::nFinalTextCount
private

Definition at line 68 of file outact.hxx.

Referenced by AppendText(), and DrawText().


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