Classes | Public Types | Static Public Member Functions

PP_PropertyMap Class Reference

#include <pp_PropertyMap.h>

List of all members.

Classes

class  Background
class  Line

Public Types

enum  AbiPropertyIndex {
  abi_annotation_author = 0, abi_annotation_date, abi_annotation_title, abi_background_color,
  abi_background_image, abi_bgcolor, abi_border_merge, abi_border_shadow_merge,
  abi_bot_attach, abi_bot_color, abi_bot_style, abi_bot_shadow,
  abi_bot_shadow_color, abi_bot_space, abi_bot_thickness, abi_bounding_space,
  abi_cell_margin_bottom, abi_cell_margin_left, abi_cell_margin_right, abi_cell_margin_top,
  abi_color, abi_column_gap, abi_column_line, abi_columns,
  abi_default_tab_interval, abi_dir_override, abi_display, abi_document_endnote_initial,
  abi_document_endnote_place_enddoc, abi_document_endnote_place_endsection, abi_document_endnote_restart_section, abi_document_endnote_type,
  abi_document_footnote_initial, abi_document_footnote_restart_page, abi_document_footnote_restart_section, abi_document_footnote_type,
  abi_dom_dir, abi_field_color, abi_field_font, abi_font_family,
  abi_font_size, abi_font_stretch, abi_font_style, abi_font_variant,
  abi_font_weight, abi_footer, abi_footer_even, abi_footer_first,
  abi_footer_last, abi_format, abi_frame_col_xpos, abi_frame_col_ypos,
  abi_frame_expand_height, abi_frame_height, abi_frame_horiz_align, abi_frame_min_height,
  abi_frame_page_xpos, abi_frame_page_ypos, abi_frame_pref_column, abi_frame_pref_page,
  abi_frame_rel_width, abi_frame_type, abi_frame_width, abi_header,
  abi_header_even, abi_header_first, abi_header_last, abi_height,
  abi_homogeneous, abi_keep_together, abi_keep_with_next, abi_lang,
  abi_left_attach, abi_left_color, abi_left_style, abi_left_thickness,
  abi_left_shadow, abi_left_shadow_color, abi_left_space, abi_line_height,
  abi_list_decimal, abi_list_delim, abi_list_style, abi_list_tag,
  abi_margin_bottom, abi_margin_left, abi_margin_right, abi_margin_top,
  abi_orphans, abi_page_margin_bottom, abi_page_margin_footer, abi_page_margin_header,
  abi_page_margin_left, abi_page_margin_right, abi_page_margin_top, abi_position_to,
  abi_right_attach, abi_right_color, abi_right_shadow, abi_right_shadow_color,
  abi_right_space, abi_right_style, abi_right_thickness, abi_section_footnote_line_thickness,
  abi_section_footnote_yoff, abi_section_max_column_height, abi_section_restart, abi_section_restart_value,
  abi_section_space_after, abi_shading_background_color, abi_shading_foreground_color, abi_shading_pattern,
  abi_start_value, abi_table_border, abi_table_col_spacing, abi_table_column_leftpos,
  abi_table_column_props, abi_table_line_thickness, abi_table_line_type, abi_table_margin_bottom,
  abi_table_margin_left, abi_table_margin_right, abi_table_margin_top, abi_table_max_extra_margin,
  abi_table_rel_column_props, abi_table_rel_width, abi_table_row_props, abi_table_row_spacing,
  abi_table_width, abi_tabstops, abi_text_align, abi_text_decoration,
  abi_text_folded, abi_text_folded_id, abi_text_indent, abi_text_position,
  abi_text_transform, abi_tight_wrap, abi_toc_dest_style1, abi_toc_dest_style2,
  abi_toc_dest_style3, abi_toc_dest_style4, abi_toc_id, abi_toc_indent1,
  abi_toc_indent2, abi_toc_indent3, abi_toc_indent4, abi_toc_has_heading,
  abi_toc_heading, abi_toc_has_label1, abi_toc_has_label2, abi_toc_has_label3,
  abi_toc_has_label4, abi_toc_heading_style, abi_toc_label_after1, abi_toc_label_after2,
  abi_toc_label_after3, abi_toc_label_after4, abi_toc_label_before1, abi_toc_label_before2,
  abi_toc_label_before3, abi_toc_label_before4, abi_toc_label_inherits1, abi_toc_label_inherits2,
  abi_toc_label_inherits3, abi_toc_label_inherits4, abi_toc_label_start1, abi_toc_label_start2,
  abi_toc_label_start3, abi_toc_label_start4, abi_toc_label_type1, abi_toc_label_type2,
  abi_toc_label_type3, abi_toc_label_type4, abi_toc_page_type1, abi_toc_page_type2,
  abi_toc_page_type3, abi_toc_page_type4, abi_toc_source_style1, abi_toc_source_style2,
  abi_toc_source_style3, abi_toc_source_style4, abi_toc_tab_leader1, abi_toc_tab_leader2,
  abi_toc_tab_leader3, abi_toc_tab_leader4, abi_top_attach, abi_top_color,
  abi_top_style, abi_top_thickness, abi_top_shadow, abi_top_shadow_color,
  abi_top_space, abi_vert_align, abi_widows, abi_width,
  abi_wrap_mode, abi_xpad, abi_xpos, abi_ypad,
  abi_ypos, abi__count
}
 

List of all properties used internally by AbiWord Keep these sorted.

More...
enum  TypeColor { color__unset = 0, color_inherit, color_transparent, color_color }
enum  TypeLineStyle {
  linestyle__unset = 0, linestyle_none, linestyle_solid, linestyle_dotted,
  linestyle_dashed, linestyle_inherit
}
enum  TypeThickness { thickness__unset = 0, thickness_inherit, thickness_length }
enum  TypeBackground { background__unset = 0, background_none, background_solid, background_inherit }

Static Public Member Functions

static const char ** _properties (int &num)
 For debugging and test purpose: get the properties array.
static TypeColor color_type (const char *property)
static TypeLineStyle linestyle_type (const char *property)
static TypeThickness thickness_type (const char *property)
static TypeBackground background_type (const char *property)
static const char * linestyle_for_CSS (const char *property)
static const char * abi_property_name (AbiPropertyIndex index)
static bool abi_property_lookup (const char *name, AbiPropertyIndex &index)

Member Enumeration Documentation

List of all properties used internally by AbiWord Keep these sorted.

Enumerator:
abi_annotation_author 
abi_annotation_date 
abi_annotation_title 
abi_background_color 
abi_background_image 
abi_bgcolor 
abi_border_merge 
abi_border_shadow_merge 
abi_bot_attach 
abi_bot_color 
abi_bot_style 
abi_bot_shadow 
abi_bot_shadow_color 
abi_bot_space 
abi_bot_thickness 
abi_bounding_space 
abi_cell_margin_bottom 
abi_cell_margin_left 
abi_cell_margin_right 
abi_cell_margin_top 
abi_color 
abi_column_gap 
abi_column_line 
abi_columns 
abi_default_tab_interval 
abi_dir_override 
abi_display 
abi_document_endnote_initial 
abi_document_endnote_place_enddoc 
abi_document_endnote_place_endsection 
abi_document_endnote_restart_section 
abi_document_endnote_type 
abi_document_footnote_initial 
abi_document_footnote_restart_page 
abi_document_footnote_restart_section 
abi_document_footnote_type 
abi_dom_dir 
abi_field_color 
abi_field_font 
abi_font_family 
abi_font_size 
abi_font_stretch 
abi_font_style 
abi_font_variant 
abi_font_weight 
abi_footer 
abi_footer_even 
abi_footer_first 
abi_footer_last 
abi_format 
abi_frame_col_xpos 
abi_frame_col_ypos 
abi_frame_expand_height 
abi_frame_height 
abi_frame_horiz_align 
abi_frame_min_height 
abi_frame_page_xpos 
abi_frame_page_ypos 
abi_frame_pref_column 
abi_frame_pref_page 
abi_frame_rel_width 
abi_frame_type 
abi_frame_width 
abi_header 
abi_header_even 
abi_header_first 
abi_header_last 
abi_height 
abi_homogeneous 
abi_keep_together 
abi_keep_with_next 
abi_lang 
abi_left_attach 
abi_left_color 
abi_left_style 
abi_left_thickness 
abi_left_shadow 
abi_left_shadow_color 
abi_left_space 
abi_line_height 
abi_list_decimal 
abi_list_delim 
abi_list_style 
abi_list_tag 
abi_margin_bottom 
abi_margin_left 
abi_margin_right 
abi_margin_top 
abi_orphans 
abi_page_margin_bottom 
abi_page_margin_footer 
abi_page_margin_header 
abi_page_margin_left 
abi_page_margin_right 
abi_page_margin_top 
abi_position_to 
abi_right_attach 
abi_right_color 
abi_right_shadow 
abi_right_shadow_color 
abi_right_space 
abi_right_style 
abi_right_thickness 
abi_section_footnote_line_thickness 
abi_section_footnote_yoff 
abi_section_max_column_height 
abi_section_restart 
abi_section_restart_value 
abi_section_space_after 
abi_shading_background_color 
abi_shading_foreground_color 
abi_shading_pattern 
abi_start_value 
abi_table_border 
abi_table_col_spacing 
abi_table_column_leftpos 
abi_table_column_props 
abi_table_line_thickness 
abi_table_line_type 
abi_table_margin_bottom 
abi_table_margin_left 
abi_table_margin_right 
abi_table_margin_top 
abi_table_max_extra_margin 
abi_table_rel_column_props 
abi_table_rel_width 
abi_table_row_props 
abi_table_row_spacing 
abi_table_width 
abi_tabstops 
abi_text_align 
abi_text_decoration 
abi_text_folded 
abi_text_folded_id 
abi_text_indent 
abi_text_position 
abi_text_transform 
abi_tight_wrap 
abi_toc_dest_style1 
abi_toc_dest_style2 
abi_toc_dest_style3 
abi_toc_dest_style4 
abi_toc_id 
abi_toc_indent1 
abi_toc_indent2 
abi_toc_indent3 
abi_toc_indent4 
abi_toc_has_heading 
abi_toc_heading 
abi_toc_has_label1 
abi_toc_has_label2 
abi_toc_has_label3 
abi_toc_has_label4 
abi_toc_heading_style 
abi_toc_label_after1 
abi_toc_label_after2 
abi_toc_label_after3 
abi_toc_label_after4 
abi_toc_label_before1 
abi_toc_label_before2 
abi_toc_label_before3 
abi_toc_label_before4 
abi_toc_label_inherits1 
abi_toc_label_inherits2 
abi_toc_label_inherits3 
abi_toc_label_inherits4 
abi_toc_label_start1 
abi_toc_label_start2 
abi_toc_label_start3 
abi_toc_label_start4 
abi_toc_label_type1 
abi_toc_label_type2 
abi_toc_label_type3 
abi_toc_label_type4 
abi_toc_page_type1 
abi_toc_page_type2 
abi_toc_page_type3 
abi_toc_page_type4 
abi_toc_source_style1 
abi_toc_source_style2 
abi_toc_source_style3 
abi_toc_source_style4 
abi_toc_tab_leader1 
abi_toc_tab_leader2 
abi_toc_tab_leader3 
abi_toc_tab_leader4 
abi_top_attach 
abi_top_color 
abi_top_style 
abi_top_thickness 
abi_top_shadow 
abi_top_shadow_color 
abi_top_space 
abi_vert_align 
abi_widows 
abi_width 
abi_wrap_mode 
abi_xpad 
abi_xpos 
abi_ypad 
abi_ypos 
abi__count 
Enumerator:
background__unset 
background_none 
background_solid 
background_inherit 
Enumerator:
color__unset 
color_inherit 
color_transparent 
color_color 
Enumerator:
linestyle__unset 
linestyle_none 
linestyle_solid 
linestyle_dotted 
linestyle_dashed 
linestyle_inherit 
Enumerator:
thickness__unset 
thickness_inherit 
thickness_length 

Member Function Documentation

const char ** PP_PropertyMap::_properties ( int &  num  )  [static]

For debugging and test purpose: get the properties array.

References AbiPropertyName.

Referenced by TFTEST_MAIN().

bool PP_PropertyMap::abi_property_lookup ( const char *  name,
AbiPropertyIndex index 
) [static]

References abi__count, AbiPropertyName, and s_str_compare().

Referenced by TFTEST_MAIN().

const char * PP_PropertyMap::abi_property_name ( AbiPropertyIndex  index  )  [static]

References abi__count, and AbiPropertyName.

Referenced by TFTEST_MAIN().

PP_PropertyMap::TypeBackground PP_PropertyMap::background_type ( const char *  property  )  [static]

References background_inherit.

Referenced by s_background_properties().

PP_PropertyMap::TypeColor PP_PropertyMap::color_type ( const char *  property  )  [static]
const char * PP_PropertyMap::linestyle_for_CSS ( const char *  property  )  [static]
PP_PropertyMap::TypeLineStyle PP_PropertyMap::linestyle_type ( const char *  property  )  [static]
PP_PropertyMap::TypeThickness PP_PropertyMap::thickness_type ( const char *  property  )  [static]

The documentation for this class was generated from the following files: