LibreOffice Module sw (master) 1
Classes | Typedefs | Functions | Variables
svxcss1.cxx File Reference
#include <sal/config.h>
#include <algorithm>
#include <cmath>
#include <limits>
#include <memory>
#include <stdlib.h>
#include <svx/svxids.hrc>
#include <i18nlangtag/languagetag.hxx>
#include <svtools/ctrltool.hxx>
#include <svl/urihelper.hxx>
#include <editeng/udlnitem.hxx>
#include <editeng/adjustitem.hxx>
#include <editeng/blinkitem.hxx>
#include <editeng/crossedoutitem.hxx>
#include <editeng/kernitem.hxx>
#include <editeng/lspcitem.hxx>
#include <editeng/fontitem.hxx>
#include <editeng/postitem.hxx>
#include <editeng/colritem.hxx>
#include <editeng/cmapitem.hxx>
#include <editeng/brushitem.hxx>
#include <editeng/wghtitem.hxx>
#include <editeng/fhgtitem.hxx>
#include <editeng/borderline.hxx>
#include <editeng/boxitem.hxx>
#include <editeng/ulspitem.hxx>
#include <editeng/lrspitem.hxx>
#include <editeng/langitem.hxx>
#include <svl/itempool.hxx>
#include <editeng/spltitem.hxx>
#include <editeng/widwitem.hxx>
#include <editeng/frmdiritem.hxx>
#include <editeng/orphitem.hxx>
#include <utility>
#include <vcl/svapp.hxx>
#include <sal/log.hxx>
#include <osl/diagnose.h>
#include <o3tl/string_view.hxx>
#include <hintids.hxx>
#include "css1kywd.hxx"
#include "svxcss1.hxx"
#include "htmlnum.hxx"
Include dependency graph for svxcss1.cxx:

Go to the source code of this file.

Classes

struct  SvxCSS1BorderInfo
 

Typedefs

typedef void(* FnParseCSS1Prop) (const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &rPropInfo, const SvxCSS1Parser &rParser)
 type of functions to parse CSS1 properties More...
 

Functions

static void ParseCSS1_font_size (const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &, const SvxCSS1Parser &rParser)
 
static void ParseCSS1_font_family (const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &, const SvxCSS1Parser &rParser)
 
static void ParseCSS1_font_weight (const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &, const SvxCSS1Parser &)
 
static void ParseCSS1_font_style (const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &, const SvxCSS1Parser &)
 
static void ParseCSS1_font_variant (const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &, const SvxCSS1Parser &)
 
static void ParseCSS1_text_transform (const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &, const SvxCSS1Parser &)
 
static void ParseCSS1_color (const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &, const SvxCSS1Parser &)
 
static void ParseCSS1_column_count (const CSS1Expression *pExpr, SfxItemSet &, SvxCSS1PropertyInfo &rPropInfo, const SvxCSS1Parser &)
 
static void ParseCSS1_direction (const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &, const SvxCSS1Parser &)
 
static void MergeHori (SvxGraphicPosition &ePos, SvxGraphicPosition eHori)
 
static void MergeVert (SvxGraphicPosition &ePos, SvxGraphicPosition eVert)
 
static void ParseCSS1_background (const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &, const SvxCSS1Parser &rParser)
 
static void ParseCSS1_background_color (const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &, const SvxCSS1Parser &)
 
static void ParseCSS1_line_height (const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &, const SvxCSS1Parser &)
 
static void ParseCSS1_list_style_type (const CSS1Expression *pExpr, SfxItemSet &, SvxCSS1PropertyInfo &rPropInfo, const SvxCSS1Parser &)
 
static void ParseCSS1_font (const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &rPropInfo, const SvxCSS1Parser &rParser)
 
static void ParseCSS1_letter_spacing (const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &, const SvxCSS1Parser &)
 
static void ParseCSS1_text_decoration (const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &, const SvxCSS1Parser &)
 
static void ParseCSS1_text_align (const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &, const SvxCSS1Parser &)
 
static void ParseCSS1_text_indent (const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &rPropInfo, const SvxCSS1Parser &)
 
static void ParseCSS1_margin_left (const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &rPropInfo, const SvxCSS1Parser &)
 
static void ParseCSS1_margin_right (const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &rPropInfo, const SvxCSS1Parser &)
 
static void ParseCSS1_margin_top (const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &rPropInfo, const SvxCSS1Parser &)
 
static void ParseCSS1_margin_bottom (const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &rPropInfo, const SvxCSS1Parser &)
 
static void ParseCSS1_margin (const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &rPropInfo, const SvxCSS1Parser &)
 
static bool ParseCSS1_padding_xxx (const CSS1Expression *pExpr, SvxCSS1PropertyInfo &rPropInfo, SvxBoxItemLine nWhichLine)
 
static void ParseCSS1_padding_top (const CSS1Expression *pExpr, SfxItemSet &, SvxCSS1PropertyInfo &rPropInfo, const SvxCSS1Parser &)
 
static void ParseCSS1_padding_bottom (const CSS1Expression *pExpr, SfxItemSet &, SvxCSS1PropertyInfo &rPropInfo, const SvxCSS1Parser &)
 
static void ParseCSS1_padding_left (const CSS1Expression *pExpr, SfxItemSet &, SvxCSS1PropertyInfo &rPropInfo, const SvxCSS1Parser &)
 
static void ParseCSS1_padding_right (const CSS1Expression *pExpr, SfxItemSet &, SvxCSS1PropertyInfo &rPropInfo, const SvxCSS1Parser &)
 
static void ParseCSS1_padding (const CSS1Expression *pExpr, SfxItemSet &, SvxCSS1PropertyInfo &rPropInfo, const SvxCSS1Parser &)
 
static void ParseCSS1_border_xxx (const CSS1Expression *pExpr, SfxItemSet &, SvxCSS1PropertyInfo &rPropInfo, const SvxCSS1Parser &, SvxBoxItemLine nWhichLine, bool bAll)
 
static void ParseCSS1_border_xxx_width (const CSS1Expression *pExpr, SfxItemSet &, SvxCSS1PropertyInfo &rPropInfo, const SvxCSS1Parser &, SvxBoxItemLine nWhichLine)
 
static void ParseCSS1_border_top_width (const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &rPropInfo, const SvxCSS1Parser &rParser)
 
static void ParseCSS1_border_right_width (const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &rPropInfo, const SvxCSS1Parser &rParser)
 
static void ParseCSS1_border_bottom_width (const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &rPropInfo, const SvxCSS1Parser &rParser)
 
static void ParseCSS1_border_left_width (const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &rPropInfo, const SvxCSS1Parser &rParser)
 
static void ParseCSS1_border_width (const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &rPropInfo, const SvxCSS1Parser &rParser)
 
static void ParseCSS1_border_color (const CSS1Expression *pExpr, SfxItemSet &, SvxCSS1PropertyInfo &rPropInfo, const SvxCSS1Parser &)
 
static void ParseCSS1_border_style (const CSS1Expression *pExpr, SfxItemSet &, SvxCSS1PropertyInfo &rPropInfo, const SvxCSS1Parser &)
 
static void ParseCSS1_border_top (const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &rPropInfo, const SvxCSS1Parser &rParser)
 
static void ParseCSS1_border_right (const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &rPropInfo, const SvxCSS1Parser &rParser)
 
static void ParseCSS1_border_bottom (const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &rPropInfo, const SvxCSS1Parser &rParser)
 
static void ParseCSS1_border_left (const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &rPropInfo, const SvxCSS1Parser &rParser)
 
static void ParseCSS1_border (const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &rPropInfo, const SvxCSS1Parser &rParser)
 
static void ParseCSS1_float (const CSS1Expression *pExpr, SfxItemSet &, SvxCSS1PropertyInfo &rPropInfo, const SvxCSS1Parser &)
 
static void ParseCSS1_position (const CSS1Expression *pExpr, SfxItemSet &, SvxCSS1PropertyInfo &rPropInfo, const SvxCSS1Parser &)
 
static void ParseCSS1_length (const CSS1Expression *pExpr, tools::Long &rLength, SvxCSS1LengthType &rLengthType, bool bHori)
 
static void ParseCSS1_width (const CSS1Expression *pExpr, SfxItemSet &, SvxCSS1PropertyInfo &rPropInfo, const SvxCSS1Parser &)
 
static void ParseCSS1_height (const CSS1Expression *pExpr, SfxItemSet &, SvxCSS1PropertyInfo &rPropInfo, const SvxCSS1Parser &)
 
static void ParseCSS1_left (const CSS1Expression *pExpr, SfxItemSet &, SvxCSS1PropertyInfo &rPropInfo, const SvxCSS1Parser &)
 
static void ParseCSS1_top (const CSS1Expression *pExpr, SfxItemSet &, SvxCSS1PropertyInfo &rPropInfo, const SvxCSS1Parser &)
 
static void ParseCSS1_size (const CSS1Expression *pExpr, SfxItemSet &, SvxCSS1PropertyInfo &rPropInfo, const SvxCSS1Parser &)
 
static void ParseCSS1_page_break_xxx (const CSS1Expression *pExpr, SvxCSS1PageBreak &rPBreak)
 
static void ParseCSS1_page_break_before (const CSS1Expression *pExpr, SfxItemSet &, SvxCSS1PropertyInfo &rPropInfo, const SvxCSS1Parser &)
 
static void ParseCSS1_page_break_after (const CSS1Expression *pExpr, SfxItemSet &, SvxCSS1PropertyInfo &rPropInfo, const SvxCSS1Parser &)
 
static void ParseCSS1_page_break_inside (const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &, const SvxCSS1Parser &)
 
static void ParseCSS1_widows (const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &, const SvxCSS1Parser &)
 
static void ParseCSS1_orphans (const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &, const SvxCSS1Parser &)
 
static void ParseCSS1_so_language (const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &, const SvxCSS1Parser &)
 
static void ParseCSS1_visibility (const CSS1Expression *pExpr, SfxItemSet &, SvxCSS1PropertyInfo &rPropInfo, const SvxCSS1Parser &)
 
static bool CSS1PropEntryFindCompare (CSS1PropEntry const &lhs, OUString const &s)
 

Variables

CSS1PropertyEnum const aFontSizeTable []
 
CSS1PropertyEnum const aFontWeightTable []
 
CSS1PropertyEnum const aFontStyleTable []
 
CSS1PropertyEnum const aFontVariantTable []
 
CSS1PropertyEnum const aTextTransformTable []
 
CSS1PropertyEnum const aDirectionTable []
 
CSS1PropertyEnum const aBGRepeatTable []
 
CSS1PropertyEnum const aBGHoriPosTable []
 
CSS1PropertyEnum const aBGVertPosTable []
 
CSS1PropertyEnum const aTextAlignTable []
 
CSS1PropertyEnum const aBorderWidthTable []
 
CSS1PropertyEnum const aBorderStyleTable []
 
CSS1PropertyEnum const aFloatTable []
 
CSS1PropertyEnum const aPositionTable []
 
CSS1PropertyEnum const aSizeTable []
 
CSS1PropertyEnum const aPageBreakTable []
 
CSS1PropertyEnum const aNumberStyleTable []
 
CSS1PropertyEnum const aBulletStyleTable []
 
sal_uInt16 const aBorderWidths []
 
static SvxCSS1ItemIds aItemIds
 
CSS1PropEntry const aCSS1PropFnTab []
 

Typedef Documentation

◆ FnParseCSS1Prop

typedef void(* FnParseCSS1Prop) (const CSS1Expression *pExpr, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &rPropInfo, const SvxCSS1Parser &rParser)

type of functions to parse CSS1 properties

Definition at line 70 of file svxcss1.cxx.

Function Documentation

◆ CSS1PropEntryFindCompare()

static bool CSS1PropEntryFindCompare ( CSS1PropEntry const &  lhs,
OUString const &  s 
)
static

Definition at line 3124 of file svxcss1.cxx.

Referenced by SvxCSS1Parser::DeclarationParsed().

◆ MergeHori()

static void MergeHori ( SvxGraphicPosition ePos,
SvxGraphicPosition  eHori 
)
static

Definition at line 1347 of file svxcss1.cxx.

References ePos, GPOS_LB, GPOS_LM, GPOS_LT, GPOS_MB, GPOS_MM, GPOS_MT, GPOS_RB, GPOS_RM, and GPOS_RT.

Referenced by ParseCSS1_background().

◆ MergeVert()

static void MergeVert ( SvxGraphicPosition ePos,
SvxGraphicPosition  eVert 
)
static

Definition at line 1377 of file svxcss1.cxx.

References ePos, GPOS_LB, GPOS_LM, GPOS_LT, GPOS_MB, GPOS_MM, GPOS_MT, GPOS_RB, GPOS_RM, and GPOS_RT.

Referenced by ParseCSS1_background().

◆ ParseCSS1_background()

static void ParseCSS1_background ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo ,
const SvxCSS1Parser rParser 
)
static

◆ ParseCSS1_background_color()

static void ParseCSS1_background_color ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo ,
const SvxCSS1Parser  
)
static

◆ ParseCSS1_border()

static void ParseCSS1_border ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser rParser 
)
static

Definition at line 2770 of file svxcss1.cxx.

References ParseCSS1_border_xxx().

◆ ParseCSS1_border_bottom()

static void ParseCSS1_border_bottom ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser rParser 
)
static

Definition at line 2754 of file svxcss1.cxx.

References ParseCSS1_border_xxx().

◆ ParseCSS1_border_bottom_width()

static void ParseCSS1_border_bottom_width ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser rParser 
)
static

Definition at line 2654 of file svxcss1.cxx.

References ParseCSS1_border_xxx_width().

◆ ParseCSS1_border_color()

static void ParseCSS1_border_color ( const CSS1Expression pExpr,
SfxItemSet ,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static

◆ ParseCSS1_border_left()

static void ParseCSS1_border_left ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser rParser 
)
static

Definition at line 2762 of file svxcss1.cxx.

References ParseCSS1_border_xxx().

◆ ParseCSS1_border_left_width()

static void ParseCSS1_border_left_width ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser rParser 
)
static

Definition at line 2662 of file svxcss1.cxx.

References ParseCSS1_border_xxx_width().

◆ ParseCSS1_border_right()

static void ParseCSS1_border_right ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser rParser 
)
static

Definition at line 2746 of file svxcss1.cxx.

References ParseCSS1_border_xxx().

◆ ParseCSS1_border_right_width()

static void ParseCSS1_border_right_width ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser rParser 
)
static

Definition at line 2646 of file svxcss1.cxx.

References ParseCSS1_border_xxx_width().

◆ ParseCSS1_border_style()

static void ParseCSS1_border_style ( const CSS1Expression pExpr,
SfxItemSet ,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static

◆ ParseCSS1_border_top()

static void ParseCSS1_border_top ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser rParser 
)
static

Definition at line 2738 of file svxcss1.cxx.

References ParseCSS1_border_xxx().

◆ ParseCSS1_border_top_width()

static void ParseCSS1_border_top_width ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser rParser 
)
static

Definition at line 2638 of file svxcss1.cxx.

References ParseCSS1_border_xxx_width().

◆ ParseCSS1_border_width()

static void ParseCSS1_border_width ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser rParser 
)
static

◆ ParseCSS1_border_xxx()

static void ParseCSS1_border_xxx ( const CSS1Expression pExpr,
SfxItemSet ,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser ,
SvxBoxItemLine  nWhichLine,
bool  bAll 
)
static

◆ ParseCSS1_border_xxx_width()

static void ParseCSS1_border_xxx_width ( const CSS1Expression pExpr,
SfxItemSet ,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser ,
SvxBoxItemLine  nWhichLine 
)
static

◆ ParseCSS1_color()

static void ParseCSS1_color ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo ,
const SvxCSS1Parser  
)
static

◆ ParseCSS1_column_count()

static void ParseCSS1_column_count ( const CSS1Expression pExpr,
SfxItemSet ,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static

◆ ParseCSS1_direction()

static void ParseCSS1_direction ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo ,
const SvxCSS1Parser  
)
static

◆ ParseCSS1_float()

static void ParseCSS1_float ( const CSS1Expression pExpr,
SfxItemSet ,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static

◆ ParseCSS1_font()

static void ParseCSS1_font ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser rParser 
)
static

◆ ParseCSS1_font_family()

static void ParseCSS1_font_family ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo ,
const SvxCSS1Parser rParser 
)
static

◆ ParseCSS1_font_size()

static void ParseCSS1_font_size ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo ,
const SvxCSS1Parser rParser 
)
static

◆ ParseCSS1_font_style()

static void ParseCSS1_font_style ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo ,
const SvxCSS1Parser  
)
static

◆ ParseCSS1_font_variant()

static void ParseCSS1_font_variant ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo ,
const SvxCSS1Parser  
)
static

◆ ParseCSS1_font_weight()

static void ParseCSS1_font_weight ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo ,
const SvxCSS1Parser  
)
static

◆ ParseCSS1_height()

static void ParseCSS1_height ( const CSS1Expression pExpr,
SfxItemSet ,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static

◆ ParseCSS1_left()

static void ParseCSS1_left ( const CSS1Expression pExpr,
SfxItemSet ,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static

◆ ParseCSS1_length()

static void ParseCSS1_length ( const CSS1Expression pExpr,
tools::Long rLength,
SvxCSS1LengthType rLengthType,
bool  bHori 
)
static

◆ ParseCSS1_letter_spacing()

static void ParseCSS1_letter_spacing ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo ,
const SvxCSS1Parser  
)
static

◆ ParseCSS1_line_height()

static void ParseCSS1_line_height ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo ,
const SvxCSS1Parser  
)
static

◆ ParseCSS1_list_style_type()

static void ParseCSS1_list_style_type ( const CSS1Expression pExpr,
SfxItemSet ,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static

◆ ParseCSS1_margin()

static void ParseCSS1_margin ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static

◆ ParseCSS1_margin_bottom()

static void ParseCSS1_margin_bottom ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static

◆ ParseCSS1_margin_left()

static void ParseCSS1_margin_left ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static

◆ ParseCSS1_margin_right()

static void ParseCSS1_margin_right ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static

◆ ParseCSS1_margin_top()

static void ParseCSS1_margin_top ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static

◆ ParseCSS1_orphans()

static void ParseCSS1_orphans ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo ,
const SvxCSS1Parser  
)
static

◆ ParseCSS1_padding()

static void ParseCSS1_padding ( const CSS1Expression pExpr,
SfxItemSet ,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static

◆ ParseCSS1_padding_bottom()

static void ParseCSS1_padding_bottom ( const CSS1Expression pExpr,
SfxItemSet ,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static

Definition at line 2439 of file svxcss1.cxx.

References ParseCSS1_padding_xxx().

◆ ParseCSS1_padding_left()

static void ParseCSS1_padding_left ( const CSS1Expression pExpr,
SfxItemSet ,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static

Definition at line 2447 of file svxcss1.cxx.

References ParseCSS1_padding_xxx().

◆ ParseCSS1_padding_right()

static void ParseCSS1_padding_right ( const CSS1Expression pExpr,
SfxItemSet ,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static

Definition at line 2455 of file svxcss1.cxx.

References ParseCSS1_padding_xxx().

◆ ParseCSS1_padding_top()

static void ParseCSS1_padding_top ( const CSS1Expression pExpr,
SfxItemSet ,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static

Definition at line 2431 of file svxcss1.cxx.

References ParseCSS1_padding_xxx().

◆ ParseCSS1_padding_xxx()

static bool ParseCSS1_padding_xxx ( const CSS1Expression pExpr,
SvxCSS1PropertyInfo rPropInfo,
SvxBoxItemLine  nWhichLine 
)
static

◆ ParseCSS1_page_break_after()

static void ParseCSS1_page_break_after ( const CSS1Expression pExpr,
SfxItemSet ,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static

◆ ParseCSS1_page_break_before()

static void ParseCSS1_page_break_before ( const CSS1Expression pExpr,
SfxItemSet ,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static

◆ ParseCSS1_page_break_inside()

static void ParseCSS1_page_break_inside ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo ,
const SvxCSS1Parser  
)
static

◆ ParseCSS1_page_break_xxx()

static void ParseCSS1_page_break_xxx ( const CSS1Expression pExpr,
SvxCSS1PageBreak rPBreak 
)
static

◆ ParseCSS1_position()

static void ParseCSS1_position ( const CSS1Expression pExpr,
SfxItemSet ,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static

◆ ParseCSS1_size()

static void ParseCSS1_size ( const CSS1Expression pExpr,
SfxItemSet ,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static

◆ ParseCSS1_so_language()

static void ParseCSS1_so_language ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo ,
const SvxCSS1Parser  
)
static

◆ ParseCSS1_text_align()

static void ParseCSS1_text_align ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo ,
const SvxCSS1Parser  
)
static

◆ ParseCSS1_text_decoration()

static void ParseCSS1_text_decoration ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo ,
const SvxCSS1Parser  
)
static

◆ ParseCSS1_text_indent()

static void ParseCSS1_text_indent ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static

◆ ParseCSS1_text_transform()

static void ParseCSS1_text_transform ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo ,
const SvxCSS1Parser  
)
static

◆ ParseCSS1_top()

static void ParseCSS1_top ( const CSS1Expression pExpr,
SfxItemSet ,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static

◆ ParseCSS1_visibility()

static void ParseCSS1_visibility ( const CSS1Expression pExpr,
SfxItemSet ,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static

◆ ParseCSS1_widows()

static void ParseCSS1_widows ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo ,
const SvxCSS1Parser  
)
static

◆ ParseCSS1_width()

static void ParseCSS1_width ( const CSS1Expression pExpr,
SfxItemSet ,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static

Variable Documentation

◆ aBGHoriPosTable

CSS1PropertyEnum const aBGHoriPosTable[]
Initial value:
=
{
{ "left", GPOS_LT },
{ "center", GPOS_MT },
{ "right", GPOS_RT },
{ nullptr, 0 }
}
GPOS_MT
GPOS_LT
GPOS_RT

Definition at line 142 of file svxcss1.cxx.

Referenced by ParseCSS1_background().

◆ aBGRepeatTable

CSS1PropertyEnum const aBGRepeatTable[]
Initial value:
=
{
{ "repeat", GPOS_TILED },
{ "repeat-x", GPOS_TILED },
{ "repeat-y", GPOS_TILED },
{ "no-repeat", GPOS_NONE },
{ nullptr, 0 }
}
GPOS_NONE
GPOS_TILED

Definition at line 133 of file svxcss1.cxx.

Referenced by ParseCSS1_background().

◆ aBGVertPosTable

CSS1PropertyEnum const aBGVertPosTable[]
Initial value:
=
{
{ "top", GPOS_LT },
{ "middle", GPOS_LM },
{ "bottom", GPOS_LB },
{ nullptr, 0 }
}
GPOS_LB
GPOS_LM

Definition at line 150 of file svxcss1.cxx.

Referenced by ParseCSS1_background().

◆ aBorderStyleTable

CSS1PropertyEnum const aBorderStyleTable[]
Initial value:
=
{
{ "none", CSS1_BS_NONE },
{ "dotted", CSS1_BS_DOTTED },
{ "dashed", CSS1_BS_DASHED },
{ "solid", CSS1_BS_SINGLE },
{ "double", CSS1_BS_DOUBLE },
{ "groove", CSS1_BS_GROOVE },
{ "ridge", CSS1_BS_RIDGE },
{ "inset", CSS1_BS_INSET },
{ "outset", CSS1_BS_OUTSET },
{ nullptr, 0 }
}

Definition at line 181 of file svxcss1.cxx.

Referenced by ParseCSS1_border_style(), and ParseCSS1_border_xxx().

◆ aBorderWidths

sal_uInt16 const aBorderWidths[]
Initial value:

Definition at line 250 of file svxcss1.cxx.

Referenced by SvxCSS1BorderInfo::SetBorderLine().

◆ aBorderWidthTable

CSS1PropertyEnum const aBorderWidthTable[]
Initial value:
=
{
{ "thin", 0 },
{ "medium", 1 },
{ "thick", 2 },
{ nullptr, 0 }
}

Definition at line 167 of file svxcss1.cxx.

Referenced by ParseCSS1_border_xxx(), and ParseCSS1_border_xxx_width().

◆ aBulletStyleTable

CSS1PropertyEnum const aBulletStyleTable[]
Initial value:
=
{
{ "circle", HTML_BULLETCHAR_CIRCLE },
{ "disc", HTML_BULLETCHAR_DISC },
{ "square", HTML_BULLETCHAR_SQUARE },
{ nullptr, 0 }
}
#define HTML_BULLETCHAR_SQUARE
Definition: htmlnum.hxx:34
#define HTML_BULLETCHAR_CIRCLE
Definition: htmlnum.hxx:33
#define HTML_BULLETCHAR_DISC
Definition: htmlnum.hxx:32

Definition at line 242 of file svxcss1.cxx.

Referenced by ParseCSS1_list_style_type().

◆ aCSS1PropFnTab

CSS1PropEntry const aCSS1PropFnTab[]

Definition at line 3066 of file svxcss1.cxx.

Referenced by SvxCSS1Parser::DeclarationParsed().

◆ aDirectionTable

CSS1PropertyEnum const aDirectionTable[]
Initial value:
=
{
{ "ltr", sal_uInt16(SvxFrameDirection::Horizontal_LR_TB) },
{ "rtl", sal_uInt16(SvxFrameDirection::Horizontal_RL_TB) },
{ "inherit", sal_uInt16(SvxFrameDirection::Environment) },
{ nullptr, 0 }
}

Definition at line 125 of file svxcss1.cxx.

Referenced by ParseCSS1_direction().

◆ aFloatTable

CSS1PropertyEnum const aFloatTable[]
Initial value:
=
{
{ "left", sal_uInt16(SvxAdjust::Left) },
{ "right", sal_uInt16(SvxAdjust::Right) },
{ "none", sal_uInt16(SvxAdjust::End) },
{ nullptr, 0 }
}

Definition at line 195 of file svxcss1.cxx.

Referenced by ParseCSS1_float().

◆ aFontSizeTable

CSS1PropertyEnum const aFontSizeTable[]
Initial value:
=
{
{ "xx-small", 0 },
{ "x-small", 1 },
{ "small", 2 },
{ "medium", 3 },
{ "large", 4 },
{ "x-large", 5 },
{ "xx-large", 6 },
{ nullptr, 0 }
}

Definition at line 75 of file svxcss1.cxx.

Referenced by ParseCSS1_font_size().

◆ aFontStyleTable

CSS1PropertyEnum const aFontStyleTable[]
Initial value:
=
{
{ "normal", ITALIC_NONE },
{ "italic", ITALIC_NORMAL },
{ "oblique", ITALIC_NORMAL },
{ nullptr, 0 }
}
ITALIC_NORMAL
ITALIC_NONE

Definition at line 102 of file svxcss1.cxx.

Referenced by ParseCSS1_font(), and ParseCSS1_font_style().

◆ aFontVariantTable

CSS1PropertyEnum const aFontVariantTable[]
Initial value:
=
{
{ "normal", sal_uInt16(SvxCaseMap::NotMapped) },
{ "small-caps", sal_uInt16(SvxCaseMap::SmallCaps) },
{ nullptr, 0 }
}

Definition at line 110 of file svxcss1.cxx.

Referenced by ParseCSS1_font(), and ParseCSS1_font_variant().

◆ aFontWeightTable

CSS1PropertyEnum const aFontWeightTable[]
Initial value:
=
{
{ "extra-light", WEIGHT_NORMAL },
{ "light", WEIGHT_NORMAL },
{ "demi-light", WEIGHT_NORMAL },
{ "medium", WEIGHT_NORMAL },
{ "normal", WEIGHT_NORMAL },
{ "demi-bold", WEIGHT_NORMAL },
{ "bold", WEIGHT_BOLD },
{ "extra-bold", WEIGHT_BOLD },
{ "bolder", WEIGHT_BOLD },
{ "lighter", WEIGHT_NORMAL },
{ nullptr, 0 }
}
WEIGHT_BOLD
WEIGHT_NORMAL

Definition at line 87 of file svxcss1.cxx.

Referenced by ParseCSS1_font(), and ParseCSS1_font_weight().

◆ aItemIds

SvxCSS1ItemIds aItemIds
static

◆ aNumberStyleTable

CSS1PropertyEnum const aNumberStyleTable[]
Initial value:
=
{
{ "decimal", SVX_NUM_ARABIC },
{ "lower-alpha", SVX_NUM_CHARS_LOWER_LETTER },
{ "lower-latin", SVX_NUM_CHARS_LOWER_LETTER },
{ "lower-roman", SVX_NUM_ROMAN_LOWER },
{ "upper-alpha", SVX_NUM_CHARS_UPPER_LETTER },
{ "upper-latin", SVX_NUM_CHARS_UPPER_LETTER },
{ "upper-roman", SVX_NUM_ROMAN_UPPER },
{ nullptr, 0 }
}
SVX_NUM_CHARS_LOWER_LETTER
SVX_NUM_CHARS_UPPER_LETTER
SVX_NUM_ROMAN_UPPER
SVX_NUM_ROMAN_LOWER
SVX_NUM_ARABIC

Definition at line 230 of file svxcss1.cxx.

Referenced by ParseCSS1_list_style_type().

◆ aPageBreakTable

CSS1PropertyEnum const aPageBreakTable[]
Initial value:
=
{
{ "auto", SVX_CSS1_PBREAK_AUTO },
{ "always", SVX_CSS1_PBREAK_ALWAYS },
{ "avoid", SVX_CSS1_PBREAK_AVOID },
{ "left", SVX_CSS1_PBREAK_LEFT },
{ "right", SVX_CSS1_PBREAK_RIGHT },
{ nullptr, 0 }
}
@ SVX_CSS1_PBREAK_ALWAYS
Definition: svxcss1.hxx:69
@ SVX_CSS1_PBREAK_AUTO
Definition: svxcss1.hxx:68
@ SVX_CSS1_PBREAK_RIGHT
Definition: svxcss1.hxx:72
@ SVX_CSS1_PBREAK_LEFT
Definition: svxcss1.hxx:71
@ SVX_CSS1_PBREAK_AVOID
Definition: svxcss1.hxx:70

Definition at line 220 of file svxcss1.cxx.

Referenced by ParseCSS1_page_break_xxx().

◆ aPositionTable

CSS1PropertyEnum const aPositionTable[]
Initial value:
=
{
{ "absolute", SVX_CSS1_POS_ABSOLUTE },
{ "relative", SVX_CSS1_POS_RELATIVE },
{ "static", SVX_CSS1_POS_STATIC },
{ nullptr, 0 }
}
@ SVX_CSS1_POS_ABSOLUTE
Definition: svxcss1.hxx:43
@ SVX_CSS1_POS_STATIC
Definition: svxcss1.hxx:42
@ SVX_CSS1_POS_RELATIVE
Definition: svxcss1.hxx:44

Definition at line 203 of file svxcss1.cxx.

Referenced by ParseCSS1_position().

◆ aSizeTable

CSS1PropertyEnum const aSizeTable[]
Initial value:
=
{
{ "auto", SVX_CSS1_STYPE_AUTO },
{ "landscape", SVX_CSS1_STYPE_LANDSCAPE },
{ "portrait", SVX_CSS1_STYPE_PORTRAIT },
{ nullptr, 0 }
}
@ SVX_CSS1_STYPE_LANDSCAPE
Definition: svxcss1.hxx:61
@ SVX_CSS1_STYPE_AUTO
Definition: svxcss1.hxx:59
@ SVX_CSS1_STYPE_PORTRAIT
Definition: svxcss1.hxx:62

Definition at line 212 of file svxcss1.cxx.

Referenced by ParseCSS1_size().

◆ aTextAlignTable

CSS1PropertyEnum const aTextAlignTable[]
Initial value:
=
{
{ "left", sal_uInt16(SvxAdjust::Left) },
{ "center", sal_uInt16(SvxAdjust::Center) },
{ "right", sal_uInt16(SvxAdjust::Right) },
{ "justify", sal_uInt16(SvxAdjust::Block) },
{ nullptr, 0 }
}

Definition at line 158 of file svxcss1.cxx.

Referenced by ParseCSS1_text_align().

◆ aTextTransformTable

CSS1PropertyEnum const aTextTransformTable[]
Initial value:
=
{
{ "uppercase", sal_uInt16(SvxCaseMap::Uppercase) },
{ "lowercase", sal_uInt16(SvxCaseMap::Lowercase) },
{ "capitalize", sal_uInt16(SvxCaseMap::Capitalize) },
{ nullptr, 0 }
}

Definition at line 117 of file svxcss1.cxx.

Referenced by ParseCSS1_text_transform().