20#include <com/sun/star/embed/NoVisualAreaSizeException.hpp> 
   21#include <com/sun/star/embed/XEmbeddedObject.hpp> 
   29#include <osl/diagnose.h> 
   40    , m_IsOldCheckForOLEInCaption(pView->GetWrtShell().IsCheckForOLEInCaption())
 
   85    aLogRect.
SetPos( aPrt.
Pos() + aFrame.Pos() );
 
  102    if ( 
GetAspect() == embed::Aspects::MSOLE_ICON )
 
  124    catch (
const embed::NoVisualAreaSizeException&)
 
  128    catch (
const uno::Exception&)
 
  130        OSL_FAIL( 
"Something goes wrong on requesting object size!" );
 
  133    Size aVisSize( aSz.Width, aSz.Height );
 
  143    const MapMode aMyMap ( MapUnit::MapTwip );
 
  150    SwRect aRect( 
Point( LONG_MIN, LONG_MIN ), aVisSize );
 
  160    const uno::Reference < embed::XEmbeddedObject >& xObj( 
GetObject() );
 
@ MATH_BASELINE_ALIGNMENT
 
virtual bool get(DocumentSettingId id) const =0
Return the specified document setting.
 
SAL_WARN_UNUSED_RESULT Point LogicToLogic(const Point &rPtSource, const MapMode *pMapModeSource, const MapMode *pMapModeDest) const
 
const css::uno::Reference< css::embed::XEmbeddedObject > & GetObject() const
 
const Fraction & GetScaleHeight() const
 
void SetObject(const css::uno::Reference< css::embed::XEmbeddedObject > &rObject)
 
vcl::Window * GetEditWin() const
 
tools::Rectangle GetScaledObjArea() const
 
const Fraction & GetScaleWidth() const
 
SfxViewShell * GetViewShell() const
 
sal_Int64 GetAspect() const
 
constexpr tools::Long Height() const
 
void setWidth(tools::Long nWidth)
 
void setHeight(tools::Long nHeight)
 
constexpr tools::Long Width() const
 
static sal_uInt16 IsMath(const SvGlobalName &rName)
 
SwCursor * GetCursor(bool bMakeTableCursor=true) const
Return pointer to the current shell cursor.
 
IDocumentSettingAccess const & getIDocumentSettingAccess() const
 
void StartAllAction()
For all views of this document.
 
Window class for the Writer edit area, this is the one handling mouse and keyboard events and doing t...
 
void AlignFormulaToBaseline(const css::uno::Reference< css::embed::XEmbeddedObject > &xObj)
for starmath formulas anchored 'as char' it aligns it baseline to baseline changing the previous vert...
 
const SwRect & GetAnyCurRect(CurRectType eType, const Point *pPt=nullptr, const css::uno::Reference< css::embed::XEmbeddedObject > &=css::uno::Reference< css::embed::XEmbeddedObject >()) const
 
Size RequestObjectResize(const SwRect &rRect, const css::uno::Reference< css::embed::XEmbeddedObject > &)
OLE.
 
SwOLENode * GetOLENode()
Inline methods from Node.hxx.
 
const SwOLEObj & GetOLEObj() const
 
bool IsProtected() const override
 
SwOleClient(SwView *pView, SwEditWin *pWin, const svt::EmbeddedObjectRef &)
 
virtual void RequestNewObjectArea(tools::Rectangle &) override
 
virtual void ViewChanged() override
 
virtual void ObjectAreaChanged() override
 
virtual void FormatChanged() override
 
SwNode & GetPointNode() const
 
Of course Writer needs its own rectangles.
 
void Pos(const Point &rNew)
 
void SSize(const Size &rNew)
 
bool Overlaps(const SwRect &rRect) const
 
const SwRect & VisArea() const
 
void MakeVisible(const SwRect &)
 
SwWrtShell & GetWrtShell() const
 
Used by the UI to modify the document model.
 
static MapUnit UnoEmbed2VCLMapUnit(sal_Int32 nUnoEmbedMapUnit)
 
const css::uno::Reference< css::embed::XEmbeddedObject > & GetObject() const
 
Size LogicToLogic(const Size &rSzSource, const MapMode *pMapModeSource, const MapMode *pMapModeDest) const
 
@ FlyEmbeddedPrt
Rect of PrtArea of FlyFrame.
 
@ FlyEmbedded
Rect of current FlyFrame.