|
LibreOffice Module lotuswordpro (master) 1
|
Lwp-draw-bitmap object. More...
#include <lwpdrawobj.hxx>
Public Member Functions | |
| LwpDrawBitmap (SvStream *pStream) | |
| @descr Constructor of class LwpDrawBitmap More... | |
| virtual | ~LwpDrawBitmap () override |
Public Member Functions inherited from LwpDrawObj | |
| LwpDrawObj (SvStream *pStream, DrawingOffsetAndScale *pTransData=nullptr) | |
| @descr Constructor of class LwpDrawObj More... | |
| virtual | ~LwpDrawObj () |
| rtl::Reference< XFFrame > | CreateXFDrawObject () |
| @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 LwpDrawBitmap More... | |
| virtual OUString | RegisterStyle () override |
| @descr register styles of a draw object according to the saved records data. More... | |
| virtual rtl::Reference< XFFrame > | CreateDrawObj (const OUString &rStyleName) override |
| @descr create XF-draw object and assign the style name to it. More... | |
| virtual rtl::Reference< XFFrame > | CreateStandardDrawObj (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< XFFrame > | CreateDrawObj (const OUString &rStyleName)=0 |
| @descr create XF-draw object and assign the style name to it. More... | |
| virtual rtl::Reference< XFFrame > | CreateStandardDrawObj (const OUString &rStyleName)=0 |
| @descr create XF-draw object and assign the style name to it. More... | |
Private Attributes | |
| SdwBmpRecord | m_aBmpRec |
| std::unique_ptr< sal_uInt8[]> | m_pImageData |
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 |
| SvStream * | m_pStream |
| SdwDrawObjHeader | m_aObjHeader |
| SdwClosedObjStyleRec | m_aClosedObjStyleRec |
| DrawingOffsetAndScale * | m_pTransData |
Lwp-draw-bitmap object.
Definition at line 358 of file lwpdrawobj.hxx.
|
explicit |
@descr Constructor of class LwpDrawBitmap
| pStream | The memory stream which contains the lwp-sdw draw objects |
Definition at line 1338 of file lwpdrawobj.cxx.
|
overridevirtual |
Definition at line 1342 of file lwpdrawobj.cxx.
|
overrideprotectedvirtual |
@descr create XF-draw object and assign the style name to it.
| style | name. |
Implements LwpDrawObj.
Definition at line 1472 of file lwpdrawobj.cxx.
References m_aBmpRec, m_pImageData, SdwBmpRecord::nFileSize, and LwpDrawObj::SetPosition().
Referenced by CreateStandardDrawObj().
|
overrideprotectedvirtual |
@descr create XF-draw object and assign the style name to it.
| style | name. |
Implements LwpDrawObj.
Definition at line 1483 of file lwpdrawobj.cxx.
References CreateDrawObj().
|
overrideprotectedvirtual |
@descr reading function of class LwpDrawBitmap
Implements LwpDrawObj.
Definition at line 1365 of file lwpdrawobj.cxx.
References SvStream::good(), IsValid(), m_aBmpRec, LwpDrawObj::m_aObjHeader, m_pImageData, LwpDrawObj::m_pStream, N, BmpInfoHeader2::nBitCount, SdwBmpRecord::nFileSize, BmpInfoHeader2::nHeaderLen, BmpInfoHeader2::nHeight, BmpInfoHeader2::nPlanes, SdwDrawObjHeader::nRecLen, SdwBmpRecord::nRotation, SdwBmpRecord::nTranslation, BmpInfoHeader2::nWidth, SvStream::ReadBytes(), SvStream::ReadUInt16(), SvStream::ReadUInt32(), SvStream::remainingSize(), SvStream::Seek(), and SvStream::Tell().
|
overrideprotectedvirtual |
@descr register styles of a draw object according to the saved records data.
Implements LwpDrawObj.
Definition at line 1462 of file lwpdrawobj.cxx.
References XFStyleManager::AddStyle(), enumXFFrameXPosFromLeft, enumXFFrameXRelFrame, enumXFFrameYPosFromTop, enumXFFrameYRelFrame, LwpGlobalMgr::GetInstance(), IXFStyle::GetStyleName(), LwpGlobalMgr::GetXFStyleManager(), and IXFStyleRet::m_pStyle.
|
private |
Definition at line 361 of file lwpdrawobj.hxx.
Referenced by CreateDrawObj(), and Read().
|
private |
Definition at line 362 of file lwpdrawobj.hxx.
Referenced by CreateDrawObj(), and Read().