LibreOffice Module sw (master) 1
Namespaces | Functions
ww8atr.cxx File Reference
#include <algorithm>
#include <hintids.hxx>
#include <o3tl/safeint.hxx>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
#include <sal/log.hxx>
#include <svl/numformat.hxx>
#include <svl/zformat.hxx>
#include <svl/itemiter.hxx>
#include <svl/whiter.hxx>
#include <svl/grabbagitem.hxx>
#include <editeng/fontitem.hxx>
#include <editeng/tstpitem.hxx>
#include <editeng/adjustitem.hxx>
#include <editeng/spltitem.hxx>
#include <editeng/widwitem.hxx>
#include <editeng/lspcitem.hxx>
#include <editeng/keepitem.hxx>
#include <editeng/shaditem.hxx>
#include <editeng/brushitem.hxx>
#include <editeng/postitem.hxx>
#include <editeng/wghtitem.hxx>
#include <editeng/kernitem.hxx>
#include <editeng/crossedoutitem.hxx>
#include <editeng/cmapitem.hxx>
#include <editeng/wrlmitem.hxx>
#include <editeng/udlnitem.hxx>
#include <editeng/langitem.hxx>
#include <editeng/escapementitem.hxx>
#include <editeng/fhgtitem.hxx>
#include <editeng/colritem.hxx>
#include <editeng/hyphenzoneitem.hxx>
#include <editeng/formatbreakitem.hxx>
#include <editeng/lrspitem.hxx>
#include <editeng/ulspitem.hxx>
#include <editeng/boxitem.hxx>
#include <editeng/contouritem.hxx>
#include <editeng/shdditem.hxx>
#include <editeng/autokernitem.hxx>
#include <editeng/pbinitem.hxx>
#include <editeng/emphasismarkitem.hxx>
#include <editeng/twolinesitem.hxx>
#include <editeng/charscaleitem.hxx>
#include <editeng/charrotateitem.hxx>
#include <editeng/charreliefitem.hxx>
#include <editeng/paravertalignitem.hxx>
#include <editeng/pgrditem.hxx>
#include <editeng/frmdiritem.hxx>
#include <editeng/blinkitem.hxx>
#include <editeng/charhiddenitem.hxx>
#include <editeng/paperinf.hxx>
#include <svx/xfillit0.hxx>
#include <svx/xflgrit.hxx>
#include <o3tl/string_view.hxx>
#include <fmtfld.hxx>
#include <fchrfmt.hxx>
#include <fmtfsize.hxx>
#include <fmtpdsc.hxx>
#include <fmtornt.hxx>
#include <fmtanchr.hxx>
#include <fmtclds.hxx>
#include <fmtsrnd.hxx>
#include <fmtftn.hxx>
#include <fmtflcnt.hxx>
#include <frmatr.hxx>
#include <swtable.hxx>
#include <fmtinfmt.hxx>
#include <txtftn.hxx>
#include <poolfmt.hxx>
#include <doc.hxx>
#include <IDocumentSettingAccess.hxx>
#include <IDocumentFieldsAccess.hxx>
#include <IDocumentStylePoolAccess.hxx>
#include <IDocumentListsAccess.hxx>
#include <list.hxx>
#include <docary.hxx>
#include <pam.hxx>
#include <paratr.hxx>
#include <fldbas.hxx>
#include <docufld.hxx>
#include <expfld.hxx>
#include <pagedesc.hxx>
#include <ndtxt.hxx>
#include <swrect.hxx>
#include <redline.hxx>
#include <reffld.hxx>
#include <ftninfo.hxx>
#include <charfmt.hxx>
#include <section.hxx>
#include <fmtline.hxx>
#include <tox.hxx>
#include <fmtftntx.hxx>
#include <breakit.hxx>
#include <com/sun/star/i18n/ScriptType.hpp>
#include <com/sun/star/i18n/XBreakIterator.hpp>
#include <unotools/localedatawrapper.hxx>
#include <svx/unobrushitemhelper.hxx>
#include <tgrditem.hxx>
#include <flddropdown.hxx>
#include <chpfld.hxx>
#include <fmthdft.hxx>
#include <authfld.hxx>
#include <dbfld.hxx>
#include "sprmids.hxx"
#include <fmtcntnt.hxx>
#include "writerhelper.hxx"
#include "writerwordglue.hxx"
#include "wrtww8.hxx"
#include "ww8par.hxx"
#include "ww8attributeoutput.hxx"
#include "fields.hxx"
#include <i18nlangtag/mslangid.hxx>
#include <i18nlangtag/languagetag.hxx>
#include <unotools/fltrcfg.hxx>
Include dependency graph for ww8atr.cxx:

Go to the source code of this file.

Namespaces

namespace  sw
 Dialog to specify the properties of date form field.
 
namespace  sw::util
 

Functions

static sal_uInt32 SuitableBGColor (Color nIn)
 
const SwCharFormatsw::util::GetSwCharFormat (const SwFormatINetFormat &rINet, SwDoc &rDoc)
 
static void InsertSpecialChar (WW8Export &rWrt, sal_uInt8 c, OUString const *pLinkStr, bool bIncludeEmptyPicLocation=false)
 
static OUString lcl_GetExpandedField (const SwField &rField)
 
static int lcl_CheckForm (const SwForm &rForm, sal_uInt8 nLvl, OUString &rText)
 
static bool lcl_IsHyperlinked (const SwForm &rForm, sal_uInt16 nTOXLvl)
 
static auto GetSeparatorForLocale () -> OUString
 
OUString FieldString (ww::eField eIndex)
 
static bool lcl_IsAtTextEnd (const SwFormatFootnote &rFootnote)
 
static void ParaTabStopAdd (WW8Export &rWrt, const SvxTabStopItem &rTStops, const tools::Long nLParaMgn)
 
static bool lcl_IsEqual (tools::Long nOneLeft, const SvxTabStop &rOne, tools::Long nTwoLeft, const SvxTabStop &rTwo)
 
static void ParaTabStopDelAdd (WW8Export &rWrt, const SvxTabStopItem &rTStyle, const tools::Long nLStypeMgn, const SvxTabStopItem &rTNew, const tools::Long nLParaMgn)
 

Function Documentation

◆ FieldString()

OUString FieldString ( ww::eField  eIndex)

◆ GetSeparatorForLocale()

static auto GetSeparatorForLocale ( ) -> OUString
static

◆ InsertSpecialChar()

static void InsertSpecialChar ( WW8Export rWrt,
sal_uInt8  c,
OUString const *  pLinkStr,
bool  bIncludeEmptyPicLocation = false 
)
static

◆ lcl_CheckForm()

static int lcl_CheckForm ( const SwForm rForm,
sal_uInt8  nLvl,
OUString &  rText 
)
static

◆ lcl_GetExpandedField()

static OUString lcl_GetExpandedField ( const SwField rField)
static

◆ lcl_IsAtTextEnd()

static bool lcl_IsAtTextEnd ( const SwFormatFootnote rFootnote)
static

◆ lcl_IsEqual()

static bool lcl_IsEqual ( tools::Long  nOneLeft,
const SvxTabStop rOne,
tools::Long  nTwoLeft,
const SvxTabStop rTwo 
)
static

◆ lcl_IsHyperlinked()

static bool lcl_IsHyperlinked ( const SwForm rForm,
sal_uInt16  nTOXLvl 
)
static

Definition at line 2108 of file ww8atr.cxx.

References SwForm::GetPattern(), TOKEN_LINK_END, and TOKEN_LINK_START.

Referenced by AttributeOutputBase::StartTOX().

◆ ParaTabStopAdd()

static void ParaTabStopAdd ( WW8Export rWrt,
const SvxTabStopItem rTStops,
const tools::Long  nLParaMgn 
)
static

Definition at line 5341 of file ww8atr.cxx.

References SvxTabStopItem::Count(), SvxTabStop::GetAdjustment(), and n.

Referenced by WW8AttributeOutput::ParaTabStop().

◆ ParaTabStopDelAdd()

static void ParaTabStopDelAdd ( WW8Export rWrt,
const SvxTabStopItem rTStyle,
const tools::Long  nLStypeMgn,
const SvxTabStopItem rTNew,
const tools::Long  nLParaMgn 
)
static

◆ SuitableBGColor()

static sal_uInt32 SuitableBGColor ( Color  nIn)
static