LibreOffice Module sw (master)  1
Functions
txtfld.cxx File Reference
#include <hintids.hxx>
#include <fmtfld.hxx>
#include <txtfld.hxx>
#include <charfmt.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 <txtatr.hxx>
#include <swfont.hxx>
#include <fntcache.hxx>
#include "porfld.hxx"
#include "porftn.hxx"
#include "porref.hxx"
#include "portox.hxx"
#include "porhyph.hxx"
#include "porfly.hxx"
#include "itrform2.hxx"
#include <chpfld.hxx>
#include <dbfld.hxx>
#include <expfld.hxx>
#include <docufld.hxx>
#include <pagedesc.hxx>
#include "pormulti.hxx"
#include <fmtmeta.hxx>
#include <reffld.hxx>
#include <flddat.hxx>
#include <fmtautofmt.hxx>
#include <IDocumentSettingAccess.hxx>
#include <sfx2/docfile.hxx>
#include <svl/itemiter.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...
 

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 416 of file txtfld.cxx.

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

Referenced by SwTextFormatter::NewNumberPortion().

static bool lcl_IsInBody ( SwFrame const *  pFrame)
static
static SwFieldPortion* lcl_NewMetaPortion ( SwTextAttr rHint,
const bool  bPrefix 
)
static