LibreOffice Module sw (master) 1
Classes | Macros | Functions
wrtw8sty.cxx File Reference
#include <algorithm>
#include <memory>
#include <com/sun/star/i18n/ScriptType.hpp>
#include <hintids.hxx>
#include <editeng/boxitem.hxx>
#include <editeng/fontitem.hxx>
#include <svx/svdobj.hxx>
#include <svx/svdotext.hxx>
#include <svx/svdouno.hxx>
#include <editeng/lrspitem.hxx>
#include <editeng/fhgtitem.hxx>
#include <rtl/character.hxx>
#include <doc.hxx>
#include "wrtww8.hxx"
#include <docary.hxx>
#include <poolfmt.hxx>
#include <fmtpdsc.hxx>
#include <pagedesc.hxx>
#include <ndtxt.hxx>
#include <ftninfo.hxx>
#include <fmthdft.hxx>
#include <section.hxx>
#include <fmtcntnt.hxx>
#include <fmtftn.hxx>
#include <ndindex.hxx>
#include <txtftn.hxx>
#include <charfmt.hxx>
#include <docufld.hxx>
#include <dcontact.hxx>
#include <fmtcnct.hxx>
#include <ftnidx.hxx>
#include <fmtclds.hxx>
#include <lineinfo.hxx>
#include <fmtline.hxx>
#include <swtable.hxx>
#include <redline.hxx>
#include <msfilter.hxx>
#include <swmodule.hxx>
#include <charatr.hxx>
#include "sprmids.hxx"
#include "writerhelper.hxx"
#include "writerwordglue.hxx"
#include <wwstyles.hxx>
#include "ww8par.hxx"
#include "ww8attributeoutput.hxx"
#include "docxattributeoutput.hxx"
#include "rtfattributeoutput.hxx"
#include <unordered_set>
Include dependency graph for wrtw8sty.cxx:

Go to the source code of this file.

Classes

struct  WW8_PdAttrDesc
 For the output of sections. More...
 
class  WW8_WrPlc0
 

Macros

#define WW8_RESERVED_SLOTS   15
 

Functions

static sal_uInt16 BuildGetSlot (const SwFormat &rFormat)
 Get reserved slot number during building the style table. More...
 
static OUString StripWWSuffix (const OUString &s)
 
static void impl_SkipOdd (std::unique_ptr< ww::bytes > const &pO, std::size_t nTableStrmTell)
 For WW8 only - extend pO so that the size of pTableStrm is even. More...
 
bool operator< (const wwFont &r1, const wwFont &r2)
 
static bool lcl_AuthorComp (const std::pair< OUString, OUString > &aFirst, const std::pair< OUString, OUString > &aSecond)
 
static bool lcl_PosComp (const std::pair< WW8_CP, int > &aFirst, const std::pair< WW8_CP, int > &aSecond)
 

Macro Definition Documentation

◆ WW8_RESERVED_SLOTS

#define WW8_RESERVED_SLOTS   15

Definition at line 165 of file wrtw8sty.cxx.

Function Documentation

◆ BuildGetSlot()

static sal_uInt16 BuildGetSlot ( const SwFormat rFormat)
static

◆ impl_SkipOdd()

static void impl_SkipOdd ( std::unique_ptr< ww::bytes > const &  pO,
std::size_t  nTableStrmTell 
)
static

For WW8 only - extend pO so that the size of pTableStrm is even.

Definition at line 472 of file wrtw8sty.cxx.

Referenced by WW8AttributeOutput::EndStyle(), and WW8AttributeOutput::StartStyleProperties().

◆ lcl_AuthorComp()

static bool lcl_AuthorComp ( const std::pair< OUString, OUString > &  aFirst,
const std::pair< OUString, OUString > &  aSecond 
)
static

Definition at line 2405 of file wrtw8sty.cxx.

Referenced by WW8_WrPlcSubDoc::WriteGenericPlc().

◆ lcl_PosComp()

static bool lcl_PosComp ( const std::pair< WW8_CP, int > &  aFirst,
const std::pair< WW8_CP, int > &  aSecond 
)
static

Definition at line 2410 of file wrtw8sty.cxx.

Referenced by WW8_WrPlcSubDoc::WriteGenericPlc().

◆ operator<()

bool operator< ( const wwFont r1,
const wwFont r2 
)

Definition at line 885 of file wrtw8sty.cxx.

Referenced by SwNodeIndex::operator<=().

◆ StripWWSuffix()

static OUString StripWWSuffix ( const OUString &  s)
static

Definition at line 364 of file wrtw8sty.cxx.

Referenced by MSWordStyles::BuildWwNames().