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

#include <eschesdo.hxx>

Collaboration diagram for ImplEESdrWriter:
[legend]

Public Member Functions

 ImplEESdrWriter (EscherEx &rEx)
 
 ~ImplEESdrWriter ()
 
EscherExHostAppDataImplGetHostData ()
 
bool ImplInitPage (const SdrPage &rPage)
 
bool ImplInitUnoShapes (const css::uno::Reference< css::drawing::XShapes > &rxShapes)
 
void ImplWriteCurrentPage (bool ooxmlExport)
 
sal_uInt32 ImplWriteTheShape (ImplEESdrObject &rObj, bool ooxmlExport)
 
void ImplExitPage ()
 

Static Public Member Functions

static Point ImplMapPoint (const Point &rPoint)
 
static Size ImplMapSize (const Size &rSize)
 

Private Member Functions

void ImplInitPageValues ()
 
void ImplWritePage (EscherSolverContainer &rSolver, bool ooxmlExport)
 
sal_uInt32 ImplWriteShape (ImplEESdrObject &rObj, EscherSolverContainer &rSolver, const bool bOOxmlExport=false)
 
void ImplWriteAdditionalText (ImplEESdrObject &rObj)
 
sal_uInt32 ImplEnterAdditionalTextGroup (const css::uno::Reference< css::drawing::XShape > &rShape, const tools::Rectangle *pBoundRect)
 
void ImplFlushSolverContainer ()
 

Static Private Member Functions

static void ImplFlipBoundingBox (ImplEESdrObject &rObj, EscherPropertyContainer &rPropOpt)
 

Private Attributes

EscherExmpEscherEx
 
css::uno::Reference< css::drawing::XDrawPage > mXDrawPage
 
css::uno::Reference< css::drawing::XShapes > mXShapes
 
SvStreammpPicStrm
 
EscherExHostAppDatampHostAppData
 
bool mbIsTitlePossible
 
const SdrPagempSdrPage
 
std::unique_ptr< EscherSolverContainermpSolverContainer
 

Detailed Description

Definition at line 99 of file eschesdo.hxx.

Constructor & Destructor Documentation

◆ ImplEESdrWriter()

ImplEESdrWriter::ImplEESdrWriter ( EscherEx rEx)
explicit

Definition at line 52 of file eschesdo.cxx.

◆ ~ImplEESdrWriter()

ImplEESdrWriter::~ImplEESdrWriter ( )

Definition at line 854 of file eschesdo.cxx.

References DBG_ASSERT, mpSolverContainer, and mXDrawPage.

Member Function Documentation

◆ ImplEnterAdditionalTextGroup()

sal_uInt32 ImplEESdrWriter::ImplEnterAdditionalTextGroup ( const css::uno::Reference< css::drawing::XShape > &  rShape,
const tools::Rectangle pBoundRect 
)
private

◆ ImplExitPage()

void ImplEESdrWriter::ImplExitPage ( )

◆ ImplFlipBoundingBox()

void ImplEESdrWriter::ImplFlipBoundingBox ( ImplEESdrObject rObj,
EscherPropertyContainer rPropOpt 
)
staticprivate

◆ ImplFlushSolverContainer()

void ImplEESdrWriter::ImplFlushSolverContainer ( )
private

Definition at line 919 of file eschesdo.cxx.

References EscherEx::GetStream(), mpEscherEx, and mpSolverContainer.

Referenced by ImplExitPage(), ImplInitPage(), and ImplInitUnoShapes().

◆ ImplGetHostData()

EscherExHostAppData * ImplEESdrWriter::ImplGetHostData ( )
inline

Definition at line 129 of file eschesdo.hxx.

References mpHostAppData.

◆ ImplInitPage()

bool ImplEESdrWriter::ImplInitPage ( const SdrPage rPage)

◆ ImplInitPageValues()

void ImplEESdrWriter::ImplInitPageValues ( )
private

Definition at line 832 of file eschesdo.cxx.

References mbIsTitlePossible.

Referenced by ImplInitPage(), ImplInitUnoShapes(), and ImplWritePage().

◆ ImplInitUnoShapes()

bool ImplEESdrWriter::ImplInitUnoShapes ( const css::uno::Reference< css::drawing::XShapes > &  rxShapes)

◆ ImplMapPoint()

Point ImplEESdrWriter::ImplMapPoint ( const Point rPoint)
static

Definition at line 63 of file eschesdo.cxx.

References o3tl::convert(), geUnitsDest(), and geUnitsSrc().

Referenced by ImplWriteShape(), and ImplEESdrObject::Init().

◆ ImplMapSize()

Size ImplEESdrWriter::ImplMapSize ( const Size rSize)
static

◆ ImplWriteAdditionalText()

void ImplEESdrWriter::ImplWriteAdditionalText ( ImplEESdrObject rObj)
private

the App has to control whether these are written or not

Definition at line 721 of file eschesdo.cxx.

References EscherEx::AddAtom(), EscherEx::AddChildAnchor(), EscherEx::AddClientAnchor(), EscherPropertyContainer::AddOpt(), EscherEx::AddSdrObjectVMLObject(), EscherEx::AddShape(), EscherEx::CloseContainer(), EscherEx::Commit(), EscherPropertyContainer::CreateShapeProperties(), EscherPropertyContainer::CreateTextProperties(), EscherExHostAppData::DontWriteShape(), EscherEx::EndShape(), EPP_TextHeaderAtom, EPP_TEXTTYPE_Other, ESCHER_ClientTextbox, ESCHER_Prop_FitTextToShape, ESCHER_Prop_fNoFillHitTest, ESCHER_Prop_fNoLineDrawDash, ESCHER_Prop_Rotation, ESCHER_ShpInst_TextBox, ESCHER_SpContainer, EscherEx::GenerateShapeId(), ImplEESdrObject::GetAngle(), EscherEx::GetGraphicProvider(), EscherEx::GetGroupLevel(), tools::Rectangle::GetHeight(), ImplEESdrObject::GetRect(), ImplEESdrObject::GetSdrObject(), ImplEESdrObject::GetShapeId(), ImplEESdrObject::GetShapeRef(), ImplEESdrObject::GetType(), tools::Rectangle::GetWidth(), HaveAnchor, HaveShapeProperty, ImplFlipBoundingBox(), ImplEESdrObject::ImplGetInt32PropertyValue(), ImplEESdrObject::ImplGetText(), EscherEx::LeaveGroup(), mpEscherEx, mpHostAppData, mpPicStrm, ImplEESdrObject::mXPropSet, EscherEx::OpenContainer(), EscherEx::QueryPictureStream(), EscherEx::QueryTextID(), ImplEESdrObject::SetAngle(), EscherEx::SetGroupLogicRect(), EscherEx::SetGroupSnapRect(), ImplEESdrObject::SetRect(), EscherEx::StartShape(), EscherExHostAppData::WriteClientAnchor(), EscherExHostAppData::WriteClientData(), and EscherExHostAppData::WriteClientTextbox().

Referenced by ImplWriteShape().

◆ ImplWriteCurrentPage()

void ImplEESdrWriter::ImplWriteCurrentPage ( bool  ooxmlExport)

Definition at line 928 of file eschesdo.cxx.

References ImplExitPage(), ImplWritePage(), and mpSolverContainer.

◆ ImplWritePage()

void ImplEESdrWriter::ImplWritePage ( EscherSolverContainer rSolver,
bool  ooxmlExport 
)
private

◆ ImplWriteShape()

sal_uInt32 ImplEESdrWriter::ImplWriteShape ( ImplEESdrObject rObj,
EscherSolverContainer rSolver,
const bool  bOOxmlExport = false 
)
private

with AdditionalText the App has to control whether these are written or not

Definition at line 128 of file eschesdo.cxx.

References EscherEx::AddChildAnchor(), EscherPropertyContainer::AddOpt(), EscherEx::AddSdrObjectVMLObject(), EscherSolverContainer::AddShape(), EscherEx::AddShape(), Point::AdjustX(), Point::AdjustY(), EscherEx::CloseContainer(), EscherEx::Commit(), EscherPropertyContainer::CreateConnectorProperties(), EscherPropertyContainer::CreateCustomShapeProperties(), EscherPropertyContainer::CreateFillProperties(), EscherPropertyContainer::CreateGraphicProperties(), EscherPropertyContainer::CreateLineProperties(), EscherPropertyContainer::CreateOLEGraphicProperties(), EscherPropertyContainer::CreatePolygonProperties(), EscherPropertyContainer::CreateShadowProperties(), EscherPropertyContainer::CreateShapeProperties(), EscherPropertyContainer::CreateTextProperties(), o3tl::doAccess(), EscherExHostAppData::DontWriteShape(), EscherEx::EndShape(), EscherEx::EnterGroup(), ESCHER_AnchorMiddle, ESCHER_CREATEPOLYGON_LINE, ESCHER_CREATEPOLYGON_POLYLINE, ESCHER_CREATEPOLYGON_POLYPOLYGON, ESCHER_Prop_adjustValue, ESCHER_Prop_AnchorText, ESCHER_Prop_fFillOK, ESCHER_Prop_fillBackColor, ESCHER_Prop_fillColor, ESCHER_Prop_FitTextToShape, ESCHER_Prop_fNoFillHitTest, ESCHER_Prop_fNoLineDrawDash, ESCHER_Prop_fPrint, ESCHER_Prop_fshadowObscured, ESCHER_Prop_hspMaster, ESCHER_Prop_lineColor, ESCHER_Prop_LockAgainstGrouping, ESCHER_Prop_lTxid, ESCHER_Prop_pictureId, ESCHER_Prop_pihlShape, ESCHER_Prop_shapePath, ESCHER_Prop_WrapText, ESCHER_Prop_wzName, ESCHER_ShapeComplex, ESCHER_ShpInst_Ellipse, ESCHER_ShpInst_HostControl, ESCHER_ShpInst_Line, ESCHER_ShpInst_Min, ESCHER_ShpInst_NotPrimitive, ESCHER_ShpInst_PictureFrame, ESCHER_ShpInst_Rectangle, ESCHER_ShpInst_RoundRectangle, ESCHER_ShpInst_TextBox, ESCHER_SpContainer, ESCHER_WrapNone, FlipH, FlipV, EscherEx::GenerateShapeId(), o3tl::strong_int< typename UNDERLYING_TYPE, typename PHANTOM_TYPE >::get(), ImplEESdrObject::GetAngle(), SdrObject::GetCurrentBoundRect(), EscherPropertyContainer::GetCustomShapeType(), EscherEx::GetGraphicProvider(), EscherEx::GetGroupLevel(), tools::Rectangle::GetHeight(), EscherEx::GetHellLayerId(), EscherExHostAppData::GetInteractionInfo(), ImplEESdrObject::GetOOXML(), ImplEESdrObject::GetRect(), ImplEESdrObject::GetSdrObject(), SdrObject::getSdrObjectFromXShape(), ImplEESdrObject::GetShapeId(), ImplEESdrObject::GetShapeRef(), tools::Rectangle::GetSize(), ImplEESdrObject::GetType(), ImplEESdrObject::GetUsrAny(), tools::Rectangle::GetWidth(), HaveAnchor, HaveMaster, HaveShapeProperty, ImplEnterAdditionalTextGroup(), ImplFlipBoundingBox(), ImplEESdrObject::ImplGetInt32PropertyValue(), ImplEESdrObject::ImplGetPropertyValue(), ImplEESdrObject::ImplGetText(), ImplEESdrObject::ImplHasText(), ImplMapPoint(), ImplMapSize(), ImplWriteAdditionalText(), ImplWriteShape(), ImplEESdrObject::IsEmptyPresObj(), EscherPropertyContainer::IsFontWork(), ImplEESdrObject::IsValid(), EscherEx::LeaveGroup(), tools::Rectangle::Left(), mpEscherEx, mpHostAppData, mpPicStrm, mso_sptMax, ImplEESdrObject::mXPropSet, n, nLength, NONE, tools::Rectangle::Normalize(), nType, OLEShape, EscherEx::OpenContainer(), EscherEx::QueryPictureStream(), EscherEx::QueryTextID(), tools::Polygon::Rotate(), SDRLAYER_NOTFOUND(), ImplEESdrObject::SetAngle(), EscherEx::SetEditAs(), ImplEESdrObject::SetOOXML(), ImplEESdrObject::SetRect(), ImplEESdrObject::SetShapeId(), ImplEESdrObject::SetType(), Point::setX(), Point::setY(), EscherEx::StartShape(), tools::Rectangle::Top(), tools::Rectangle::TopLeft(), Size::Width(), EscherExHostAppData::WriteClientAnchor(), EscherExHostAppData::WriteClientData(), EscherExHostAppData::WriteClientTextbox(), Point::X(), and Point::Y().

Referenced by ImplWritePage(), ImplWriteShape(), and ImplWriteTheShape().

◆ ImplWriteTheShape()

sal_uInt32 ImplEESdrWriter::ImplWriteTheShape ( ImplEESdrObject rObj,
bool  ooxmlExport 
)

Definition at line 935 of file eschesdo.cxx.

References ImplWriteShape(), and mpSolverContainer.

Member Data Documentation

◆ mbIsTitlePossible

bool ImplEESdrWriter::mbIsTitlePossible
private

Definition at line 107 of file eschesdo.hxx.

Referenced by ImplInitPageValues().

◆ mpEscherEx

EscherEx* ImplEESdrWriter::mpEscherEx
private

◆ mpHostAppData

EscherExHostAppData* ImplEESdrWriter::mpHostAppData
private

◆ mpPicStrm

SvStream* ImplEESdrWriter::mpPicStrm
private

Definition at line 104 of file eschesdo.hxx.

Referenced by ImplWriteAdditionalText(), and ImplWriteShape().

◆ mpSdrPage

const SdrPage* ImplEESdrWriter::mpSdrPage
private

Definition at line 108 of file eschesdo.hxx.

Referenced by ImplExitPage(), ImplInitPage(), and ImplInitUnoShapes().

◆ mpSolverContainer

std::unique_ptr<EscherSolverContainer> ImplEESdrWriter::mpSolverContainer
private

◆ mXDrawPage

css::uno::Reference< css::drawing::XDrawPage > ImplEESdrWriter::mXDrawPage
private

Definition at line 102 of file eschesdo.hxx.

Referenced by ImplInitPage(), ImplInitUnoShapes(), and ~ImplEESdrWriter().

◆ mXShapes

css::uno::Reference< css::drawing::XShapes > ImplEESdrWriter::mXShapes
private

Definition at line 103 of file eschesdo.hxx.

Referenced by ImplInitPage(), ImplInitUnoShapes(), and ImplWritePage().


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