LibreOffice Module sw (master)  1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
SwOLEObj Class Reference

#include <ndole.hxx>

Collaboration diagram for SwOLEObj:
[legend]

Public Member Functions

 SwOLEObj (const svt::EmbeddedObjectRef &pObj)
 
 SwOLEObj (const OUString &rName, sal_Int64 nAspect)
 
 ~SwOLEObj () COVERITY_NOEXCEPT_FALSE
 
bool UnloadObject ()
 
OUString GetDescription ()
 
css::uno::Reference< css::embed::XEmbeddedObject > const & GetOleRef ()
 
svt::EmbeddedObjectRefGetObject ()
 
const OUString & GetCurrentPersistName () const
 
OUString GetStyleString ()
 
bool IsOleRef () const
 To avoid unnecessary loading of object. More...
 
drawinglayer::primitive2d::Primitive2DContainer const & tryToGetChartContentAsPrimitive2DSequence (basegfx::B2DRange &rRange, bool bSynchron)
 
void resetBufferedData ()
 

Static Public Member Functions

static bool UnloadObject (css::uno::Reference< css::embed::XEmbeddedObject > const &xObj, const SwDoc *pDoc, sal_Int64 nAspect)
 

Private Member Functions

 SwOLEObj (const SwOLEObj &rObj)=delete
 
void SetNode (SwOLENode *pNode)
 

Private Attributes

const SwOLENodem_pOLENode
 
rtl::Reference< SwOLEListener_Implm_xListener
 
svt::EmbeddedObjectRef m_xOLERef
 Either ref or name are known. More...
 
OUString m_aName
 
drawinglayer::primitive2d::Primitive2DContainer m_aPrimitive2DSequence
 
basegfx::B2DRange m_aRange
 
std::unique_ptr< DeflateDatam_pDeflateData
 

Friends

class SwOLENode
 

Detailed Description

Definition at line 34 of file ndole.hxx.

Constructor & Destructor Documentation

SwOLEObj::SwOLEObj ( const SwOLEObj rObj)
privatedelete
SwOLEObj::SwOLEObj ( const svt::EmbeddedObjectRef pObj)
SwOLEObj::SwOLEObj ( const OUString &  rName,
sal_Int64  nAspect 
)
SwOLEObj::~SwOLEObj ( )

Member Function Documentation

const OUString& SwOLEObj::GetCurrentPersistName ( ) const
inline
OUString SwOLEObj::GetDescription ( )
svt::EmbeddedObjectRef & SwOLEObj::GetObject ( )
uno::Reference< embed::XEmbeddedObject > const & SwOLEObj::GetOleRef ( )

Definition at line 900 of file ndole.cxx.

References svt::EmbeddedObjectRef::Assign(), svt::EmbeddedObjectRef::AssignToContainer(), comphelper::EmbeddedObjectContainer::CreateEmbeddedObject(), g_pOLELRU_Cache, SwNode::GetDoc(), SfxObjectShell::getDocumentBaseURL(), comphelper::EmbeddedObjectContainer::GetEmbeddedObject(), SfxObjectShell::GetEmbeddedObjectContainer(), SwFrameAreaDefinition::getFrameArea(), SwContentNode::getLayoutFrame(), svt::EmbeddedObjectRef::GetObject(), SwDoc::GetPersist(), svt::EmbeddedObjectRef::GetViewAspect(), svt::EmbeddedObjectRef::is(), OutputDevice::LogicToLogic(), m_aName, m_pOLENode, m_xListener, m_xOLERef, tools::Rectangle::SetSize(), SO3_DUMMY_CLASSID, and SwRect::SSize().

Referenced by SwFEShell::AlignAllFormulasToBaseline(), SwXFrame::attachToRange(), SwTaggedPDFHelper::BeginBlockStructureElements(), SwOLENode::BreakFileLink_Impl(), SwEmbedObjectLink::DataChanged(), sw::DocumentLayoutManager::DelLayoutFormat(), SwChartHelper::DoUpdateAllCharts(), SwXMLTextImportHelper::endAppletOrPlugin(), SwFEShell::FindFlyFrame(), RtfAttributeOutput::FlyFrameOLEMath(), GetDescription(), SwOLENode::GetGraphic(), GetObject(), SwFEShell::GetOleRef(), SwHTMLWriter::GuessOLENodeFrameType(), IMPL_LINK_NOARG(), SwFEShell::IsSelObjProtected(), SwChartLockController_Helper::LockUnlockAllCharts(), OutHTML_FrameFormatOLENode(), OutHTML_FrameFormatOLENodeGrf(), SwNoTextFrame::PaintPicture(), SwUndoInsert::RepeatImpl(), SwOLENode::RestorePersistentData(), SwOLENode::SavePersistentData(), SwOLEListener_Impl::SwOLEListener_Impl(), WW8Export::TestOleNeedsGraphic(), SwTOXBaseSection::UpdateContent(), SwOLENode::UpdateLinkURL_Impl(), and DocxExport::WriteOLEObject().

OUString SwOLEObj::GetStyleString ( )
bool SwOLEObj::IsOleRef ( ) const
void SwOLEObj::resetBufferedData ( )
void SwOLEObj::SetNode ( SwOLENode pNode)
private
drawinglayer::primitive2d::Primitive2DContainer const & SwOLEObj::tryToGetChartContentAsPrimitive2DSequence ( basegfx::B2DRange rRange,
bool  bSynchron 
)
bool SwOLEObj::UnloadObject ( )
static bool SwOLEObj::UnloadObject ( css::uno::Reference< css::embed::XEmbeddedObject > const &  xObj,
const SwDoc pDoc,
sal_Int64  nAspect 
)
static

Friends And Related Function Documentation

friend class SwOLENode
friend

Definition at line 36 of file ndole.hxx.

Member Data Documentation

OUString SwOLEObj::m_aName
private
drawinglayer::primitive2d::Primitive2DContainer SwOLEObj::m_aPrimitive2DSequence
private

Definition at line 47 of file ndole.hxx.

Referenced by resetBufferedData(), and tryToGetChartContentAsPrimitive2DSequence().

basegfx::B2DRange SwOLEObj::m_aRange
private

Definition at line 48 of file ndole.hxx.

Referenced by resetBufferedData(), and tryToGetChartContentAsPrimitive2DSequence().

std::unique_ptr<DeflateData> SwOLEObj::m_pDeflateData
private
const SwOLENode* SwOLEObj::m_pOLENode
private

Definition at line 38 of file ndole.hxx.

Referenced by GetOleRef(), SetNode(), UnloadObject(), and ~SwOLEObj().

rtl::Reference<SwOLEListener_Impl> SwOLEObj::m_xListener
private

Definition at line 39 of file ndole.hxx.

Referenced by GetOleRef(), SwOLEObj(), and ~SwOLEObj().

svt::EmbeddedObjectRef SwOLEObj::m_xOLERef
private

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