LibreOffice Module sw (master)  1
Functions
txtfld.cxx File Reference
#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/itemiter.hxx>
#include <editeng/colritem.hxx>
#include <editeng/udlnitem.hxx>
#include <editeng/crossedoutitem.hxx>
Include dependency graph for txtfld.cxx:

Go to the source code of this file.

Functions

static bool lcl_IsInBody (SwFrame const *pFrame)
 
static SwFieldPortionlcl_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 SwRangeRedlinelcl_GetRedlineAtNodeInsertionOrDeletion (const SwTextNode &rTextNode)
 
static void lcl_setRedlineAttr (SwTextFormatInfo &rInf, const SwTextNode &rTextNode, std::unique_ptr< SwFont > &pNumFnt)
 

Function Documentation

static void checkApplyParagraphMarkFormatToNumbering ( SwFont pNumFnt,
SwTextFormatInfo rInf,
const IDocumentSettingAccess pIDSA,
const SwAttrSet pFormat 
)
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 418 of file txtfld.cxx.

References APPLY_PARAGRAPH_MARK_FORMAT_TO_NUMBERING, IDocumentSettingAccess::get(), SwContentNode::GetAttr(), SfxItemIter::GetCurItem(), SwFont::GetHighlightColor(), SwFormatAutoFormat::GetStyleHandle(), SwTextFrame::GetText(), SwTextSizeInfo::GetTextFrame(), SwTextFrame::GetTextNodeForParaProps(), SfxItemSet::HasItem(), SwTextNode::IsIgnoredCharFormatForNumbering(), SwTextFrame::MapModelToView(), SfxItemIter::NextItem(), RES_PARATR_LIST_AUTOFMT, RES_TXTATR_AUTOFMT, SwFont::SetDiffFnt(), SwFont::SetHighlightColor(), and SfxPoolItem::Which().

Referenced by SwTextFormatter::NewNumberPortion().

static const SwRangeRedline* lcl_GetRedlineAtNodeInsertionOrDeletion ( const SwTextNode rTextNode)
static
static bool lcl_IsInBody ( SwFrame const *  pFrame)
static
static SwFieldPortion* lcl_NewMetaPortion ( SwTextAttr rHint,
const bool  bPrefix 
)
static
static void lcl_setRedlineAttr ( SwTextFormatInfo rInf,
const SwTextNode rTextNode,
std::unique_ptr< SwFont > &  pNumFnt 
)
static