LibreOffice Module lotuswordpro (master) 1
Public Member Functions | Protected Member Functions | List of all members
LwpDrawMetafile Class Reference

Lwp-draw-metafile object. More...

#include <lwpdrawobj.hxx>

Inheritance diagram for LwpDrawMetafile:
[legend]
Collaboration diagram for LwpDrawMetafile:
[legend]

Public Member Functions

 LwpDrawMetafile (SvStream *pStream)
 @descr Constructor of class LwpDrawMetafile More...
 
- Public Member Functions inherited from LwpDrawObj
 LwpDrawObj (SvStream *pStream, DrawingOffsetAndScale *pTransData=nullptr)
 @descr Constructor of class LwpDrawObj More...
 
virtual ~LwpDrawObj ()
 
rtl::Reference< XFFrameCreateXFDrawObject ()
 @descr create a completed XF-draw object(read data, register styles and create XF-draw object) More...
 
void SetObjectType (DrawObjectType eType)
 

Protected Member Functions

virtual void Read () override
 @descr reading function of class LwpDrawMetafile More...
 
virtual OUString RegisterStyle () override
 @descr register styles of a draw object according to the saved records data. More...
 
virtual rtl::Reference< XFFrameCreateDrawObj (const OUString &) override
 @descr create XF-draw object and assign the style name to it. More...
 
virtual rtl::Reference< XFFrameCreateStandardDrawObj (const OUString &) override
 @descr create XF-draw object and assign the style name to it. More...
 
- Protected Member Functions inherited from LwpDrawObj
void ReadClosedObjStyle ()
 @descr read the style of closed lwp-sdw-object like: rectangle, ellipse and so on. More...
 
void SetFillStyle (XFDrawStyle *pStyle)
 @descr set fill style of drawing objects More...
 
void SetPosition (XFFrame *pObj)
 @descr set position of a drawing object in the frame. More...
 
virtual void Read ()=0
 @descr read out the record of a draw object. More...
 
virtual OUString RegisterStyle ()=0
 @descr register styles of a draw object according to the saved records data. More...
 
virtual rtl::Reference< XFFrameCreateDrawObj (const OUString &rStyleName)=0
 @descr create XF-draw object and assign the style name to it. More...
 
virtual rtl::Reference< XFFrameCreateStandardDrawObj (const OUString &rStyleName)=0
 @descr create XF-draw object and assign the style name to it. More...
 

Additional Inherited Members

- Static Protected Member Functions inherited from LwpDrawObj
static void SetLineStyle (XFDrawStyle *pStyle, sal_uInt8 nWidth, sal_uInt8 nLineStyle, const SdwColor &rColor)
 @descr set line/border style of drawing objects. More...
 
static void SetArrowHead (XFDrawStyle *pOpenedObjStyle, sal_uInt8 nArrowFlag, sal_uInt8 nLineWidth)
 @descr set arrowhead of a xf-drawing object. More...
 
static OUString GetArrowName (sal_uInt8 nArrowStyle)
 @descr get arrow style name according to the flag. More...
 
- Protected Attributes inherited from LwpDrawObj
DrawObjectType m_eType
 
SvStreamm_pStream
 
SdwDrawObjHeader m_aObjHeader
 
SdwClosedObjStyleRec m_aClosedObjStyleRec
 
DrawingOffsetAndScalem_pTransData
 

Detailed Description

Lwp-draw-metafile object.

Definition at line 339 of file lwpdrawobj.hxx.

Constructor & Destructor Documentation

◆ LwpDrawMetafile()

LwpDrawMetafile::LwpDrawMetafile ( SvStream pStream)
explicit

@descr Constructor of class LwpDrawMetafile

Parameters
pStreamThe memory stream which contains the lwp-sdw draw objects

Definition at line 1322 of file lwpdrawobj.cxx.

Member Function Documentation

◆ CreateDrawObj()

virtual rtl::Reference< XFFrame > LwpDrawMetafile::CreateDrawObj ( const OUString &  rStyleName)
inlineoverrideprotectedvirtual

@descr create XF-draw object and assign the style name to it.

Parameters
stylename.
Returns
pointer of the created XF-draw object.

Implements LwpDrawObj.

Definition at line 350 of file lwpdrawobj.hxx.

◆ CreateStandardDrawObj()

virtual rtl::Reference< XFFrame > LwpDrawMetafile::CreateStandardDrawObj ( const OUString &  rStyleName)
inlineoverrideprotectedvirtual

@descr create XF-draw object and assign the style name to it.

Parameters
stylename.
Returns
pointer of the created XF-draw object.

Implements LwpDrawObj.

Definition at line 351 of file lwpdrawobj.hxx.

◆ Read()

void LwpDrawMetafile::Read ( )
overrideprotectedvirtual

@descr reading function of class LwpDrawMetafile

Implements LwpDrawObj.

Definition at line 1329 of file lwpdrawobj.cxx.

References LwpDrawObj::m_aObjHeader, LwpDrawObj::m_pStream, SdwDrawObjHeader::nRecLen, and SvStream::SeekRel().

◆ RegisterStyle()

virtual OUString LwpDrawMetafile::RegisterStyle ( )
inlineoverrideprotectedvirtual

@descr register styles of a draw object according to the saved records data.

Returns
the style name which has been registered.

Implements LwpDrawObj.

Definition at line 346 of file lwpdrawobj.hxx.


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