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>
74#include <osl/diagnose.h>
92 if (rText.startsWith(
"data:image")) rText =
"inline image";
117 bool bVisited =
false;
131 else if ( !rURL.
GetURL().isEmpty() )
181 if ( aRegion.empty() )
185 std::optional<Color> xCol;
189 if ( rFrame.
GetBackgroundBrush( aFillAttributes, pItem, xCol, aOrigRect,
false,
false ) )
197 for(
const auto &rRegion : aRegion )
208 for(
const auto &rRegion : aRegion )
228 if ( aText.isEmpty() && pNd->
IsGrfNode() )
230 if( aText.isEmpty() )
244 rRenderContext.
Push();
265 SwRect aOrigPaint( rRect );
272 SwRect aPaintArea( aGrfArea );
279 if (pFindFly && pFindFly->IsFlyFreeFrame())
282 bool bGetUnclippedFrame=
true;
287 bGetUnclippedFrame =
false;
290 if( bGetUnclippedFrame )
300 if( aPaintArea.
Overlaps( aNormal ) )
320 rRenderContext.
Pop();
380 tools::Long nLeftCrop, nRightCrop, nTopCrop, nBottomCrop;
382 if ( !aOrigSz.
Width() )
390 nLeftCrop = std::max( aOrigSz.
Width() -
392 const double nScale = double(aFramePrintArea.
Width()) / double(nLeftCrop);
401 nLeftCrop = nRightCrop;
402 nRightCrop= nTmpCrop;
408 nTopCrop = -rCrop.
GetTop();
414 const double nScale = double(aFramePrintArea.
Height()) / double(nTopCrop);
423 nTopCrop = nBottomCrop;
424 nBottomCrop= nTmpCrop;
428 Size aGrfSz( aVisSz );
429 Point aVisPt( aFrameArea.
Pos() + aFramePrintArea.
Pos() );
430 Point aGrfPt( aVisPt );
435 aVisPt.
setX(aVisPt.
getX() + nLeftCrop);
440 aVisPt.
setY(aVisPt.
getY() + nTopCrop);
443 if ( nRightCrop > 0 )
445 if ( nBottomCrop > 0 )
448 rRect.
Pos ( aVisPt );
449 rRect.
SSize( aVisSz );
455 Size aTmpSz( aGrfSz );
456 aGrfPt.
setX(aGrfPt.
getX() + nLeftCrop);
458 aGrfPt.
setY(aGrfPt.
getY() + nTopCrop);
464 pOrigRect->
Pos ( aGrfPt );
465 pOrigRect->
SSize( aTmpSz );
494 pUpperFly->
Calc(pRenderContext);
620 rOffset.
X(), rOffset.
Y()));
633 if(
nullptr != pSwNoTextNode)
637 if(
nullptr != pSwGrfNode)
653 (void)xmlTextWriterStartElement(writer,
reinterpret_cast<const xmlChar*
>(
"notxt"));
656 (void)xmlTextWriterStartElement(writer, BAD_CAST(
"infos"));
658 (void)xmlTextWriterEndElement(writer);
661 (void)xmlTextWriterEndElement(writer);
675 else if( nChgHght < 0)
755 if(rHint.
GetId() == SfxHintId::SwPreGraphicArrived
756 || rHint.
GetId() == SfxHintId::SwGraphicPieceArrived
757 || rHint.
GetId() == SfxHintId::SwLinkedGraphicStreamArrived)
762 else if (rHint.
GetId() != SfxHintId::SwLegacyModify)
765 sal_uInt16 nWhich = pLegacy->
GetWhich();
769 bool bComplete =
true;
790 GetItemState(
n,
false ))
833 if ( !pLegacy->m_pNew || !
isGRFATR(nWhich) )
851 while( aNewPxRect.
Left() < aPxRect.
Left() )
854 aNewPxRect =
pOut->LogicToPixel( rAlignedGrfArea.
SVRect() );
856 while( aNewPxRect.
Top() < aPxRect.
Top() )
858 rAlignedGrfArea.
AddTop(+1);
859 aNewPxRect =
pOut->LogicToPixel( rAlignedGrfArea.
SVRect() );
864 aNewPxRect =
pOut->LogicToPixel( rAlignedGrfArea.
SVRect() );
869 aNewPxRect =
pOut->LogicToPixel( rAlignedGrfArea.
SVRect() );
901 std::unique_ptr<drawinglayer::processor2d::BaseProcessor2D> pProcessor2D(
903 rOutputDevice, aViewInformation2D) );
906 pProcessor2D->process(rSequence);
920 const OUString& rName,
921 const OUString& rTitle,
922 const OUString& rDescription)
949 const OUString& rName,
950 const OUString& rTitle,
951 const OUString& rDescription)
967 if(0 != aClip.
count())
977 if(!rName.isEmpty() || !rTitle.isEmpty() || !rDescription.isEmpty())
991 aTargetRange.
transform(rGraphicTransform);
1013 ViewObjectContactOfSwNoTextFrame(
1032 const SwNoTextFrame& getSwNoTextFrame()
const {
return mrSwNoTextFrame; }
1035 explicit ViewContactOfSwNoTextFrame(
const SwNoTextFrame& rSwNoTextFrame);
1038void ViewObjectContactOfSwNoTextFrame::createPrimitive2DSequence(
1043 ViewContactOfSwNoTextFrame& rVCOfNTF(
static_cast<ViewContactOfSwNoTextFrame&
>(GetViewContact()));
1044 const SwNoTextFrame& rSwNoTextFrame(rVCOfNTF.getSwNoTextFrame());
1048 if(
nullptr != pGrfNd)
1050 const bool bPrn(GetObjectContact().isOutputToPrinter() || GetObjectContact().isOutputToRecordingMetaFile());
1053 pGrfNd->GetGraphicAttr(aGraphicAttr, &rSwNoTextFrame);
1066ViewObjectContactOfSwNoTextFrame::ViewObjectContactOfSwNoTextFrame(
1069:
sdr::contact::ViewObjectContact(rObjectContact, rViewContact)
1080ViewContactOfSwNoTextFrame::ViewContactOfSwNoTextFrame(
1083: mrSwNoTextFrame(rSwNoTextFrame)
1093 std::make_unique<ViewContactOfSwNoTextFrame>(*
this);
1115 pOut->GetConnectMetaFile();
1122 SwRect aAlignedGrfArea = rGrfArea;
1146 pOut->SetAntialiasing( nFormerAntialiasingAtOutput | AntialiasingFlags::Enable );
1151 pOut->SetAntialiasing( nFormerAntialiasingAtOutput );
1159 AntialiasingFlags nNewAntialiasingAtOutput = nFormerAntialiasingAtOutput | AntialiasingFlags::Enable;
1164 nNewAntialiasingAtOutput |= AntialiasingFlags::PixelSnapHairline;
1166 pOut->SetAntialiasing( nNewAntialiasingAtOutput );
1174 pOut->SetAntialiasing( nFormerAntialiasingAtOutput );
1184 bool bContinue =
true;
1199 else if ( ( rGrfObj.
GetType() == GraphicType::Default ||
1200 rGrfObj.
GetType() == GraphicType::NONE ) &&
1213 OUString aText( pGrfNd->
GetTitle() );
1214 if ( aText.isEmpty() )
1230 const bool bAnimate = rGrfObj.
IsAnimated() &&
1259 static const char* pDisableMM02Goodies(getenv(
"SAL_DISABLE_MM02_GOODIES"));
1260 static bool bUseViewObjectContactMechanism(
nullptr == pDisableMM02Goodies);
1264 bool bSucceeded(
false);
1266 if(bUseViewObjectContactMechanism)
1277 SdrPageWindow* pPageWindow(
nullptr != pPageView &&
nullptr != pTarget
1281 if(
nullptr != pPageWindow)
1328 else if( pShell->
GetWin() &&
pOut->IsVirtual() )
1336 OSL_ENSURE( !
pOut->IsVirtual() ||
1338 "pOut should not be a virtual device" );
1341 rAlignedGrfArea.
SSize(),
reinterpret_cast<sal_IntPtr
>(
this),
1350 if( GraphicType::NONE == rGrfObj.
GetType() )
1351 pResId = STR_COMCORE_READERROR;
1353 pResId = STR_COMCORE_CANT_SHOW;
1357 (aText = pGrfNd->
GetTitle()).isEmpty() &&
1358 (!
GetRealURL( *pGrfNd, aText ) || aText.isEmpty()))
1360 pResId = STR_COMCORE_READERROR;
1369 SwOLENode* pOLENd,
bool bIsChart,
bool bPrn,
const SwRect& rAlignedGrfArea,
1382 if(!aSequence.empty() && !aSourceRange.
isEmpty())
1385 rAlignedGrfArea.
Left(), rAlignedGrfArea.
Top(),
1386 rAlignedGrfArea.
Right(), rAlignedGrfArea.
Bottom());
1396 if(bDone || !pOLENd)
1402 const Point aPosition(rAlignedGrfArea.
Pos());
1403 const Size aSize(rAlignedGrfArea.
SSize());
1405 if ( pGraphic && pGraphic->
GetType() != GraphicType::NONE )
1407 pGraphic->
Draw(*
pOut, aPosition, aSize);
1411 if ( xObj.is() && xObj->getCurrentState() == embed::EmbedStates::ACTIVE )
1430 if ( !bPrn &&
dynamic_cast< const SwCursorShell *
>( pShell ) !=
nullptr &&
1431 (nMiscStatus & embed::EmbedMisc::MS_EMBED_ACTIVATEWHENVISIBLE))
1434 assert( pFly !=
nullptr );
1450 if(
nullptr != (pNd =
GetNode()->GetGrfNode()) )
1467 const bool bMultipleOf90(0 == (nRot % 90));
1476 if(
nullptr !=
GetNode()->GetOLENode())
1492 const_cast< SwGrfNode*
>(pGrfNd)->StopGraphicAnimation(
pOut,
reinterpret_cast<sal_IntPtr
>(
this) );
const Graphic & GetGraphic() const
GraphicType GetType() const
bool IsSupportedGraphic() const
GraphicType GetType() const
void Draw(OutputDevice &rOutDev, const Point &rDestPt) const
static void DrawEx(OutputDevice &rOutDev, const OUString &rText, vcl::Font &rFont, const BitmapEx &rBitmap, const Point &rDestPt, const Size &rDestSize)
virtual SfxPrinter * getPrinter(bool bCreate) const =0
Return the printer set at the document.
virtual const SwViewShell * GetCurrentViewShell() const =0
Returns the layout set at the document.
virtual bool get(DocumentSettingId id) const =0
Return the specified document setting.
virtual SwFormat * GetFormatFromPool(sal_uInt16 nId)=0
Return required automatic format base class.
const OUString & GetURL() const
IMapObject * GetIMapObject(size_t nPos) const
size_t GetIMapObjectCount() const
GDIMetaFile * GetConnectMetaFile() const
basegfx::B2DHomMatrix GetViewTransformation() const
vcl::Region GetClipRegion() const
void DrawRect(const tools::Rectangle &rRect)
bool IsClipRegion() const
void Push(vcl::PushFlags nFlags=vcl::PushFlags::ALL)
void IntersectClipRegion(const tools::Rectangle &rRect)
constexpr tools::Long Y() const
void setX(tools::Long nX)
void setY(tools::Long nY)
constexpr tools::Long X() const
constexpr tools::Long getX() const
constexpr tools::Long getY() const
void AdjustMarkHdl(SfxViewShell *pOtherShell=nullptr)
SdrPageWindow * FindPageWindow(const SdrPaintWindow &rPaintWindow) const
const sdr::contact::ObjectContact & GetObjectContact() const
constexpr tools::Long Height() const
tools::Long AdjustHeight(tools::Long n)
void setWidth(tools::Long nWidth)
tools::Long AdjustWidth(tools::Long n)
void setHeight(tools::Long nHeight)
constexpr tools::Long Width() const
bool HasBorder(bool bTreatPaddingAsBorder) const
const Color & GetValue() const
sal_Int32 GetRight() const
sal_Int32 GetLeft() const
sal_Int32 GetBottom() const
FontLineStyle GetLineStyle() const
bool IsStopAnimatedGraphics() const
virtual void NotifyBackground(SwPageFrame *_pPageFrame, const SwRect &_rRect, PrepareHint _eHint)=0
method to trigger notification of 'background'
const SwAttrSet * GetChgSet() const
What has changed.
const SwMirrorGrf & GetMirrorGrf(bool=true) const
const SwCropGrf & GetCropGrf(bool=true) const
const SwRotationGrf & GetRotationGrf(bool=true) const
SwContentFrame is the layout for content nodes: a common base class for text (paragraph) and non-text...
virtual void DestroyImpl() override
void MakePrtArea(const SwBorderAttrs &)
virtual void SwClientNotify(const SwModify &, const SfxHint &) override
const SwAttrSet & GetSwAttrSet() const
Does node has already its own auto-attributes? Access to SwAttrSet.
IDocumentLayoutAccess const & getIDocumentLayoutAccess() const
IDocumentStylePoolAccess const & getIDocumentStylePoolAccess() const
bool IsVisitedURL(std::u16string_view rURL)
static bool IsAntiAliasing()
general base class for all free-flowing frames
const SwVirtFlyDrawObj * GetVirtDrawObj() const
virtual const SwFlyFrameFormat * GetFormat() const override
bool GetContour(tools::PolyPolygon &rContour, const bool _bForPaint=false) const
#i13147# - If called for paint and the <SwNoTextFrame> contains a graphic, load of intrinsic graphic ...
virtual void Calc(vcl::RenderContext *pRenderContext) const override
bool isTransformableSwFrame() const
const SwRect & GetUnclippedFrame() const
TransformableSwFrame * getTransformableSwFrame()
const SwRect & getFrameArea() const
bool isFrameAreaDefinitionValid() const
virtual basegfx::B2DHomMatrix getFrameAreaTransformation() const
bool isFrameAreaPositionValid() const
const SwRect & getFramePrintArea() const
virtual void transform_translate(const Point &rOffset)
bool isFramePrintAreaValid() const
bool isFrameAreaSizeValid() const
virtual basegfx::B2DHomMatrix getFramePrintAreaTransformation() const
void setFrameAreaSizeValid(bool bNew)
Base class of the Writer layout elements.
SwTwips Grow(SwTwips, bool bTst=false, bool bInfo=false)
sal_uInt16 GetVirtPageNum() const
SwTwips Shrink(SwTwips, bool bTst=false, bool bInfo=false)
SwFlyFrame * FindFlyFrame()
virtual void Calc(vcl::RenderContext *pRenderContext) const
virtual void MakePos()
Calculates the frame area position, in case it's invalid.
static SwCache & GetCache()
void dumpInfosAsXml(xmlTextWriterPtr writer) 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 ...
SwLayoutFrame * GetUpper()
virtual void dumpAsXmlAttributes(xmlTextWriterPtr writer) const
SwRootFrame * getRootFrame()
void SetCompletePaint() const
SwPageFrame * FindPageFrame()
void dumpChildrenAsXml(xmlTextWriterPtr writer) const
virtual Size GetTwipSize() const override
bool IsLinkedFile() const
const tools::SvRef< sfx2::SvBaseLink > & GetLink() const
GraphicAttr & GetGraphicAttr(GraphicAttr &, const SwFrame *pFrame) const
Returns the with our graphic attributes filled Graphic-Attr-Structure.
void UpdateLinkWithInputStream()
const GraphicObject & GetGrfObj(bool bWait=false) const
bool GetFileFilterNms(OUString *pFileNm, OUString *pFilterNm) const
void SetFrameInPaint(bool b)
void TriggerAsyncRetrieveInputStream()
bool IsLinkedInputStreamReady() const
void StartGraphicAnimation(OutputDevice *pOut, const Point &rPt, const Size &rSz, tools::Long nRendererId, OutputDevice *pFirstFrameOutDev)
wrappers for non-const calls at GraphicObject
bool IsTransparent() const
bool IsAsyncRetrieveInputStreamPossible() const
virtual void PaintSwFrame(vcl::RenderContext &rRenderContext, SwRect const &, SwPrintData const *const pPrintData=nullptr) const override
virtual void DestroyImpl() override
TransformableSwFrame * getTransformableSwFrame()
bool HasAnimation() const
std::unique_ptr< TransformableSwFrame > mpTransformableSwFrame
virtual void transform_translate(const Point &rOffset) override
bool isTransformableSwFrame() const
void GetGrfArea(SwRect &rRect, SwRect *) const
Calculate the Bitmap's position and the size within the passed rectangle.
void ImplPaintPictureBitmap(vcl::RenderContext *pOut, SwOLENode *pOLENd, bool bIsChart, bool bPrn, const SwRect &rAlignedGrfArea, SwViewShell *pShell) const
std::unique_ptr< sdr::contact::ViewContact > mpViewContact
const SwContentNode * GetNode() const
virtual basegfx::B2DHomMatrix getFramePrintAreaTransformation() const override
void StopAnimation(const OutputDevice *=nullptr) const
void ImplPaintPictureGraphic(vcl::RenderContext *pOut, SwGrfNode *pGrfNd, bool bPrn, const SwRect &rAlignedGrfArea, SwViewShell *pShell, SwNoTextNode &rNoTNd) const
virtual void SwClientNotify(const SwModify &, const SfxHint &) override
SwNoTextFrame(SwNoTextNode *const, SwFrame *)
void ImplPaintPictureReplacement(const GraphicObject &rGrfObj, SwGrfNode *pGrfNd, const SwRect &rAlignedGrfArea, SwViewShell *pShell) const
const Size & GetSize() const
By returning the surrounding Fly's size which equals the graphic's size.
void PaintPicture(vcl::RenderContext *, const SwRect &) const
Paint the graphic.
sdr::contact::ViewContact & GetViewContact() const
virtual bool GetCharRect(SwRect &, const SwPosition &, SwCursorMoveState *=nullptr, bool bAllowFarAway=true) const override
void ImplPaintPictureAnimate(vcl::RenderContext *pOut, SwViewShell *pShell, SwGrfNode *pGrfNd, const SwRect &rAlignedGrfArea) const
virtual void MakeAll(vcl::RenderContext *pRenderContext) override
void dumpAsXml(xmlTextWriterPtr writer=nullptr) const override
bool IsTransparent() const
void Format(vcl::RenderContext *pRenderContext, const SwBorderAttrs *pAttrs=nullptr) override
Calculate the Bitmap's site, if needed.
virtual basegfx::B2DHomMatrix getFrameAreaTransformation() const override
virtual ~SwNoTextFrame() override
double getLocalFrameRotation() const
virtual bool GetModelPositionForViewPoint(SwPosition *pPos, Point &aPoint, SwCursorMoveState *=nullptr, bool bTestBackground=false) const override
Layout frame for SwNoTextNode, i.e. graphics and OLE nodes (including charts).
OUString GetDescription() const
OUString GetTitle() const
friend class SwNoTextFrame
virtual SwContentFrame * MakeFrame(SwFrame *) override
MakeFrame will be called for a certain layout pSib is another SwFrame of the same layout (e....
Base class of the Writer document model elements.
SwFrameFormat * GetFlyFormat() const
If node is in a fly return the respective format.
const IDocumentDeviceAccess & getIDocumentDeviceAccess() const
Provides access to the document device interface.
SwOLENode * GetOLENode()
Inline methods from Node.hxx.
SwNoTextNode * GetNoTextNode()
const IDocumentSettingAccess * getIDocumentSettingAccess() const
Provides access to the document setting interface.
sal_Int64 GetAspect() const
const SwOLEObj & GetOLEObj() const
const Graphic * GetGraphic()
drawinglayer::primitive2d::Primitive2DContainer const & tryToGetChartContentAsPrimitive2DSequence(basegfx::B2DRange &rRange, bool bSynchron)
svt::EmbeddedObjectRef & GetObject()
css::uno::Reference< css::embed::XEmbeddedObject > const & GetOleRef()
const OUString & GetCurrentPersistName() const
Of course Writer needs its own rectangles.
void Height(tools::Long nNew)
void Top(const tools::Long nTop)
void Right(const tools::Long nRight)
void Bottom(const tools::Long nBottom)
SwRect & Intersection_(const SwRect &rRect)
void Pos(const Point &rNew)
void AddLeft(const tools::Long nAdd)
void SSize(const Size &rNew)
void AddBottom(const tools::Long nAdd)
void AddRight(const tools::Long nAdd)
bool Overlaps(const SwRect &rRect) const
void AddTop(const tools::Long nAdd)
tools::Rectangle SVRect() const
void Left(const tools::Long nLeft)
void Width(tools::Long nNew)
SwViewShell * GetCurrShell() const
static bool FlushVout()
Output virtual Device (e.g. for animations)
Degree10 GetValue() const
Color GetRetoucheColor() const
SdrPageView * GetPageView()
vcl::RenderContext * GetOut() const
const SwViewOption * GetViewOptions() const
VclPtr< OutputDevice > mpOut
Window, Printer, VirtDev, ...
bool isOutputToWindow() const
vcl::Window * GetWin() const
void OnGraphicArrived(const SwRect &)
const SwAccessibilityOptions * GetAccessibilityOptions() const
BASEGFX_DLLPUBLIC void transform(const B2DHomMatrix &rMatrix)
virtual void visit(const Primitive2DReference &)=0
virtual bool IsDataComplete() const
static void DrawPaintReplacement(const tools::Rectangle &rRect, const OUString &rText, OutputDevice *pOut)
static void DrawShading(const tools::Rectangle &rRect, OutputDevice *pOut)
void SetStyleName(const OUString &rStyleName)
void SetTransparent(bool bTransparent)
void SetColor(const Color &)
void SetWeight(FontWeight)
void SetFamily(FontFamily)
void SetUnderline(FontLineStyle)
void SetFamilyName(const OUString &rFamilyName)
basegfx::B2DPolyPolygon GetAsB2DPolyPolygon() const
::OutputDevice const * GetOutDev() const
constexpr ::Color COL_RED(0x80, 0x00, 0x00)
struct _xmlTextWriter * xmlTextWriterPtr
SwFlyFrame * GetFlyFromMarked(const SdrMarkList *pLst, SwViewShell *pSh)
constexpr sal_uInt16 RES_GRFATR_BEGIN(RES_FRMATR_END)
constexpr TypedWhichId< SwAttrSetChg > RES_ATTRSET_CHG(169)
constexpr TypedWhichId< SvxBoxItem > RES_BOX(112)
constexpr TypedWhichId< SwRotationGrf > RES_GRFATR_ROTATION(143)
constexpr TypedWhichId< SwUpdateAttr > RES_UPDATE_ATTR(170)
constexpr sal_uInt16 RES_GRFATR_END(156)
constexpr TypedWhichId< SwPtrMsgPoolItem > RES_OBJECTDYING(RES_FORMAT_MSG_BEGIN)
constexpr TypedWhichId< SwFormatChg > RES_FMT_CHG(168)
bool isGRFATR(const sal_uInt16 nWhich)
SVL_DLLPUBLIC OUString removePassword(OUString const &rURI, INetURLObject::EncodeMechanism eEncodeMechanism, INetURLObject::DecodeMechanism eDecodeMechanism=INetURLObject::DecodeMechanism::ToIUri, rtl_TextEncoding eCharset=RTL_TEXTENCODING_UTF8)
B2DHomMatrix createTranslateB2DHomMatrix(double fTranslateX, double fTranslateY)
B2DHomMatrix createSourceRangeTargetRangeTransform(const B2DRange &rSourceRange, const B2DRange &rTargetRange)
double normalizeToRange(double v, const double fRange)
constexpr double rad2deg(double v)
std::shared_ptr< SdrAllFillAttributesHelper > SdrAllFillAttributesHelperPtr
std::unique_ptr< BaseProcessor2D > createProcessor2DFromOutputDevice(OutputDevice &rTargetOutDev, const drawinglayer::geometry::ViewInformation2D &rViewInformation2D)
SwNodeOffset min(const SwNodeOffset &a, const SwNodeOffset &b)
static void lcl_ClearArea(const SwFrame &rFrame, vcl::RenderContext &rOut, const SwRect &rPtArea, const SwRect &rGrfArea)
static bool GetRealURL(const SwGrfNode &rNd, OUString &rText)
static bool paintUsingPrimitivesHelper(vcl::RenderContext &rOutputDevice, const drawinglayer::primitive2d::Primitive2DContainer &rSequence, const basegfx::B2DRange &rSourceRange, const basegfx::B2DRange &rTargetRange)
static void lcl_PaintReplacement(const SwRect &rRect, const OUString &rText, const SwViewShell &rSh, const SwNoTextFrame *pFrame, bool bDefect)
void paintGraphicUsingPrimitivesHelper(vcl::RenderContext &rOutputDevice, GraphicObject const &rGrfObj, GraphicAttr const &rGraphicAttr, const basegfx::B2DHomMatrix &rGraphicTransform, const OUString &rName, const OUString &rTitle, const OUString &rDescription)
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...
void SetOutDev(SwViewShell *pSh, OutputDevice *pOut)
static void lcl_correctlyAlignRect(SwRect &rAlignedGrfArea, const SwRect &rInArea, vcl::RenderContext const *pOut)
@ RES_POOLCHR_INET_VISIT
Internet visited.
@ RES_POOLCHR_INET_NORMAL
Internet normal.
bool m_bRealHeight
should the real height be calculated?
Point m_aRealHeight
contains then the position/height of the cursor
Marks a position in the document model.
void Assign(const SwNode &rNd, SwNodeOffset nDelta, sal_Int32 nContentOffset=0)
These all set both nNode and nContent.
sal_uInt16 GetWhich() const
OUString SwResId(TranslateId aId)
@ FlyFrameAttributesChanged
void ClrContourCache(const SdrObject *pObj)