LibreOffice Module sw (master) 1
|
#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 <GrammarContact.hxx>
#include <calbck.hxx>
#include <ftnidx.hxx>
#include <ftnfrm.hxx>
#include <wrtsh.hxx>
#include <view.hxx>
#include <edtwin.hxx>
#include <FrameControlsManager.hxx>
Go to the source code of this file.
Classes | |
class | SwTestFormat |
Small Helper class: Prepares a test format. More... | |
Namespaces | |
namespace | sw |
Dialog to specify the properties of date form field. | |
Functions | |
bool | sw::FrameContainsNode (SwContentFrame const &rFrame, SwNodeOffset nNodeIndex) |
bool | sw::IsParaPropsNode (SwRootFrame const &rLayout, SwTextNode const &rNode) |
SwTextNode * | sw::GetParaPropsNode (SwRootFrame const &rLayout, SwNode const &rNode) |
SwPosition | sw::GetParaPropsPos (SwRootFrame const &rLayout, SwPosition const &rPos) |
std::pair< SwTextNode *, SwTextNode * > | sw::GetFirstAndLastNode (SwRootFrame const &rLayout, SwNode const &rPos) |
SwTextNode const & | sw::GetAttrMerged (SfxItemSet &rFormatSet, SwTextNode const &rNode, SwRootFrame const *pLayout) |
SwTextFrame * | sw::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, SwFormatAnchor const &rFormatAnchor, 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... | |
|
static |
Definition at line 2067 of file txtfrm.cxx.
References isA11yRelevantAttribute().
Referenced by SwTextFrame::SwClientNotify().
|
static |
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 2062 of file txtfrm.cxx.
References RES_CHRATR_RSID().
Referenced by hasA11yRelevantAttribute(), and SwTextFrame::SwClientNotify().
|
static |
Helper function for SwTextFrame::CalcBasePosForFly()
Definition at line 4075 of file txtfrm.cxx.
References SwTextFly::GetFrame(), SwFrameAreaDefinition::getFrameArea(), SwRectFnSet::GetLeft(), SwRectFnSet::GetRight(), SwRectFnSet::GetWidth(), SwFrame::IsRightToLeft(), SwRectFnSet::SetLeft(), and SwRectFnSet::SetRight().
Referenced by SwTextFrame::CalcBaseOfstForFly().
|
static |
Definition at line 2812 of file txtfrm.cxx.
References ErgoSum, SwTextFrame::GetDoc(), SwTextFrame::GetFollow(), SwDoc::GetFootnoteInfo(), SwTextFrame::GetOffset(), SwTextFrame::GetText(), SwFootnoteInfo::m_aErgoSum, and SwFootnoteInfo::m_aQuoVadis.
Referenced by SwTextFrame::Prepare().
|
static |
Definition at line 1980 of file txtfrm.cxx.
References COMPLETE_STRING, SwTextFrame::GetOffset(), SwTextFrame::GetText(), SwTextFrame::ManipOfst(), and nPos.
Referenced by SwTextFrame::SwClientNotify().
|
static |
Definition at line 1973 of file txtfrm.cxx.
References SwTextFrame::GetPara(), SwParaPortion::GetScriptInfo(), nPos, and SwScriptInfo::SetInvalidityA().
Referenced by SwTextFrame::SwClientNotify().
|
static |
Definition at line 1908 of file txtfrm.cxx.
References SwFrame::FindPageFrame(), SwTextNode::GetGrammarCheck(), sw::GrammarContact::getGrammarCheck(), sw::getGrammarContactFor(), SwFrame::getRootFrame(), SwTextNode::GetSmartTags(), SwTextNode::GetWrong(), SwWrongList::Invalidate(), SwPageFrame::InvalidateAutoCompleteWords(), SwPageFrame::InvalidateSmartTags(), SwPageFrame::InvalidateSpelling(), SwPageFrame::InvalidateWordCount(), SwTextNode::IsSmartTagDirty(), SwTextNode::IsWrongDirty(), SwWrongList::Move(), SwGrammarMarkUp::MoveGrammar(), nPos, SwTextNode::SetAutoCompleteWordDirty(), SwTextNode::SetGrammarCheckDirty(), SwWrongList::SetInvalid(), SwRootFrame::SetNeedGrammarCheck(), SwTextNode::SetSmartTagDirty(), SwTextNode::SetSmartTags(), SwTextNode::SetWordCountDirty(), SwTextNode::SetWrong(), SwTextNode::SetWrongDirty(), sw::TODO, WRONGLIST_SMARTTAG, and WRONGLIST_SPELL.
Referenced by SwTextFrame::SwClientNotify().
bool sw_HideObj | ( | const SwTextFrame & | _rFrame, |
const RndStdIds | _eAnchorType, | ||
SwFormatAnchor const & | rFormatAnchor, | ||
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 1594 of file txtfrm.cxx.
Referenced by SwTextFrame::HideAndShowObjects().