LibreOffice Module xmloff (master)  1
Macros | Functions | Variables
txtprmap.cxx File Reference
#include <xmloff/txtprmap.hxx>
#include <xmloff/xmlnamespace.hxx>
#include <xmloff/xmltoken.hxx>
#include <xmloff/maptype.hxx>
#include <xmloff/xmltypes.hxx>
#include "txtprhdl.hxx"
#include <xmlsdtypes.hxx>
#include <sal/log.hxx>
#include <rtl/ref.hxx>
Include dependency graph for txtprmap.cxx:

Go to the source code of this file.

Macros

#define M_E_(a, p, l, t, c)   { a, sizeof(a)-1, XML_NAMESPACE_##p, XML_##l, t, c, SvtSaveOptions::ODFSVER_010, false }
 
#define M_EV_(a, p, l, t, c, v)   { a, sizeof(a)-1, XML_NAMESPACE_##p, XML_##l, t, c, v, false }
 
#define M_ED_(a, p, l, t, c)   { a, sizeof(a)-1, XML_NAMESPACE_##p, XML_##l, (t) | MID_FLAG_DEFAULT_ITEM_EXPORT, c, SvtSaveOptions::ODFSVER_010, false }
 
#define MT_E(a, p, l, t, c)   M_E_( a, p, l, (t|XML_TYPE_PROP_TEXT), c )
 
#define MT_ED(a, p, l, t, c)   M_ED_( a, p, l, (t|XML_TYPE_PROP_TEXT), c )
 
#define MP_E(a, p, l, t, c)   M_E_( a, p, l, (t|XML_TYPE_PROP_PARAGRAPH), c )
 
#define MP_ED(a, p, l, t, c)   M_ED_( a, p, l, (t|XML_TYPE_PROP_PARAGRAPH), c )
 
#define MG_E(a, p, l, t, c)   M_E_( a, p, l, (t|XML_TYPE_PROP_GRAPHIC), c )
 
#define MG_ED(a, p, l, t, c)   M_ED_( a, p, l, (t|XML_TYPE_PROP_GRAPHIC), c )
 
#define MG_EV(a, p, l, t, c, v)   M_EV_( a, p, l, (t|XML_TYPE_PROP_GRAPHIC), c, v )
 
#define MS_E(a, p, l, t, c)   M_E_( a, p, l, (t|XML_TYPE_PROP_SECTION), c )
 
#define MR_E(a, p, l, t, c)   M_E_( a, p, l, (t|XML_TYPE_PROP_RUBY), c )
 
#define MR_EV(a, p, l, t, c, v)   M_EV_( a, p, l, (t|XML_TYPE_PROP_RUBY), c, v )
 
#define MC_E(a, p, l, t, c)   M_E_( a, p, l, (t|XML_TYPE_PROP_TABLE_CELL), c )
 
#define MAP_ODF13(name, prefix, token, type, context)   { name, sizeof(name)-1, prefix, token, type, context, SvtSaveOptions::ODFSVER_013, false }
 
#define MAP_EXT(name, prefix, token, type, context)   { name, sizeof(name)-1, prefix, token, type, context, SvtSaveOptions::ODFSVER_FUTURE_EXTENDED, false }
 
#define MAP_EXT_I(name, prefix, token, type, context)   { name, sizeof(name)-1, prefix, token, type, context, SvtSaveOptions::ODFSVER_FUTURE_EXTENDED, true }
 
#define M_END()   { nullptr, 0, 0, XML_TOKEN_INVALID, 0, 0, SvtSaveOptions::ODFSVER_010, false }
 
#define MAP_(name, prefix, token, type, context)   { name, sizeof(name)-1, prefix, token, type, context, SvtSaveOptions::ODFSVER_010, false }
 
#define GMAP(name, prefix, token, type, context)   MAP_(name,prefix,token,static_cast<sal_Int32>(type|XML_TYPE_PROP_GRAPHIC),context)
 

Functions

static XMLPropertyMapEntry const * lcl_txtprmap_getMap (TextPropMap nType)
 

Variables

XMLPropertyMapEntry const aXMLParaPropMap []
 
XMLPropertyMapEntry const aXMLAdditionalTextDefaultsMap []
 
XMLPropertyMapEntry const aXMLTextPropMap []
 
XMLPropertyMapEntry const aXMLFramePropMap []
 
XMLPropertyMapEntry const aXMLShapePropMap []
 
XMLPropertyMapEntry const aXMLSectionPropMap []
 
XMLPropertyMapEntry const aXMLRubyPropMap []
 
XMLPropertyMapEntry const aXMLTableDefaultsMap []
 
XMLPropertyMapEntry const aXMLTableRowDefaultsMap []
 
XMLPropertyMapEntry const aXMLCellPropMap []
 

Macro Definition Documentation

#define GMAP (   name,
  prefix,
  token,
  type,
  context 
)    MAP_(name,prefix,token,static_cast<sal_Int32>(type|XML_TYPE_PROP_GRAPHIC),context)

Definition at line 88 of file txtprmap.cxx.

#define M_E_ (   a,
  p,
  l,
  t,
 
)    { a, sizeof(a)-1, XML_NAMESPACE_##p, XML_##l, t, c, SvtSaveOptions::ODFSVER_010, false }

Definition at line 34 of file txtprmap.cxx.

#define M_ED_ (   a,
  p,
  l,
  t,
 
)    { a, sizeof(a)-1, XML_NAMESPACE_##p, XML_##l, (t) | MID_FLAG_DEFAULT_ITEM_EXPORT, c, SvtSaveOptions::ODFSVER_010, false }

Definition at line 40 of file txtprmap.cxx.

#define M_END ( )    { nullptr, 0, 0, XML_TOKEN_INVALID, 0, 0, SvtSaveOptions::ODFSVER_010, false }

Definition at line 84 of file txtprmap.cxx.

#define M_EV_ (   a,
  p,
  l,
  t,
  c,
  v 
)    { a, sizeof(a)-1, XML_NAMESPACE_##p, XML_##l, t, c, v, false }

Definition at line 37 of file txtprmap.cxx.

#define MAP_ (   name,
  prefix,
  token,
  type,
  context 
)    { name, sizeof(name)-1, prefix, token, type, context, SvtSaveOptions::ODFSVER_010, false }

Definition at line 87 of file txtprmap.cxx.

#define MAP_EXT (   name,
  prefix,
  token,
  type,
  context 
)    { name, sizeof(name)-1, prefix, token, type, context, SvtSaveOptions::ODFSVER_FUTURE_EXTENDED, false }

Definition at line 80 of file txtprmap.cxx.

#define MAP_EXT_I (   name,
  prefix,
  token,
  type,
  context 
)    { name, sizeof(name)-1, prefix, token, type, context, SvtSaveOptions::ODFSVER_FUTURE_EXTENDED, true }

Definition at line 82 of file txtprmap.cxx.

#define MAP_ODF13 (   name,
  prefix,
  token,
  type,
  context 
)    { name, sizeof(name)-1, prefix, token, type, context, SvtSaveOptions::ODFSVER_013, false }

Definition at line 77 of file txtprmap.cxx.

#define MC_E (   a,
  p,
  l,
  t,
 
)    M_E_( a, p, l, (t|XML_TYPE_PROP_TABLE_CELL), c )

Definition at line 74 of file txtprmap.cxx.

#define MG_E (   a,
  p,
  l,
  t,
 
)    M_E_( a, p, l, (t|XML_TYPE_PROP_GRAPHIC), c )

Definition at line 56 of file txtprmap.cxx.

#define MG_ED (   a,
  p,
  l,
  t,
 
)    M_ED_( a, p, l, (t|XML_TYPE_PROP_GRAPHIC), c )

Definition at line 58 of file txtprmap.cxx.

#define MG_EV (   a,
  p,
  l,
  t,
  c,
  v 
)    M_EV_( a, p, l, (t|XML_TYPE_PROP_GRAPHIC), c, v )

Definition at line 60 of file txtprmap.cxx.

#define MP_E (   a,
  p,
  l,
  t,
 
)    M_E_( a, p, l, (t|XML_TYPE_PROP_PARAGRAPH), c )

Definition at line 50 of file txtprmap.cxx.

#define MP_ED (   a,
  p,
  l,
  t,
 
)    M_ED_( a, p, l, (t|XML_TYPE_PROP_PARAGRAPH), c )

Definition at line 52 of file txtprmap.cxx.

#define MR_E (   a,
  p,
  l,
  t,
 
)    M_E_( a, p, l, (t|XML_TYPE_PROP_RUBY), c )

Definition at line 68 of file txtprmap.cxx.

#define MR_EV (   a,
  p,
  l,
  t,
  c,
  v 
)    M_EV_( a, p, l, (t|XML_TYPE_PROP_RUBY), c, v )

Definition at line 70 of file txtprmap.cxx.

#define MS_E (   a,
  p,
  l,
  t,
 
)    M_E_( a, p, l, (t|XML_TYPE_PROP_SECTION), c )

Definition at line 64 of file txtprmap.cxx.

#define MT_E (   a,
  p,
  l,
  t,
 
)    M_E_( a, p, l, (t|XML_TYPE_PROP_TEXT), c )

Definition at line 44 of file txtprmap.cxx.

#define MT_ED (   a,
  p,
  l,
  t,
 
)    M_ED_( a, p, l, (t|XML_TYPE_PROP_TEXT), c )

Definition at line 46 of file txtprmap.cxx.

Function Documentation

static XMLPropertyMapEntry const* lcl_txtprmap_getMap ( TextPropMap  nType)
static

Variable Documentation

XMLPropertyMapEntry const aXMLAdditionalTextDefaultsMap[]
Initial value:
=
{
MG_ED( "IsFollowingTextFlow", STYLE, FLOW_WITH_TEXT, XML_TYPE_BOOL, 0 ),
MG_ED( "WrapInfluenceOnPosition", DRAW, WRAP_INFLUENCE_ON_POSITION, XML_TYPE_WRAP_INFLUENCE_ON_POSITION, 0 ),
}
#define MG_ED(a, p, l, t, c)
Definition: txtprmap.cxx:58
#define XML_TYPE_WRAP_INFLUENCE_ON_POSITION
Definition: xmltypes.hxx:263
#define XML_TYPE_BOOL
Definition: xmltypes.hxx:125

Definition at line 464 of file txtprmap.cxx.

Referenced by lcl_txtprmap_getMap().

XMLPropertyMapEntry const aXMLCellPropMap[]

Definition at line 1011 of file txtprmap.cxx.

Referenced by lcl_txtprmap_getMap().

XMLPropertyMapEntry const aXMLFramePropMap[]

Definition at line 678 of file txtprmap.cxx.

Referenced by lcl_txtprmap_getMap().

XMLPropertyMapEntry const aXMLParaPropMap[]

Definition at line 90 of file txtprmap.cxx.

Referenced by lcl_txtprmap_getMap().

XMLPropertyMapEntry const aXMLRubyPropMap[]
Initial value:
=
{
MR_E( "RubyAdjust", STYLE, RUBY_ALIGN, XML_TYPE_TEXT_RUBY_ADJUST, 0 ),
MR_E( "RubyIsAbove", STYLE, RUBY_POSITION, XML_TYPE_TEXT_RUBY_IS_ABOVE, 0 ),
MR_EV( "RubyPosition", LO_EXT, RUBY_POSITION, XML_TYPE_TEXT_RUBY_POSITION, 0, SvtSaveOptions::ODFSVER_FUTURE_EXTENDED),
}
#define XML_TYPE_TEXT_RUBY_IS_ABOVE
Definition: xmltypes.hxx:292
#define XML_TYPE_TEXT_RUBY_ADJUST
Definition: xmltypes.hxx:240
#define MR_EV(a, p, l, t, c, v)
Definition: txtprmap.cxx:70
#define MR_E(a, p, l, t, c)
Definition: txtprmap.cxx:68
#define XML_TYPE_TEXT_RUBY_POSITION
Definition: xmltypes.hxx:247

Definition at line 984 of file txtprmap.cxx.

Referenced by lcl_txtprmap_getMap().

XMLPropertyMapEntry const aXMLSectionPropMap[]

Definition at line 938 of file txtprmap.cxx.

Referenced by lcl_txtprmap_getMap().

XMLPropertyMapEntry const aXMLShapePropMap[]

Definition at line 889 of file txtprmap.cxx.

Referenced by lcl_txtprmap_getMap().

XMLPropertyMapEntry const aXMLTableDefaultsMap[]
Initial value:
=
{
}
#define XML_TYPE_BORDER_MODEL
Definition: xmltypes.hxx:254
#define MID_FLAG_NO_PROPERTY_IMPORT
Definition: xmltypes.hxx:76
#define CTF_BORDER_MODEL
Definition: txtprmap.hxx:151
#define M_ED_(a, p, l, t, c)
Definition: txtprmap.cxx:40
#define XML_TYPE_PROP_TABLE
Definition: xmltypes.hxx:102

Definition at line 993 of file txtprmap.cxx.

Referenced by lcl_txtprmap_getMap().

XMLPropertyMapEntry const aXMLTableRowDefaultsMap[]
Initial value:
=
{
}
#define MID_FLAG_NO_PROPERTY_IMPORT
Definition: xmltypes.hxx:76
#define XML_TYPE_TEXT_NKEEP
Definition: xmltypes.hxx:262
#define CTF_KEEP_TOGETHER
Definition: txtprmap.hxx:145
#define XML_TYPE_PROP_TABLE_ROW
Definition: xmltypes.hxx:104
#define M_ED_(a, p, l, t, c)
Definition: txtprmap.cxx:40

Definition at line 1002 of file txtprmap.cxx.

Referenced by lcl_txtprmap_getMap().

XMLPropertyMapEntry const aXMLTextPropMap[]

Definition at line 475 of file txtprmap.cxx.

Referenced by lcl_txtprmap_getMap().