LibreOffice Module sw (master)
1
|
#include <hintids.hxx>
#include <fmtfld.hxx>
#include <txtfld.hxx>
#include <charfmt.hxx>
#include <fmtautofmt.hxx>
#include <viewsh.hxx>
#include <doc.hxx>
#include <rootfrm.hxx>
#include <pagefrm.hxx>
#include <ndtxt.hxx>
#include <fldbas.hxx>
#include <viewopt.hxx>
#include <flyfrm.hxx>
#include <viewimp.hxx>
#include <swfont.hxx>
#include <swmodule.hxx>
#include "porfld.hxx"
#include "porftn.hxx"
#include "porref.hxx"
#include "portox.hxx"
#include "porfly.hxx"
#include "itrform2.hxx"
#include <chpfld.hxx>
#include <dbfld.hxx>
#include <expfld.hxx>
#include <docufld.hxx>
#include <pagedesc.hxx>
#include <fmtmeta.hxx>
#include <reffld.hxx>
#include <flddat.hxx>
#include <IDocumentSettingAccess.hxx>
#include <IDocumentRedlineAccess.hxx>
#include <redline.hxx>
#include <sfx2/docfile.hxx>
#include <svl/grabbagitem.hxx>
#include <svl/itemiter.hxx>
#include <svl/whiter.hxx>
#include <editeng/colritem.hxx>
#include <editeng/udlnitem.hxx>
#include <editeng/crossedoutitem.hxx>
Go to the source code of this file.
Functions | |
static bool | lcl_IsInBody (SwFrame const *pFrame) |
static SwFieldPortion * | lcl_NewMetaPortion (SwTextAttr &rHint, const bool bPrefix) |
static void | checkApplyParagraphMarkFormatToNumbering (SwFont *pNumFnt, SwTextFormatInfo &rInf, const IDocumentSettingAccess *pIDSA, const SwAttrSet *pFormat) |
OOXML spec says that w:rPr inside w:pPr specifies formatting for the paragraph mark symbol (i.e. More... | |
static const SwRangeRedline * | lcl_GetRedlineAtNodeInsertionOrDeletion (const SwTextNode &rTextNode) |
static void | lcl_setRedlineAttr (SwTextFormatInfo &rInf, const SwTextNode &rTextNode, const std::unique_ptr< SwFont > &pNumFnt) |
|
static |
OOXML spec says that w:rPr inside w:pPr specifies formatting for the paragraph mark symbol (i.e.
the control character than can be configured to be shown). However, in practice MSO also uses it as direct formatting for numbering in that paragraph. I don't know if the problem is in the spec or in MSWord.
Definition at line 419 of file txtfld.cxx.
References ADD_VERTICAL_FLY_OFFSETS, APPLY_PARAGRAPH_MARK_FORMAT_TO_NUMBERING, COL_TRANSPARENT(), SfxWhichIter::FirstWhich(), IDocumentSettingAccess::get(), SwContentNode::GetAttr(), SwFont::GetBackColor(), SfxItemIter::GetCurItem(), SfxGrabBagItem::GetGrabBag(), SwFont::GetHighlightColor(), SfxItemSet::GetItem(), SwClient::GetRegisteredIn(), SwFormatAutoFormat::GetStyleHandle(), SwTextFrame::GetText(), SwTextSizeInfo::GetTextFrame(), SwTextFrame::GetTextNodeForParaProps(), SfxItemSet::HasItem(), SwTextNode::IsIgnoredCharFormatForNumbering(), SwTextFrame::MapModelToView(), SfxItemIter::NextItem(), SfxWhichIter::NextWhich(), RES_CHRATR_BACKGROUND(), RES_CHRATR_GRABBAG(), RES_CHRATR_HIGHLIGHT(), RES_PARATR_LIST_AUTOFMT(), RES_TXTATR_AUTOFMT(), RES_TXTATR_CHARFMT(), SwFont::SetBackColor(), SwFont::SetDiffFnt(), SwFont::SetHighlightColor(), and SfxPoolItem::Which().
Referenced by SwTextFormatter::NewNumberPortion().
|
static |
Definition at line 537 of file txtfld.cxx.
References SwPaM::End(), SwNode::GetDoc(), SwDoc::getIDocumentRedlineAccess(), SwNode::GetIndex(), IDocumentRedlineAccess::GetRedlinePos(), IDocumentRedlineAccess::GetRedlineTable(), SwRangeRedline::GetType(), SwPosition::nNode, SwRedlineTable::npos, SwRedlineTable::size(), and SwPaM::Start().
Referenced by lcl_setRedlineAttr().
|
static |
Definition at line 62 of file txtfld.cxx.
References SwFrame::FindFlyFrame(), SwAnchoredObject::GetAnchorFrame(), and SwFrame::IsInDocBody().
Referenced by SwTextFormatter::NewFieldPortion().
|
static |
Definition at line 298 of file txtfld.cxx.
References SwTextAttr::GetAttr(), and sw::MetaField::GetPrefixAndSuffix().
Referenced by SwTextFormatter::NewExtraPortion(), and SwTextFormatter::TryNewNoLengthPortion().
|
static |
Definition at line 560 of file txtfld.cxx.
References SwDoc::GetAttrPool(), SwRangeRedline::GetAuthor(), SwViewShell::GetDoc(), SwViewShell::GetLayout(), SwRangeRedline::GetStackCount(), SwRangeRedline::GetType(), SwTextSizeInfo::GetVsh(), SwRootFrame::IsHideRedlines(), lcl_GetRedlineAtNodeInsertionOrDeletion(), RES_CHRATR_BEGIN(), RES_CHRATR_COLOR(), RES_CHRATR_CROSSEDOUT(), RES_CHRATR_END(), RES_CHRATR_UNDERLINE(), and SW_MOD.
Referenced by SwTextFormatter::NewNumberPortion().