LibreOffice Module sw (master)  1
Classes | Macros | Typedefs | Enumerations | Functions | Variables
svxcss1.cxx File Reference
#include <sal/config.h>
#include <cmath>
#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 <svtools/svparser.hxx>
#include <swtypes.hxx>
#include <vcl/svapp.hxx>
#include <vcl/wrkwin.hxx>
#include <sal/log.hxx>
#include <osl/diagnose.h>
#include "css1kywd.hxx"
#include "svxcss1.hxx"
#include "htmlnum.hxx"
#include <utility>
Include dependency graph for svxcss1.cxx:

Go to the source code of this file.

Classes

struct  SvxCSS1ItemIds
 
struct  SvxCSS1BorderInfo
 
struct  CSS1PropEntry
 

Macros

#define CSS1_PROP_ENTRY(p)   { sCSS1_P_##p, ParseCSS1_##p }
 

Typedefs

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

Enumerations

enum  CSS1BorderStyle {
  CSS1_BS_NONE,
  CSS1_BS_SINGLE,
  CSS1_BS_DOUBLE,
  CSS1_BS_DOTTED,
  CSS1_BS_DASHED,
  CSS1_BS_GROOVE,
  CSS1_BS_RIDGE,
  CSS1_BS_INSET,
  CSS1_BS_OUTSET
}
 

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, 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 bool CSS1PropEntryCompare (const CSS1PropEntry &lhs, const CSS1PropEntry &rhs)
 
static bool CSS1PropEntryFindCompare (CSS1PropEntry const &lhs, OUString const &s)
 

Variables

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

Macro Definition Documentation

#define CSS1_PROP_ENTRY (   p)    { sCSS1_P_##p, ParseCSS1_##p }

Definition at line 3069 of file svxcss1.cxx.

Typedef Documentation

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

type of functions to parse CSS1 properties

Definition at line 69 of file svxcss1.cxx.

Enumeration Type Documentation

Enumerator
CSS1_BS_NONE 
CSS1_BS_SINGLE 
CSS1_BS_DOUBLE 
CSS1_BS_DOTTED 
CSS1_BS_DASHED 
CSS1_BS_GROOVE 
CSS1_BS_RIDGE 
CSS1_BS_INSET 
CSS1_BS_OUTSET 

Definition at line 174 of file svxcss1.cxx.

Function Documentation

static bool CSS1PropEntryCompare ( const CSS1PropEntry lhs,
const CSS1PropEntry rhs 
)
static

Definition at line 3131 of file svxcss1.cxx.

References CSS1PropEntry::pName.

Referenced by SvxCSS1Parser::DeclarationParsed().

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

Definition at line 3136 of file svxcss1.cxx.

References CSS1PropEntry::pName.

Referenced by SvxCSS1Parser::DeclarationParsed().

static void MergeHori ( SvxGraphicPosition ePos,
SvxGraphicPosition  eHori 
)
static

Definition at line 1333 of file svxcss1.cxx.

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

Referenced by ParseCSS1_background().

static void MergeVert ( SvxGraphicPosition ePos,
SvxGraphicPosition  eVert 
)
static

Definition at line 1363 of file svxcss1.cxx.

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

Referenced by ParseCSS1_background().

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

Definition at line 2784 of file svxcss1.cxx.

References ParseCSS1_border_xxx().

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

Definition at line 2768 of file svxcss1.cxx.

References ParseCSS1_border_xxx().

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

Definition at line 2668 of file svxcss1.cxx.

References ParseCSS1_border_xxx_width().

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

Definition at line 2776 of file svxcss1.cxx.

References ParseCSS1_border_xxx().

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

Definition at line 2676 of file svxcss1.cxx.

References ParseCSS1_border_xxx_width().

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

Definition at line 2760 of file svxcss1.cxx.

References ParseCSS1_border_xxx().

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

Definition at line 2660 of file svxcss1.cxx.

References ParseCSS1_border_xxx_width().

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

Definition at line 2752 of file svxcss1.cxx.

References ParseCSS1_border_xxx().

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

Definition at line 2652 of file svxcss1.cxx.

References ParseCSS1_border_xxx_width().

static void ParseCSS1_border_width ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser rParser 
)
static
static void ParseCSS1_border_xxx ( const CSS1Expression pExpr,
SfxItemSet ,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser ,
SvxBoxItemLine  nWhichLine,
bool  bAll 
)
static
static void ParseCSS1_border_xxx_width ( const CSS1Expression pExpr,
SfxItemSet ,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser ,
SvxBoxItemLine  nWhichLine 
)
static
static void ParseCSS1_color ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo ,
const SvxCSS1Parser  
)
static
static void ParseCSS1_column_count ( const CSS1Expression pExpr,
SfxItemSet ,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static
static void ParseCSS1_direction ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo ,
const SvxCSS1Parser  
)
static
static void ParseCSS1_float ( const CSS1Expression pExpr,
SfxItemSet ,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static
static void ParseCSS1_font ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser rParser 
)
static
static void ParseCSS1_font_family ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo ,
const SvxCSS1Parser rParser 
)
static
static void ParseCSS1_font_size ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo ,
const SvxCSS1Parser rParser 
)
static
static void ParseCSS1_font_style ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo ,
const SvxCSS1Parser  
)
static
static void ParseCSS1_font_variant ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo ,
const SvxCSS1Parser  
)
static
static void ParseCSS1_font_weight ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo ,
const SvxCSS1Parser  
)
static
static void ParseCSS1_height ( const CSS1Expression pExpr,
SfxItemSet ,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static
static void ParseCSS1_left ( const CSS1Expression pExpr,
SfxItemSet ,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static
static void ParseCSS1_length ( const CSS1Expression pExpr,
long &  rLength,
SvxCSS1LengthType rLengthType,
bool  bHori 
)
static
static void ParseCSS1_letter_spacing ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo ,
const SvxCSS1Parser  
)
static
static void ParseCSS1_line_height ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo ,
const SvxCSS1Parser  
)
static
static void ParseCSS1_list_style_type ( const CSS1Expression pExpr,
SfxItemSet ,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static
static void ParseCSS1_margin ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static
static void ParseCSS1_margin_bottom ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static
static void ParseCSS1_margin_left ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static
static void ParseCSS1_margin_right ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static
static void ParseCSS1_margin_top ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static
static void ParseCSS1_orphans ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo ,
const SvxCSS1Parser  
)
static
static void ParseCSS1_padding ( const CSS1Expression pExpr,
SfxItemSet ,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static
static void ParseCSS1_padding_bottom ( const CSS1Expression pExpr,
SfxItemSet ,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static

Definition at line 2453 of file svxcss1.cxx.

References ParseCSS1_padding_xxx().

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

Definition at line 2461 of file svxcss1.cxx.

References ParseCSS1_padding_xxx().

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

Definition at line 2469 of file svxcss1.cxx.

References ParseCSS1_padding_xxx().

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

Definition at line 2445 of file svxcss1.cxx.

References ParseCSS1_padding_xxx().

static bool ParseCSS1_padding_xxx ( const CSS1Expression pExpr,
SvxCSS1PropertyInfo rPropInfo,
SvxBoxItemLine  nWhichLine 
)
static
static void ParseCSS1_page_break_after ( const CSS1Expression pExpr,
SfxItemSet ,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static
static void ParseCSS1_page_break_before ( const CSS1Expression pExpr,
SfxItemSet ,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static
static void ParseCSS1_page_break_inside ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo ,
const SvxCSS1Parser  
)
static
static void ParseCSS1_page_break_xxx ( const CSS1Expression pExpr,
SvxCSS1PageBreak rPBreak 
)
static
static void ParseCSS1_position ( const CSS1Expression pExpr,
SfxItemSet ,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static
static void ParseCSS1_size ( const CSS1Expression pExpr,
SfxItemSet ,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static
static void ParseCSS1_so_language ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo ,
const SvxCSS1Parser  
)
static
static void ParseCSS1_text_align ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo ,
const SvxCSS1Parser  
)
static
static void ParseCSS1_text_decoration ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo ,
const SvxCSS1Parser  
)
static
static void ParseCSS1_text_indent ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static
static void ParseCSS1_text_transform ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo ,
const SvxCSS1Parser  
)
static
static void ParseCSS1_top ( const CSS1Expression pExpr,
SfxItemSet ,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static
static void ParseCSS1_widows ( const CSS1Expression pExpr,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo ,
const SvxCSS1Parser  
)
static
static void ParseCSS1_width ( const CSS1Expression pExpr,
SfxItemSet ,
SvxCSS1PropertyInfo rPropInfo,
const SvxCSS1Parser  
)
static

Variable Documentation

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

Definition at line 141 of file svxcss1.cxx.

CSS1PropertyEnum const aBGRepeatTable[]
static
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 132 of file svxcss1.cxx.

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

Definition at line 149 of file svxcss1.cxx.

CSS1PropertyEnum const aBorderStyleTable[]
static
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 176 of file svxcss1.cxx.

sal_uInt16 const aBorderWidths[]
static
Initial value:
=
{
}
#define DEF_LINE_WIDTH_1
#define DEF_LINE_WIDTH_5
#define DEF_LINE_WIDTH_0

Definition at line 246 of file svxcss1.cxx.

Referenced by SvxCSS1BorderInfo::SetBorderLine().

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

Definition at line 166 of file svxcss1.cxx.

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

Definition at line 237 of file svxcss1.cxx.

CSS1PropEntry const aCSS1PropFnTab[]
static

Definition at line 3073 of file svxcss1.cxx.

CSS1PropertyEnum const aDirectionTable[]
static
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 124 of file svxcss1.cxx.

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

Definition at line 190 of file svxcss1.cxx.

CSS1PropertyEnum const aFontSizeTable[]
static
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 74 of file svxcss1.cxx.

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

Definition at line 101 of file svxcss1.cxx.

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

Definition at line 109 of file svxcss1.cxx.

CSS1PropertyEnum const aFontWeightTable[]
static
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 86 of file svxcss1.cxx.

SvxCSS1ItemIds aItemIds
static

Definition at line 295 of file svxcss1.cxx.

CSS1PropertyEnum const aNumberStyleTable[]
static
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_UPPER_LETTER
SVX_NUM_ARABIC
SVX_NUM_ROMAN_UPPER
SVX_NUM_ROMAN_LOWER
SVX_NUM_CHARS_LOWER_LETTER

Definition at line 225 of file svxcss1.cxx.

CSS1PropertyEnum const aPageBreakTable[]
static
Initial value:

Definition at line 215 of file svxcss1.cxx.

CSS1PropertyEnum const aPositionTable[]
static
Initial value:
=
{
{ "absolute", SVX_CSS1_POS_ABSOLUTE },
{ "relative", SVX_CSS1_POS_RELATIVE },
{ "static", SVX_CSS1_POS_STATIC },
{ nullptr, 0 }
}

Definition at line 198 of file svxcss1.cxx.

CSS1PropertyEnum const aSizeTable[]
static
Initial value:

Definition at line 207 of file svxcss1.cxx.

CSS1PropertyEnum const aTextAlignTable[]
static
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 157 of file svxcss1.cxx.

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

Definition at line 116 of file svxcss1.cxx.