29#include <osl/diagnose.h>
37 m_pSdrObject( pSdrObj ),
38 m_aNodeIndex( rPosFly.
GetNode() ),
39 m_nOrdNum( rPosFly.GetOrdNum() ),
44 if ((RndStdIds::FLY_AT_CHAR != rAnchor.
GetAnchorId()) ||
57 if( text::RelOrientation::FRAME == eHoriRel || text::RelOrientation::PRINT_AREA == eHoriRel )
60 OSL_ENSURE( pCNd,
"No Content-Node at PaM position" );
61 if( pCNd && m_nContentIndex < pCNd->Len() )
bool operator<(const SwHTMLPosFlyFrame &) const
SwHTMLPosFlyFrame(const SwHTMLPosFlyFrame &)=delete
HtmlPosition GetOutPos() const
sal_Int32 m_nContentIndex
SwNodeOffset GetIndex() const
SwContentNode * GetContentNode()
For querying current flys in document.
const SwFrameFormat & GetFormat() const
virtual SotClipboardFormatId GetFormat(const TransferableDataHelper &aHelper) override
SwContentNode * GetNode(SwPaM &rPam, bool &rbFirst, SwMoveFnCollection const &fnMove, bool const bInReadOnly, SwRootFrame const *const i_pLayout)
This function returns the next node in direction of search.