LibreOffice Module sw (master) 1
|
#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"
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 SwPageDesc * | FindPageDesc (SwDoc *pDoc, sal_uInt16 nPoolId) |
Variables | |
const sal_uInt16 | aItemIds [] |
#define MAX_DROPCAP_CHARS 9 |
Definition at line 69 of file htmlcss1.cxx.
#define MAX_DROPCAP_LINES 9 |
Definition at line 68 of file htmlcss1.cxx.
|
static |
Definition at line 1319 of file htmlcss1.cxx.
References SwDoc::GetPageDesc(), and SwDoc::GetPageDescCnt().
Referenced by SwCSS1Parser::GetPageDesc().
|
static |
Definition at line 606 of file htmlcss1.cxx.
References AllMask, CSS1_SELTYPE_ELEM_CLASS, CSS1_SELTYPE_ELEMENT, eType, SwCSS1Parser::GetScriptFromClass(), CSS1Selector::GetString(), CSS1Selector::GetType(), and nPos.
Referenced by SwCSS1Parser::StyleParsed().
|
static |
Definition at line 2273 of file htmlcss1.cxx.
References SwFormat::GetAttrSet(), SvxFontItem::GetCharSet(), SvxFontItem::GetFamily(), SvxFontItem::GetFamilyName(), SfxItemSet::GetItemIfSet(), SvxFontItem::GetPitch(), SvxFontItem::GetStyleName(), i, RES_CHRATR_CJK_FONT(), RES_CHRATR_CTL_FONT(), RES_CHRATR_FONT(), and SwFormat::SetFormatAttr().
Referenced by SwCSS1Parser::GetCharFormatFromPool(), SwCSS1Parser::GetTextCollFromPool(), SwCSS1Parser::GetTextFormatColl(), and SwCSS1Parser::SetDfltEncoding().
|
static |
Definition at line 634 of file htmlcss1.cxx.
References AllMask, CJK, SfxItemSet::ClearItem(), CTL, SfxItemSet::GetItemState(), i, RES_CHRATR_CJK_FONT(), RES_CHRATR_CJK_FONTSIZE(), RES_CHRATR_CJK_LANGUAGE(), RES_CHRATR_CJK_POSTURE(), RES_CHRATR_CJK_WEIGHT(), RES_CHRATR_CTL_FONT(), RES_CHRATR_CTL_FONTSIZE(), RES_CHRATR_CTL_LANGUAGE(), RES_CHRATR_CTL_POSTURE(), RES_CHRATR_CTL_WEIGHT(), RES_CHRATR_FONT(), RES_CHRATR_FONTSIZE(), RES_CHRATR_LANGUAGE(), RES_CHRATR_POSTURE(), RES_CHRATR_WEIGHT(), SAL_N_ELEMENTS, swhtml_css1atr_equalFontItems(), and Western.
Referenced by SwCSS1Parser::StyleParsed().
|
static |
Definition at line 180 of file htmlcss1.cxx.
References SfxItemSet::ClearItem(), SfxItemSet::GetItemIfSet(), SvxFontHeightItem::GetProp(), i, RES_BACKGROUND(), RES_BOX(), RES_CHRATR_BACKGROUND(), RES_CHRATR_BOX(), RES_CHRATR_CJK_FONTSIZE(), RES_CHRATR_CTL_FONTSIZE(), RES_CHRATR_FONTSIZE(), and SwFormat::SetFormatAttr().
Referenced by SwCSS1Parser::FillDropCap(), SwCSS1Parser::GetChrFormat(), SwCSS1Parser::SetLinkCharFormats(), and SwCSS1Parser::StyleParsed().
|
static |
Definition at line 266 of file htmlcss1.cxx.
References SfxItemSet::ClearItem(), SwFormat::GetAttrSet(), SfxItemSet::GetItemIfSet(), SvxULSpaceItem::GetLower(), SvxFontHeightItem::GetProp(), SvxULSpaceItem::GetUpper(), i, SvxCSS1PropertyInfo::m_bBottomMargin, SvxCSS1PropertyInfo::m_bTopMargin, SfxItemSet::Put(), RES_CHRATR_CJK_FONTSIZE(), RES_CHRATR_CTL_FONTSIZE(), RES_CHRATR_FONTSIZE(), RES_UL_SPACE(), SwTextFormatColl::SetFormatAttr(), SwCSS1Parser::SetFormatBreak(), SvxULSpaceItem::SetLower(), and SvxULSpaceItem::SetUpper().
Referenced by SwCSS1Parser::GetTextFormatColl(), SwCSS1Parser::SetTableTextColl(), and SwCSS1Parser::StyleParsed().
const sal_uInt16 aItemIds[] |
Definition at line 74 of file htmlcss1.cxx.