LibreOffice Module sc (master) 1
|
#include <xcl97rec.hxx>
Public Member Functions | |
XclObjAny (XclExpObjectManager &rObjMgr, const css::uno::Reference< css::drawing::XShape > &rShape, ScDocument *pDoc) | |
virtual | ~XclObjAny () override |
const css::uno::Reference< css::drawing::XShape > & | GetShape () const |
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 () |
Static Public Member Functions | |
static void | WriteFromTo (XclExpXmlStream &rStrm, const XclObjAny &rObj) |
static void | WriteFromTo (XclExpXmlStream &rStrm, const css::uno::Reference< css::drawing::XShape > &rShape, SCTAB nTab) |
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 | |
virtual void | WriteSubRecs (XclExpStream &rStrm) override |
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 |
Private Attributes | |
css::uno::Reference< css::drawing::XShape > | mxShape |
ScDocument * | mpDoc |
Additional Inherited Members | |
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 254 of file xcl97rec.hxx.
XclObjAny::XclObjAny | ( | XclExpObjectManager & | rObjMgr, |
const css::uno::Reference< css::drawing::XShape > & | rShape, | ||
ScDocument * | pDoc | ||
) |
Definition at line 1083 of file xcl97rec.cxx.
References mxShape.
|
overridevirtual |
Definition at line 1090 of file xcl97rec.cxx.
|
inline |
Definition at line 266 of file xcl97rec.hxx.
References mxShape.
Referenced by GetEditAs(), and WriteFromTo().
|
overridevirtual |
Writes the record header and calls WriteBody().
Reimplemented from XclObj.
Definition at line 1101 of file xcl97rec.cxx.
References XclExpRecord::AddRecSize(), EXC_OBJTYPE_GROUP, XclObj::mnObjType, rStrm, and XclObj::Save().
|
overridevirtual |
Reimplemented from XclExpRecordBase.
Definition at line 1306 of file xcl97rec.cxx.
References FSNS(), ScDetectiveFunc::GetDetectiveObjectType(), GetEditAs(), SdrObject::getSdrObjectFromXShape(), XclObj::mnScTab, mpDoc, mxShape, pObject, rStrm, SC_DETOBJ_NONE, and WriteFromTo().
|
static |
|
static |
Definition at line 1184 of file xcl97rec.cxx.
References GetShape(), XclObj::GetTab(), rStrm, and WriteFromTo().
Referenced by SaveXml(), XclExpChartObj::SaveXml(), and WriteFromTo().
|
overrideprotectedvirtual |
Reimplemented from XclObj.
Reimplemented in XclExpShapeObj.
Definition at line 1094 of file xcl97rec.cxx.
References EXC_ID_OBJGMO, EXC_OBJTYPE_GROUP, XclObj::mnObjType, and rStrm.
Referenced by XclExpShapeObj::WriteSubRecs().
|
private |
Definition at line 276 of file xcl97rec.hxx.
Referenced by SaveXml().
|
private |
Definition at line 275 of file xcl97rec.hxx.
Referenced by GetShape(), and SaveXml().