LibreOffice Module sw (master)  1
Macros | Functions
ww8par5.cxx File Reference
#include <config_features.h>
#include <sal/types.h>
#include <tools/solar.h>
#include <comphelper/processfactory.hxx>
#include <comphelper/string.hxx>
#include <comphelper/simplefileaccessinteraction.hxx>
#include <sot/storinfo.hxx>
#include <com/sun/star/embed/XStorage.hpp>
#include <com/sun/star/embed/ElementModes.hpp>
#include <com/sun/star/embed/XTransactedObject.hpp>
#include <com/sun/star/task/InteractionHandler.hpp>
#include <com/sun/star/ucb/XCommandEnvironment.hpp>
#include <svl/urihelper.hxx>
#include <svl/zforlist.hxx>
#include <svl/zformat.hxx>
#include <sfx2/linkmgr.hxx>
#include <rtl/character.hxx>
#include <unotools/charclass.hxx>
#include <ucbhelper/content.hxx>
#include <ucbhelper/commandenvironment.hxx>
#include <com/sun/star/i18n/ScriptType.hpp>
#include <com/sun/star/i18n/XBreakIterator.hpp>
#include <hintids.hxx>
#include <editeng/fontitem.hxx>
#include <editeng/fhgtitem.hxx>
#include <editeng/langitem.hxx>
#include <fmtfld.hxx>
#include <fmtanchr.hxx>
#include <pam.hxx>
#include <doc.hxx>
#include <IDocumentFieldsAccess.hxx>
#include <IDocumentMarkAccess.hxx>
#include <IDocumentState.hxx>
#include <charatr.hxx>
#include <flddat.hxx>
#include <docufld.hxx>
#include <reffld.hxx>
#include <IMark.hxx>
#include <expfld.hxx>
#include <dbfld.hxx>
#include <usrfld.hxx>
#include <tox.hxx>
#include <section.hxx>
#include <ndtxt.hxx>
#include <fmtinfmt.hxx>
#include <chpfld.hxx>
#include <ftnidx.hxx>
#include <txtftn.hxx>
#include <viewsh.hxx>
#include <shellres.hxx>
#include <fmtruby.hxx>
#include <charfmt.hxx>
#include <txtatr.hxx>
#include <breakit.hxx>
#include <fmtclds.hxx>
#include <pagedesc.hxx>
#include <poolfmt.hxx>
#include <SwStyleNameMapper.hxx>
#include "ww8scan.hxx"
#include "ww8par.hxx"
#include "ww8par2.hxx"
#include "writerhelper.hxx"
#include "fields.hxx"
#include <o3tl/safeint.hxx>
#include <unotools/fltrcfg.hxx>
#include <xmloff/odffields.hxx>
#include <algorithm>
Include dependency graph for ww8par5.cxx:

Go to the source code of this file.

Macros

#define MAX_FIELDLEN   64000
 
#define WW8_TOX_LEVEL_DELIM   ':'
 

Functions

static void lcl_ConvertSequenceName (OUString &rSequenceName)
 
static sal_Int32 FindParaStart (const OUString &rStr, sal_Unicode cToken, sal_Unicode cToken2)
 
static OUString FindPara (const OUString &rStr, sal_Unicode cToken, sal_Unicode cToken2)
 
static SvxNumType GetNumTypeFromName (const OUString &rStr, bool bAllowPageDesc=false)
 
static SvxNumType GetNumberPara (const OUString &rStr, bool bAllowPageDesc=false)
 
static OUString GetWordDefaultDateStringAsUS (SvNumberFormatter *pFormatter, LanguageType nLang)
 
static bool AcceptableNestedField (sal_uInt16 nFieldCode)
 
static bool ConvertMacroSymbol (const OUString &rName, OUString &rReference)
 
bool CanUseRemoteLink (const OUString &rGrfName)
 
static void lcl_toxMatchACSwitch (SwDoc const &rDoc, SwTOXBase &rBase, WW8ReadFieldParams &rParam, SwCaptionDisplay eCaptionType)
 
static void EnsureMaxLevelForTemplates (SwTOXBase &rBase)
 
static void lcl_toxMatchTSwitch (SwWW8ImplReader const &rReader, SwTOXBase &rBase, WW8ReadFieldParams &rParam)
 
static sal_uInt16 lcl_GetMaxValidWordTOCLevel (const SwForm &rForm)
 
static void lcl_ImportTox (SwDoc &rDoc, SwPaM const &rPaM, const OUString &rStr, bool bIdx)
 

Macro Definition Documentation

#define MAX_FIELDLEN   64000
#define WW8_TOX_LEVEL_DELIM   ':'

Definition at line 96 of file ww8par5.cxx.

Referenced by lcl_ImportTox().

Function Documentation

static bool AcceptableNestedField ( sal_uInt16  nFieldCode)
static

Definition at line 697 of file ww8par5.cxx.

Referenced by SwWW8ImplReader::Read_Field().

bool CanUseRemoteLink ( const OUString &  rGrfName)
static bool ConvertMacroSymbol ( const OUString &  rName,
OUString &  rReference 
)
static

Definition at line 2210 of file ww8par5.cxx.

Referenced by SwWW8ImplReader::Read_F_Macro().

static void EnsureMaxLevelForTemplates ( SwTOXBase rBase)
static
static OUString FindPara ( const OUString &  rStr,
sal_Unicode  cToken,
sal_Unicode  cToken2 
)
static

Definition at line 340 of file ww8par5.cxx.

References FindParaStart().

Referenced by GetNumberPara(), and SwWW8ImplReader::GetTimeDatePara().

static sal_Int32 FindParaStart ( const OUString &  rStr,
sal_Unicode  cToken,
sal_Unicode  cToken2 
)
static

Definition at line 311 of file ww8par5.cxx.

Referenced by FindPara().

static SvxNumType GetNumberPara ( const OUString &  rStr,
bool  bAllowPageDesc = false 
)
static
static SvxNumType GetNumTypeFromName ( const OUString &  rStr,
bool  bAllowPageDesc = false 
)
static
static OUString GetWordDefaultDateStringAsUS ( SvNumberFormatter pFormatter,
LanguageType  nLang 
)
static
static void lcl_ConvertSequenceName ( OUString &  rSequenceName)
static

Definition at line 302 of file ww8par5.cxx.

Referenced by lcl_toxMatchACSwitch().

static sal_uInt16 lcl_GetMaxValidWordTOCLevel ( const SwForm rForm)
static

Definition at line 2909 of file ww8par5.cxx.

References SwForm::GetFormMax(), and WW8ListManager::nMaxLevel.

Referenced by SwWW8ImplReader::Read_F_Tox().

static void lcl_ImportTox ( SwDoc rDoc,
SwPaM const &  rPaM,
const OUString &  rStr,
bool  bIdx 
)
static
static void lcl_toxMatchACSwitch ( SwDoc const &  rDoc,
SwTOXBase rBase,
WW8ReadFieldParams rParam,
SwCaptionDisplay  eCaptionType 
)
static
static void lcl_toxMatchTSwitch ( SwWW8ImplReader const &  rReader,
SwTOXBase rBase,
WW8ReadFieldParams rParam 
)
static