LibreOffice Module sw (master) 1
Functions
notxtfrm.cxx File Reference
#include <hintids.hxx>
#include <tools/urlobj.hxx>
#include <vcl/imapobj.hxx>
#include <vcl/imap.hxx>
#include <svl/urihelper.hxx>
#include <sfx2/progress.hxx>
#include <sfx2/printer.hxx>
#include <editeng/udlnitem.hxx>
#include <editeng/colritem.hxx>
#include <editeng/boxitem.hxx>
#include <fmturl.hxx>
#include <fmtsrnd.hxx>
#include <frmfmt.hxx>
#include <swrect.hxx>
#include <fesh.hxx>
#include <doc.hxx>
#include <IDocumentSettingAccess.hxx>
#include <IDocumentStylePoolAccess.hxx>
#include <IDocumentDeviceAccess.hxx>
#include <IDocumentLayoutAccess.hxx>
#include <flyfrm.hxx>
#include <flyfrms.hxx>
#include <frmtool.hxx>
#include <viewopt.hxx>
#include <viewimp.hxx>
#include <pam.hxx>
#include <hints.hxx>
#include <rootfrm.hxx>
#include <dflyobj.hxx>
#include <pagefrm.hxx>
#include <notxtfrm.hxx>
#include <grfatr.hxx>
#include <charatr.hxx>
#include <ndnotxt.hxx>
#include <ndgrf.hxx>
#include <ndole.hxx>
#include <swregion.hxx>
#include <poolfmt.hxx>
#include <strings.hrc>
#include <accessibilityoptions.hxx>
#include <com/sun/star/embed/EmbedMisc.hpp>
#include <com/sun/star/embed/EmbedStates.hpp>
#include <com/sun/star/embed/XEmbeddedObject.hpp>
#include <svtools/embedhlp.hxx>
#include <dview.hxx>
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <drawinglayer/processor2d/baseprocessor2d.hxx>
#include <drawinglayer/primitive2d/graphicprimitive2d.hxx>
#include <basegfx/matrix/b2dhommatrixtools.hxx>
#include <basegfx/utils/b2dclipstate.hxx>
#include <drawinglayer/processor2d/processor2dtools.hxx>
#include <txtfly.hxx>
#include <drawinglayer/primitive2d/maskprimitive2d.hxx>
#include <drawinglayer/primitive2d/objectinfoprimitive2d.hxx>
#include <osl/diagnose.h>
#include <svx/sdrpagewindow.hxx>
#include <svx/svdpagv.hxx>
#include <svx/sdr/contact/viewcontact.hxx>
#include <svx/sdr/contact/viewobjectcontact.hxx>
#include <svx/sdr/contact/objectcontact.hxx>
#include <svx/sdr/contact/displayinfo.hxx>
Include dependency graph for notxtfrm.cxx:

Go to the source code of this file.

Functions

static bool GetRealURL (const SwGrfNode &rNd, OUString &rText)
 
static void lcl_PaintReplacement (const SwRect &rRect, const OUString &rText, const SwViewShell &rSh, const SwNoTextFrame *pFrame, bool bDefect)
 
void SetOutDev (SwViewShell *pSh, OutputDevice *pOut)
 
static void lcl_ClearArea (const SwFrame &rFrame, vcl::RenderContext &rOut, const SwRect &rPtArea, const SwRect &rGrfArea)
 
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 attributes. More...
 
static void lcl_correctlyAlignRect (SwRect &rAlignedGrfArea, const SwRect &rInArea, vcl::RenderContext const *pOut)
 
static bool paintUsingPrimitivesHelper (vcl::RenderContext &rOutputDevice, const drawinglayer::primitive2d::Primitive2DContainer &rSequence, const basegfx::B2DRange &rSourceRange, const basegfx::B2DRange &rTargetRange)
 
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 paintGraphicUsingPrimitivesHelper (vcl::RenderContext &rOutputDevice, drawinglayer::primitive2d::Primitive2DContainer &rContent, const basegfx::B2DHomMatrix &rGraphicTransform, const OUString &rName, const OUString &rTitle, const OUString &rDescription)
 

Function Documentation

◆ GetRealURL()

static bool GetRealURL ( const SwGrfNode rNd,
OUString &  rText 
)
static

◆ lcl_CalcRect()

static void lcl_CalcRect ( Point rPt,
Size rDim,
MirrorGraph  nMirror 
)
static

Calculate the position and the size of the graphic in the Frame, corresponding to the current graphic attributes.

Parameters
Pointthe position in the Frame (also returned)
Sizethe graphic's size (also returned)
nMirrorthe current mirror attribute

Definition at line 331 of file notxtfrm.cxx.

References Both, Point::getX(), Point::getY(), Size::Height(), Horizontal, Size::setHeight(), Size::setWidth(), Point::setX(), Point::setY(), Vertical, and Size::Width().

Referenced by SwNoTextFrame::GetGrfArea().

◆ lcl_ClearArea()

static void lcl_ClearArea ( const SwFrame rFrame,
vcl::RenderContext rOut,
const SwRect rPtArea,
const SwRect rGrfArea 
)
static

◆ lcl_correctlyAlignRect()

static void lcl_correctlyAlignRect ( SwRect rAlignedGrfArea,
const SwRect rInArea,
vcl::RenderContext const *  pOut 
)
static

◆ lcl_PaintReplacement()

static void lcl_PaintReplacement ( const SwRect rRect,
const OUString &  rText,
const SwViewShell rSh,
const SwNoTextFrame pFrame,
bool  bDefect 
)
static

◆ paintGraphicUsingPrimitivesHelper() [1/2]

void paintGraphicUsingPrimitivesHelper ( vcl::RenderContext rOutputDevice,
drawinglayer::primitive2d::Primitive2DContainer rContent,
const basegfx::B2DHomMatrix rGraphicTransform,
const OUString &  rName,
const OUString &  rTitle,
const OUString &  rDescription 
)

◆ paintGraphicUsingPrimitivesHelper() [2/2]

void paintGraphicUsingPrimitivesHelper ( vcl::RenderContext rOutputDevice,
GraphicObject const &  rGrfObj,
GraphicAttr const &  rGraphicAttr,
const basegfx::B2DHomMatrix rGraphicTransform,
const OUString &  rName,
const OUString &  rTitle,
const OUString &  rDescription 
)

◆ paintUsingPrimitivesHelper()

static bool paintUsingPrimitivesHelper ( vcl::RenderContext rOutputDevice,
const drawinglayer::primitive2d::Primitive2DContainer rSequence,
const basegfx::B2DRange rSourceRange,
const basegfx::B2DRange rTargetRange 
)
static

◆ SetOutDev()

void SetOutDev ( SwViewShell pSh,
OutputDevice pOut 
)

Definition at line 169 of file notxtfrm.cxx.

Referenced by SwLayVout::Enter(), and SwLayVout::Flush_().