44 #include <viewimp.hxx>
58 #include <strings.hrc>
59 #include <accessibilityoptions.hxx>
60 #include <com/sun/star/embed/EmbedMisc.hpp>
61 #include <com/sun/star/embed/EmbedStates.hpp>
62 #include <com/sun/star/embed/XEmbeddedObject.hpp>
92 if (rText.startsWith(
"data:image")) rText =
"inline image";
117 bool bVisited =
false;
131 else if ( !rURL.
GetURL().isEmpty() )
150 mpTransformableSwFrame(),
185 if ( aRegion.empty() )
189 std::optional<Color> xCol;
193 if ( rFrame.
GetBackgroundBrush( aFillAttributes, pItem, xCol, aOrigRect,
false,
false ) )
197 const bool bDone(::
DrawFillAttributes(aFillAttributes, aOrigRect, region, aClipState, rOut));
201 for(
const auto &rRegion : aRegion )
209 rOut.
Push( PushFlags::FILLCOLOR|PushFlags::LINECOLOR );
212 for(
const auto &rRegion : aRegion )
232 if ( aText.isEmpty() && pNd->
IsGrfNode() )
233 GetRealURL( *static_cast<const SwGrfNode*>(pNd), aText );
234 if( aText.isEmpty() )
248 rRenderContext.
Push();
269 SwRect aOrigPaint( rRect );
276 SwRect aPaintArea( aGrfArea );
285 bool bGetUnclippedFrame=
true;
291 bGetUnclippedFrame =
false;
294 if( bGetUnclippedFrame )
304 if( aPaintArea.
IsOver( aNormal ) )
308 ::
lcl_ClearArea( *
this, rRenderContext, aPaintArea, aNormal );
324 rRenderContext.
Pop();
339 rPt.setX(rPt.getX() + rDim.
Width() -1);
345 rPt.setY(rPt.getY() + rDim.
Height() -1);
365 const SwCropGrf& rCrop = rAttrSet.GetCropGrf();
366 MirrorGraph nMirror = rAttrSet.GetMirrorGrf().GetValue();
368 if( rAttrSet.GetMirrorGrf().IsGrfToggle() )
384 tools::Long nLeftCrop, nRightCrop, nTopCrop, nBottomCrop;
385 Size aOrigSz( static_cast<const SwNoTextNode*>(
GetNode())->GetTwipSize() );
386 if ( !aOrigSz.
Width() )
388 aOrigSz.
setWidth( aFramePrintArea.Width() );
394 nLeftCrop = std::max( aOrigSz.
Width() -
396 const double nScale = double(aFramePrintArea.Width()) /
double(nLeftCrop);
405 nLeftCrop = nRightCrop;
406 nRightCrop= nTmpCrop;
411 aOrigSz.
setHeight( aFramePrintArea.Height() );
412 nTopCrop = -rCrop.
GetTop();
418 const double nScale = double(aFramePrintArea.Height()) /
double(nTopCrop);
427 nTopCrop = nBottomCrop;
428 nBottomCrop= nTmpCrop;
431 Size aVisSz( aFramePrintArea.SSize() );
432 Size aGrfSz( aVisSz );
433 Point aVisPt( aFrameArea.Pos() + aFramePrintArea.Pos() );
434 Point aGrfPt( aVisPt );
439 aVisPt.setX(aVisPt.getX() + nLeftCrop);
440 aVisSz.AdjustWidth( -nLeftCrop );
444 aVisPt.setY(aVisPt.getY() + nTopCrop);
445 aVisSz.AdjustHeight( -nTopCrop );
447 if ( nRightCrop > 0 )
448 aVisSz.AdjustWidth( -nRightCrop );
449 if ( nBottomCrop > 0 )
450 aVisSz.AdjustHeight( -nBottomCrop );
452 rRect.
Pos ( aVisPt );
453 rRect.
SSize( aVisSz );
459 Size aTmpSz( aGrfSz );
460 aGrfPt.setX(aGrfPt.getX() + nLeftCrop);
462 aGrfPt.setY(aGrfPt.getY() + nTopCrop);
468 pOrigRect->
Pos ( aGrfPt );
469 pOrigRect->
SSize( aTmpSz );
498 pUpperFly->
Calc(pRenderContext);
624 rOffset.X(), rOffset.Y()));
637 if(
nullptr != pSwNoTextNode)
641 if(
nullptr != pSwGrfNode)
643 const SwAttrSet& rSwAttrSet(pSwGrfNode->GetSwAttrSet());
644 const SwRotationGrf& rSwRotationGrf(rSwAttrSet.GetRotationGrf());
645 const double fRotate = -
toRadians(rSwRotationGrf.GetValue());
666 else if( nChgHght < 0)
685 if( !aFrameRect.
IsOver( rRect ) )
739 if(dynamic_cast<const sw::GrfRereadAndInCacheHint*>(&rHint))
748 if(dynamic_cast<const sw::PreGraphicArrivedHint*>(&rHint))
756 sal_uInt16 nWhich = pLegacy->
GetWhich();
766 bool bComplete =
true;
791 if( SfxItemState::SET == static_cast<const SwAttrSetChg*>(pLegacy->m_pOld)->GetChgSet()->
792 GetItemState( n,
false ))
829 if( RES_GRFATR_END == n )
835 if ( !pLegacy->m_pNew || !
isGRFATR(nWhich) )
853 while( aNewPxRect.
Left() < aPxRect.
Left() )
858 while( aNewPxRect.
Top() < aPxRect.
Top() )
860 rAlignedGrfArea.
AddTop(+1);
903 uno::Sequence< beans::PropertyValue >());
906 std::unique_ptr<drawinglayer::processor2d::BaseProcessor2D> pProcessor2D(
908 rOutputDevice, aViewInformation2D) );
912 pProcessor2D->process(rSequence);
927 const OUString& rName,
928 const OUString& rTitle,
929 const OUString& rDescription)
956 const OUString& rName,
957 const OUString& rTitle,
958 const OUString& rDescription)
974 if(0 != aClip.count())
995 floor(aClipRange.getMinX() - aSinglePixelXY.getX()),
996 floor(aClipRange.getMinY() - aSinglePixelXY.getY()),
997 ceil(aClipRange.getMaxX() + aSinglePixelXY.getX()),
998 ceil(aClipRange.getMaxY() + aSinglePixelXY.getY()));
1035 if(!rName.isEmpty() || !rTitle.isEmpty() || !rDescription.isEmpty())
1050 aTargetRange.
transform(rGraphicTransform);
1068 ViewObjectContactOfSwNoTextFrame(
1087 const SwNoTextFrame& getSwNoTextFrame()
const {
return mrSwNoTextFrame; }
1090 explicit ViewContactOfSwNoTextFrame(
const SwNoTextFrame& rSwNoTextFrame);
1097 ViewContactOfSwNoTextFrame& rVCOfNTF(static_cast<ViewContactOfSwNoTextFrame&>(GetViewContact()));
1098 const SwNoTextFrame& rSwNoTextFrame(rVCOfNTF.getSwNoTextFrame());
1099 SwNoTextNode& rNoTNd(const_cast<SwNoTextNode&>(*static_cast<const SwNoTextNode*>(rSwNoTextFrame.GetNode())));
1102 if(
nullptr != pGrfNd)
1104 const bool bPrn(GetObjectContact().isOutputToPrinter() || GetObjectContact().isOutputToRecordingMetaFile());
1107 pGrfNd->GetGraphicAttr(aGraphicAttr, &rSwNoTextFrame);
1125 ViewObjectContactOfSwNoTextFrame::ViewObjectContactOfSwNoTextFrame(
1128 :
sdr::contact::ViewObjectContact(rObjectContact, rViewContact)
1139 ViewContactOfSwNoTextFrame::ViewContactOfSwNoTextFrame(
1142 :
sdr::contact::ViewContact(),
1143 mrSwNoTextFrame(rSwNoTextFrame)
1153 std::make_unique<ViewContactOfSwNoTextFrame>(*
this);
1182 SwRect aAlignedGrfArea = rGrfArea;
1207 pOut->
SetAntialiasing( nFormerAntialiasingAtOutput | AntialiasingFlags::Enable );
1210 bool bContinue =
true;
1225 else if ( ( rGrfObj.
GetType() == GraphicType::Default ||
1226 rGrfObj.
GetType() == GraphicType::NONE ) &&
1239 OUString aText( pGrfNd->
GetTitle() );
1240 if ( aText.isEmpty() )
1251 const bool bAnimate = rGrfObj.
IsAnimated() &&
1276 "pOut should not be a virtual device" );
1279 aAlignedGrfArea.
SSize(),
reinterpret_cast<sal_IntPtr
>(
this),
1301 static const char* pDisableMM02Goodies(getenv(
"SAL_DISABLE_MM02_GOODIES"));
1302 static bool bUseViewObjectContactMechanism(
nullptr == pDisableMM02Goodies);
1306 bool bSucceeded(
false);
1308 if(bUseViewObjectContactMechanism)
1313 ? pImp->GetPageView()
1319 SdrPageWindow* pPageWindow(
nullptr != pPageView &&
nullptr != pTarget
1320 ? pPageView->FindPageWindow(*pTarget)
1323 if(
nullptr != pPageWindow)
1363 const char* pResId =
nullptr;
1365 if( GraphicType::NONE == rGrfObj.
GetType() )
1366 pResId = STR_COMCORE_READERROR;
1368 pResId = STR_COMCORE_CANT_SHOW;
1372 (aText = pGrfNd->
GetTitle()).isEmpty() &&
1373 (!
GetRealURL( *pGrfNd, aText ) || aText.isEmpty()))
1375 pResId = STR_COMCORE_READERROR;
1393 AntialiasingFlags nNewAntialiasingAtOutput = nFormerAntialiasingAtOutput | AntialiasingFlags::Enable;
1398 nNewAntialiasingAtOutput |= AntialiasingFlags::PixelSnapHairline;
1413 if(!aSequence.empty() && !aSourceRange.
isEmpty())
1416 aAlignedGrfArea.
Left(), aAlignedGrfArea.
Top(),
1417 aAlignedGrfArea.
Right(), aAlignedGrfArea.
Bottom());
1427 if(!bDone && pOLENd)
1432 const Point aPosition(aAlignedGrfArea.
Pos());
1433 const Size aSize(aAlignedGrfArea.
SSize());
1435 if ( pGraphic && pGraphic->
GetType() != GraphicType::NONE )
1437 pGraphic->
Draw( pOut, aPosition, aSize );
1441 if ( xObj.is() && xObj->getCurrentState() == embed::EmbedStates::ACTIVE )
1460 if ( !bPrn && dynamic_cast< const SwCursorShell *>( pShell ) !=
nullptr &&
1461 (nMiscStatus & embed::EmbedMisc::MS_EMBED_ACTIVATEWHENVISIBLE))
1464 assert( pFly !=
nullptr );
1488 if(
nullptr != (pNd =
GetNode()->GetGrfNode()) )
1505 const bool bMultipleOf90(0 == (nRot % 90));
1514 if(
nullptr !=
GetNode()->GetOLENode())
1530 const_cast< SwGrfNode*
>(pGrfNd)->StopGraphicAnimation( pOut, reinterpret_cast<sal_IntPtr>(
this) );
void SetFamily(FontFamily)
vcl::RenderContext * GetOut() const
basegfx::B2DHomMatrix GetInverseViewTransformation() const
vcl::Region GetClipRegion() const
const SwVirtFlyDrawObj * GetVirtDrawObj() const
Base class of the Writer layout elements.
virtual basegfx::B2DHomMatrix getFramePrintAreaTransformation() const override
TransformableSwFrame * getTransformableSwFrame()
void Right(const tools::Long nRight)
sal_Int64 GetAspect() const
virtual const SwFlyFrameFormat * GetFormat() const override
Marks a position in the document model.
sal_Int32 GetLeft() const
void MakePrtArea(const SwBorderAttrs &)
const tools::SvRef< sfx2::SvBaseLink > & GetLink() const
void SetAntialiasing(AntialiasingFlags nMode)
sal_uInt16 GetWhich() const
SwTwips Grow(SwTwips, bool bTst=false, bool bInfo=false)
bool IsStopAnimatedGraphics() const
SwOLENode * GetOLENode()
Inline methods from Node.hxx.
bool m_bRealHeight
should the real height be calculated?
void setWidth(tools::Long nWidth)
bool IsAntiAliasing() const
virtual bool IsVirtual() const
const SwOLEObj & GetOLEObj() const
TransformableSwFrame * getTransformableSwFrame()
const SwAccessibilityOptions * GetAccessibilityOptions() const
constexpr TypedWhichId< SwMsgPoolItem > RES_GRAPHIC_PIECE_ARRIVED(175)
double normalizeToRange(double v, const double fRange)
virtual ~SwNoTextFrame() override
virtual basegfx::B2DHomMatrix getFrameAreaTransformation() const override
void Left(const tools::Long nLeft)
void SetCompletePaint() const
constexpr::Color COL_RED(0x80, 0x00, 0x00)
virtual basegfx::B2DHomMatrix getFramePrintAreaTransformation() const
constexpr TypedWhichId< SwUpdateAttr > RES_UPDATE_ATTR(165)
const SwRect & getFramePrintArea() const
static void DrawShading(const tools::Rectangle &rRect, OutputDevice *pOut)
constexpr TypedWhichId< SwRotationGrf > RES_GRFATR_ROTATION(133)
sdr::contact::ViewContact & GetViewContact() const
static SwCache & GetCache()
css::uno::Reference< css::embed::XEmbeddedObject > const & GetOleRef()
SwNoTextFrame(SwNoTextNode *const, SwFrame *)
bool IsSupportedGraphic() const
bool IsVisitedURL(const OUString &rURL)
SVL_DLLPUBLIC OUString removePassword(OUString const &rURI, INetURLObject::EncodeMechanism eEncodeMechanism, INetURLObject::DecodeMechanism eDecodeMechanism=INetURLObject::DecodeMechanism::ToIUri, rtl_TextEncoding eCharset=RTL_TEXTENCODING_UTF8)
VclPtr< OutputDevice > mpOut
Window, Printer, VirtDev, ...
void SetWeight(FontWeight)
bool IsLinkedFile() const
double toRadians(Degree10 x)
void IntersectClipRegion(const tools::Rectangle &rRect)
GDIMetaFile * GetConnectMetaFile() const
friend class SwNoTextFrame
void Pos(const Point &rNew)
size_t GetIMapObjectCount() const
virtual void Calc(vcl::RenderContext *pRenderContext) const
Of course Writer needs its own rectangles.
void Format(vcl::RenderContext *pRenderContext, const SwBorderAttrs *pAttrs=nullptr) override
Calculate the Bitmap's site, if needed.
virtual void MakeAll(vcl::RenderContext *pRenderContext) override
virtual basegfx::B2DHomMatrix getFrameAreaTransformation() const
constexpr double rad2deg(double v)
AntialiasingFlags GetAntialiasing() const
bool isFrameAreaDefinitionValid() const
virtual void SwClientNotify(const SwModify &, const SfxHint &) override
double getLocalFrameRotation() const
std::unique_ptr< BaseProcessor2D > createProcessor2DFromOutputDevice(OutputDevice &rTargetOutDev, const drawinglayer::geometry::ViewInformation2D &rViewInformation2D)
bool IsLinkedInputStreamReady() const
void AddTop(const tools::Long nAdd)
SwRect & Intersection_(const SwRect &rRect)
drawinglayer::primitive2d::Primitive2DContainer const & tryToGetChartContentAsPrimitive2DSequence(basegfx::B2DRange &rRange, bool bSynchron)
bool IsAsyncRetrieveInputStreamPossible() const
B2DPolygon const & getB2DPolygon(sal_uInt32 nIndex) const
bool isGRFATR(const sal_uInt16 nWhich)
const SwRect & getFrameArea() const
void TriggerAsyncRetrieveInputStream()
const BorderLinePrimitive2D *pCandidateB assert(pCandidateA)
GraphicAttr & GetGraphicAttr(GraphicAttr &, const SwFrame *pFrame) const
Returns the with our graphic attributes filled Graphic-Attr-Structure.
BASEGFX_DLLPUBLIC void transform(const B2DHomMatrix &rMatrix)
IDocumentStylePoolAccess const & getIDocumentStylePoolAccess() const
bool isTransformableSwFrame() const
svt::EmbeddedObjectRef & GetObject()
std::shared_ptr< SdrAllFillAttributesHelper > SdrAllFillAttributesHelperPtr
constexpr TypedWhichId< SwAttrSetChg > RES_ATTRSET_CHG(161)
constexpr TypedWhichId< SwFormatChg > RES_FMT_CHG(160)
void Width(tools::Long nNew)
static void lcl_CalcRect(Point &rPt, Size &rDim, MirrorGraph nMirror)
Calculate the position and the size of the graphic in the Frame, corresponding to the current graphic...
bool HasAnimation() const
void SetUnderline(FontLineStyle)
virtual bool GetModelPositionForViewPoint(SwPosition *pPos, Point &aPoint, SwCursorMoveState *=nullptr, bool bTestBackground=false) const override
SwFlyFrame * FindFlyFrame()
bool GetFileFilterNms(OUString *pFileNm, OUString *pFilterNm) const
const IDocumentDeviceAccess & getIDocumentDeviceAccess() const
Provides access to the document device interface.
std::unique_ptr< TransformableSwFrame > mpTransformableSwFrame
const OUString & GetCurrentPersistName() const
void DrawRect(const tools::Rectangle &rRect)
virtual void transform_translate(const Point &rOffset) override
sal_uInt16 GetVirtPageNum() const
B2DHomMatrix createSourceRangeTargetRangeTransform(const B2DRange &rSourceRange, const B2DRange &rTargetRange)
void StopAnimation(const OutputDevice *=nullptr) const
SvLinkSource * GetObj() const
void paintGraphicUsingPrimitivesHelper(vcl::RenderContext &rOutputDevice, GraphicObject const &rGrfObj, GraphicAttr const &rGraphicAttr, const basegfx::B2DHomMatrix &rGraphicTransform, const OUString &rName, const OUString &rTitle, const OUString &rDescription)
void SetFamilyName(const OUString &rFamilyName)
void Draw(OutputDevice *pOutDev, const Point &rDestPt) const
static void lcl_ClearArea(const SwFrame &rFrame, vcl::RenderContext &rOut, const SwRect &rPtArea, const SwRect &rGrfArea)
bool IsClipRegion() const
virtual bool IsDataComplete() const
GraphicType GetType() const
void PaintPicture(vcl::RenderContext *, const SwRect &) const
Paint the graphic.
SwIndex & Assign(SwIndexReg *, sal_Int32)
void AddBottom(const tools::Long nAdd)
SwPageFrame * FindPageFrame()
virtual SwFormat * GetFormatFromPool(sal_uInt16 nId)=0
Return required automatic format base class.
static void lcl_PaintReplacement(const SwRect &rRect, const OUString &rText, const SwViewShell &rSh, const SwNoTextFrame *pFrame, bool bDefect)
const Graphic * GetGraphic()
std::unique_ptr< sdr::contact::ViewContact > mpViewContact
B2DPolygon createPolygonFromRect(const B2DRectangle &rRect, double fRadiusX, double fRadiusY)
SwNoTextNode * GetNoTextNode()
SwLayoutFrame * GetUpper()
tools::Long Width() const
bool isFramePrintAreaValid() const
virtual void PaintSwFrame(vcl::RenderContext &rRenderContext, SwRect const &, SwPrintData const *const pPrintData=nullptr) const override
constexpr sal_uInt16 RES_GRFATR_END(148)
const IDocumentSettingAccess * getIDocumentSettingAccess() const
Provides access to the document setting interface.
bool isFrameAreaPositionValid() const
static bool paintUsingPrimitivesHelper(vcl::RenderContext &rOutputDevice, const drawinglayer::primitive2d::Primitive2DContainer &rSequence, const basegfx::B2DRange &rSourceRange, const basegfx::B2DRange &rTargetRange)
const Size & GetSize() const
By returning the surrounding Fly's size which equals the graphic's size.
bool isOutputToWindow() const
OUString SwResId(const char *pId)
void AddRight(const tools::Long nAdd)
OUString GetDescription() const
void SSize(const Size &rNew)
Point m_aRealHeight
contains then the position/height of the cursor
bool isFrameAreaSizeValid() const
virtual SfxPrinter * getPrinter(bool bCreate) const =0
Return the printer set at the document.
const GraphicObject & GetGrfObj(bool bWait=false) const
bool IsTransparent() const
IDocumentLayoutAccess const & getIDocumentLayoutAccess() const
GraphicType GetType() const
virtual Size GetTwipSize() const override
static bool GetRealURL(const SwGrfNode &rNd, OUString &rText)
SwTwips Shrink(SwTwips, bool bTst=false, bool bInfo=false)
void SetColor(const Color &)
void SetFrameInPaint(bool b)
static void DrawPaintReplacement(const tools::Rectangle &rRect, const OUString &rText, OutputDevice *pOut)
Point LogicToPixel(const Point &rLogicPt) const
sal_Int32 GetBottom() const
FontLineStyle GetLineStyle() const
const SwRect & GetUnclippedFrame() const
bool GetBackgroundBrush(drawinglayer::attribute::SdrAllFillAttributesHelperPtr &rFillAttributes, const SvxBrushItem *&rpBrush, std::optional< Color > &rxColor, SwRect &rOrigRect, bool bLowerMode, bool bConsiderTextBox) const
Determine the background brush for the frame: the background brush is taken from it-self or from its ...
void append(const B2DPolygon &rPolygon, sal_uInt32 nCount=1)
void AddLeft(const tools::Long nAdd)
void Bottom(const tools::Long nBottom)
const SwContentNode * GetNode() const
bool HasBorder(bool bTreatPaddingAsBorder) const
void SetStyleName(const OUString &rStyleName)
tools::Rectangle SVRect() const
SwDrawView * GetDrawView()
general base class for all free-flowing frames
Color GetRetoucheColor() const
const Graphic & GetGraphic() const
void GetGrfArea(SwRect &rRect, SwRect *) const
Calculate the Bitmap's position and the size within the passed rectangle.
virtual const SwViewShell * GetCurrentViewShell() const =0
Returns the layout set at the document.
void ClrContourCache(const SdrObject *pObj)
const SwViewOption * GetViewOptions() const
vcl::Window * GetWin() const
SwFlyFrame * GetFlyFromMarked(const SdrMarkList *pLst, SwViewShell *pSh)
constexpr sal_uInt16 RES_GRFATR_BEGIN(RES_FRMATR_END)
OUString GetTitle() const
void SetTransparent(bool bTransparent)
tools::Long AdjustWidth(tools::Long n)
void AdjustMarkHdl(SfxViewShell *pOtherShell=nullptr)
void StartGraphicAnimation(OutputDevice *pOut, const Point &rPt, const Size &rSz, tools::Long nExtraData, OutputDevice *pFirstFrameOutDev)
wrappers for non-const calls at GraphicObject
void Top(const tools::Long nTop)
void UpdateLinkWithInputStream()
tools::Long Height() const
void setFrameAreaSizeValid(bool bNew)
virtual bool GetCharRect(SwRect &, const SwPosition &, SwCursorMoveState *=nullptr, bool bAllowFarAway=true) const override
tools::Long AdjustHeight(tools::Long n)
virtual bool get(DocumentSettingId id) const =0
Return the specified document setting.
constexpr TypedWhichId< SvxBoxItem > RES_BOX(106)
const SwAttrSet & GetSwAttrSet() const
Does node has already its own auto-attributes? Access to SwAttrSet.
sal_Int32 GetRight() const
void setHeight(tools::Long nHeight)
basegfx::B2DPolyPolygon GetAsB2DPolyPolygon() const
IMapObject * GetIMapObject(size_t nPos) const
virtual void Calc(vcl::RenderContext *pRenderContext) const override
virtual void NotifyBackground(SwPageFrame *_pPageFrame, const SwRect &_rRect, PrepareHint _eHint)=0
method to trigger notification of 'background'
virtual void DestroyImpl() override
bool IsTransparent() const
bool GetContour(tools::PolyPolygon &rContour, const bool _bForPaint=false) const
#i13147# - If called for paint and the contains a graphic, load of intrinsic graphic ...
B2DHomMatrix createTranslateB2DHomMatrix(double fTranslateX, double fTranslateY)
bool IsOver(const SwRect &rRect) const
constexpr TypedWhichId< SwMsgPoolItem > RES_LINKED_GRAPHIC_STREAM_ARRIVED(187)
void SetOutDev(SwViewShell *pSh, OutputDevice *pOut)
static bool FlushVout()
Output virtual Device (e.g. for animations)
void Push(PushFlags nFlags=PushFlags::ALL)
SwViewShell * GetCurrShell() const
basegfx::B2DHomMatrix GetViewTransformation() const
void Height(tools::Long nNew)
void OnGraphicArrived(const SwRect &)
static void DrawEx(OutputDevice *pOutDev, const OUString &rText, vcl::Font &rFont, const BitmapEx &rBitmap, const Point &rDestPt, const Size &rDestSize)
SwFrameFormat * GetFlyFormat() const
If node is in a fly return the respective format.
virtual SwContentFrame * MakeFrame(SwFrame *) override
MakeFrame will be called for a certain layout pSib is another SwFrame of the same layout (e...
const OUString & GetURL() const
bool isTransformableSwFrame() const
SwRootFrame * getRootFrame()
constexpr TypedWhichId< SwPtrMsgPoolItem > RES_OBJECTDYING(RES_MSG_BEGIN)
virtual void transform_translate(const Point &rOffset)
const Color & GetValue() const
virtual void SwClientNotify(const SwModify &, const SfxHint &) override
virtual void DestroyImpl() override
static void lcl_correctlyAlignRect(SwRect &rAlignedGrfArea, const SwRect &rInArea, vcl::RenderContext const *pOut)
Base class of the Writer document model elements.