LibreOffice Module sw (master)
1
|
#include <ndnotxt.hxx>
Public Member Functions | |
virtual | ~SwNoTextNode () override |
virtual SwContentFrame * | MakeFrame (SwFrame *) override |
MakeFrame will be called for a certain layout pSib is another SwFrame of the same layout (e.g. More... | |
SwGrfFormatColl * | GetGrfColl () 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::PolyPolygon * | HasContour () 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 |
![]() | |
virtual SwContentNode * | JoinNext () |
bool | CanJoinNext (SwNodeIndex *pIdx=nullptr) const |
Is it possible to join two nodes? In pIdx the second position can be returned. More... | |
bool | CanJoinPrev (SwNodeIndex *pIdx=nullptr) const |
Can we join two Nodes? We can return the 2nd position in pIdx. More... | |
void | MakeStartIndex (SwIndex *pIdx) |
void | MakeEndIndex (SwIndex *pIdx) |
bool | GoNext (SwIndex *, sal_uInt16 nMode) const |
bool | GoPrevious (SwIndex *, sal_uInt16 nMode) const |
SwContentFrame * | getLayoutFrame (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 SwContentNode * | MakeCopy (SwDoc &, const SwNodeIndex &, bool bNewFrames) const =0 |
virtual bool | GetInfo (SfxPoolItem &) const override |
Get information from Client. More... | |
const SfxPoolItem & | GetAttr (sal_uInt16 nWhich, bool bInParent=true) const |
SS for PoolItems: hard attributation. More... | |
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 SfxPoolItem * | GetNoCondAttr (sal_uInt16 nWhich, bool bInParents) const |
Obtains attribute that is not delivered via conditional style! More... | |
const SwAttrSet & | GetSwAttrSet () const |
Does node has already its own auto-attributes? Access to SwAttrSet. More... | |
const SwAttrSet * | GetpSwAttrSet () const |
bool | HasSwAttrSet () const |
virtual SwFormatColl * | ChgFormatColl (SwFormatColl *) |
SwFormatColl * | GetFormatColl () const |
SwFormatColl & | GetAnyFormatColl () const |
void | SetCondFormatColl (SwFormatColl *) |
SwFormatColl * | GetCondFormatColl () 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 &) |
![]() | |
virtual void | CallSwClientNotify (const SfxHint &rHint) const override |
![]() | |
SwModify () | |
virtual | ~SwModify () override |
void | Add (SwClient *pDepend) |
SwClient * | Remove (SwClient *pDepend) |
bool | HasWriterListeners () const |
void | LockModify () |
void | UnlockModify () |
void | SetInCache (bool bNew) |
void | SetInDocDTOR () |
bool | IsModifyLocked () const |
bool | IsInCache () const |
void | CheckCaching (const sal_uInt16 nWhich) |
bool | HasOnlyOneListener () const |
![]() | |
SwClient () | |
SwClient (SwClient &&) noexcept | |
virtual | ~SwClient () override |
std::unique_ptr< sw::ModifyChangedHint > | CheckRegistration (const SfxPoolItem *pOldValue) |
void | CheckRegistrationFormat (SwFormat &rOld) |
const SwModify * | GetRegisteredIn () const |
SwModify * | GetRegisteredIn () |
void | EndListeningAll () |
void | StartListeningToSameModifyAs (const SwClient &) |
![]() | |
bool | IsLast () const |
![]() | |
BroadcasterMixin ()=default | |
BroadcasterMixin (BroadcasterMixin const &)=default | |
BroadcasterMixin & | operator= (const BroadcasterMixin &) |
SvtBroadcaster & | GetNotifier () |
![]() | |
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... | |
sal_uLong | StartOfSectionIndex () const |
const SwStartNode * | StartOfSectionNode () const |
SwStartNode * | StartOfSectionNode () |
sal_uLong | EndOfSectionIndex () const |
const SwEndNode * | EndOfSectionNode () const |
SwEndNode * | EndOfSectionNode () |
sal_uInt8 | GetAutoFormatLvl () const |
void | SetAutoFormatLvl (sal_uInt8 nVal) |
bool | IsIgnoreDontExpand () const |
void | SetIgnoreDontExpand (bool bNew) |
SwNodeType | GetNodeType () const |
SwStartNode * | GetStartNode () |
const SwStartNode * | GetStartNode () const |
SwContentNode * | GetContentNode () |
const SwContentNode * | GetContentNode () const |
SwEndNode * | GetEndNode () |
const SwEndNode * | GetEndNode () const |
SwTextNode * | GetTextNode () |
Inline methods from Node.hxx. More... | |
const SwTextNode * | GetTextNode () const |
SwOLENode * | GetOLENode () |
Inline methods from Node.hxx. More... | |
const SwOLENode * | GetOLENode () const |
SwNoTextNode * | GetNoTextNode () |
const SwNoTextNode * | GetNoTextNode () const |
SwGrfNode * | GetGrfNode () |
const SwGrfNode * | GetGrfNode () const |
SwTableNode * | GetTableNode () |
const SwTableNode * | GetTableNode () const |
SwSectionNode * | GetSectionNode () |
const SwSectionNode * | GetSectionNode () 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... | |
SwTableNode * | FindTableNode () |
Search table node, in which it is. More... | |
const SwTableNode * | FindTableNode () const |
SwSectionNode * | FindSectionNode () |
Search section node, in which it is. More... | |
const SwSectionNode * | FindSectionNode () const |
SwStartNode * | FindSttNodeByType (SwStartNodeType eTyp) |
const SwStartNode * | FindSttNodeByType (SwStartNodeType eTyp) const |
const SwStartNode * | FindTableBoxStartNode () const |
const SwStartNode * | FindFlyStartNode () const |
const SwStartNode * | FindFootnoteStartNode () const |
const SwStartNode * | FindHeaderStartNode () const |
const SwStartNode * | FindFooterStartNode () const |
SwNodes & | GetNodes () |
Node is in which nodes-array/doc? More... | |
const SwNodes & | GetNodes () const |
SwDoc & | GetDoc () |
const SwDoc & | GetDoc () const |
const IDocumentSettingAccess * | getIDocumentSettingAccess () const |
Provides access to the document setting interface. More... | |
const IDocumentDeviceAccess & | getIDocumentDeviceAccess () const |
Provides access to the document device interface. More... | |
const IDocumentMarkAccess * | getIDocumentMarkAccess () const |
Provides access to the document bookmark interface. More... | |
const IDocumentRedlineAccess & | getIDocumentRedlineAccess () const |
Provides access to the document redline interface. More... | |
const IDocumentStylePoolAccess & | getIDocumentStylePoolAccess () const |
Provides access to the document style pool interface. More... | |
const IDocumentDrawModelAccess & | getIDocumentDrawModelAccess () const |
Provides access to the document draw model interface. More... | |
const IDocumentLayoutAccess & | getIDocumentLayoutAccess () const |
Provides access to the document layout interface. More... | |
IDocumentLayoutAccess & | getIDocumentLayoutAccess () |
const IDocumentLinksAdministration & | getIDocumentLinksAdministration () const |
Provides access to the document links administration interface. More... | |
IDocumentLinksAdministration & | getIDocumentLinksAdministration () |
const IDocumentFieldsAccess & | getIDocumentFieldsAccess () const |
Provides access to the document fields administration interface. More... | |
IDocumentFieldsAccess & | getIDocumentFieldsAccess () |
IDocumentContentOperations & | getIDocumentContentOperations () |
Provides access to the document content operations interface. More... | |
IStyleAccess & | getIDocumentStyleAccess () |
Provides access to the document automatic styles interface. More... | |
IDocumentListItems & | getIDocumentListItems () |
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 ... More... | |
const SwPageDesc * | FindPageDesc (size_t *pPgDescNdIdx=nullptr) const |
Search PageDesc with which this node is formatted. More... | |
SwFrameFormat * | GetFlyFormat () const |
If node is in a fly return the respective format. More... | |
SwTableBox * | GetTableBox () const |
If node is in a table return the respective table box. More... | |
sal_uLong | GetIndex () const |
const SwTextNode * | FindOutlineNodeOfLevel (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... | |
![]() | |
SwIndexReg () | |
virtual | ~SwIndexReg () |
void | MoveTo (SwIndexReg &rArr) |
const SwIndex * | GetFirstIndex () const |
Protected Member Functions | |
SwNoTextNode (const SwNodeIndex &rWhere, const SwNodeType nNdType, SwGrfFormatColl *pGrColl, SwAttrSet const *pAutoAttr) | |
![]() | |
SwContentNode (const SwNodeIndex &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... | |
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 |
![]() | |
SwClient (SwModify *pToRegisterIn) | |
SwModify * | GetRegisteredInNonConst () const |
![]() | |
WriterListener () | |
virtual | ~WriterListener () COVERITY_NOEXCEPT_FALSE |
![]() | |
SwNode (const SwNodeIndex &rWhere, const SwNodeType nNodeId) | |
SwNode (SwNodes &rNodes, sal_uLong nPos, const SwNodeType nNodeId) | |
for the initial StartNode More... | |
![]() | |
virtual void | Update (SwIndex const &rPos, const sal_Int32 nChangeLen, const bool bNegative=false, const bool bDelete=false) |
bool | HasAnyIndex () const |
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 | |
SwNoTextNode & | operator= (const SwNoTextNode &)=delete |
Private Attributes | |
std::unique_ptr< tools::PolyPolygon > | m_pContour |
bool | m_bAutomaticContour: 1 |
bool | m_bContourMapModeValid: 1 |
bool | m_bPixelContour: 1 |
Friends | |
class | SwNodes |
class | SwNoTextFrame |
Additional Inherited Members | |
![]() | |
enum | Merge { Merge::None, Merge::First, Merge::NonFirst, Merge::Hidden } |
sw_redlinehide: redline node merge state More... | |
![]() | |
static std::unique_ptr< SwOLENodes > | CreateOLENodesArray (const SwFormatColl &rColl, bool bOnlyWithInvalidSize) |
![]() | |
std::shared_ptr< const SfxItemSet > | mpAttrSet |
Attribute-set for all auto attributes of a ContentNode. More... | |
![]() | |
SwStartNode * | m_pStartOfSection |
Definition at line 30 of file ndnotxt.hxx.
|
privatedelete |
|
protected |
Definition at line 37 of file ndnotxt.cxx.
References SwContentNode::SetAttr().
|
overridevirtual |
Definition at line 51 of file ndnotxt.cxx.
void SwNoTextNode::CreateContour | ( | ) |
Definition at line 96 of file ndnotxt.cxx.
References SvxContourDlg::CreateAutoContour(), GetGraphic(), m_bAutomaticContour, m_bContourMapModeValid, m_bPixelContour, and m_pContour.
Referenced by SwFlyFrame::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().
bool SwNoTextNode::GetContourAPI | ( | tools::PolyPolygon & | rPoly | ) | const |
Definition at line 179 of file ndnotxt.cxx.
References tools::PolyPolygon::Count(), GetGraphic(), MapMode::GetMapUnit(), tools::Polygon::GetSize(), i, OutputDevice::LogicToLogic(), m_bContourMapModeValid, m_pContour, and nCount.
Referenced by SwXFrame::getPropertyValue().
OUString SwNoTextNode::GetDescription | ( | ) | const |
Definition at line 282 of file ndnotxt.cxx.
References SwNode::GetFlyFormat(), and SwFlyFrameFormat::GetObjDescription().
Referenced by DocxAttributeOutput::FlyFrameGraphic(), SwGrfNode::MakeCopy(), SwAccessibleNoTextFrame::Notify(), SwNoTextFrame::PaintPicture(), and SwAccessibleNoTextFrame::SwAccessibleNoTextFrame().
Graphic SwNoTextNode::GetGraphic | ( | ) | const |
Definition at line 229 of file ndnotxt.cxx.
References SwNode::GetGrfNode(), and SwNode::GetOLENode().
Referenced by sw::util::CorrectWordWrapPolygonForExport(), CreateContour(), SwFlyFrame::GetContour(), GetContourAPI(), SwGrfNode::GetReplacementGrfObj(), HasContour(), IsPixelContour(), and OutHTML_FrameFormatGrfNode().
|
inline |
Definition at line 58 of file ndnotxt.hxx.
References SwClient::GetRegisteredIn().
Referenced by SwGrfNode::MakeCopy().
OUString SwNoTextNode::GetTitle | ( | ) | const |
Definition at line 258 of file ndnotxt.cxx.
References SwNode::GetFlyFormat(), and SwFlyFrameFormat::GetObjTitle().
Referenced by DocxAttributeOutput::FlyFrameGraphic(), SwGrfNode::MakeCopy(), SwOLENode::MakeCopy(), OutHTML_FrameFormatGrfNode(), OutHTML_FrameFormatOLENode(), OutHTML_FrameFormatOLENodeGrf(), SwNoTextFrame::PaintPicture(), SwNoTextFrame::PaintSwFrame(), and SwAccessibleNoTextFrame::SwAccessibleNoTextFrame().
|
pure virtual |
|
inline |
Definition at line 78 of file ndnotxt.hxx.
Referenced by SwEditShell::ClearAutomaticContour(), SwXFrame::getPropertyValue(), SwGrfNode::MakeCopy(), and SwOLENode::MakeCopy().
const tools::PolyPolygon * SwNoTextNode::HasContour | ( | ) | const |
Definition at line 105 of file ndnotxt.cxx.
References Application::GetDefaultDevice(), OutputDevice::GetDPIX(), OutputDevice::GetDPIY(), GetGraphic(), MapMode::GetMapUnit(), Graphic::GetPPI(), tools::Polygon::GetSize(), basegfx::B2DTuple::getX(), basegfx::B2DTuple::getY(), i, OutputDevice::LogicToLogic(), OutputDevice::LogicToPixel(), m_bContourMapModeValid, m_bPixelContour, m_pContour, nCount, OutputDevice::PixelToLogic(), and Point.
Referenced by GetContour(), SwFlyFrame::GetContour(), SwEditShell::GetGraphicPolygon(), SwGrfNode::MakeCopy(), SwOLENode::MakeCopy(), and SwFlyFrame::UpdateAttr_().
|
inline |
Definition at line 73 of file ndnotxt.hxx.
Referenced by SwXFrame::setPropertyValue().
|
inline |
Definition at line 89 of file ndnotxt.hxx.
Referenced by SwXFrame::setPropertyValue().
bool SwNoTextNode::IsPixelContour | ( | ) | const |
Definition at line 213 of file ndnotxt.cxx.
References GetGraphic(), MapMode::GetMapUnit(), m_bContourMapModeValid, and m_bPixelContour.
Referenced by SwXFrame::getPropertyValue().
|
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 157 of file notxtfrm.cxx.
References SwNoTextFrame.
|
overrideprivatevirtual |
Creates an AttrSet for all derivations with ranges for frame- and graphics-attributes.
Implements SwContentNode.
Definition at line 57 of file ndnotxt.cxx.
References aNoTextNodeSetRange, IStyleAccess::AUTO_STYLE_NOTXT, SwStyleNameMapper::FillProgName(), IStyleAccess::getAutomaticStyle(), SwNode::GetDoc(), SwContentNode::GetFormatColl(), SwDoc::GetIStyleAccess(), SwFormat::GetName(), SwContentNode::mpAttrSet, SfxItemSet::Put(), RES_FRMATR_STYLE_NAME(), SfxItemSet::SetParent(), and TxtColl.
|
privatedelete |
|
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.
|
virtual |
Reimplemented in SwGrfNode, and SwOLENode.
Definition at line 80 of file ndnotxt.cxx.
|
inline |
Definition at line 77 of file ndnotxt.hxx.
Referenced by SwXFrame::setPropertyValue().
void SwNoTextNode::SetContour | ( | const tools::PolyPolygon * | pPoly, |
bool | bAutomatic = false |
||
) |
Definition at line 85 of file ndnotxt.cxx.
References m_bAutomaticContour, m_bContourMapModeValid, m_bPixelContour, and m_pContour.
Referenced by SwEditShell::ClearAutomaticContour(), SwGrfNode::MakeCopy(), SwOLENode::MakeCopy(), SwEditShell::SetGraphicPolygon(), SwXFrame::setPropertyValue(), and SwFlyFrame::UpdateAttr_().
void SwNoTextNode::SetContourAPI | ( | const tools::PolyPolygon * | pPoly | ) |
Definition at line 170 of file ndnotxt.cxx.
References m_bContourMapModeValid, and m_pContour.
Referenced by SwXFrame::setPropertyValue().
void SwNoTextNode::SetDescription | ( | const OUString & | rDescription | ) |
Definition at line 270 of file ndnotxt.cxx.
References SwNode::GetFlyFormat(), and SwFlyFrameFormat::SetObjDescription().
Referenced by SwGrfNode::MakeCopy(), SwOLENode::MakeCopy(), and SwGrfNode::onGraphicChanged().
|
inline |
Definition at line 86 of file ndnotxt.hxx.
Referenced by SwXFrame::setPropertyValue().
void SwNoTextNode::SetTitle | ( | const OUString & | rTitle | ) |
Definition at line 245 of file ndnotxt.cxx.
References SwNode::GetFlyFormat(), and SwFlyFrameFormat::SetObjTitle().
Referenced by SwHTMLParser::EndApplet(), SwHTMLParser::EndObject(), SwHTMLParser::InsertEmbed(), SwHTMLParser::InsertFloatingFrame(), SwHTMLParser::InsertImage(), SwGrfNode::MakeCopy(), SwOLENode::MakeCopy(), and SwGrfNode::onGraphicChanged().
|
friend |
Definition at line 32 of file ndnotxt.hxx.
|
friend |
Definition at line 33 of file ndnotxt.hxx.
Referenced by MakeFrame().
|
private |
Definition at line 36 of file ndnotxt.hxx.
Referenced by CreateContour(), and SetContour().
|
private |
Definition at line 37 of file ndnotxt.hxx.
Referenced by CreateContour(), GetContourAPI(), HasContour(), IsPixelContour(), SetContour(), and SetContourAPI().
|
private |
Definition at line 40 of file ndnotxt.hxx.
Referenced by CreateContour(), HasContour(), IsPixelContour(), and SetContour().
|
private |
Definition at line 35 of file ndnotxt.hxx.
Referenced by CreateContour(), GetContour(), GetContourAPI(), HasContour(), SetContour(), and SetContourAPI().