LibreOffice Module sc (master) 1
|
#include <xcl97rec.hxx>
Public Member Functions | |
XclObjComment (XclExpObjectManager &rObjMgr, const tools::Rectangle &rRect, const EditTextObject &rEditObj, SdrCaptionObj *pCaption, bool bVisible, const ScAddress &rAddress, const tools::Rectangle &rFrom, const tools::Rectangle &To) | |
virtual | ~XclObjComment () override |
void | ProcessEscherObj (const XclExpRoot &rRoot, const tools::Rectangle &rRect, SdrObject *pCaption, bool bVisible) |
c'tor process for formatted text objects above . More... | |
virtual void | Save (XclExpStream &rStrm) override |
Writes the record header and calls WriteBody(). More... | |
virtual void | SaveXml (XclExpXmlStream &rStrm) override |
Public Member Functions inherited from XclObj | |
virtual | ~XclObj () override |
sal_uInt16 | GetObjType () const |
void | SetId (sal_uInt16 nId) |
void | SetTab (SCTAB nScTab) |
SCTAB | GetTab () const |
void | SetLocked (bool b) |
void | SetPrintable (bool b) |
void | SetAutoFill (bool b) |
void | SetAutoLine (bool b) |
void | SetGrBit (bool b, int f) |
void | SetEscherShapeType (sal_uInt16 nType) |
void | SetEscherShapeTypeGroup () |
bool | IsOwnEscher () const |
If set to true, this object has created its own escher data. More... | |
void | SetText (const XclExpRoot &rRoot, const SdrTextObj &rObj) |
actually writes ESCHER_ClientTextbox More... | |
virtual void | Save (XclExpStream &rStrm) override |
Writes the record header and calls WriteBody(). More... | |
Public Member Functions inherited from XclExpRecord | |
XclExpRecord (sal_uInt16 nRecId=EXC_ID_UNKNOWN, std::size_t nRecSize=0) | |
XclExpRecord (XclExpRecord const &)=default | |
virtual | ~XclExpRecord () override |
sal_uInt16 | GetRecId () const |
Returns the current record ID. More... | |
std::size_t | GetRecSize () const |
Returns the current record size prediction. More... | |
void | SetRecId (sal_uInt16 nRecId) |
Sets a new record ID. More... | |
void | SetRecSize (std::size_t nRecSize) |
Sets a new record size prediction. More... | |
void | AddRecSize (std::size_t nRecSize) |
Adds a size value to the record size prediction. More... | |
void | SetRecHeader (sal_uInt16 nRecId, std::size_t nRecSize) |
Sets record ID and size with one call. More... | |
virtual void | Save (XclExpStream &rStrm) override |
Writes the record header and calls WriteBody(). More... | |
Public Member Functions inherited from XclExpRecordBase | |
XclExpRecordBase () | |
XclExpRecordBase (XclExpRecordBase const &) | |
XclExpRecordBase (XclExpRecordBase &&) | |
XclExpRecordBase & | operator= (XclExpRecordBase const &) |
XclExpRecordBase & | operator= (XclExpRecordBase &&) noexcept |
virtual | ~XclExpRecordBase () |
virtual void | Save (XclExpStream &rStrm) |
Overwrite this method to do any operation while saving the record. More... | |
virtual void | SaveXml (XclExpXmlStream &rStrm) |
Public Member Functions inherited from salhelper::SimpleReferenceObject | |
SimpleReferenceObject () | |
void | acquire () |
void | release () |
Private Attributes | |
ScAddress | maScPos |
SdrCaptionObj * | mpCaption |
bool | mbVisible |
tools::Rectangle | maFrom |
tools::Rectangle | maTo |
Additional Inherited Members | |
Static Public Member Functions inherited from salhelper::SimpleReferenceObject | |
static void * | operator new (std::size_t nSize) |
static void * | operator new (std::size_t nSize, std::nothrow_t const &rNothrow) |
static void | operator delete (void *pPtr) |
static void | operator delete (void *pPtr, std::nothrow_t const &rNothrow) |
Protected Member Functions inherited from XclObj | |
XclObj (XclExpObjectManager &rObjMgr, sal_uInt16 nObjType, bool bOwnEscher=false) | |
true = Escher part created on the fly. More... | |
void | ImplWriteAnchor (const SdrObject *pSdrObj, const tools::Rectangle *pChildAnchor) |
virtual void | WriteBody (XclExpStream &rStrm) override |
Writes the body of the record (without record header). More... | |
virtual void | WriteSubRecs (XclExpStream &rStrm) |
void | SaveTextRecs (XclExpStream &rStrm) |
virtual void | WriteBody (XclExpStream &rStrm) |
Writes the body of the record (without record header). More... | |
Protected Member Functions inherited from salhelper::SimpleReferenceObject | |
virtual | ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE |
Protected Attributes inherited from XclObj | |
XclEscherEx & | mrEscherEx |
XclExpMsoDrawing * | pMsodrawing |
std::unique_ptr< XclExpMsoDrawing > | pClientTextbox |
std::unique_ptr< XclTxo > | pTxo |
sal_uInt16 | mnObjType |
sal_uInt16 | nObjId |
sal_uInt16 | nGrbit |
SCTAB | mnScTab |
bool | bFirstOnSheet |
bool | mbOwnEscher |
Protected Attributes inherited from salhelper::SimpleReferenceObject | |
oslInterlockedCount | m_nCount |
Definition at line 167 of file xcl97rec.hxx.
XclObjComment::XclObjComment | ( | XclExpObjectManager & | rObjMgr, |
const tools::Rectangle & | rRect, | ||
const EditTextObject & | rEditObj, | ||
SdrCaptionObj * | pCaption, | ||
bool | bVisible, | ||
const ScAddress & | rAddress, | ||
const tools::Rectangle & | rFrom, | ||
const tools::Rectangle & | To | ||
) |
Definition at line 568 of file xcl97rec.cxx.
References bVisible, XclExpRoot::GetRoot(), maFrom, maTo, mbVisible, mpCaption, ProcessEscherObj(), XclObj::pTxo, and setSuppressGetBitmapFromXclObjComment().
|
overridevirtual |
Definition at line 649 of file xcl97rec.cxx.
References mpCaption, and setSuppressGetBitmapFromXclObjComment().
void XclObjComment::ProcessEscherObj | ( | const XclExpRoot & | rRoot, |
const tools::Rectangle & | rRect, | ||
SdrObject * | pCaption, | ||
bool | bVisible | ||
) |
c'tor process for formatted text objects above .
@descr used to construct the MSODRAWING Escher object properties.
Be sure to construct the MSODRAWING ClientTextbox record after the base OBJ's MSODRAWING record Escher data is completed.
Definition at line 625 of file xcl97rec.cxx.
References EscherEx::AddAtom(), EscherEx::AddShape(), bVisible, EscherEx::CloseContainer(), EscherPropertyContainer::Commit(), ESCHER_ClientData, ESCHER_ClientTextbox, ESCHER_ShpInst_TextBox, ESCHER_SpContainer, EscherEx::GetStream(), lcl_FillProps(), XclObj::mrEscherEx, XclObj::nGrbit, EscherEx::OpenContainer(), XclObj::pClientTextbox, XclEscherEx::UpdateDffFragmentEnd(), and XclExpDffAnchorBase::WriteDffData().
Referenced by XclObjComment().
|
overridevirtual |
Writes the record header and calls WriteBody().
Reimplemented from XclObj.
Definition at line 655 of file xcl97rec.cxx.
References rStrm, and XclObj::Save().
|
overridevirtual |
Reimplemented from XclExpRecordBase.
Definition at line 783 of file xcl97rec.cxx.
References maFrom, maScPos, maTo, mbVisible, mpCaption, and rStrm.
|
private |
Definition at line 175 of file xcl97rec.hxx.
Referenced by SaveXml().
|
private |
Definition at line 169 of file xcl97rec.hxx.
Referenced by SaveXml().
|
private |
Definition at line 176 of file xcl97rec.hxx.
Referenced by SaveXml().
|
private |
Definition at line 174 of file xcl97rec.hxx.
Referenced by SaveXml().
|
private |
Definition at line 172 of file xcl97rec.hxx.
Referenced by SaveXml(), XclObjComment(), and ~XclObjComment().