LibreOffice Module sw (master) 1
Macros | Functions | Variables
htmlcss1.cxx File Reference
#include <hintids.hxx>
#include <svl/itemiter.hxx>
#include <svl/urihelper.hxx>
#include <i18nlangtag/languagetag.hxx>
#include <sfx2/docfile.hxx>
#include <editeng/editids.hrc>
#include <editeng/fhgtitem.hxx>
#include <editeng/brushitem.hxx>
#include <editeng/lrspitem.hxx>
#include <editeng/ulspitem.hxx>
#include <editeng/boxitem.hxx>
#include <editeng/flstitem.hxx>
#include <editeng/formatbreakitem.hxx>
#include <editeng/keepitem.hxx>
#include <editeng/fontitem.hxx>
#include <editeng/langitem.hxx>
#include <editeng/frmdiritem.hxx>
#include <o3tl/string_view.hxx>
#include <svtools/htmltokn.h>
#include <svtools/htmlkywd.hxx>
#include <fmtpdsc.hxx>
#include <fmtanchr.hxx>
#include <fmtornt.hxx>
#include <fmtsrnd.hxx>
#include <fmtfsize.hxx>
#include <frmatr.hxx>
#include <charfmt.hxx>
#include <docary.hxx>
#include <osl/diagnose.h>
#include <doc.hxx>
#include <IDocumentStylePoolAccess.hxx>
#include <pam.hxx>
#include <poolfmt.hxx>
#include <docsh.hxx>
#include <paratr.hxx>
#include <pagedesc.hxx>
#include "css1kywd.hxx"
#include "swcss1.hxx"
#include "htmlnum.hxx"
#include "swhtml.hxx"
#include <numrule.hxx>
#include "css1atr.hxx"
Include dependency graph for htmlcss1.cxx:

Go to the source code of this file.

Macros

#define MAX_DROPCAP_LINES   9
 
#define MAX_DROPCAP_CHARS   9
 

Functions

static void lcl_swcss1_setEncoding (SwFormat &rFormat, rtl_TextEncoding eEnc)
 
static void SetCharFormatAttrs (SwCharFormat *pCharFormat, SfxItemSet &rItemSet)
 
static void SetTextCollAttrs (SwTextFormatColl *pColl, SfxItemSet &rItemSet, SvxCSS1PropertyInfo const &rPropInfo, SwCSS1Parser *pCSS1Parser)
 
static CSS1SelectorType GetTokenAndClass (const CSS1Selector *pSelector, OUString &rToken, OUString &rClass, Css1ScriptFlags &rScriptFlags)
 
static void RemoveScriptItems (SfxItemSet &rItemSet, Css1ScriptFlags nScript, const SfxItemSet *pParentItemSet=nullptr)
 
static SwPageDescFindPageDesc (SwDoc *pDoc, sal_uInt16 nPoolId)
 

Variables

const sal_uInt16 aItemIds []
 

Macro Definition Documentation

◆ MAX_DROPCAP_CHARS

#define MAX_DROPCAP_CHARS   9

Definition at line 69 of file htmlcss1.cxx.

◆ MAX_DROPCAP_LINES

#define MAX_DROPCAP_LINES   9

Definition at line 68 of file htmlcss1.cxx.

Function Documentation

◆ FindPageDesc()

static SwPageDesc * FindPageDesc ( SwDoc pDoc,
sal_uInt16  nPoolId 
)
static

Definition at line 1319 of file htmlcss1.cxx.

References SwDoc::GetPageDesc(), and SwDoc::GetPageDescCnt().

Referenced by SwCSS1Parser::GetPageDesc().

◆ GetTokenAndClass()

static CSS1SelectorType GetTokenAndClass ( const CSS1Selector pSelector,
OUString &  rToken,
OUString &  rClass,
Css1ScriptFlags rScriptFlags 
)
static

◆ lcl_swcss1_setEncoding()

static void lcl_swcss1_setEncoding ( SwFormat rFormat,
rtl_TextEncoding  eEnc 
)
static

◆ RemoveScriptItems()

static void RemoveScriptItems ( SfxItemSet rItemSet,
Css1ScriptFlags  nScript,
const SfxItemSet pParentItemSet = nullptr 
)
static

◆ SetCharFormatAttrs()

static void SetCharFormatAttrs ( SwCharFormat pCharFormat,
SfxItemSet rItemSet 
)
static

◆ SetTextCollAttrs()

static void SetTextCollAttrs ( SwTextFormatColl pColl,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo const &  rPropInfo,
SwCSS1Parser pCSS1Parser 
)
static

Variable Documentation

◆ aItemIds

const sal_uInt16 aItemIds[]
Initial value:
=
{
}
constexpr TypedWhichId< SvxFormatKeepItem > RES_KEEP(116)
constexpr TypedWhichId< SwFormatPageDesc > RES_PAGEDESC(99)
constexpr TypedWhichId< SvxFormatBreakItem > RES_BREAK(100)

Definition at line 74 of file htmlcss1.cxx.