LibreOffice Module sw (master) 1
|
#include <notxtfrm.hxx>
Public Member Functions | |
SwNoTextFrame (SwNoTextNode *const, SwFrame *) | |
const SwContentNode * | GetNode () const |
SwContentNode * | GetNode () |
virtual bool | LeftMargin (SwPaM *) const override |
Layout dependent cursor travelling. More... | |
virtual bool | RightMargin (SwPaM *, bool bAPI=false) const override |
virtual void | PaintSwFrame (vcl::RenderContext &rRenderContext, SwRect const &, SwPrintData const *const pPrintData=nullptr) const override |
virtual bool | GetCharRect (SwRect &, const SwPosition &, SwCursorMoveState *=nullptr, bool bAllowFarAway=true) const override |
virtual bool | GetModelPositionForViewPoint (SwPosition *pPos, Point &aPoint, SwCursorMoveState *=nullptr, bool bTestBackground=false) const override |
void | GetGrfArea (SwRect &rRect, SwRect *) const |
Calculate the Bitmap's position and the size within the passed rectangle. More... | |
bool | IsTransparent () const |
void | StopAnimation (const OutputDevice *=nullptr) const |
bool | HasAnimation () const |
bool | isTransformableSwFrame () const |
TransformableSwFrame * | getTransformableSwFrame () |
const TransformableSwFrame * | getTransformableSwFrame () const |
virtual basegfx::B2DHomMatrix | getFrameAreaTransformation () const override |
virtual basegfx::B2DHomMatrix | getFramePrintAreaTransformation () const override |
virtual void | transform_translate (const Point &rOffset) override |
void | dumpAsXml (xmlTextWriterPtr writer=nullptr) const override |
Public Member Functions inherited from SwContentFrame | |
virtual void | Cut () override |
virtual void | Paste (SwFrame *pParent, SwFrame *pSibling=nullptr) override |
const SwContentFrame * | GetFollow () const |
SwContentFrame * | GetFollow () |
SwTextFrame * | FindMaster () const |
virtual bool | LeftMargin (SwPaM *) const =0 |
virtual bool | RightMargin (SwPaM *, bool bAPI=false) const =0 |
virtual bool | UnitUp (SwPaM *, const SwTwips nOffset, bool bSetInReadOnly) const |
virtual bool | UnitDown (SwPaM *, const SwTwips nOffset, bool bSetInReadOnly) const |
virtual bool | WouldFit (SwTwips &nMaxHeight, bool &bSplit, bool bTst, bool) |
bool | MoveFootnoteCntFwd (bool, SwFootnoteBossFrame *) |
Return value guarantees that a new page was not created. See SwFlowFrame::MoveFwd. More... | |
SwContentFrame * | GetNextContentFrame () const |
SwContentFrame * | GetPrevContentFrame () const |
Public Member Functions inherited from SwFrame | |
virtual css::uno::Sequence< css::style::TabStop > | GetTabStopInfo (SwTwips) |
SwFrameType | GetType () const |
SwTwips | Shrink (SwTwips, bool bTst=false, bool bInfo=false) |
SwTwips | Grow (SwTwips, bool bTst=false, bool bInfo=false) |
void | InsertBefore (SwLayoutFrame *pParent, SwFrame *pBehind) |
Insert SwFrame into existing structure. More... | |
void | InsertBehind (SwLayoutFrame *pParent, SwFrame *pBefore) |
Insert SwFrame into existing structure. More... | |
bool | InsertGroupBefore (SwFrame *pParent, SwFrame *pWhere, SwFrame *pSct) |
Insert a chain of SwFrames into an existing structure. More... | |
void | RemoveFromLayout () |
SwLayoutFrame * | GetLeaf (MakePageType eMakePage, bool bFwd) |
SwLayoutFrame * | GetNextLeaf (MakePageType eMakePage) |
Returns the next layout leaf in which we can move the frame. More... | |
SwLayoutFrame * | GetNextFootnoteLeaf (MakePageType eMakePage) |
Return the next layout leaf in that the frame can be moved. More... | |
SwLayoutFrame * | GetNextSctLeaf (MakePageType eMakePage) |
Returns the next layout sheet where the frame can be moved in. More... | |
SwLayoutFrame * | GetNextFlyLeaf (MakePageType eMakePage) |
SwLayoutFrame * | GetPrevLeaf () |
Returns the previous layout leaf where we can move the frame. More... | |
SwLayoutFrame * | GetPrevFootnoteLeaf (MakePageType eMakeFootnote) |
Get the preceding layout leaf in that the frame can be moved. More... | |
SwLayoutFrame * | GetPrevSctLeaf () |
Returns the preceding layout sheet where the frame can be moved into. More... | |
SwLayoutFrame * | GetPrevFlyLeaf () |
const SwLayoutFrame * | GetLeaf (MakePageType eMakePage, bool bFwd, const SwFrame *pAnch) const |
Returns the next/previous Layout leaf that's NOT below this (or even is this itself). More... | |
bool | WrongPageDesc (SwPageFrame *pNew) |
void | AppendDrawObj (SwAnchoredObject &_rNewObj) |
void | RemoveDrawObj (SwAnchoredObject &_rToRemoveObj) |
void | AppendFly (SwFlyFrame *pNew) |
void | RemoveFly (SwFlyFrame *pToRemove) |
const SwSortedObjs * | GetDrawObjs () const |
SwSortedObjs * | GetDrawObjs () |
void | SetDrawObjsAsDeleted (bool bDeleted) |
void | InvalidateObjs (const bool _bNoInvaOfAsCharAnchoredObjs=true) |
virtual void | PaintSwFrameShadowAndBorder (const SwRect &, const SwPageFrame *pPage, const SwBorderAttrs &) const |
Paints shadows and borders. More... | |
void | PaintBaBo (const SwRect &, const SwPageFrame *pPage, const bool bOnlyTextBackground=false) const |
void | PaintSwFrameBackground (const SwRect &, const SwPageFrame *pPage, const SwBorderAttrs &, const bool bLowerMode=false, const bool bLowerBorder=false, const bool bOnlyTextBackground=false) const |
Do not paint background for fly frames without a background brush by calling <PaintBaBo> at the page or at the fly frame its anchored. More... | |
void | PaintBorderLine (const SwRect &, const SwRect &, const SwPageFrame *, const Color *pColor, const SvxBorderLineStyle=SvxBorderLineStyle::SOLID) const |
std::unique_ptr< drawinglayer::processor2d::BaseProcessor2D > | CreateProcessor2D () const |
void | ProcessPrimitives (const drawinglayer::primitive2d::Primitive2DContainer &rSequence) const |
void | Retouch (const SwPageFrame *pPage, const SwRect &rRect) const |
Retouch for a section. More... | |
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 parent (anchor/upper). More... | |
void | SetCompletePaint () const |
void | ResetCompletePaint () const |
bool | IsCompletePaint () const |
void | SetRetouche () const |
void | ResetRetouche () const |
bool | IsRetouche () const |
void | InvalidateInfFlags () |
bool | IsInDocBody () const |
bool | IsInFootnote () const |
bool | IsInTab () const |
bool | IsInFly () const |
bool | IsInSct () const |
bool | IsVertical () const |
bool | IsVertLR () const |
bool | IsVertLRBT () const |
void | SetDerivedVert (bool bNew) |
void | SetInvalidVert (bool bNew) |
bool | IsRightToLeft () const |
void | SetDerivedR2L (bool bNew) |
void | CheckDirChange () |
checks the layout direction and invalidates the lower frames recursively, if necessary. More... | |
Point | GetFrameAnchorPos (bool bIgnoreFlysAnchoredAtThisFrame) const |
returns the position for anchors based on frame direction More... | |
bool | IsFootnoteAllowed () const |
virtual void | Format (vcl::RenderContext *pRenderContext, const SwBorderAttrs *pAttrs=nullptr) |
Calculates the frame area size and the print area, in case they are invalid. More... | |
virtual void | CheckDirection (bool bVert) |
void | ReinitializeFrameSizeAttrFlags () |
bool | HasFixSize () const |
SwFrame * | GetNext () |
SwFrame * | GetPrev () |
SwLayoutFrame * | GetUpper () |
SwRootFrame * | getRootFrame () |
SwPageFrame * | FindPageFrame () |
SwFrame * | GetLower () |
const SwFrame * | GetNext () const |
const SwFrame * | GetPrev () const |
const SwLayoutFrame * | GetUpper () const |
const SwRootFrame * | getRootFrame () const |
SwTabFrame * | FindTabFrame () |
SwFootnoteFrame * | FindFootnoteFrame () |
SwFlyFrame * | FindFlyFrame () |
SwSectionFrame * | FindSctFrame () |
SwFrame * | FindNext () |
SwContentFrame * | FindNextCnt (const bool _bInSameFootnote=false) |
SwFrame * | FindPrev () |
const SwPageFrame * | FindPageFrame () const |
const SwFootnoteBossFrame * | FindFootnoteBossFrame (bool bFootnote=false) const |
const SwFrame * | FindColFrame () const |
const SwFrame * | FindFooterOrHeader () const |
const SwTabFrame * | FindTabFrame () const |
const SwFootnoteFrame * | FindFootnoteFrame () const |
const SwFlyFrame * | FindFlyFrame () const |
const SwSectionFrame * | FindSctFrame () const |
const SwBodyFrame * | FindBodyFrame () const |
const SwFrame * | FindNext () const |
const SwContentFrame * | FindNextCnt (const bool _bInSameFootnote=false) const |
const SwFrame * | FindPrev () const |
const SwFrame * | GetLower () const |
SwContentFrame * | FindPrevCnt () |
const SwContentFrame * | FindPrevCnt () const |
SwFrame * | GetIndPrev_ () const |
Called for a frame inside a section with no direct previous frame (or only previous empty section frames) the previous frame of the outer section is returned, if the frame is the first flowing content of this section. More... | |
SwFrame * | GetIndPrev () const |
SwFrame * | GetIndNext () |
const SwFrame * | GetIndNext () const |
sal_uInt16 | GetPhyPageNum () const |
sal_uInt16 | GetVirtPageNum () const |
bool | OnRightPage () const |
bool | WannaRightPage () const |
Decides if the page want to be a right page or not. More... | |
bool | OnFirstPage () const |
const SwLayoutFrame * | GetPrevLayoutLeaf () const |
const SwLayoutFrame * | GetNextLayoutLeaf () const |
SwLayoutFrame * | GetPrevLayoutLeaf () |
SwLayoutFrame * | GetNextLayoutLeaf () |
virtual void | Calc (vcl::RenderContext *pRenderContext) const |
void | OptCalc () const |
Point | GetRelPos () const |
SwRect | GetPaintArea () const |
|* The paintarea is the area, in which the content of a frame is allowed |* to be displayed. More... | |
SwRect | UnionFrame (bool bBorder=false) const |
|* The unionframe is the framearea (getFrameArea()) of a frame expanded by the |* printarea, if there's a negative margin at the left or right side. More... | |
virtual Size | ChgSize (const Size &aNewSize) |
virtual void | Cut ()=0 |
virtual void | Paste (SwFrame *pParent, SwFrame *pSibling=nullptr)=0 |
void | ValidateLineNum () |
bool | GetValidLineNumFlag () const |
void | InvalidateSize_ () |
void | InvalidatePrt_ () |
void | InvalidatePos_ () |
void | InvalidateLineNum_ () |
void | InvalidateAll_ () |
void | InvalidateSize () |
void | InvalidatePrt () |
void | InvalidatePos () |
void | InvalidateLineNum () |
void | InvalidateAll () |
void | ImplInvalidateSize () |
void | ImplInvalidatePrt () |
void | ImplInvalidatePos () |
void | ImplInvalidateLineNum () |
void | InvalidateNextPos (bool bNoFootnote=false) |
void | InvalidatePage (const SwPageFrame *pPage=nullptr) const |
Invalidates the page in which the Frame is currently placed. More... | |
virtual bool | FillSelection (SwSelectionList &rList, const SwRect &rRect) const |
virtual bool | GetModelPositionForViewPoint (SwPosition *, Point &, SwCursorMoveState *=nullptr, bool bTestBackground=false) const |
virtual bool | GetCharRect (SwRect &, const SwPosition &, SwCursorMoveState *=nullptr, bool bAllowFarAway=true) const |
virtual void | PaintSwFrame (vcl::RenderContext &rRenderContext, SwRect const &, SwPrintData const *const pPrintData=nullptr) const |
virtual bool | Prepare (const PrepareHint ePrep=PrepareHint::Clear, const void *pVoid=nullptr, bool bNotify=true) |
bool | IsLayoutFrame () const |
bool | IsRootFrame () const |
bool | IsPageFrame () const |
bool | IsColumnFrame () const |
bool | IsFootnoteBossFrame () const |
bool | IsHeaderFrame () const |
bool | IsFooterFrame () const |
bool | IsFootnoteContFrame () const |
bool | IsFootnoteFrame () const |
bool | IsBodyFrame () const |
bool | IsColBodyFrame () const |
These SwFrame inlines are here, so that frame.hxx does not need to include layfrm.hxx. More... | |
bool | IsPageBodyFrame () const |
bool | IsFlyFrame () const |
bool | IsSctFrame () const |
bool | IsTabFrame () const |
bool | IsRowFrame () const |
bool | IsCellFrame () const |
bool | IsContentFrame () const |
bool | IsTextFrame () const |
bool | IsNoTextFrame () const |
bool | IsFlowFrame () const |
bool | IsRetoucheFrame () const |
bool | IsAccessibleFrame () const |
void | PrepareCursor () |
bool | IsProtected () const |
Is the Frame or rather the Section in which it lies protected? More... | |
bool | IsColLocked () const |
virtual bool | IsDeleteForbidden () const |
bool | IsInDtor () const |
tools::Long | GetTopMargin () const |
tools::Long | GetBottomMargin () const |
tools::Long | GetLeftMargin () const |
tools::Long | GetRightMargin () const |
void | SetTopBottomMargins (tools::Long, tools::Long) |
void | SetLeftRightMargins (tools::Long, tools::Long) |
void | SetRightLeftMargins (tools::Long, tools::Long) |
tools::Long | GetPrtLeft () const |
tools::Long | GetPrtBottom () const |
tools::Long | GetPrtRight () const |
tools::Long | GetPrtTop () const |
bool | SetMinLeft (tools::Long) |
bool | SetMaxBottom (tools::Long) |
bool | SetMaxRight (tools::Long) |
void | MakeBelowPos (const SwFrame *, const SwFrame *, bool) |
void | MakeLeftPos (const SwFrame *, const SwFrame *, bool) |
void | MakeRightPos (const SwFrame *, const SwFrame *, bool) |
bool | IsNeighbourFrame () const |
virtual bool | IsLeaveUpperAllowed () const |
virtual bool | IsCoveredCell () const |
bool | IsInCoveredCell () const |
bool | KnowsFormat (const SwFormat &rFormat) const |
void | RegisterToFormat (SwFormat &rFormat) |
void | ValidateThisAndAllLowers (const sal_uInt16 nStage) |
void | ForbidDelete () |
void | AllowDelete () |
virtual void | dumpAsXml (xmlTextWriterPtr writer=nullptr) const =0 |
void | dumpTopMostAsXml (xmlTextWriterPtr writer=nullptr) const |
void | dumpInfosAsXml (xmlTextWriterPtr writer) const |
virtual void | dumpAsXmlAttributes (xmlTextWriterPtr writer) const |
void | dumpChildrenAsXml (xmlTextWriterPtr writer) const |
bool | IsCollapse () const |
SwLayoutFrame * | GetNextCellLeaf () |
SwLayoutFrame * | GetPrevCellLeaf () |
void | SetInfFlags () |
const SwRowFrame * | IsInSplitTableRow () const |
const SwRowFrame * | IsInFollowFlowRow () const |
bool | IsInBalancedSection () const |
bool | IsMoveable (const SwLayoutFrame *_pLayoutFrame=nullptr) const |
determine, if frame is moveable in given environment More... | |
const SwAttrSet * | GetAttrSet () const |
WARNING: this may not return correct RES_PAGEDESC/RES_BREAK items for SwTextFrame, use GetBreakItem()/GetPageDescItem() instead. More... | |
virtual const SvxFormatBreakItem & | GetBreakItem () const |
virtual const SwFormatPageDesc & | GetPageDescItem () const |
SwFrame * | FindColFrame () |
SwRowFrame * | FindRowFrame () |
SwFootnoteBossFrame * | FindFootnoteBossFrame (bool bFootnotes=false) |
SwTabFrame * | ImplFindTabFrame () |
SwFootnoteFrame * | ImplFindFootnoteFrame () |
SwFlyFrame * | ImplFindFlyFrame () |
SwSectionFrame * | ImplFindSctFrame () |
const SwBodyFrame * | ImplFindBodyFrame () const |
SwFrame * | FindFooterOrHeader () |
void | ImplInvalidateNextPos (bool bNoFootnote) |
void | InvalidateNextPrtArea () |
method to invalidate printing area of next frame #i11859# More... | |
SwTextFrame * | DynCastTextFrame () |
const SwTextFrame * | DynCastTextFrame () const |
drawinglayer::attribute::SdrAllFillAttributesHelperPtr | getSdrAllFillAttributesHelper () const |
bool | supportsFullDrawingLayerFillAttributeSet () const |
Public Member Functions inherited from SwFrameAreaDefinition | |
SwFrameAreaDefinition () | |
virtual | ~SwFrameAreaDefinition () |
bool | isFrameAreaPositionValid () const |
bool | isFrameAreaSizeValid () const |
bool | isFramePrintAreaValid () const |
bool | isFrameAreaDefinitionValid () const |
sal_uInt32 | GetFrameId () const |
const SwRect & | getFrameArea () const |
const SwRect & | getFramePrintArea () const |
virtual basegfx::B2DHomMatrix | getFrameAreaTransformation () const |
virtual basegfx::B2DHomMatrix | getFramePrintAreaTransformation () const |
virtual void | transform_translate (const Point &rOffset) |
Public Member Functions inherited from SwClient | |
SwClient () | |
SwClient (SwClient &&) noexcept | |
virtual | ~SwClient () override |
std::optional< sw::ModifyChangedHint > | CheckRegistration (const SfxPoolItem *pOldValue) |
void | CheckRegistrationFormat (SwFormat &rOld) |
const SwModify * | GetRegisteredIn () const |
SwModify * | GetRegisteredIn () |
void | EndListeningAll () |
void | StartListeningToSameModifyAs (const SwClient &) |
virtual bool | GetInfo (SfxPoolItem &) const |
Public Member Functions inherited from sw::WriterListener | |
bool | IsLast () const |
virtual const SwCellFrame * | DynCastCellFrame () const |
virtual const SwTabFrame * | DynCastTabFrame () const |
virtual const SwRowFrame * | DynCastRowFrame () const |
virtual const SwTable * | DynCastTable () const |
Public Member Functions inherited from SfxBroadcaster | |
SfxBroadcaster () | |
SfxBroadcaster (const SfxBroadcaster &rBC) | |
virtual | ~SfxBroadcaster () COVERITY_NOEXCEPT_FALSE |
void | Broadcast (const SfxHint &rHint) |
bool | HasListeners () const |
size_t | GetListenerCount () const |
void | ForAllListeners (std::function< bool(SfxListener *)> f) const |
Private Member Functions | |
const Size & | GetSize () const |
By returning the surrounding Fly's size which equals the graphic's size. More... | |
void | Format (vcl::RenderContext *pRenderContext, const SwBorderAttrs *pAttrs=nullptr) override |
Calculate the Bitmap's site, if needed. More... | |
void | PaintPicture (vcl::RenderContext *, const SwRect &) const |
Paint the graphic. More... | |
virtual void | DestroyImpl () override |
virtual | ~SwNoTextFrame () override |
double | getLocalFrameRotation () const |
void | ClearCache () |
sdr::contact::ViewContact & | GetViewContact () const |
void | OnGraphicArrived () |
virtual void | MakeAll (vcl::RenderContext *pRenderContext) override |
virtual void | SwClientNotify (const SwModify &, const SfxHint &) override |
void | ImplPaintPictureGraphic (vcl::RenderContext *pOut, SwGrfNode *pGrfNd, bool bPrn, const SwRect &rAlignedGrfArea, SwViewShell *pShell, SwNoTextNode &rNoTNd) const |
void | ImplPaintPictureBitmap (vcl::RenderContext *pOut, SwOLENode *pOLENd, bool bIsChart, bool bPrn, const SwRect &rAlignedGrfArea, SwViewShell *pShell) const |
void | ImplPaintPictureAnimate (vcl::RenderContext *pOut, SwViewShell *pShell, SwGrfNode *pGrfNd, const SwRect &rAlignedGrfArea) const |
void | ImplPaintPictureReplacement (const GraphicObject &rGrfObj, SwGrfNode *pGrfNd, const SwRect &rAlignedGrfArea, SwViewShell *pShell) const |
Private Attributes | |
std::unique_ptr< TransformableSwFrame > | mpTransformableSwFrame |
std::unique_ptr< sdr::contact::ViewContact > | mpViewContact |
Friends | |
void | FrameFinit () |
double | getLocalFrameRotation_from_SwNoTextFrame (const SwNoTextFrame &rNoTextFrame) |
Additional Inherited Members | |
Static Public Member Functions inherited from SwContentFrame | |
static bool | CalcLowers (SwLayoutFrame &rLay, SwLayoutFrame const &rDontLeave, tools::Long nBottom, bool bSkipRowSpanCells) |
Static Public Member Functions inherited from SwFrame | |
static SwCache & | GetCache () |
static SwCache * | GetCachePtr () |
static void | SetCache (SwCache *pNew) |
static void | CheckPageDescs (SwPageFrame *pStart, bool bNotifyFields=true, SwPageFrame **ppPrev=nullptr) |
Check all pages (starting from the given one) if they use the appropriate frame format. More... | |
static void | DestroyFrame (SwFrame *const pFrame) |
this is the only way to delete a SwFrame instance More... | |
Protected Types inherited from SwFrame | |
enum | InvalidationType { INVALID_SIZE , INVALID_PRTAREA , INVALID_POS , INVALID_LINENUM , INVALID_ALL } |
enumeration for the different invalidations #i28701# More... | |
Protected Member Functions inherited from SwContentFrame | |
void | MakePrtArea (const SwBorderAttrs &) |
virtual void | SwClientNotify (const SwModify &, const SfxHint &) override |
virtual SwTwips | ShrinkFrame (SwTwips, bool bTst=false, bool bInfo=false) override |
virtual SwTwips | GrowFrame (SwTwips, bool bTst=false, bool bInfo=false) override |
SwContentFrame (SwContentNode *const, SwFrame *) | |
virtual void | DestroyImpl () override |
virtual | ~SwContentFrame () override |
Protected Member Functions inherited from SwFrame | |
void | ColLock () |
void | ColUnlock () |
virtual void | DestroyImpl () |
virtual | ~SwFrame () override |
void | setRootFrame (SwRootFrame *pRoot) |
SwPageFrame * | InsertPage (SwPageFrame *pSibling, bool bFootnote) |
void | PrepareMake (vcl::RenderContext *pRenderContext) |
Prepares the Frame for "formatting" (MakeAll()). More... | |
void | OptPrepareMake () |
virtual void | MakePos () |
Calculates the frame area position, in case it's invalid. More... | |
virtual void | MakeAll (vcl::RenderContext *pRenderContext)=0 |
SwTwips | AdjustNeighbourhood (SwTwips nDiff, bool bTst=false) |
Adjust surrounding neighbourhood after insertion. More... | |
virtual SwTwips | ShrinkFrame (SwTwips, bool bTst=false, bool bInfo=false)=0 |
virtual SwTwips | GrowFrame (SwTwips, bool bTst=false, bool bInfo=false)=0 |
sw::BroadcastingModify * | GetDep () |
use these so we can grep for SwFrame's GetRegisteredIn accesses beware that SwTextFrame may return sw::WriterMultiListener More... | |
const sw::BroadcastingModify * | GetDep () const |
SwFrame (sw::BroadcastingModify *, SwFrame *) | |
void | CheckDir (SvxFrameDirection nDir, bool bVert, bool bOnlyBiDi, bool bBrowse) |
virtual bool | InvalidationAllowed (const InvalidationType _nInvalid) const |
method to determine, if an invalidation is allowed. More... | |
virtual void | ActionOnInvalidation (const InvalidationType _nInvalid) |
method to perform additional actions on an invalidation More... | |
void | PaintShadow (const SwRect &, SwRect &, const SwBorderAttrs &) const |
Paints a shadow if the format requests so. More... | |
virtual void | SwClientNotify (const SwModify &, const SfxHint &) override |
virtual const IDocumentDrawModelAccess & | getIDocumentDrawModelAccess () |
Protected Member Functions inherited from SwFrameAreaDefinition | |
void | setFrameAreaPositionValid (bool bNew) |
void | setFrameAreaSizeValid (bool bNew) |
void | setFramePrintAreaValid (bool bNew) |
Protected Member Functions inherited from SwClient | |
SwClient (SwModify *pToRegisterIn) | |
SwModify * | GetRegisteredInNonConst () const |
virtual void | SwClientNotify (const SwModify &, const SfxHint &rHint) override |
Protected Member Functions inherited from sw::WriterListener | |
WriterListener () | |
virtual | ~WriterListener () COVERITY_NOEXCEPT_FALSE |
virtual void | SwClientNotify (const SwModify &, const SfxHint &rHint)=0 |
Protected Member Functions inherited from SfxBroadcaster | |
void | Forward (SfxBroadcaster &rBC, const SfxHint &rHint) |
Protected Attributes inherited from SwFrame | |
std::unique_ptr< SwSortedObjs > | m_pDrawObjs |
SwFrameType | mnFrameType |
bool | mbInDtor: 1 |
bool | mbInvalidR2L: 1 |
bool | mbDerivedR2L: 1 |
bool | mbRightToLeft: 1 |
bool | mbInvalidVert: 1 |
bool | mbDerivedVert: 1 |
bool | mbVertical: 1 |
bool | mbVertLR: 1 |
bool | mbVertLRBT: 1 |
bool | mbValidLineNum: 1 |
bool | mbFixSize: 1 |
bool | mbCompletePaint: 1 |
bool | mbRetouche: 1 |
bool | mbInfInvalid: 1 |
bool | mbInfBody: 1 |
bool | mbInfTab: 1 |
bool | mbInfFly: 1 |
bool | mbInfFootnote: 1 |
bool | mbInfSct: 1 |
bool | mbColLocked: 1 |
bool | m_isInDestroy: 1 |
int | mnForbidDelete |
Definition at line 32 of file notxtfrm.hxx.
|
overrideprivatevirtual |
Definition at line 165 of file notxtfrm.cxx.
SwNoTextFrame::SwNoTextFrame | ( | SwNoTextNode * const | pNode, |
SwFrame * | pSib | ||
) |
Definition at line 147 of file notxtfrm.cxx.
References SwFrame::mnFrameType, and NoTxt.
|
private |
Definition at line 719 of file notxtfrm.cxx.
References ClrContourCache(), SwFrame::FindFlyFrame(), SwFrame::FindPageFrame(), FlyFrameAttributesChanged, SwFlyFrame::GetFormat(), SwFrameAreaDefinition::getFramePrintArea(), SwFormat::GetSurround(), SwFlyFrame::GetVirtDrawObj(), SwFormatSurround::IsContour(), and SwAnchoredObject::NotifyBackground().
Referenced by OnGraphicArrived(), and SwClientNotify().
|
overrideprivatevirtual |
Reimplemented from SwContentFrame.
Definition at line 158 of file notxtfrm.cxx.
References SwContentFrame::DestroyImpl(), and StopAnimation().
|
overridevirtual |
Implements SwFrame.
Definition at line 651 of file notxtfrm.cxx.
References SwFrame::dumpAsXmlAttributes(), SwFrame::dumpChildrenAsXml(), and SwFrame::dumpInfosAsXml().
|
overrideprivatevirtual |
Calculate the Bitmap's site, if needed.
Reimplemented from SwFrame.
Definition at line 665 of file notxtfrm.cxx.
References SwFrameAreaDefinition::getFramePrintArea(), GetSize(), SwFrame::Grow(), Height, Size::Height(), SwRect::Height(), SwFrame::IsVertical(), min(), SwFrame::Shrink(), Size::Width(), and SwRect::Width().
Referenced by MakeAll().
|
overridevirtual |
Reimplemented from SwFrame.
Definition at line 679 of file notxtfrm.cxx.
References SwFrame::Calc(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SwPosition::GetNode(), GetNode(), SwFrame::getRootFrame(), SwRect::Height(), SwRect::Intersection_(), SwRect::Justify(), SwCursorMoveState::m_aRealHeight, SwCursorMoveState::m_bRealHeight, SwRect::Overlaps(), Pos, SwRect::Pos(), Point::setX(), Point::setY(), SSize, SwRect::SSize(), and SwRect::Width().
|
overridevirtual |
Reimplemented from SwFrameAreaDefinition.
Definition at line 584 of file notxtfrm.cxx.
References SwFrameAreaDefinition::getFrameAreaTransformation(), TransformableSwFrame::getLocalFrameAreaTransformation(), getTransformableSwFrame(), and isTransformableSwFrame().
Referenced by ImplPaintPictureGraphic().
|
overridevirtual |
Reimplemented from SwFrameAreaDefinition.
Definition at line 596 of file notxtfrm.cxx.
References SwFrameAreaDefinition::getFramePrintAreaTransformation(), TransformableSwFrame::getLocalFramePrintAreaTransformation(), getTransformableSwFrame(), and isTransformableSwFrame().
Calculate the Bitmap's position and the size within the passed rectangle.
Definition at line 347 of file notxtfrm.cxx.
References Size::AdjustHeight(), Size::AdjustWidth(), Both, Dont, SwFrame::FindPageFrame(), SvxGrfCrop::GetBottom(), SwAttrSet::GetCropGrf(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SvxGrfCrop::GetLeft(), SwAttrSet::GetMirrorGrf(), GetNode(), SvxGrfCrop::GetRight(), SwContentNode::GetSwAttrSet(), SvxGrfCrop::GetTop(), getTransformableSwFrame(), TransformableSwFrame::getUntransformedFrameArea(), TransformableSwFrame::getUntransformedFramePrintArea(), SfxEnumItem< typename EnumT >::GetValue(), SwFrame::GetVirtPageNum(), Point::getX(), Point::getY(), Size::Height(), SwRect::Height(), Horizontal, SwMirrorGrf::IsGrfToggle(), lcl_CalcRect(), SwRect::Pos(), Size::setHeight(), Size::setWidth(), Point::setX(), Point::setY(), SwRect::SSize(), Vertical, Size::Width(), and SwRect::Width().
|
private |
Definition at line 629 of file notxtfrm.cxx.
References SwNode::GetGrfNode(), GetNode(), SwAttrSet::GetRotationGrf(), SwContentNode::GetSwAttrSet(), SwRotationGrf::GetValue(), basegfx::normalizeToRange(), and toRadians().
Referenced by IsTransparent(), and MakeAll().
|
overridevirtual |
Reimplemented from SwFrame.
Definition at line 712 of file notxtfrm.cxx.
References SwPosition::Assign(), and GetNode().
|
inline |
Definition at line 79 of file notxtfrm.hxx.
References SwFrame::GetDep().
|
inline |
Definition at line 77 of file notxtfrm.hxx.
References SwFrame::GetDep().
Referenced by SwTaggedPDFHelper::BeginBlockStructureElements(), SwDrawView::CheckPossibilities(), SwFEShell::CheckUnboundObjects(), SwDoc::ChgAnchor(), SwFEShell::ChgCurPageDesc(), SwVirtFlyDrawObj::ContainsSwGrfNode(), SwFEShell::FindAnchorPos(), SwDoc::GetAllFlyFormats(), GetCharRect(), GetGrfArea(), getLocalFrameRotation(), GetModelPositionForViewPoint(), SwAccessibleFrameBase::GetNodeType(), SwAccessibleNoTextFrame::GetNoTextNode(), SwFEShell::GetObjCntType(), SwVirtFlyDrawObj::getPossibleRotationFromFraphicFrame(), HasAnimation(), IsTransparent(), lcl_FindAnchorPos(), lcl_MoveAllLowerObjs(), LeftMargin(), SwFEShell::NewFlyFrame(), OnGraphicArrived(), PaintPicture(), SwFlyFrame::PaintSwFrame(), PaintSwFrame(), RightMargin(), SetGetExpField::SetBodyPos(), StopAnimation(), SwFlyAtContentFrame::SwClientNotify(), and SwClientNotify().
|
private |
By returning the surrounding Fly's size which equals the graphic's size.
Definition at line 469 of file notxtfrm.cxx.
References SwFrame::FindFlyFrame(), SwFrameAreaDefinition::getFramePrintArea(), and SwRect::SSize().
Referenced by Format().
|
inline |
Definition at line 101 of file notxtfrm.hxx.
References mpTransformableSwFrame.
Referenced by getFrameAreaTransformation(), getFramePrintAreaTransformation(), GetGrfArea(), MakeAll(), and transform_translate().
|
inline |
Definition at line 102 of file notxtfrm.hxx.
References mpTransformableSwFrame.
|
private |
Definition at line 1088 of file notxtfrm.cxx.
References mpViewContact.
Referenced by ImplPaintPictureGraphic().
bool SwNoTextFrame::HasAnimation | ( | ) | const |
Definition at line 1496 of file notxtfrm.cxx.
References SwNode::GetGrfNode(), GetNode(), and SwGrfNode::IsAnimated().
Referenced by lcl_SubtractFlys(), PaintSwFrame(), and SwFEShell::SelectObj().
|
private |
Definition at line 1319 of file notxtfrm.cxx.
References SwRootFrame::FlushVout(), SwViewShell::GetOut(), vcl::Window::GetOutDev(), SwViewShell::GetViewOptions(), SwViewShell::GetWin(), SwViewShell::isOutputToWindow(), SwViewOption::IsPDFExport(), SwRect::Pos(), pOut, SwRect::SSize(), and SwGrfNode::StartGraphicAnimation().
Referenced by ImplPaintPictureGraphic().
|
private |
Definition at line 1368 of file notxtfrm.cxx.
References SwRect::Bottom(), Graphic::Draw(), svt::EmbeddedObjectRef::DrawPaintReplacement(), svt::EmbeddedObjectRef::DrawShading(), SwFrame::FindFlyFrame(), SwOLENode::GetAspect(), SwOLEObj::GetCurrentPersistName(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SwOLENode::GetGraphic(), SwOLEObj::GetObject(), SwOLENode::GetOLEObj(), SwOLEObj::GetOleRef(), Graphic::GetType(), basegfx::Range2D< typename TYPE, typename TRAITS >::isEmpty(), SwRect::Left(), paintUsingPrimitivesHelper(), SwRect::Pos(), pOut, SwRect::Right(), SwRect::SSize(), SwRect::Top(), and SwOLEObj::tryToGetChartContentAsPrimitive2DSequence().
Referenced by PaintPicture().
|
private |
Definition at line 1179 of file notxtfrm.cxx.
References SwFrame::FindFlyFrame(), SdrPageView::FindPageWindow(), SwViewShell::GetAccessibilityOptions(), SwNoTextNode::GetDescription(), SwNode::GetFlyFormat(), GetFlyFromMarked(), getFrameAreaTransformation(), GraphicObject::GetGraphic(), SwGrfNode::GetGraphicAttr(), SwGrfNode::GetGrfObj(), SwGrfNode::GetLink(), SwFormat::GetName(), SdrPageWindow::GetObjectContact(), SwViewShell::GetOut(), vcl::Window::GetOutDev(), SwViewShellImp::GetPageView(), sdr::contact::ViewObjectContact::getPrimitive2DSequence(), GetRealURL(), SwNoTextNode::GetTitle(), SwGrfNode::GetTwipSize(), GraphicObject::GetType(), GetViewContact(), sdr::contact::ViewContact::GetViewObjectContact(), SwViewShell::GetWin(), Size::Height(), SwViewShell::Imp(), ImplPaintPictureAnimate(), ImplPaintPictureReplacement(), GraphicObject::IsAnimated(), SwGrfNode::IsAsyncRetrieveInputStreamPossible(), sfx2::SvLinkSource::IsDataComplete(), SwGrfNode::IsLinkedFile(), SwGrfNode::IsLinkedInputStreamReady(), SwViewShell::isOutputToWindow(), SwViewShell::IsPreview(), SwAccessibilityOptions::IsStopAnimatedGraphics(), Graphic::IsSupportedGraphic(), lcl_PaintReplacement(), paintGraphicUsingPrimitivesHelper(), pOut, SwGrfNode::TriggerAsyncRetrieveInputStream(), and SwGrfNode::UpdateLinkWithInputStream().
Referenced by PaintPicture().
|
private |
Definition at line 1345 of file notxtfrm.cxx.
References GraphicObject::GetGraphic(), GetRealURL(), SwNoTextNode::GetTitle(), GraphicObject::GetType(), Graphic::IsSupportedGraphic(), lcl_PaintReplacement(), and SwResId().
Referenced by ImplPaintPictureGraphic().
|
inline |
Definition at line 100 of file notxtfrm.hxx.
References mpTransformableSwFrame.
Referenced by getFrameAreaTransformation(), getFramePrintAreaTransformation(), IsTransparent(), MakeAll(), and transform_translate().
bool SwNoTextFrame::IsTransparent | ( | ) | const |
Definition at line 1439 of file notxtfrm.cxx.
References SwRootFrame::GetCurrShell(), getLocalFrameRotation(), GetNode(), SwFrame::getRootFrame(), SwViewShell::GetViewOptions(), SwViewOption::IsGraphic(), isTransformableSwFrame(), SwGrfNode::IsTransparent(), and basegfx::rad2deg().
Referenced by SwTextFly::DrawTextOpaque(), lcl_SubtractFlys(), and SwFlyFrame::PaintSwFrame().
|
overridevirtual |
Layout dependent cursor travelling.
Implements SwContentFrame.
Definition at line 617 of file trvlfrm.cxx.
References SwPosition::AssignStartIndex(), GetNode(), SwPaM::GetPoint(), and SwPaM::GetPointNode().
|
overrideprivatevirtual |
Reimplemented from SwContentFrame.
Definition at line 478 of file notxtfrm.cxx.
References TransformableSwFrame::adaptFrameAreasToTransformations(), SwFlyFrame::Calc(), Center, TransformableSwFrame::createFrameAreaTransformations(), basegfx::fTools::equalZero(), Format(), SwBorderAttrAccess::Get(), SwFrame::GetCache(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), getLocalFrameRotation(), SwFrame::getRootFrame(), SwFlyFreeFrame::getTransformableSwFrame(), getTransformableSwFrame(), SwFrame::GetUpper(), SwFrameAreaDefinition::isFrameAreaDefinitionValid(), SwFrameAreaDefinition::isFrameAreaPositionValid(), SwFrameAreaDefinition::isFrameAreaSizeValid(), SwFrameAreaDefinition::isFramePrintAreaValid(), SwFlyFreeFrame::isTransformableSwFrame(), isTransformableSwFrame(), SwFrame::MakePos(), SwContentFrame::MakePrtArea(), mpTransformableSwFrame, TransformableSwFrame::restoreFrameAreas(), SwFrameAreaDefinition::setFrameAreaSizeValid(), Width, SwRect::Width(), Point::X(), and Point::Y().
|
private |
Definition at line 729 of file notxtfrm.cxx.
References ClearCache(), IDocumentLayoutAccess::GetCurrentViewShell(), SwNode::GetDoc(), SwFrameAreaDefinition::getFrameArea(), SwDoc::getIDocumentLayoutAccess(), GetNode(), Grf, SwFrame::InvalidatePrt(), SwViewShell::OnGraphicArrived(), and SwFrame::SetCompletePaint().
Referenced by SwClientNotify().
|
private |
Paint the graphic.
We require either a QuickDraw-Bitmap or a graphic here. If we do not have either, we return a replacement.
Definition at line 1106 of file notxtfrm.cxx.
References SwRootFrame::GetCurrShell(), SwNode::GetGrfNode(), SwNode::getIDocumentDeviceAccess(), GetNode(), SwOLEObj::GetObject(), SwNode::GetOLENode(), SwOLENode::GetOLEObj(), IDocumentDeviceAccess::getPrinter(), SwFrame::getRootFrame(), ImplPaintPictureBitmap(), ImplPaintPictureGraphic(), SwDrawView::IsAntiAliasing(), svt::EmbeddedObjectRef::IsChart(), SwOLENode::IsChart(), lcl_correctlyAlignRect(), pOut, SwAlignGrfRect(), and SwAlignRect().
Referenced by PaintSwFrame().
|
overridevirtual |
delete unused 3rd parameter
Reimplemented from SwFrame.
Definition at line 214 of file notxtfrm.cxx.
References CLIPPED_PICTURES, SfxProgress::EnterLock(), SwFrame::FindFlyFrame(), IDocumentSettingAccess::get(), SwViewShell::GetAccessibilityOptions(), OutputDevice::GetConnectMetaFile(), SwFlyFrame::GetContour(), SwRootFrame::GetCurrShell(), SwFlyFrame::GetFormat(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SwNode::GetGrfNode(), SwNode::getIDocumentSettingAccess(), SwFormat::GetItemIfSet(), SwFormat::GetName(), GetNode(), SwNode::GetNoTextNode(), GetRealURL(), SwFrame::getRootFrame(), SwNoTextNode::GetTitle(), SwFlyFreeFrame::GetUnclippedFrame(), SwViewShell::GetViewOptions(), SwViewShell::GetWin(), HasAnimation(), SvxBoxItem::HasBorder(), OutputDevice::IntersectClipRegion(), SwRect::Intersection_(), SwViewOption::IsGraphic(), SwNode::IsGrfNode(), SwViewShell::IsPreview(), SwAccessibilityOptions::IsStopAnimatedGraphics(), SwRect::Justify(), lcl_ClearArea(), lcl_PaintReplacement(), SfxProgress::LeaveLock(), SwRect::Overlaps(), PaintPicture(), OutputDevice::Pop(), Pos, SwRect::Pos(), OutputDevice::Push(), RES_BOX(), OutputDevice::SetClipRegion(), SwGrfNode::SetFrameInPaint(), SSize, SwRect::SSize(), StopAnimation(), and SwRect::SVRect().
|
overridevirtual |
Implements SwContentFrame.
Definition at line 625 of file trvlfrm.cxx.
References SwPosition::AssignEndIndex(), GetNode(), SwPaM::GetPoint(), and SwPaM::GetPointNode().
void SwNoTextFrame::StopAnimation | ( | const OutputDevice * | pOut = nullptr | ) | const |
Definition at line 1485 of file notxtfrm.cxx.
References SwNode::GetGrfNode(), GetNode(), SwGrfNode::IsAnimated(), and pOut.
Referenced by DestroyImpl(), and PaintSwFrame().
|
overrideprivatevirtual |
Reimplemented from SwContentFrame.
Definition at line 744 of file notxtfrm.cxx.
References SdrMarkView::AdjustMarkHdl(), ClearCache(), SwAttrSetChg::GetChgSet(), IDocumentLayoutAccess::GetCurrentViewShell(), SwNode::GetDoc(), SwViewShell::GetDrawView(), SfxHint::GetId(), SwDoc::getIDocumentLayoutAccess(), GetNode(), SwFrame::GetUpper(), sw::LegacyModifyHint::GetWhich(), Grf, SwFrame::InvalidateAll_(), SwFrame::InvalidatePrt(), isGRFATR(), n, OnGraphicArrived(), RES_ATTRSET_CHG(), RES_FMT_CHG(), RES_GRFATR_BEGIN(), RES_GRFATR_END(), RES_GRFATR_ROTATION(), RES_OBJECTDYING(), RES_UPDATE_ATTR(), SwFrame::SetCompletePaint(), and SwContentFrame::SwClientNotify().
|
overridevirtual |
Reimplemented from SwFrameAreaDefinition.
Definition at line 609 of file notxtfrm.cxx.
References basegfx::utils::createTranslateB2DHomMatrix(), getTransformableSwFrame(), isTransformableSwFrame(), TransformableSwFrame::transform(), SwFrameAreaDefinition::transform_translate(), Point::X(), and Point::Y().
|
friend |
Definition at line 307 of file newfrm.cxx.
|
friend |
Definition at line 415 of file flylay.cxx.
|
private |
Definition at line 45 of file notxtfrm.hxx.
Referenced by getTransformableSwFrame(), isTransformableSwFrame(), and MakeAll().
|
private |
Definition at line 56 of file notxtfrm.hxx.
Referenced by GetViewContact().