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, bool &bIsMoved) |
static bool | 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 420 of file txtfld.cxx.
References APPLY_PARAGRAPH_MARK_FORMAT_TO_NUMBERING, COL_TRANSPARENT(), SfxWhichIter::FirstWhich(), IDocumentSettingAccess::get(), SwTextNode::GetAttr(), SwFont::GetBackColor(), SfxItemIter::GetCurItem(), SfxGrabBagItem::GetGrabBag(), SwFont::GetHighlightColor(), SfxItemSet::GetItem(), SwClient::GetRegisteredIn(), SwFormatAutoFormat::GetStyleHandle(), SwTextSizeInfo::GetTextFrame(), SwTextFrame::GetTextNodeForParaProps(), SfxItemSet::HasItem(), SwTextNode::IsIgnoredCharFormatForNumbering(), SfxItemIter::NextItem(), SfxWhichIter::NextWhich(), RES_CHRATR_BACKGROUND(), RES_CHRATR_GRABBAG(), RES_CHRATR_HIGHLIGHT(), RES_PARATR_LIST_AUTOFMT(), RES_TXTATR_CHARFMT(), SwFont::SetBackColor(), SwFont::SetDiffFnt(), SwFont::SetHighlightColor(), and SfxPoolItem::Which().
Referenced by SwTextFormatter::NewNumberPortion().
|
static |
Definition at line 508 of file txtfld.cxx.
References SwNode::GetDoc(), SwDoc::getIDocumentRedlineAccess(), SwNode::GetIndex(), SwPaM::GetMark(), SwPosition::GetNodeIndex(), SwPaM::GetPoint(), IDocumentRedlineAccess::GetRedlinePos(), IDocumentRedlineAccess::GetRedlineTable(), SwRangeRedline::GetType(), SwRangeRedline::IsMoved(), SwRedlineTable::npos, and SwRedlineTable::size().
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 293 of file txtfld.cxx.
References SwTextAttr::GetAttr(), SwFormatMeta::GetMeta(), and sw::MetaField::GetPrefixAndSuffix().
Referenced by SwTextFormatter::NewExtraPortion(), and SwTextFormatter::TryNewNoLengthPortion().
|
static |
Definition at line 541 of file txtfld.cxx.
References COL_GREEN(), SwDoc::GetAttrPool(), SwRangeRedline::GetAuthor(), SwViewShell::GetDoc(), SwViewShell::GetLayout(), SwRangeRedline::GetStackCount(), SwRangeRedline::GetType(), SwTextSizeInfo::GetVsh(), SwRootFrame::IsHideRedlines(), lcl_GetRedlineAtNodeInsertionOrDeletion(), LINESTYLE_DOUBLE, RES_CHRATR_BEGIN(), RES_CHRATR_COLOR(), RES_CHRATR_CROSSEDOUT(), RES_CHRATR_END(), RES_CHRATR_UNDERLINE(), STRIKEOUT_DOUBLE, and SW_MOD.
Referenced by SwTextFormatter::NewNumberPortion().