LibreOffice Module lotuswordpro (master) 1
|
#include <lwpsdwgrouploaderv0102.hxx>
Public Member Functions | |
LwpSdwGroupLoaderV0102 (SvStream *pStream, LwpGraphicObject *pGraphicObj) | |
void | BeginDrawObjects (std::vector< rtl::Reference< XFFrame > > *pDrawObjVector) |
@descr entry of lwp-drawing objects. More... | |
rtl::Reference< XFDrawGroup > | CreateDrawGroupObject () |
@descr when we encounter a group object the function will be called to create a XF-drawgroup object the corresponding drawing objects. More... | |
rtl::Reference< XFFrame > | CreateDrawObject () |
@descr Create the XF-drawing objects according to the object type read from bento stream. More... | |
Private Attributes | |
SvStream * | m_pStream |
LwpGraphicObject * | m_pGraphicObj |
std::vector< rtl::Reference< XFFrame > > * | m_pDrawObjVector |
DrawingOffsetAndScale | m_aTransformData |
Definition at line 71 of file lwpsdwgrouploaderv0102.hxx.
LwpSdwGroupLoaderV0102::LwpSdwGroupLoaderV0102 | ( | SvStream * | pStream, |
LwpGraphicObject * | pGraphicObj | ||
) |
Definition at line 68 of file lwpsdwgrouploaderv0102.cxx.
References m_pStream.
void LwpSdwGroupLoaderV0102::BeginDrawObjects | ( | std::vector< rtl::Reference< XFFrame > > * | pDrawObjVector | ) |
@descr entry of lwp-drawing objects.
the function begins to parse the sdw-drawing bento stream and create the corresponding drawing objects.
pDrawObjVector | a container which will contains the created drawing object of XF-Model. |
Definition at line 80 of file lwpsdwgrouploaderv0102.cxx.
References bottom, tools::Rectangle::Center(), LwpTools::ConvertFromUnitsToMetric(), CreateDrawObject(), LwpLayoutScale::CUSTOM, LwpLayoutScale::FIT_IN_FRAME, DrawingOffsetAndScale::fLeftMargin, DrawingOffsetAndScale::fOffsetX, DrawingOffsetAndScale::fOffsetY, DrawingOffsetAndScale::fScaleX, DrawingOffsetAndScale::fScaleY, DrawingOffsetAndScale::fTopMargin, LwpGraphicObject::GetGrafOrgSize(), LwpLayoutGeometry::GetHeight(), LwpContent::GetLayout(), LwpLayoutScale::GetOffset(), LwpLayoutScale::GetScaleHeight(), LwpLayoutScale::GetScaleMode(), LwpLayoutScale::GetScalePercentage(), LwpLayoutScale::GetScaleWidth(), LwpLayoutGeometry::GetWidth(), LwpPoint::GetX(), LwpPoint::GetY(), i, left, m_aTransformData, m_pDrawObjVector, m_pGraphicObj, m_pStream, LwpLayoutScale::MAINTAIN_ASPECT_RATIO, MARGIN_LEFT, MARGIN_TOP, nVersion, LwpLayoutScale::PERCENTAGE, SvStream::ReadBytes(), SvStream::ReadUInt16(), SvStream::remainingSize(), right, SAL_WARN, SvStream::SeekRel(), top, TWIPS_PER_CM, Point::X(), and Point::Y().
Referenced by LwpSdwFileLoader::CreateDrawObjects().
rtl::Reference< XFDrawGroup > LwpSdwGroupLoaderV0102::CreateDrawGroupObject | ( | ) |
@descr when we encounter a group object the function will be called to create a XF-drawgroup object the corresponding drawing objects.
pDrawObjVector | a container which will contains the created drawing object of XF-Model. |
Definition at line 233 of file lwpsdwgrouploaderv0102.cxx.
References bottom, CreateDrawObject(), enumXFFrameImage, i, left, m_pDrawObjVector, m_pStream, nVersion, SvStream::ReadBytes(), SvStream::ReadUInt16(), SvStream::remainingSize(), right, SAL_WARN, SvStream::SeekRel(), and top.
Referenced by CreateDrawObject().
rtl::Reference< XFFrame > LwpSdwGroupLoaderV0102::CreateDrawObject | ( | ) |
@descr Create the XF-drawing objects according to the object type read from bento stream.
Definition at line 295 of file lwpsdwgrouploaderv0102.cxx.
References CreateDrawGroupObject(), enumXFAnchorFrame, m_aTransformData, m_pStream, OT_ARC, OT_BITMAP, OT_CHART, OT_CIRCLE, OT_GROUP, OT_LINE, OT_METAFILE, OT_METAFILEIMG, OT_OVAL, OT_PERPLINE, OT_POLYGON, OT_POLYLINE, OT_RECT, OT_RNDRECT, OT_RNDSQUARE, OT_SQUARE, OT_TEXT, OT_TEXTART, SvStream::ReadUChar(), and SvStream::SeekRel().
Referenced by BeginDrawObjects(), and CreateDrawGroupObject().
|
private |
Definition at line 78 of file lwpsdwgrouploaderv0102.hxx.
Referenced by BeginDrawObjects(), and CreateDrawObject().
|
private |
Definition at line 76 of file lwpsdwgrouploaderv0102.hxx.
Referenced by BeginDrawObjects(), and CreateDrawGroupObject().
|
private |
Definition at line 75 of file lwpsdwgrouploaderv0102.hxx.
Referenced by BeginDrawObjects().
|
private |
Definition at line 74 of file lwpsdwgrouploaderv0102.hxx.
Referenced by BeginDrawObjects(), CreateDrawGroupObject(), and CreateDrawObject().