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

#include <lwpdrawobj.hxx>

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

Public Member Functions

 LwpDrawTextArt (SvStream *pStream, DrawingOffsetAndScale *pTransData)
 @descr Constructor of class LwpDrawTextBox More...
 
virtual ~LwpDrawTextArt () override
 
- 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 read out the record of a draw object. 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 &rStyleName) override
 @descr create XF-draw object and assign the style name to it. More...
 
virtual rtl::Reference< XFFrameCreateStandardDrawObj (const OUString &rStyleName) 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...
 

Private Member Functions

void CreateFWPath (XFDrawPath *pPath)
 

Private Attributes

SdwTextArt m_aTextArtRec
 
SdwPoint m_aVector [4]
 

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

Definition at line 315 of file lwpdrawobj.hxx.

Constructor & Destructor Documentation

◆ LwpDrawTextArt()

LwpDrawTextArt::LwpDrawTextArt ( SvStream pStream,
DrawingOffsetAndScale pTransData 
)

@descr Constructor of class LwpDrawTextBox

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

Definition at line 1126 of file lwpdrawobj.cxx.

◆ ~LwpDrawTextArt()

LwpDrawTextArt::~LwpDrawTextArt ( )
overridevirtual

Member Function Documentation

◆ CreateDrawObj()

rtl::Reference< XFFrame > LwpDrawTextArt::CreateDrawObj ( const OUString &  rStyleName)
overrideprotectedvirtual

◆ CreateFWPath()

void LwpDrawTextArt::CreateFWPath ( XFDrawPath pPath)
private

◆ CreateStandardDrawObj()

rtl::Reference< XFFrame > LwpDrawTextArt::CreateStandardDrawObj ( const OUString &  rStyleName)
overrideprotectedvirtual

@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 1313 of file lwpdrawobj.cxx.

References CreateDrawObj().

◆ Read()

void LwpDrawTextArt::Read ( )
overrideprotectedvirtual

◆ RegisterStyle()

OUString LwpDrawTextArt::RegisterStyle ( )
overrideprotectedvirtual

@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 1260 of file lwpdrawobj.cxx.

References XFStyleManager::AddStyle(), LwpGlobalMgr::GetInstance(), IXFStyle::GetStyleName(), LwpGlobalMgr::GetXFStyleManager(), m_aTextArtRec, IXFStyleRet::m_pStyle, LwpDrawTextBox::SetFontStyle(), and SdwTextBoxRecord::tmpTextFaceName.

Member Data Documentation

◆ m_aTextArtRec

SdwTextArt LwpDrawTextArt::m_aTextArtRec
private

Definition at line 318 of file lwpdrawobj.hxx.

Referenced by CreateDrawObj(), CreateFWPath(), Read(), RegisterStyle(), and ~LwpDrawTextArt().

◆ m_aVector

SdwPoint LwpDrawTextArt::m_aVector[4]
private

Definition at line 319 of file lwpdrawobj.hxx.

Referenced by Read().


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