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 <xmlprop.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, p, l, t, c, SvtSaveOptions::ODFSVER_010, false }
 
#define M_EV_(a, p, l, t, c, v)    { a, p, l, t, c, v, false }
 
#define M_ED_(a, p, l, t, c)    { a, p, 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, prefix, token, type, context, SvtSaveOptions::ODFSVER_013, false }
 
#define MAP_EXT(name, prefix, token, type, context)   { name, prefix, token, type, context, SvtSaveOptions::ODFSVER_FUTURE_EXTENDED, false }
 
#define MAP_EXT_I(name, prefix, token, type, context)   { name, prefix, token, type, context, SvtSaveOptions::ODFSVER_FUTURE_EXTENDED, true }
 
#define M_END()   { nullptr }
 
#define MAP_(name, prefix, token, type, context)   { name, 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 constexpr aXMLParaPropMap []
 
XMLPropertyMapEntry constexpr aXMLAdditionalTextDefaultsMap []
 
XMLPropertyMapEntry constexpr aXMLTextPropMap []
 
XMLPropertyMapEntry constexpr aXMLFramePropMap []
 
XMLPropertyMapEntry constexpr aXMLShapePropMap []
 
XMLPropertyMapEntry constexpr aXMLSectionPropMap []
 
XMLPropertyMapEntry constexpr aXMLRubyPropMap []
 
XMLPropertyMapEntry constexpr aXMLTableDefaultsMap []
 
XMLPropertyMapEntry constexpr aXMLTableRowDefaultsMap []
 
XMLPropertyMapEntry constexpr aXMLCellPropMap []
 

Macro Definition Documentation

◆ GMAP

#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.

◆ M_E_

#define M_E_ (   a,
  p,
  l,
  t,
 
)     { a, p, l, t, c, SvtSaveOptions::ODFSVER_010, false }

Definition at line 35 of file txtprmap.cxx.

◆ M_ED_

#define M_ED_ (   a,
  p,
  l,
  t,
 
)     { a, p, l, (t) | MID_FLAG_DEFAULT_ITEM_EXPORT, c, SvtSaveOptions::ODFSVER_010, false }

Definition at line 41 of file txtprmap.cxx.

◆ M_END

#define M_END ( )    { nullptr }

Definition at line 85 of file txtprmap.cxx.

◆ M_EV_

#define M_EV_ (   a,
  p,
  l,
  t,
  c,
  v 
)     { a, p, l, t, c, v, false }

Definition at line 38 of file txtprmap.cxx.

◆ MAP_

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

Definition at line 87 of file txtprmap.cxx.

◆ MAP_EXT

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

Definition at line 81 of file txtprmap.cxx.

◆ MAP_EXT_I

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

Definition at line 83 of file txtprmap.cxx.

◆ MAP_ODF13

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

Definition at line 78 of file txtprmap.cxx.

◆ MC_E

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

Definition at line 75 of file txtprmap.cxx.

◆ MG_E

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

Definition at line 57 of file txtprmap.cxx.

◆ MG_ED

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

Definition at line 59 of file txtprmap.cxx.

◆ MG_EV

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

Definition at line 61 of file txtprmap.cxx.

◆ MP_E

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

Definition at line 51 of file txtprmap.cxx.

◆ MP_ED

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

Definition at line 53 of file txtprmap.cxx.

◆ MR_E

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

Definition at line 69 of file txtprmap.cxx.

◆ MR_EV

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

Definition at line 71 of file txtprmap.cxx.

◆ MS_E

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

Definition at line 65 of file txtprmap.cxx.

◆ MT_E

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

Definition at line 45 of file txtprmap.cxx.

◆ MT_ED

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

Definition at line 47 of file txtprmap.cxx.

Function Documentation

◆ lcl_txtprmap_getMap()

static XMLPropertyMapEntry const * lcl_txtprmap_getMap ( TextPropMap  nType)
static

Variable Documentation

◆ aXMLAdditionalTextDefaultsMap

XMLPropertyMapEntry constexpr aXMLAdditionalTextDefaultsMap[]
constexpr
Initial value:
=
{
}
@ XML_WRAP_INFLUENCE_ON_POSITION
Definition: xmltoken.hxx:2598
#define MG_ED(a, p, l, t, c)
Definition: txtprmap.cxx:59
constexpr sal_uInt16 XML_NAMESPACE_DRAW
constexpr sal_uInt16 XML_NAMESPACE_STYLE
constexpr OUStringLiteral PROP_IsFollowingTextFlow
Definition: xmlprop.hxx:393
constexpr OUStringLiteral PROP_WrapInfluenceOnPosition
Definition: xmlprop.hxx:664
#define XML_TYPE_WRAP_INFLUENCE_ON_POSITION
Definition: xmltypes.hxx:264
#define XML_TYPE_BOOL
Definition: xmltypes.hxx:125

Definition at line 472 of file txtprmap.cxx.

Referenced by lcl_txtprmap_getMap().

◆ aXMLCellPropMap

XMLPropertyMapEntry constexpr aXMLCellPropMap[]
constexpr

Definition at line 1022 of file txtprmap.cxx.

Referenced by lcl_txtprmap_getMap().

◆ aXMLFramePropMap

XMLPropertyMapEntry constexpr aXMLFramePropMap[]
constexpr

Definition at line 687 of file txtprmap.cxx.

Referenced by lcl_txtprmap_getMap().

◆ aXMLParaPropMap

XMLPropertyMapEntry constexpr aXMLParaPropMap[]
constexpr

Definition at line 90 of file txtprmap.cxx.

Referenced by lcl_txtprmap_getMap().

◆ aXMLRubyPropMap

XMLPropertyMapEntry constexpr aXMLRubyPropMap[]
constexpr
Initial value:
=
{
}
#define MR_EV(a, p, l, t, c, v)
Definition: txtprmap.cxx:71
#define MR_E(a, p, l, t, c)
Definition: txtprmap.cxx:69
constexpr sal_uInt16 XML_NAMESPACE_LO_EXT
constexpr OUStringLiteral PROP_RubyAdjust
Definition: xmlprop.hxx:555
constexpr OUStringLiteral PROP_RubyPosition
Definition: xmlprop.hxx:558
constexpr OUStringLiteral PROP_RubyIsAbove
Definition: xmlprop.hxx:557
#define XML_TYPE_TEXT_RUBY_ADJUST
Definition: xmltypes.hxx:241
#define XML_TYPE_TEXT_RUBY_IS_ABOVE
Definition: xmltypes.hxx:294
#define XML_TYPE_TEXT_RUBY_POSITION
Definition: xmltypes.hxx:248

Definition at line 995 of file txtprmap.cxx.

Referenced by lcl_txtprmap_getMap().

◆ aXMLSectionPropMap

XMLPropertyMapEntry constexpr aXMLSectionPropMap[]
constexpr

Definition at line 949 of file txtprmap.cxx.

Referenced by lcl_txtprmap_getMap().

◆ aXMLShapePropMap

XMLPropertyMapEntry constexpr aXMLShapePropMap[]
constexpr

Definition at line 900 of file txtprmap.cxx.

Referenced by lcl_txtprmap_getMap().

◆ aXMLTableDefaultsMap

XMLPropertyMapEntry constexpr aXMLTableDefaultsMap[]
constexpr
Initial value:
=
{
}
#define M_ED_(a, p, l, t, c)
Definition: txtprmap.cxx:41
#define CTF_BORDER_MODEL
Definition: txtprmap.hxx:151
constexpr sal_uInt16 XML_NAMESPACE_TABLE
constexpr OUStringLiteral PROP_CollapsingBorders
Definition: xmlprop.hxx:128
#define MID_FLAG_NO_PROPERTY_IMPORT
Definition: xmltypes.hxx:76
#define XML_TYPE_BORDER_MODEL
Definition: xmltypes.hxx:255
#define XML_TYPE_PROP_TABLE
Definition: xmltypes.hxx:102

Definition at line 1004 of file txtprmap.cxx.

Referenced by lcl_txtprmap_getMap().

◆ aXMLTableRowDefaultsMap

XMLPropertyMapEntry constexpr aXMLTableRowDefaultsMap[]
constexpr
Initial value:
=
{
}
#define CTF_KEEP_TOGETHER
Definition: txtprmap.hxx:145
constexpr sal_uInt16 XML_NAMESPACE_FO
constexpr OUStringLiteral PROP_IsSplitAllowed
Definition: xmlprop.hxx:400
#define XML_TYPE_TEXT_NKEEP
Definition: xmltypes.hxx:263
#define XML_TYPE_PROP_TABLE_ROW
Definition: xmltypes.hxx:104

Definition at line 1013 of file txtprmap.cxx.

Referenced by lcl_txtprmap_getMap().

◆ aXMLTextPropMap

XMLPropertyMapEntry constexpr aXMLTextPropMap[]
constexpr

Definition at line 483 of file txtprmap.cxx.

Referenced by lcl_txtprmap_getMap().