LibreOffice Module sw (master) 1
Classes | Namespaces | Functions
txtfrm.cxx File Reference
#include <config_wasm_strip.h>
#include <hintids.hxx>
#include <hints.hxx>
#include <svl/ctloptions.hxx>
#include <editeng/lspcitem.hxx>
#include <editeng/lrspitem.hxx>
#include <editeng/brushitem.hxx>
#include <editeng/pgrditem.hxx>
#include <unotools/configmgr.hxx>
#include <swmodule.hxx>
#include <SwSmartTagMgr.hxx>
#include <doc.hxx>
#include <IDocumentSettingAccess.hxx>
#include <IDocumentDeviceAccess.hxx>
#include <IDocumentFieldsAccess.hxx>
#include <rootfrm.hxx>
#include <pagefrm.hxx>
#include <viewsh.hxx>
#include <pam.hxx>
#include <ndtxt.hxx>
#include <paratr.hxx>
#include <viewopt.hxx>
#include <flyfrm.hxx>
#include <tabfrm.hxx>
#include <frmatr.hxx>
#include <frmtool.hxx>
#include <tgrditem.hxx>
#include <dbg_lay.hxx>
#include <fmtfld.hxx>
#include <fmtftn.hxx>
#include <txtfld.hxx>
#include <txtftn.hxx>
#include <ftninfo.hxx>
#include <fmtline.hxx>
#include <txtfrm.hxx>
#include <notxtfrm.hxx>
#include <sectfrm.hxx>
#include "itrform2.hxx"
#include "widorp.hxx"
#include "txtcache.hxx"
#include <fntcache.hxx>
#include <SwGrammarMarkUp.hxx>
#include <lineinfo.hxx>
#include <SwPortionHandler.hxx>
#include <dcontact.hxx>
#include <sortedobjs.hxx>
#include <txtflcnt.hxx>
#include <fmtflcnt.hxx>
#include <fmtcntnt.hxx>
#include <numrule.hxx>
#include <IGrammarContact.hxx>
#include <calbck.hxx>
#include <ftnidx.hxx>
#include <ftnfrm.hxx>
#include <wrtsh.hxx>
#include <view.hxx>
#include <edtwin.hxx>
#include <FrameControlsManager.hxx>
Include dependency graph for txtfrm.cxx:

Go to the source code of this file.


class  SwTestFormat
 Small Helper class: Prepares a test format. More...


namespace  sw
 Dialog to specify the properties of date form field.


bool sw::FrameContainsNode (SwContentFrame const &rFrame, SwNodeOffset nNodeIndex)
bool sw::IsParaPropsNode (SwRootFrame const &rLayout, SwTextNode const &rNode)
SwTextNodesw::GetParaPropsNode (SwRootFrame const &rLayout, SwNodeIndex const &rNode)
SwPosition sw::GetParaPropsPos (SwRootFrame const &rLayout, SwPosition const &rPos)
std::pair< SwTextNode *, SwTextNode * > sw::GetFirstAndLastNode (SwRootFrame const &rLayout, SwNodeIndex const &rPos)
SwTextNode const & sw::GetAttrMerged (SfxItemSet &rFormatSet, SwTextNode const &rNode, SwRootFrame const *pLayout)
SwTextFramesw::MakeTextFrame (SwTextNode &rNode, SwFrame *, sw::FrameMode eMode)
void sw::RemoveFootnotesForNode (SwRootFrame const &rLayout, SwTextNode const &rTextNode, std::vector< std::pair< sal_Int32, sal_Int32 > > const *const pExtents)
static TextFrameIndex sw::UpdateMergedParaForInsert (MergedPara &rMerged, bool const isRealInsert, SwTextNode const &rNode, sal_Int32 const nIndex, sal_Int32 const nLen)
TextFrameIndex sw::UpdateMergedParaForDelete (MergedPara &rMerged, bool isRealDelete, SwTextNode const &rNode, sal_Int32 nIndex, sal_Int32 nLen)
std::pair< SwTextNode *, sal_Int32 > sw::MapViewToModel (MergedPara const &, TextFrameIndex nIndex)
TextFrameIndex sw::MapModelToView (MergedPara const &, SwTextNode const *pNode, sal_Int32 nIndex)
bool sw_HideObj (const SwTextFrame &_rFrame, const RndStdIds _eAnchorType, SwPosition const &rAnchorPos, SwAnchoredObject *_pAnchoredObj)
 as-character anchored graphics, which are used for a graphic bullet list. More...
static void lcl_SetWrong (SwTextFrame &rFrame, SwTextNode const &rNode, sal_Int32 const nPos, sal_Int32 const nCnt, bool const bMove)
static void lcl_SetScriptInval (SwTextFrame &rFrame, TextFrameIndex const nPos)
static void lcl_ModifyOfst (SwTextFrame &rFrame, TextFrameIndex const nPos, TextFrameIndex const nLen, TextFrameIndex(*op)(TextFrameIndex const &, TextFrameIndex const &))
static bool isA11yRelevantAttribute (sal_uInt16 nWhich)
 Related: fdo#56031 filter out attribute changes that don't matter for humans/a11y to stop flooding the destination mortal with useless noise. More...
static bool hasA11yRelevantAttribute (const std::vector< sal_uInt16 > &rWhichFmtAttr)
static bool lcl_ErgoVadis (SwTextFrame *pFrame, TextFrameIndex &rPos, const PrepareHint ePrep)
static SwTwips lcl_CalcFlyBasePos (const SwTextFrame &rFrame, SwRect aFlyRect, SwTextFly const &rTextFly)
 Helper function for SwTextFrame::CalcBasePosForFly() More...

Function Documentation

◆ hasA11yRelevantAttribute()

static bool hasA11yRelevantAttribute ( const std::vector< sal_uInt16 > &  rWhichFmtAttr)

Definition at line 1960 of file txtfrm.cxx.

References isA11yRelevantAttribute().

Referenced by SwTextFrame::SwClientNotify().

◆ isA11yRelevantAttribute()

static bool isA11yRelevantAttribute ( sal_uInt16  nWhich)

Related: fdo#56031 filter out attribute changes that don't matter for humans/a11y to stop flooding the destination mortal with useless noise.

Definition at line 1955 of file txtfrm.cxx.

References RES_CHRATR_RSID().

Referenced by hasA11yRelevantAttribute(), and SwTextFrame::SwClientNotify().

◆ lcl_CalcFlyBasePos()

static SwTwips lcl_CalcFlyBasePos ( const SwTextFrame rFrame,
SwRect  aFlyRect,
SwTextFly const &  rTextFly 

◆ lcl_ErgoVadis()

static bool lcl_ErgoVadis ( SwTextFrame pFrame,
TextFrameIndex rPos,
const PrepareHint  ePrep 

◆ lcl_ModifyOfst()

static void lcl_ModifyOfst ( SwTextFrame rFrame,
TextFrameIndex const  nPos,
TextFrameIndex const  nLen,
TextFrameIndex(*)(TextFrameIndex const &, TextFrameIndex const &)  op 

◆ lcl_SetScriptInval()

static void lcl_SetScriptInval ( SwTextFrame rFrame,
TextFrameIndex const  nPos 

◆ lcl_SetWrong()

static void lcl_SetWrong ( SwTextFrame rFrame,
SwTextNode const &  rNode,
sal_Int32 const  nPos,
sal_Int32 const  nCnt,
bool const  bMove 

◆ sw_HideObj()

bool sw_HideObj ( const SwTextFrame _rFrame,
const RndStdIds  _eAnchorType,
SwPosition const &  rAnchorPos,
SwAnchoredObject _pAnchoredObj 

as-character anchored graphics, which are used for a graphic bullet list.

As long as these graphic bullet list aren't imported, do not hide a at-character anchored object, if (a) the document is an imported WW8 document - checked by checking certain compatibility options - (b) the paragraph is the last content in the document and (c) the anchor character is an as-character anchored graphic.

Definition at line 1489 of file txtfrm.cxx.

Referenced by SwTextFrame::HideAndShowObjects().