LibreOffice Module sw (master) 1
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
SwNoTextNode Class Referenceabstract

Layout frame for SwNoTextNode, i.e. graphics and OLE nodes (including charts). More...

#include <ndnotxt.hxx>

Inheritance diagram for SwNoTextNode:
[legend]
Collaboration diagram for SwNoTextNode:
[legend]

Public Member Functions

virtual ~SwNoTextNode () override
 
virtual SwContentFrameMakeFrame (SwFrame *) override
 MakeFrame will be called for a certain layout pSib is another SwFrame of the same layout (e.g. More...
 
SwGrfFormatCollGetGrfColl () const
 
virtual Size GetTwipSize () const =0
 
virtual bool SavePersistentData ()
 
virtual bool RestorePersistentData ()
 Dummies for loading/saving of persistent data when working with graphics and OLE objects. More...
 
OUString GetTitle () const
 
void SetTitle (const OUString &rTitle)
 
OUString GetDescription () const
 
void SetDescription (const OUString &rDescription)
 
void SetContour (const tools::PolyPolygon *pPoly, bool bAutomatic=false)
 
const tools::PolyPolygonHasContour () const
 
bool HasContour_ () const
 
void GetContour (tools::PolyPolygon &rPoly) const
 
void CreateContour ()
 
void SetAutomaticContour (bool bSet)
 
bool HasAutomaticContour () const
 
void SetContourAPI (const tools::PolyPolygon *pPoly)
 
bool GetContourAPI (tools::PolyPolygon &rPoly) const
 
void SetPixelContour (bool bSet)
 
bool IsPixelContour () const
 
bool IsContourMapModeValid () const
 
Graphic GetGraphic () const
 
- Public Member Functions inherited from SwContentNode
virtual SwContentFrameMakeFrame (SwFrame *pSib)=0
 MakeFrame will be called for a certain layout pSib is another SwFrame of the same layout (e.g. More...
 
virtual SwContentNodeJoinNext ()
 
bool CanJoinNext (SwNodeIndex *pIdx=nullptr) const
 Is it possible to join two nodes? In pIdx the second position can be returned. More...
 
bool CanJoinNext (SwPosition *pIdx) const
 Can we join two Nodes? We can return the 2nd position in pIdx. More...
 
bool CanJoinPrev (SwNodeIndex *pIdx=nullptr) const
 Can we join two Nodes? We can return the 2nd position in pIdx. More...
 
bool GoNext (SwContentIndex *, SwCursorSkipMode nMode) const
 
bool GoNext (SwPosition *, SwCursorSkipMode nMode) const
 
bool GoPrevious (SwContentIndex *, SwCursorSkipMode nMode) const
 
SwContentFramegetLayoutFrame (const SwRootFrame *, const SwPosition *pPos=nullptr, std::pair< Point, bool > const *pViewPosAndCalcFrame=nullptr) const
 
SwRect FindLayoutRect (const bool bPrtArea=false, const Point *pPoint=nullptr) const
 
SwRect FindPageFrameRect () const
 
void MakeFramesForAdjacentContentNode (SwContentNode &rNode)
 Method creates all views of document for given node. More...
 
void DelFrames (SwRootFrame const *pLayout)
 Method deletes all views of document for the node. More...
 
virtual sal_Int32 Len () const
 
virtual SwContentNodeMakeCopy (SwDoc &, SwNode &rWhere, bool bNewFrames) const =0
 
virtual bool GetInfo (SfxPoolItem &) const override
 Get information from Client. More...
 
const SfxPoolItemGetAttr (sal_uInt16 nWhich, bool bInParent=true) const
 SS for PoolItems: hard attributation. More...
 
template<class T >
const T & GetAttr (TypedWhichId< T > nWhich, bool bInParent=true) const
 
bool GetAttr (SfxItemSet &rSet) const
 
virtual bool SetAttr (const SfxPoolItem &)
 made virtual More...
 
virtual bool SetAttr (const SfxItemSet &rSet)
 
virtual bool ResetAttr (sal_uInt16 nWhich1, sal_uInt16 nWhich2=0)
 
virtual bool ResetAttr (const std::vector< sal_uInt16 > &rWhichArr)
 
virtual sal_uInt16 ResetAllAttr ()
 
const SfxPoolItemGetNoCondAttr (sal_uInt16 nWhich, bool bInParents) const
 Obtains attribute that is not delivered via conditional style! More...
 
template<class T >
const T * GetNoCondAttr (TypedWhichId< T > nWhich, bool bInParents) const
 
const SwAttrSetGetSwAttrSet () const
 Does node has already its own auto-attributes? Access to SwAttrSet. More...
 
const SwAttrSetGetpSwAttrSet () const
 
bool HasSwAttrSet () const
 
virtual SwFormatCollChgFormatColl (SwFormatColl *)
 
SwFormatCollGetFormatColl () const
 
SwFormatCollGetAnyFormatColl () const
 
void SetCondFormatColl (SwFormatColl *)
 
SwFormatCollGetCondFormatColl () const
 
bool IsAnyCondition (SwCollCondition &rTmp) const
 
void ChkCondColl (const SwTextFormatColl *pColl=nullptr)
 
bool InvalidateNumRule ()
 Invalidates NumRule at the node. More...
 
SvxFrameDirection GetTextDirection (const SwPosition &rPos, const Point *pPt) const
 determines the text direction for a certain position. More...
 
void SetModifyAtAttr (bool bSetModifyAtAttr) const
 
bool GetModifyAtAttr () const
 
virtual drawinglayer::attribute::SdrAllFillAttributesHelperPtr getSdrAllFillAttributesHelper () const
 
void UpdateAttr (const SwUpdateAttr &)
 
- Public Member Functions inherited from SwNode
bool IsCreateFrameWhenHidingRedlines () const
 
void SetRedlineMergeFlag (Merge const eMerge)
 
Merge GetRedlineMergeFlag () const
 
virtual ~SwNode () override=0
 the = 0 forces the class to be an abstract base class, but the dtor can be still called from subclasses More...
 
tools::Long GetSerial () const
 
sal_uInt16 GetSectionLevel () const
 Returns the section level at the position given by aIndex. More...
 
SwNodeOffset StartOfSectionIndex () const
 
const SwStartNodeStartOfSectionNode () const
 
SwStartNodeStartOfSectionNode ()
 
SwNodeOffset EndOfSectionIndex () const
 
const SwEndNodeEndOfSectionNode () const
 
SwEndNodeEndOfSectionNode ()
 
sal_uInt8 GetAutoFormatLvl () const
 
void SetAutoFormatLvl (sal_uInt8 nVal)
 
bool IsIgnoreDontExpand () const
 
void SetIgnoreDontExpand (bool bNew)
 
SwNodeType GetNodeType () const
 
SwStartNodeGetStartNode ()
 
const SwStartNodeGetStartNode () const
 
SwContentNodeGetContentNode ()
 
const SwContentNodeGetContentNode () const
 
SwEndNodeGetEndNode ()
 
const SwEndNodeGetEndNode () const
 
SwTextNodeGetTextNode ()
 Inline methods from Node.hxx. More...
 
const SwTextNodeGetTextNode () const
 
SwOLENodeGetOLENode ()
 Inline methods from Node.hxx. More...
 
const SwOLENodeGetOLENode () const
 
SwNoTextNodeGetNoTextNode ()
 
const SwNoTextNodeGetNoTextNode () const
 
SwGrfNodeGetGrfNode ()
 
const SwGrfNodeGetGrfNode () const
 
SwTableNodeGetTableNode ()
 
const SwTableNodeGetTableNode () const
 
SwSectionNodeGetSectionNode ()
 
const SwSectionNodeGetSectionNode () const
 
bool IsStartNode () const
 
bool IsContentNode () const
 
bool IsEndNode () const
 
bool IsTextNode () const
 
bool IsTableNode () const
 
bool IsSectionNode () const
 
bool IsOLENode () const
 
bool IsNoTextNode () const
 
bool IsGrfNode () const
 
bool IsInRedlines () const
 Checks if this node is in redlines. More...
 
SwTableNodeFindTableNode ()
 Search table node, in which it is. More...
 
const SwTableNodeFindTableNode () const
 
SwSectionNodeFindSectionNode ()
 Search section node, in which it is. More...
 
const SwSectionNodeFindSectionNode () const
 
SwStartNodeFindSttNodeByType (SwStartNodeType eTyp)
 
const SwStartNodeFindSttNodeByType (SwStartNodeType eTyp) const
 
const SwStartNodeFindTableBoxStartNode () const
 
const SwStartNodeFindFlyStartNode () const
 
const SwStartNodeFindFootnoteStartNode () const
 
const SwStartNodeFindHeaderStartNode () const
 
const SwStartNodeFindFooterStartNode () const
 
SwNodesGetNodes ()
 Node is in which nodes-array/doc? More...
 
const SwNodesGetNodes () const
 
SwDocGetDoc ()
 
const SwDocGetDoc () const
 
const IDocumentSettingAccessgetIDocumentSettingAccess () const
 Provides access to the document setting interface. More...
 
const IDocumentDeviceAccessgetIDocumentDeviceAccess () const
 Provides access to the document device interface. More...
 
const IDocumentMarkAccessgetIDocumentMarkAccess () const
 Provides access to the document bookmark interface. More...
 
const IDocumentRedlineAccessgetIDocumentRedlineAccess () const
 Provides access to the document redline interface. More...
 
const IDocumentStylePoolAccessgetIDocumentStylePoolAccess () const
 Provides access to the document style pool interface. More...
 
const IDocumentDrawModelAccessgetIDocumentDrawModelAccess () const
 Provides access to the document draw model interface. More...
 
const IDocumentLayoutAccessgetIDocumentLayoutAccess () const
 Provides access to the document layout interface. More...
 
IDocumentLayoutAccessgetIDocumentLayoutAccess ()
 
const IDocumentLinksAdministrationgetIDocumentLinksAdministration () const
 Provides access to the document links administration interface. More...
 
IDocumentLinksAdministrationgetIDocumentLinksAdministration ()
 
const IDocumentFieldsAccessgetIDocumentFieldsAccess () const
 Provides access to the document fields administration interface. More...
 
IDocumentFieldsAccessgetIDocumentFieldsAccess ()
 
IDocumentContentOperationsgetIDocumentContentOperations ()
 Provides access to the document content operations interface. More...
 
IStyleAccessgetIDocumentStyleAccess ()
 Provides access to the document automatic styles interface. More...
 
IDocumentListItemsgetIDocumentListItems ()
 Provides access to the document's numbered items interface. More...
 
bool IsInVisibleArea (SwViewShell const *pSh) const
 Is node in the visible area of the Shell? More...
 
bool IsInProtectSect () const
 Is node in a protected area? More...
 
bool IsProtect () const
 Is node in something that is protected (range, frame, table cells ... including anchor in case of frames or footnotes)? More...
 
const SwPageDescFindPageDesc (SwNodeOffset *pPgDescNdIdx=nullptr) const
 Search PageDesc with which this node is formatted. More...
 
SwFrameFormatGetFlyFormat () const
 If node is in a fly return the respective format. More...
 
SwTableBoxGetTableBox () const
 If node is in a table return the respective table box. More...
 
SwNodeOffset GetIndex () const
 
const SwTextNodeFindOutlineNodeOfLevel (sal_uInt8 nLvl, SwRootFrame const *pLayout=nullptr) const
 
sal_uInt8 HasPrevNextLayNode () const
 
std::vector< SwFrameFormat * > const & GetAnchoredFlys () const
 
void AddAnchoredFly (SwFrameFormat *)
 
void RemoveAnchoredFly (SwFrameFormat *)
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 Dumps the node structure to the given destination (file nodes.xml in the current directory by default) More...
 
bool operator== (const SwNode &rOther) const
 
bool operator!= (const SwNode &rOther) const
 
bool operator< (const SwNode &rOther) const
 
bool operator<= (const SwNode &rOther) const
 
bool operator> (const SwNode &rOther) const
 
bool operator>= (const SwNode &rOther) const
 
sw::AccessibilityCheckStatusgetAccessibilityCheckStatus ()
 
void resetAndQueueAccessibilityCheck ()
 
- Public Member Functions inherited from sw::BorderCacheOwner
 BorderCacheOwner ()
 
 BorderCacheOwner (BorderCacheOwner &)
 
BorderCacheOwneroperator= (const BorderCacheOwner &)
 
 ~BorderCacheOwner ()
 
bool IsInCache () const
 
void InvalidateInSwCache (const sal_uInt16)
 

Protected Member Functions

 SwNoTextNode (SwNode &rWhere, const SwNodeType nNdType, SwGrfFormatColl *pGrColl, SwAttrSet const *pAutoAttr)
 
- Protected Member Functions inherited from SwContentNode
 SwContentNode ()
 only used by SwContentNodeTmp in SwTextNode::Update More...
 
 SwContentNode (const SwNode &rWhere, const SwNodeType nNodeType, SwFormatColl *pFormatColl)
 
virtual ~SwContentNode () override=0
 the = 0 forces the class to be an abstract base class, but the dtor can be still called from subclasses More...
 
virtual void NewAttrSet (SwAttrPool &)=0
 Make respective nodes create the specific AttrSets. More...
 
sal_uInt16 ClearItemsFromAttrSet (const std::vector< sal_uInt16 > &rWhichIds)
 There some functions that like to remove items from the internal SwAttrSet (handle): More...
 
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint) override
 
- Protected Member Functions inherited from SwNode
 SwNode ()
 only used by SwContentNodeTmp in SwTextNode::Update More...
 
 SwNode (const SwNode &rWhere, const SwNodeType nNodeId)
 
 SwNode (SwNodes &rNodes, SwNodeOffset nPos, const SwNodeType nNodeId)
 for the initial StartNode More...
 

Private Member Functions

virtual void NewAttrSet (SwAttrPool &) override
 Creates an AttrSet for all derivations with ranges for frame- and graphics-attributes. More...
 
 SwNoTextNode (const SwNoTextNode &)=delete
 
SwNoTextNodeoperator= (const SwNoTextNode &)=delete
 

Private Attributes

std::optional< tools::PolyPolygonm_pContour
 
bool m_bAutomaticContour: 1
 
bool m_bContourMapModeValid: 1
 
bool m_bPixelContour: 1
 

Friends

class SwNodes
 
class SwNoTextFrame
 

Additional Inherited Members

- Public Types inherited from SwNode
enum class  Merge {
  None ,
  First ,
  NonFirst ,
  Hidden
}
 sw_redlinehide: redline node merge state More...
 
- Static Public Member Functions inherited from SwContentNode
static std::unique_ptr< SwOLENodesCreateOLENodesArray (const SwFormatColl &rColl, bool bOnlyWithInvalidSize)
 
- Protected Attributes inherited from SwContentNode
std::shared_ptr< const SfxItemSetmpAttrSet
 Attribute-set for all auto attributes of a ContentNode. More...
 
- Protected Attributes inherited from SwNode
SwStartNodem_pStartOfSection
 

Detailed Description

Layout frame for SwNoTextNode, i.e. graphics and OLE nodes (including charts).

Definition at line 29 of file ndnotxt.hxx.

Constructor & Destructor Documentation

◆ SwNoTextNode() [1/2]

SwNoTextNode::SwNoTextNode ( const SwNoTextNode )
privatedelete

◆ SwNoTextNode() [2/2]

SwNoTextNode::SwNoTextNode ( SwNode rWhere,
const SwNodeType  nNdType,
SwGrfFormatColl pGrColl,
SwAttrSet const *  pAutoAttr 
)
protected

Definition at line 37 of file ndnotxt.cxx.

References SwContentNode::SetAttr().

◆ ~SwNoTextNode()

SwNoTextNode::~SwNoTextNode ( )
overridevirtual

Definition at line 51 of file ndnotxt.cxx.

Member Function Documentation

◆ CreateContour()

void SwNoTextNode::CreateContour ( )

◆ GetContour()

void SwNoTextNode::GetContour ( tools::PolyPolygon rPoly) const

Definition at line 164 of file ndnotxt.cxx.

References HasContour(), and m_pContour.

Referenced by SwFlyFrame::GetContour().

◆ GetContourAPI()

bool SwNoTextNode::GetContourAPI ( tools::PolyPolygon rPoly) const

◆ GetDescription()

OUString SwNoTextNode::GetDescription ( ) const

◆ GetGraphic()

Graphic SwNoTextNode::GetGraphic ( ) const

◆ GetGrfColl()

SwGrfFormatColl * SwNoTextNode::GetGrfColl ( ) const
inline

Definition at line 57 of file ndnotxt.hxx.

References SwFrame::GetRegisteredIn().

Referenced by SwGrfNode::MakeCopy().

◆ GetTitle()

OUString SwNoTextNode::GetTitle ( ) const

◆ GetTwipSize()

virtual Size SwNoTextNode::GetTwipSize ( ) const
pure virtual

◆ HasAutomaticContour()

bool SwNoTextNode::HasAutomaticContour ( ) const
inline

◆ HasContour()

const tools::PolyPolygon * SwNoTextNode::HasContour ( ) const

◆ HasContour_()

bool SwNoTextNode::HasContour_ ( ) const
inline

Definition at line 72 of file ndnotxt.hxx.

◆ IsContourMapModeValid()

bool SwNoTextNode::IsContourMapModeValid ( ) const
inline

Definition at line 88 of file ndnotxt.hxx.

◆ IsPixelContour()

bool SwNoTextNode::IsPixelContour ( ) const

◆ MakeFrame()

SwContentFrame * SwNoTextNode::MakeFrame ( SwFrame pSib)
overridevirtual

MakeFrame will be called for a certain layout pSib is another SwFrame of the same layout (e.g.

the SwRootFrame itself, a sibling, the parent)

Implements SwContentNode.

Definition at line 153 of file notxtfrm.cxx.

References SwNoTextFrame.

◆ NewAttrSet()

void SwNoTextNode::NewAttrSet ( SwAttrPool rPool)
overrideprivatevirtual

◆ operator=()

SwNoTextNode & SwNoTextNode::operator= ( const SwNoTextNode )
privatedelete

◆ RestorePersistentData()

bool SwNoTextNode::RestorePersistentData ( )
virtual

Dummies for loading/saving of persistent data when working with graphics and OLE objects.

Reimplemented in SwGrfNode, and SwOLENode.

Definition at line 75 of file ndnotxt.cxx.

◆ SavePersistentData()

bool SwNoTextNode::SavePersistentData ( )
virtual

Reimplemented in SwGrfNode, and SwOLENode.

Definition at line 80 of file ndnotxt.cxx.

◆ SetAutomaticContour()

void SwNoTextNode::SetAutomaticContour ( bool  bSet)
inline

Definition at line 76 of file ndnotxt.hxx.

◆ SetContour()

void SwNoTextNode::SetContour ( const tools::PolyPolygon pPoly,
bool  bAutomatic = false 
)

◆ SetContourAPI()

void SwNoTextNode::SetContourAPI ( const tools::PolyPolygon pPoly)

Definition at line 170 of file ndnotxt.cxx.

References m_bContourMapModeValid, and m_pContour.

◆ SetDescription()

void SwNoTextNode::SetDescription ( const OUString &  rDescription)

◆ SetPixelContour()

void SwNoTextNode::SetPixelContour ( bool  bSet)
inline

Definition at line 85 of file ndnotxt.hxx.

◆ SetTitle()

void SwNoTextNode::SetTitle ( const OUString &  rTitle)

Friends And Related Function Documentation

◆ SwNodes

friend class SwNodes
friend

Definition at line 31 of file ndnotxt.hxx.

◆ SwNoTextFrame

friend class SwNoTextFrame
friend

Definition at line 32 of file ndnotxt.hxx.

Referenced by MakeFrame().

Member Data Documentation

◆ m_bAutomaticContour

bool SwNoTextNode::m_bAutomaticContour
private

Definition at line 35 of file ndnotxt.hxx.

Referenced by CreateContour().

◆ m_bContourMapModeValid

bool SwNoTextNode::m_bContourMapModeValid
mutableprivate

Definition at line 36 of file ndnotxt.hxx.

Referenced by CreateContour(), GetContourAPI(), HasContour(), IsPixelContour(), and SetContourAPI().

◆ m_bPixelContour

bool SwNoTextNode::m_bPixelContour
mutableprivate

Definition at line 39 of file ndnotxt.hxx.

Referenced by CreateContour(), HasContour(), and IsPixelContour().

◆ m_pContour

std::optional<tools::PolyPolygon> SwNoTextNode::m_pContour
mutableprivate

The documentation for this class was generated from the following files: