LCOV - code coverage report
Current view: top level - workdir/unxlngi6.pro/CustomTarget/writerfilter/source - OOXMLFactory_shared-math.cxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 61 716 8.5 %
Date: 2012-08-25 Functions: 11 14 78.6 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 53 1823 2.9 %

           Branch data     Line data    Source code
       1                 :            : 
       2                 :            : #include "doctok/sprmids.hxx"
       3                 :            : #include "doctok/resourceids.hxx"
       4                 :            : #include "ooxml/resourceids.hxx"
       5                 :            : #include "OOXMLFactory_values.hxx"
       6                 :            : #include "OOXMLFactory_shared-math.hxx"
       7                 :            : #include "ooxml/OOXMLFastHelper.hxx"
       8                 :            :     
       9                 :            : #ifdef _MSC_VER
      10                 :            : #pragma warning(disable:4065) // switch statement contains 'default' but no 'case' labels
      11                 :            : #endif
      12                 :            : 
      13                 :            : namespace writerfilter {
      14                 :            : namespace ooxml {
      15                 :            : 
      16                 :            : /// @cond GENERATED
      17                 :            :     
      18                 :            : typedef rtl::Static < osl::Mutex, OOXMLFactory_shared_math > OOXMLFactory_shared_math_Mutex;
      19                 :            : 
      20                 :          8 : OOXMLFactory_shared_math::OOXMLFactory_shared_math()
      21                 :            : {
      22                 :            :     // multi-thread-safe mutex for all platforms
      23                 :            :     
      24 [ +  - ][ +  - ]:          8 :     osl::MutexGuard aGuard(OOXMLFactory_shared_math_Mutex::get());
                 [ +  - ]
      25                 :          8 : }
      26                 :            : 
      27                 :          8 : OOXMLFactory_shared_math::~OOXMLFactory_shared_math()
      28                 :            : {
      29         [ -  + ]:         16 : }
      30                 :            : 
      31                 :         20 : OOXMLFactory_ns::Pointer_t OOXMLFactory_shared_math::m_pInstance;
      32                 :            :     
      33                 :       8003 : OOXMLFactory_ns::Pointer_t OOXMLFactory_shared_math::getInstance()
      34                 :            : {
      35         [ +  + ]:       8003 :     if (m_pInstance.get() == NULL)
      36         [ +  - ]:          8 :         m_pInstance.reset(new OOXMLFactory_shared_math());
      37                 :            :     
      38                 :       8003 :     return m_pInstance;
      39                 :            : }
      40                 :            : 
      41                 :          6 : AttributeToResourceMapPointer OOXMLFactory_shared_math::createAttributeToResourceMap(Id nId)
      42                 :            : {
      43 [ +  - ][ +  - ]:          6 :     AttributeToResourceMapPointer pMap(new AttributeToResourceMap());
                 [ +  - ]
      44                 :            :     
      45   [ -  -  -  -  :          6 :     switch (nId)
          -  -  -  -  -  
          -  -  -  -  -  
          -  -  -  -  -  
                -  -  + ]
      46                 :            :     {
      47                 :            :     case NN_shared_math|DEFINE_CT_Integer255:
      48                 :            :       // CT_Integer255
      49 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_val] = AttributeInfo(RT_Integer, NN_shared_math|DEFINE_ST_Integer255);
      50                 :          0 :         break;
      51                 :            :     case NN_shared_math|DEFINE_CT_Integer2:
      52                 :            :       // CT_Integer2
      53 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_val] = AttributeInfo(RT_Integer, NN_shared_math|DEFINE_ST_Integer2);
      54                 :          0 :         break;
      55                 :            :     case NN_shared_math|DEFINE_CT_SpacingRule:
      56                 :            :       // CT_SpacingRule
      57 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_val] = AttributeInfo(RT_Integer, NN_shared_math|DEFINE_ST_SpacingRule);
      58                 :          0 :         break;
      59                 :            :     case NN_shared_math|DEFINE_CT_UnSignedInteger:
      60                 :            :       // CT_UnSignedInteger
      61 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_val] = AttributeInfo(RT_Integer, NN_shared_math|DEFINE_ST_UnSignedInteger);
      62                 :          0 :         break;
      63                 :            :     case NN_shared_math|DEFINE_CT_Char:
      64                 :            :       // CT_Char
      65 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_val] = AttributeInfo(RT_String, NN_shared_math|DEFINE_ST_Char);
      66                 :          0 :         break;
      67                 :            :     case NN_shared_math|DEFINE_CT_OnOff:
      68                 :            :       // CT_OnOff
      69 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_val] = AttributeInfo(RT_List, NN_shared_math|DEFINE_ST_OnOff);
      70                 :          0 :         break;
      71                 :            :     case NN_shared_math|DEFINE_CT_String:
      72                 :            :       // CT_String
      73 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_val] = AttributeInfo(RT_String, NN_shared_math|DEFINE_ST_String);
      74                 :          0 :         break;
      75                 :            :     case NN_shared_math|DEFINE_CT_XAlign:
      76                 :            :       // CT_XAlign
      77 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_val] = AttributeInfo(RT_List, NN_shared_math|DEFINE_ST_XAlign);
      78                 :          0 :         break;
      79                 :            :     case NN_shared_math|DEFINE_CT_YAlign:
      80                 :            :       // CT_YAlign
      81 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_val] = AttributeInfo(RT_List, NN_shared_math|DEFINE_ST_YAlign);
      82                 :          0 :         break;
      83                 :            :     case NN_shared_math|DEFINE_CT_Shp:
      84                 :            :       // CT_Shp
      85 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_val] = AttributeInfo(RT_List, NN_shared_math|DEFINE_ST_Shp);
      86                 :          0 :         break;
      87                 :            :     case NN_shared_math|DEFINE_CT_FType:
      88                 :            :       // CT_FType
      89 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_val] = AttributeInfo(RT_List, NN_shared_math|DEFINE_ST_FType);
      90                 :          0 :         break;
      91                 :            :     case NN_shared_math|DEFINE_CT_LimLoc:
      92                 :            :       // CT_LimLoc
      93 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_val] = AttributeInfo(RT_List, NN_shared_math|DEFINE_ST_LimLoc);
      94                 :          0 :         break;
      95                 :            :     case NN_shared_math|DEFINE_CT_TopBot:
      96                 :            :       // CT_TopBot
      97 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_val] = AttributeInfo(RT_List, NN_shared_math|DEFINE_ST_TopBot);
      98                 :          0 :         break;
      99                 :            :     case NN_shared_math|DEFINE_CT_Script:
     100                 :            :       // CT_Script
     101 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_val] = AttributeInfo(RT_List, NN_shared_math|DEFINE_ST_Script);
     102                 :          0 :         break;
     103                 :            :     case NN_shared_math|DEFINE_CT_Style:
     104                 :            :       // CT_Style
     105 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_val] = AttributeInfo(RT_List, NN_shared_math|DEFINE_ST_Style);
     106                 :          0 :         break;
     107                 :            :     case NN_shared_math|DEFINE_CT_ManualBreak:
     108                 :            :       // CT_ManualBreak
     109 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_alnAt] = AttributeInfo(RT_Integer, NN_shared_math|DEFINE_ST_Integer255);
     110                 :          0 :         break;
     111                 :            :     case NN_shared_math|DEFINE_CT_Text:
     112                 :            :       // CT_Text
     113 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_xml|OOXML_space] = AttributeInfo(RT_String, 0);
     114                 :          0 :         break;
     115                 :            :     case NN_shared_math|DEFINE_CT_OMathJc:
     116                 :            :       // CT_OMathJc
     117 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_val] = AttributeInfo(RT_List, NN_shared_math|DEFINE_ST_Jc);
     118                 :          0 :         break;
     119                 :            :     case NN_shared_math|DEFINE_CT_TwipsMeasure:
     120                 :            :       // CT_TwipsMeasure
     121 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_val] = AttributeInfo(RT_Integer, NN_shared_math|DEFINE_ST_TwipsMeasure);
     122                 :          0 :         break;
     123                 :            :     case NN_shared_math|DEFINE_CT_BreakBin:
     124                 :            :       // CT_BreakBin
     125 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_val] = AttributeInfo(RT_List, NN_shared_math|DEFINE_ST_BreakBin);
     126                 :          0 :         break;
     127                 :            :     case NN_shared_math|DEFINE_CT_BreakBinSub:
     128                 :            :       // CT_BreakBinSub
     129 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_val] = AttributeInfo(RT_List, NN_shared_math|DEFINE_ST_BreakBinSub);
     130                 :          0 :         break;
     131                 :            :     default:
     132                 :          6 :         break;
     133                 :            :     }
     134                 :            :     
     135                 :          6 :     return pMap;
     136                 :            : }
     137                 :            : 
     138                 :          0 : ListValueMapPointer OOXMLFactory_shared_math::createListValueMap(Id nId)
     139                 :            : {
     140 [ #  # ][ #  # ]:          0 :     ListValueMapPointer pMap(new ListValueMap());
                 [ #  # ]
     141                 :            :     
     142   [ #  #  #  #  :          0 :     switch (nId)
          #  #  #  #  #  
             #  #  #  # ]
     143                 :            :     {
     144                 :            :     case NN_shared_math|DEFINE_ST_OnOff:
     145         [ #  # ]:          0 :         (*pMap)[OOXMLValueString_on] = NS_ooxml::LN_Value_math_ST_OnOff_on;
     146         [ #  # ]:          0 :         (*pMap)[OOXMLValueString_off] = NS_ooxml::LN_Value_math_ST_OnOff_off;
     147                 :          0 :         break;
     148                 :            :     case NN_shared_math|DEFINE_ST_XAlign:
     149         [ #  # ]:          0 :         (*pMap)[OOXMLValueString_left] = NS_ooxml::LN_Value_math_ST_XAlign_left;
     150         [ #  # ]:          0 :         (*pMap)[OOXMLValueString_center] = NS_ooxml::LN_Value_math_ST_XAlign_center;
     151         [ #  # ]:          0 :         (*pMap)[OOXMLValueString_right] = NS_ooxml::LN_Value_math_ST_XAlign_right;
     152                 :          0 :         break;
     153                 :            :     case NN_shared_math|DEFINE_ST_YAlign:
     154         [ #  # ]:          0 :         (*pMap)[OOXMLValueString_top] = NS_ooxml::LN_Value_math_ST_YAlign_top;
     155         [ #  # ]:          0 :         (*pMap)[OOXMLValueString_center] = NS_ooxml::LN_Value_math_ST_YAlign_center;
     156         [ #  # ]:          0 :         (*pMap)[OOXMLValueString_bot] = NS_ooxml::LN_Value_math_ST_YAlign_bot;
     157                 :          0 :         break;
     158                 :            :     case NN_shared_math|DEFINE_ST_Shp:
     159         [ #  # ]:          0 :         (*pMap)[OOXMLValueString_centered] = NS_ooxml::LN_Value_math_ST_Shp_centered;
     160         [ #  # ]:          0 :         (*pMap)[OOXMLValueString_match] = NS_ooxml::LN_Value_math_ST_Shp_match;
     161                 :          0 :         break;
     162                 :            :     case NN_shared_math|DEFINE_ST_FType:
     163         [ #  # ]:          0 :         (*pMap)[OOXMLValueString_bar] = NS_ooxml::LN_Value_math_ST_FType_bar;
     164         [ #  # ]:          0 :         (*pMap)[OOXMLValueString_skw] = NS_ooxml::LN_Value_math_ST_FType_skw;
     165         [ #  # ]:          0 :         (*pMap)[OOXMLValueString_lin] = NS_ooxml::LN_Value_math_ST_FType_lin;
     166         [ #  # ]:          0 :         (*pMap)[OOXMLValueString_noBar] = NS_ooxml::LN_Value_math_ST_FType_noBar;
     167                 :          0 :         break;
     168                 :            :     case NN_shared_math|DEFINE_ST_LimLoc:
     169         [ #  # ]:          0 :         (*pMap)[OOXMLValueString_undOvr] = NS_ooxml::LN_Value_math_ST_LimLoc_undOvr;
     170         [ #  # ]:          0 :         (*pMap)[OOXMLValueString_subSup] = NS_ooxml::LN_Value_math_ST_LimLoc_subSup;
     171                 :          0 :         break;
     172                 :            :     case NN_shared_math|DEFINE_ST_TopBot:
     173         [ #  # ]:          0 :         (*pMap)[OOXMLValueString_top] = NS_ooxml::LN_Value_math_ST_TopBot_top;
     174         [ #  # ]:          0 :         (*pMap)[OOXMLValueString_bot] = NS_ooxml::LN_Value_math_ST_TopBot_bot;
     175                 :          0 :         break;
     176                 :            :     case NN_shared_math|DEFINE_ST_Script:
     177         [ #  # ]:          0 :         (*pMap)[OOXMLValueString_roman] = NS_ooxml::LN_Value_math_ST_Script_roman;
     178         [ #  # ]:          0 :         (*pMap)[OOXMLValueString_script] = NS_ooxml::LN_Value_math_ST_Script_script;
     179         [ #  # ]:          0 :         (*pMap)[OOXMLValueString_fraktur] = NS_ooxml::LN_Value_math_ST_Script_fraktur;
     180         [ #  # ]:          0 :         (*pMap)[OOXMLValueString_doublemstruck] = NS_ooxml::LN_Value_math_ST_Script_doublemstruck;
     181         [ #  # ]:          0 :         (*pMap)[OOXMLValueString_sansmserif] = NS_ooxml::LN_Value_math_ST_Script_sansmserif;
     182         [ #  # ]:          0 :         (*pMap)[OOXMLValueString_monospace] = NS_ooxml::LN_Value_math_ST_Script_monospace;
     183                 :          0 :         break;
     184                 :            :     case NN_shared_math|DEFINE_ST_Style:
     185         [ #  # ]:          0 :         (*pMap)[OOXMLValueString_b] = NS_ooxml::LN_Value_ST_Style_b;
     186         [ #  # ]:          0 :         (*pMap)[OOXMLValueString_bi] = NS_ooxml::LN_Value_ST_Style_bi;
     187         [ #  # ]:          0 :         (*pMap)[OOXMLValueString_i] = NS_ooxml::LN_Value_ST_Style_i;
     188         [ #  # ]:          0 :         (*pMap)[OOXMLValueString_p] = NS_ooxml::LN_Value_ST_Style_p;
     189                 :          0 :         break;
     190                 :            :     case NN_shared_math|DEFINE_ST_Jc:
     191         [ #  # ]:          0 :         (*pMap)[OOXMLValueString_left] = NS_ooxml::LN_Value_math_ST_Jc_start;
     192         [ #  # ]:          0 :         (*pMap)[OOXMLValueString_right] = NS_ooxml::LN_Value_math_ST_Jc_end;
     193         [ #  # ]:          0 :         (*pMap)[OOXMLValueString_left] = NS_ooxml::LN_Value_math_ST_Jc_left;
     194         [ #  # ]:          0 :         (*pMap)[OOXMLValueString_right] = NS_ooxml::LN_Value_math_ST_Jc_right;
     195         [ #  # ]:          0 :         (*pMap)[OOXMLValueString_center] = NS_ooxml::LN_Value_math_ST_Jc_center;
     196         [ #  # ]:          0 :         (*pMap)[OOXMLValueString_centerGroup] = NS_ooxml::LN_Value_math_ST_Jc_centerGroup;
     197                 :          0 :         break;
     198                 :            :     case NN_shared_math|DEFINE_ST_BreakBin:
     199         [ #  # ]:          0 :         (*pMap)[OOXMLValueString_before] = NS_ooxml::LN_Value_math_ST_BreakBin_before;
     200         [ #  # ]:          0 :         (*pMap)[OOXMLValueString_after] = NS_ooxml::LN_Value_math_ST_BreakBin_after;
     201         [ #  # ]:          0 :         (*pMap)[OOXMLValueString_repeat] = NS_ooxml::LN_Value_math_ST_BreakBin_repeat;
     202                 :          0 :         break;
     203                 :            :     case NN_shared_math|DEFINE_ST_BreakBinSub:
     204         [ #  # ]:          0 :         (*pMap)[OOXMLValueString_mm] = NS_ooxml::LN_Value_math_ST_BreakBinSub_mm;
     205         [ #  # ]:          0 :         (*pMap)[OOXMLValueString_mp] = NS_ooxml::LN_Value_math_ST_BreakBinSub_mp;
     206         [ #  # ]:          0 :         (*pMap)[OOXMLValueString_pm] = NS_ooxml::LN_Value_math_ST_BreakBinSub_pm;
     207                 :          0 :         break;
     208                 :            :     default:
     209                 :          0 :         break;
     210                 :            :     }
     211                 :            :     
     212                 :          0 :     return pMap;
     213                 :            : }
     214                 :         11 : CreateElementMapPointer OOXMLFactory_shared_math::createCreateElementMap(Id nId)
     215                 :            : {
     216 [ +  - ][ +  - ]:         11 :     CreateElementMapPointer pMap(new CreateElementMap());
                 [ +  - ]
     217                 :            :     
     218   [ -  -  -  -  :         11 :     switch (nId)
          -  -  -  -  -  
          -  -  -  -  -  
          -  -  -  -  -  
          -  -  -  -  -  
             +  -  -  -  
                      + ]
     219                 :            :     {
     220                 :            :     case NN_shared_math|DEFINE_EG_ScriptStyle:
     221 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_scr] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_Script);
     222 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_sty] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_Style);
     223                 :          0 :         break;
     224                 :            :     case NN_shared_math|DEFINE_CT_RPR:
     225                 :            :          /* ref: EG_ScriptStyle*/
     226 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_scr] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_Script);
     227 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_sty] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_Style);
     228 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_lit] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_OnOff);
     229 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_nor] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_OnOff);
     230 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_aln] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_OnOff);
     231                 :          0 :         break;
     232                 :            :     case NN_shared_math|DEFINE_CT_R:
     233                 :            :          /* ref: EG_RPr*/
     234 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_rPr] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_RPr);
     235                 :            :          /* ref: EG_RunInnerContent*/
     236 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_br] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_Br);
     237 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_t] = CreateElement(RT_Stream, NN_wml|DEFINE_CT_Text);
     238 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_delText] = CreateElement(RT_Stream, NN_wml|DEFINE_CT_Text);
     239 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_instrText] = CreateElement(RT_Stream, NN_wml|DEFINE_CT_Text);
     240 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_delInstrText] = CreateElement(RT_Stream, NN_wml|DEFINE_CT_Text);
     241 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_noBreakHyphen] = CreateElement(RT_Stream, NN_wml|DEFINE_CT_Empty);
     242 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_softHyphen] = CreateElement(RT_Stream, NN_wml|DEFINE_CT_Empty);
     243 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_dayShort] = CreateElement(RT_Stream, NN_wml|DEFINE_CT_Empty);
     244 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_monthShort] = CreateElement(RT_Stream, NN_wml|DEFINE_CT_Empty);
     245 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_yearShort] = CreateElement(RT_Stream, NN_wml|DEFINE_CT_Empty);
     246 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_dayLong] = CreateElement(RT_Stream, NN_wml|DEFINE_CT_Empty);
     247 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_monthLong] = CreateElement(RT_Stream, NN_wml|DEFINE_CT_Empty);
     248 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_yearLong] = CreateElement(RT_Stream, NN_wml|DEFINE_CT_Empty);
     249 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_annotationRef] = CreateElement(RT_Stream, NN_wml|DEFINE_CT_Empty);
     250 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_footnoteRef] = CreateElement(RT_Stream, NN_wml|DEFINE_CT_FtnEdnRefChar);
     251 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_endnoteRef] = CreateElement(RT_Stream, NN_wml|DEFINE_CT_FtnEdnRefChar);
     252 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_separator] = CreateElement(RT_Stream, NN_wml|DEFINE_CT_FtnEdnSep);
     253 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_continuationSeparator] = CreateElement(RT_Stream, NN_wml|DEFINE_CT_FtnEdnCont);
     254 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_sym] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_Sym);
     255 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_pgNum] = CreateElement(RT_Stream, NN_wml|DEFINE_CT_PgNum);
     256 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_cr] = CreateElement(RT_Stream, NN_wml|DEFINE_CT_Cr);
     257 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_tab] = CreateElement(RT_Stream, NN_wml|DEFINE_CT_Tab);
     258 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_object] = CreateElement(RT_Shape, NN_wml|DEFINE_CT_Object);
     259 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_pict] = CreateElement(RT_Shape, NN_wml|DEFINE_CT_Picture);
     260 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_fldChar] = CreateElement(RT_Stream, NN_wml|DEFINE_CT_FldChar);
     261 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_footnoteReference] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_FtnEdnRef);
     262 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_endnoteReference] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_FtnEdnRef);
     263 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_commentReference] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_CommentRef);
     264 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_drawing] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_Drawing);
     265 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_ptab] = CreateElement(RT_Stream, NN_wml|DEFINE_CT_PTab);
     266 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_lastRenderedPageBreak] = CreateElement(RT_Stream, NN_wml|DEFINE_CT_Empty);
     267 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_t] = CreateElement(RT_Stream, NN_shared_math|DEFINE_CT_Text);
     268                 :          0 :         break;
     269                 :            :     case NN_shared_math|DEFINE_CT_CtrlPr:
     270                 :            :          /* ref: EG_RPrMath*/
     271                 :            :          /* ref: EG_RPr*/
     272 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_rPr] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_RPr);
     273 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_ins] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_RPrChange);
     274 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_del] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_RPrChange);
     275                 :          0 :         break;
     276                 :            :     case NN_shared_math|DEFINE_CT_AccPr:
     277 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_chr] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_Char);
     278                 :          0 :         break;
     279                 :            :     case NN_shared_math|DEFINE_CT_BarPr:
     280 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_pos] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_TopBot);
     281                 :          0 :         break;
     282                 :            :     case NN_shared_math|DEFINE_CT_BoxPr:
     283 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_opEmu] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_OnOff);
     284 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_noBreak] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_OnOff);
     285 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_diff] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_OnOff);
     286 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_aln] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_OnOff);
     287                 :          0 :         break;
     288                 :            :     case NN_shared_math|DEFINE_CT_BorderBoxPr:
     289 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_hideTop] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_OnOff);
     290 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_hideBot] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_OnOff);
     291 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_hideLeft] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_OnOff);
     292 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_hideRight] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_OnOff);
     293 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_strikeH] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_OnOff);
     294 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_strikeV] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_OnOff);
     295 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_strikeBLTR] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_OnOff);
     296 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_strikeTLBR] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_OnOff);
     297                 :          0 :         break;
     298                 :            :     case NN_shared_math|DEFINE_CT_DPr:
     299 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_begChr] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_Char);
     300 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_sepChr] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_Char);
     301 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_endChr] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_Char);
     302 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_grow] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_OnOff);
     303 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_shp] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_Shp);
     304                 :          0 :         break;
     305                 :            :     case NN_shared_math|DEFINE_CT_EqArrPr:
     306 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_baseJc] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_YAlign);
     307 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_maxDist] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_OnOff);
     308 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_objDist] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_OnOff);
     309 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_rSpRule] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_SpacingRule);
     310 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_rSp] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_UnSignedInteger);
     311                 :          0 :         break;
     312                 :            :     case NN_shared_math|DEFINE_CT_FPr:
     313 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_type] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_FType);
     314                 :          0 :         break;
     315                 :            :     case NN_shared_math|DEFINE_CT_GroupChrPr:
     316 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_chr] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_Char);
     317 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_pos] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_TopBot);
     318 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_vertJc] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_TopBot);
     319                 :          0 :         break;
     320                 :            :     case NN_shared_math|DEFINE_CT_MCPr:
     321 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_count] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_Integer255);
     322 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_mcJc] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_XAlign);
     323                 :          0 :         break;
     324                 :            :     case NN_shared_math|DEFINE_CT_MPr:
     325 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_baseJc] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_YAlign);
     326 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_plcHide] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_OnOff);
     327 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_rSpRule] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_SpacingRule);
     328 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_cGpRule] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_SpacingRule);
     329 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_rSp] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_UnSignedInteger);
     330 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_cSp] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_UnSignedInteger);
     331 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_cGp] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_UnSignedInteger);
     332                 :          0 :         break;
     333                 :            :     case NN_shared_math|DEFINE_CT_NaryPr:
     334 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_chr] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_Char);
     335 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_limLoc] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_LimLoc);
     336 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_grow] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_OnOff);
     337 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_subHide] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_OnOff);
     338 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_supHide] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_OnOff);
     339                 :          0 :         break;
     340                 :            :     case NN_shared_math|DEFINE_CT_PhantPr:
     341 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_show] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_OnOff);
     342 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_zeroWid] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_OnOff);
     343 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_zeroAsc] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_OnOff);
     344 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_zeroDesc] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_OnOff);
     345 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_transp] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_OnOff);
     346                 :          0 :         break;
     347                 :            :     case NN_shared_math|DEFINE_CT_RadPr:
     348 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_degHide] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_OnOff);
     349                 :          0 :         break;
     350                 :            :     case NN_shared_math|DEFINE_CT_SSubSupPr:
     351 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_alnScr] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_OnOff);
     352                 :          0 :         break;
     353                 :            :     case NN_shared_math|DEFINE_EG_OMathMathElements:
     354 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_r] = CreateElement(RT_Stream, NN_shared_math|DEFINE_CT_R);
     355                 :          0 :         break;
     356                 :            :     case NN_shared_math|DEFINE_EG_OMathElements:
     357                 :            :          /* ref: EG_OMathMathElements*/
     358 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_r] = CreateElement(RT_Stream, NN_shared_math|DEFINE_CT_R);
     359                 :            :          /* ref: EG_RunLevelElts*/
     360                 :            :          /* ref: EG_RangeMarkupElements*/
     361 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_bookmarkStart] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_Bookmark);
     362 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_bookmarkEnd] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_MarkupRangeBookmark);
     363 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_moveFromRangeStart] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_MoveBookmark);
     364 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_moveFromRangeEnd] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_MarkupRange);
     365 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_moveToRangeStart] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_MoveBookmark);
     366 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_moveToRangeEnd] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_MarkupRange);
     367 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_commentRangeStart] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_MarkupRangeCommentStart);
     368 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_commentRangeEnd] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_MarkupRangeCommentEnd);
     369 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlInsRangeStart] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_TrackChange);
     370 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlInsRangeEnd] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_Markup);
     371 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlDelRangeStart] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_TrackChange);
     372 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlDelRangeEnd] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_Markup);
     373 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlMoveFromRangeStart] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_TrackChange);
     374 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlMoveFromRangeEnd] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_Markup);
     375 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlMoveToRangeStart] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_TrackChange);
     376 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlMoveToRangeEnd] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_Markup);
     377                 :            :          /* ref: EG_MathContent*/
     378                 :            :          /* ref: oMathPara*/
     379 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_oMathPara] = CreateElement(RT_Stream, NN_shared_math|DEFINE_CT_OMathPara);
     380                 :            :          /* ref: oMath*/
     381 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_oMath] = CreateElement(RT_Math, NN_shared_math|DEFINE_CT_OMath);
     382 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_ins] = CreateElement(RT_Stream, NN_wml|DEFINE_CT_RunTrackChange);
     383 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_del] = CreateElement(RT_Stream, NN_wml|DEFINE_CT_RunTrackChange);
     384 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_moveFrom] = CreateElement(RT_Stream, NN_wml|DEFINE_CT_RunTrackChange);
     385 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_moveTo] = CreateElement(RT_Stream, NN_wml|DEFINE_CT_RunTrackChange);
     386                 :          0 :         break;
     387                 :            :     case NN_shared_math|DEFINE_CT_OMathArgPr:
     388 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_argSz] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_Integer2);
     389                 :          0 :         break;
     390                 :            :     case NN_shared_math|DEFINE_CT_OMathArg:
     391                 :            :          /* ref: EG_OMathElements*/
     392                 :            :          /* ref: EG_OMathMathElements*/
     393 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_r] = CreateElement(RT_Stream, NN_shared_math|DEFINE_CT_R);
     394                 :            :          /* ref: EG_RunLevelElts*/
     395                 :            :          /* ref: EG_RangeMarkupElements*/
     396 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_bookmarkStart] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_Bookmark);
     397 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_bookmarkEnd] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_MarkupRangeBookmark);
     398 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_moveFromRangeStart] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_MoveBookmark);
     399 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_moveFromRangeEnd] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_MarkupRange);
     400 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_moveToRangeStart] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_MoveBookmark);
     401 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_moveToRangeEnd] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_MarkupRange);
     402 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_commentRangeStart] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_MarkupRangeCommentStart);
     403 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_commentRangeEnd] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_MarkupRangeCommentEnd);
     404 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlInsRangeStart] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_TrackChange);
     405 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlInsRangeEnd] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_Markup);
     406 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlDelRangeStart] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_TrackChange);
     407 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlDelRangeEnd] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_Markup);
     408 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlMoveFromRangeStart] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_TrackChange);
     409 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlMoveFromRangeEnd] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_Markup);
     410 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlMoveToRangeStart] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_TrackChange);
     411 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlMoveToRangeEnd] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_Markup);
     412                 :            :          /* ref: EG_MathContent*/
     413                 :            :          /* ref: oMathPara*/
     414 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_oMathPara] = CreateElement(RT_Stream, NN_shared_math|DEFINE_CT_OMathPara);
     415                 :            :          /* ref: oMath*/
     416 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_oMath] = CreateElement(RT_Math, NN_shared_math|DEFINE_CT_OMath);
     417 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_ins] = CreateElement(RT_Stream, NN_wml|DEFINE_CT_RunTrackChange);
     418 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_del] = CreateElement(RT_Stream, NN_wml|DEFINE_CT_RunTrackChange);
     419 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_moveFrom] = CreateElement(RT_Stream, NN_wml|DEFINE_CT_RunTrackChange);
     420 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_moveTo] = CreateElement(RT_Stream, NN_wml|DEFINE_CT_RunTrackChange);
     421                 :          0 :         break;
     422                 :            :     case NN_shared_math|DEFINE_CT_OMathParaPr:
     423 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_jc] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_OMathJc);
     424                 :          0 :         break;
     425                 :            :     case NN_shared_math|DEFINE_CT_MathPr:
     426 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_mathFont] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_String);
     427 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_brkBin] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_BreakBin);
     428 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_brkBinSub] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_BreakBinSub);
     429 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_smallFrac] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_OnOff);
     430 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_dispDef] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_OnOff);
     431 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_lMargin] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_TwipsMeasure);
     432 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_rMargin] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_TwipsMeasure);
     433 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_defJc] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_OMathJc);
     434 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_preSp] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_TwipsMeasure);
     435 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_postSp] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_TwipsMeasure);
     436 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_interSp] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_TwipsMeasure);
     437 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_intraSp] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_TwipsMeasure);
     438 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_wrapIndent] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_TwipsMeasure);
     439 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_wrapRight] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_OnOff);
     440 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_intLim] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_LimLoc);
     441 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_naryLim] = CreateElement(RT_Value, NN_shared_math|DEFINE_CT_LimLoc);
     442                 :          0 :         break;
     443                 :            :     case NN_shared_math|DEFINE_CT_OMathPara:
     444 [ +  - ][ +  - ]:          3 :         (*pMap)[NS_math|OOXML_oMath] = CreateElement(RT_Math, NN_shared_math|DEFINE_CT_OMath);
     445                 :          3 :         break;
     446                 :            :     case NN_shared_math|DEFINE_CT_OMath:
     447                 :            :          /* ref: EG_OMathElements*/
     448                 :            :          /* ref: EG_OMathMathElements*/
     449 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_r] = CreateElement(RT_Stream, NN_shared_math|DEFINE_CT_R);
     450                 :            :          /* ref: EG_RunLevelElts*/
     451                 :            :          /* ref: EG_RangeMarkupElements*/
     452 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_bookmarkStart] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_Bookmark);
     453 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_bookmarkEnd] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_MarkupRangeBookmark);
     454 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_moveFromRangeStart] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_MoveBookmark);
     455 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_moveFromRangeEnd] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_MarkupRange);
     456 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_moveToRangeStart] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_MoveBookmark);
     457 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_moveToRangeEnd] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_MarkupRange);
     458 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_commentRangeStart] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_MarkupRangeCommentStart);
     459 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_commentRangeEnd] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_MarkupRangeCommentEnd);
     460 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlInsRangeStart] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_TrackChange);
     461 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlInsRangeEnd] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_Markup);
     462 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlDelRangeStart] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_TrackChange);
     463 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlDelRangeEnd] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_Markup);
     464 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlMoveFromRangeStart] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_TrackChange);
     465 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlMoveFromRangeEnd] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_Markup);
     466 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlMoveToRangeStart] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_TrackChange);
     467 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlMoveToRangeEnd] = CreateElement(RT_Properties, NN_wml|DEFINE_CT_Markup);
     468                 :            :          /* ref: EG_MathContent*/
     469                 :            :          /* ref: oMathPara*/
     470 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_oMathPara] = CreateElement(RT_Stream, NN_shared_math|DEFINE_CT_OMathPara);
     471                 :            :          /* ref: oMath*/
     472 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_oMath] = CreateElement(RT_Math, NN_shared_math|DEFINE_CT_OMath);
     473 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_ins] = CreateElement(RT_Stream, NN_wml|DEFINE_CT_RunTrackChange);
     474 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_del] = CreateElement(RT_Stream, NN_wml|DEFINE_CT_RunTrackChange);
     475 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_moveFrom] = CreateElement(RT_Stream, NN_wml|DEFINE_CT_RunTrackChange);
     476 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_moveTo] = CreateElement(RT_Stream, NN_wml|DEFINE_CT_RunTrackChange);
     477                 :          0 :         break;
     478                 :            :     case NN_shared_math|DEFINE_oMathPara:
     479 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_oMathPara] = CreateElement(RT_Stream, NN_shared_math|DEFINE_CT_OMathPara);
     480                 :          0 :         break;
     481                 :            :     case NN_shared_math|DEFINE_oMath:
     482 [ #  # ][ #  # ]:          0 :         (*pMap)[NS_math|OOXML_oMath] = CreateElement(RT_Math, NN_shared_math|DEFINE_CT_OMath);
     483                 :          0 :         break;
     484                 :            :     default:
     485                 :            :         /* start: mathPar*/
     486                 :            :         /* start: oMathPara*/
     487 [ +  - ][ +  - ]:          8 :         (*pMap)[NS_math|OOXML_oMathPara] = CreateElement(RT_Stream, NN_shared_math|DEFINE_CT_OMathPara);
     488                 :            :         /* start: oMath*/
     489 [ +  - ][ +  - ]:          8 :         (*pMap)[NS_math|OOXML_oMath] = CreateElement(RT_Math, NN_shared_math|DEFINE_CT_OMath);
     490                 :          8 :         break;
     491                 :            :     }
     492                 :            :     
     493                 :         11 :     return pMap;
     494                 :            : }
     495                 :            : 
     496                 :         30 : void OOXMLFactory_shared_math::startAction(OOXMLFastContextHandler* pHandler)
     497                 :            : {
     498                 :         30 :     sal_uInt32 nDefine = pHandler->getDefine();
     499   [ -  -  -  -  :         30 :     switch (nDefine)
             -  -  -  -  
                      + ]
     500                 :            :     {
     501                 :            : 
     502                 :            :       case NN_shared_math|DEFINE_CT_Integer255:
     503                 :          0 :     pHandler->setDefaultIntegerValue();    break;
     504                 :            : 
     505                 :            :       case NN_shared_math|DEFINE_CT_Integer2:
     506                 :          0 :     pHandler->setDefaultIntegerValue();    break;
     507                 :            : 
     508                 :            :       case NN_shared_math|DEFINE_CT_SpacingRule:
     509                 :          0 :     pHandler->setDefaultIntegerValue();    break;
     510                 :            : 
     511                 :            :       case NN_shared_math|DEFINE_CT_UnSignedInteger:
     512                 :          0 :     pHandler->setDefaultIntegerValue();    break;
     513                 :            : 
     514                 :            :       case NN_shared_math|DEFINE_CT_Char:
     515                 :          0 :     pHandler->setDefaultStringValue();    break;
     516                 :            : 
     517                 :            :       case NN_shared_math|DEFINE_CT_OnOff:
     518                 :          0 :     pHandler->setDefaultBooleanValue();    break;
     519                 :            : 
     520                 :            :       case NN_shared_math|DEFINE_CT_String:
     521                 :          0 :     pHandler->setDefaultStringValue();    break;
     522                 :            : 
     523                 :            :       case NN_shared_math|DEFINE_CT_TwipsMeasure:
     524                 :          0 :     pHandler->setDefaultIntegerValue();    break;
     525                 :            :     default:
     526                 :         30 :         break;
     527                 :            :     }
     528                 :         30 : }
     529                 :            : 
     530                 :            : 
     531                 :         12 : void OOXMLFactory_shared_math::charactersAction(OOXMLFastContextHandler*, const OUString &)
     532                 :            : {
     533                 :         12 : }
     534                 :            : 
     535                 :          0 : string OOXMLFactory_shared_math::getDefineName(Id nId) const
     536                 :            : {
     537 [ #  # ][ #  # ]:          0 :     static IdToStringMapPointer pMap;
         [ #  # ][ #  # ]
     538                 :            :     
     539         [ #  # ]:          0 :     if (pMap.get() == NULL)
     540                 :            :     {
     541 [ #  # ][ #  # ]:          0 :         pMap = IdToStringMapPointer(new IdToStringMap());
         [ #  # ][ #  # ]
                 [ #  # ]
     542                 :            :         
     543                 :            : 
     544 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_ST_Integer255] = "ST_Integer255";
     545 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_Integer255] = "CT_Integer255";
     546 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_ST_Integer2] = "ST_Integer2";
     547 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_Integer2] = "CT_Integer2";
     548 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_ST_SpacingRule] = "ST_SpacingRule";
     549 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_SpacingRule] = "CT_SpacingRule";
     550 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_ST_UnSignedInteger] = "ST_UnSignedInteger";
     551 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_UnSignedInteger] = "CT_UnSignedInteger";
     552 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_ST_Char] = "ST_Char";
     553 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_Char] = "CT_Char";
     554 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_ST_OnOff] = "ST_OnOff";
     555 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_OnOff] = "CT_OnOff";
     556 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_ST_String] = "ST_String";
     557 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_String] = "CT_String";
     558 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_ST_XAlign] = "ST_XAlign";
     559 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_XAlign] = "CT_XAlign";
     560 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_ST_YAlign] = "ST_YAlign";
     561 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_YAlign] = "CT_YAlign";
     562 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_ST_Shp] = "ST_Shp";
     563 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_Shp] = "CT_Shp";
     564 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_ST_FType] = "ST_FType";
     565 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_FType] = "CT_FType";
     566 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_ST_LimLoc] = "ST_LimLoc";
     567 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_LimLoc] = "CT_LimLoc";
     568 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_ST_TopBot] = "ST_TopBot";
     569 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_TopBot] = "CT_TopBot";
     570 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_ST_Script] = "ST_Script";
     571 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_Script] = "CT_Script";
     572 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_ST_Style] = "ST_Style";
     573 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_Style] = "CT_Style";
     574 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_ManualBreak] = "CT_ManualBreak";
     575 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_EG_ScriptStyle] = "EG_ScriptStyle";
     576 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_RPR] = "CT_RPR";
     577 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_Text] = "CT_Text";
     578 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_R] = "CT_R";
     579 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_CtrlPr] = "CT_CtrlPr";
     580 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_AccPr] = "CT_AccPr";
     581 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_Acc] = "CT_Acc";
     582 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_BarPr] = "CT_BarPr";
     583 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_Bar] = "CT_Bar";
     584 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_BoxPr] = "CT_BoxPr";
     585 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_Box] = "CT_Box";
     586 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_BorderBoxPr] = "CT_BorderBoxPr";
     587 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_BorderBox] = "CT_BorderBox";
     588 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_DPr] = "CT_DPr";
     589 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_D] = "CT_D";
     590 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_EqArrPr] = "CT_EqArrPr";
     591 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_EqArr] = "CT_EqArr";
     592 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_FPr] = "CT_FPr";
     593 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_F] = "CT_F";
     594 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_FuncPr] = "CT_FuncPr";
     595 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_Func] = "CT_Func";
     596 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_GroupChrPr] = "CT_GroupChrPr";
     597 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_GroupChr] = "CT_GroupChr";
     598 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_LimLowPr] = "CT_LimLowPr";
     599 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_LimLow] = "CT_LimLow";
     600 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_LimUppPr] = "CT_LimUppPr";
     601 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_LimUpp] = "CT_LimUpp";
     602 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_MCPr] = "CT_MCPr";
     603 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_MC] = "CT_MC";
     604 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_MCS] = "CT_MCS";
     605 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_MPr] = "CT_MPr";
     606 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_MR] = "CT_MR";
     607 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_M] = "CT_M";
     608 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_NaryPr] = "CT_NaryPr";
     609 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_Nary] = "CT_Nary";
     610 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_PhantPr] = "CT_PhantPr";
     611 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_Phant] = "CT_Phant";
     612 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_RadPr] = "CT_RadPr";
     613 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_Rad] = "CT_Rad";
     614 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_SPrePr] = "CT_SPrePr";
     615 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_SPre] = "CT_SPre";
     616 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_SSubPr] = "CT_SSubPr";
     617 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_SSub] = "CT_SSub";
     618 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_SSubSupPr] = "CT_SSubSupPr";
     619 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_SSubSup] = "CT_SSubSup";
     620 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_SSupPr] = "CT_SSupPr";
     621 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_SSup] = "CT_SSup";
     622 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_EG_OMathMathElements] = "EG_OMathMathElements";
     623 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_EG_OMathElements] = "EG_OMathElements";
     624 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_OMathArgPr] = "CT_OMathArgPr";
     625 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_OMathArg] = "CT_OMathArg";
     626 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_ST_Jc] = "ST_Jc";
     627 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_OMathJc] = "CT_OMathJc";
     628 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_OMathParaPr] = "CT_OMathParaPr";
     629 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_ST_TwipsMeasure] = "ST_TwipsMeasure";
     630 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_TwipsMeasure] = "CT_TwipsMeasure";
     631 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_ST_BreakBin] = "ST_BreakBin";
     632 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_BreakBin] = "CT_BreakBin";
     633 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_ST_BreakBinSub] = "ST_BreakBinSub";
     634 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_BreakBinSub] = "CT_BreakBinSub";
     635 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_MathPr] = "CT_MathPr";
     636 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_mathPr] = "mathPr";
     637 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_OMathPara] = "CT_OMathPara";
     638 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_CT_OMath] = "CT_OMath";
     639 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_oMathPara] = "oMathPara";
     640 [ #  # ][ #  # ]:          0 :         (*pMap)[NN_shared_math|DEFINE_oMath] = "oMath";
     641                 :            :     }
     642                 :            :     
     643                 :          0 :     return (*pMap)[nId];
     644                 :            : }
     645                 :            :     
     646                 :            : 
     647                 :         14 : TokenToIdMapPointer OOXMLFactory_shared_math::createTokenToIdMap(Id nId)
     648                 :            : {
     649 [ +  - ][ +  - ]:         14 :     TokenToIdMapPointer pMap(new TokenToIdMap());
                 [ +  - ]
     650                 :            :     
     651   [ -  -  -  -  :         14 :     switch (nId)
          -  -  -  -  -  
          -  -  -  -  -  
          -  -  -  -  -  
             -  -  -  +  
                      + ]
     652                 :            :     {
     653                 :            :     case NN_shared_math|DEFINE_CT_Integer255:
     654                 :            :         // CT_Integer255
     655         [ #  # ]:          0 :         (*pMap)[NS_math|OOXML_val] = NS_ooxml::LN_CT_Integer255_val;
     656                 :          0 :         break;
     657                 :            :     case NN_shared_math|DEFINE_CT_Integer2:
     658                 :            :         // CT_Integer2
     659         [ #  # ]:          0 :         (*pMap)[NS_math|OOXML_val] = NS_ooxml::LN_CT_Integer2_val;
     660                 :          0 :         break;
     661                 :            :     case NN_shared_math|DEFINE_CT_SpacingRule:
     662                 :            :         // CT_SpacingRule
     663         [ #  # ]:          0 :         (*pMap)[NS_math|OOXML_val] = NS_ooxml::LN_CT_SpacingRule_val;
     664                 :          0 :         break;
     665                 :            :     case NN_shared_math|DEFINE_CT_UnSignedInteger:
     666                 :            :         // CT_UnSignedInteger
     667         [ #  # ]:          0 :         (*pMap)[NS_math|OOXML_val] = NS_ooxml::LN_CT_UnSignedInteger_val;
     668                 :          0 :         break;
     669                 :            :     case NN_shared_math|DEFINE_CT_Char:
     670                 :            :         // CT_Char
     671         [ #  # ]:          0 :         (*pMap)[NS_math|OOXML_val] = NS_ooxml::LN_CT_Char_val;
     672                 :          0 :         break;
     673                 :            :     case NN_shared_math|DEFINE_CT_OnOff:
     674                 :            :         // CT_OnOff
     675         [ #  # ]:          0 :         (*pMap)[NS_math|OOXML_val] = NS_ooxml::LN_CT_OnOff_val;
     676                 :          0 :         break;
     677                 :            :     case NN_shared_math|DEFINE_CT_String:
     678                 :            :         // CT_String
     679         [ #  # ]:          0 :         (*pMap)[NS_math|OOXML_val] = NS_ooxml::LN_CT_String_val;
     680                 :          0 :         break;
     681                 :            :     case NN_shared_math|DEFINE_CT_XAlign:
     682                 :            :         // CT_XAlign
     683         [ #  # ]:          0 :         (*pMap)[NS_math|OOXML_val] = NS_ooxml::LN_CT_XAlign_val;
     684                 :          0 :         break;
     685                 :            :     case NN_shared_math|DEFINE_CT_YAlign:
     686                 :            :         // CT_YAlign
     687         [ #  # ]:          0 :         (*pMap)[NS_math|OOXML_val] = NS_ooxml::LN_CT_YAlign_val;
     688                 :          0 :         break;
     689                 :            :     case NN_shared_math|DEFINE_CT_Shp:
     690                 :            :         // CT_Shp
     691         [ #  # ]:          0 :         (*pMap)[NS_math|OOXML_val] = NS_ooxml::LN_CT_Shp_val;
     692                 :          0 :         break;
     693                 :            :     case NN_shared_math|DEFINE_CT_FType:
     694                 :            :         // CT_FType
     695         [ #  # ]:          0 :         (*pMap)[NS_math|OOXML_val] = NS_ooxml::LN_CT_FType_val;
     696                 :          0 :         break;
     697                 :            :     case NN_shared_math|DEFINE_CT_LimLoc:
     698                 :            :         // CT_LimLoc
     699         [ #  # ]:          0 :         (*pMap)[NS_math|OOXML_val] = NS_ooxml::LN_CT_LimLoc_val;
     700                 :          0 :         break;
     701                 :            :     case NN_shared_math|DEFINE_CT_TopBot:
     702                 :            :         // CT_TopBot
     703         [ #  # ]:          0 :         (*pMap)[NS_math|OOXML_val] = NS_ooxml::LN_CT_TopBot_val;
     704                 :          0 :         break;
     705                 :            :     case NN_shared_math|DEFINE_CT_Script:
     706                 :            :         // CT_Script
     707         [ #  # ]:          0 :         (*pMap)[NS_math|OOXML_val] = NS_ooxml::LN_CT_Script_val;
     708                 :          0 :         break;
     709                 :            :     case NN_shared_math|DEFINE_CT_Style:
     710                 :            :         // CT_Style
     711         [ #  # ]:          0 :         (*pMap)[NS_math|OOXML_val] = NS_ooxml::LN_CT_Style_val;
     712                 :          0 :         break;
     713                 :            :     case NN_shared_math|DEFINE_CT_R:
     714                 :            :         // EG_RunInnerContent
     715         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_br] = NS_ooxml::LN_EG_RunInnerContent_br;
     716         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_t] = NS_ooxml::LN_EG_RunInnerContent_t;
     717         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_delText] = NS_ooxml::LN_EG_RunInnerContent_delText;
     718         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_instrText] = NS_ooxml::LN_EG_RunInnerContent_instrText;
     719         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_delInstrText] = NS_ooxml::LN_EG_RunInnerContent_delInstrText;
     720         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_noBreakHyphen] = NS_ooxml::LN_EG_RunInnerContent_noBreakHyphen;
     721         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_softHyphen] = NS_ooxml::LN_EG_RunInnerContent_softHyphen;
     722         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_dayShort] = NS_ooxml::LN_EG_RunInnerContent_dayShort;
     723         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_monthShort] = NS_ooxml::LN_EG_RunInnerContent_monthShort;
     724         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_yearShort] = NS_ooxml::LN_EG_RunInnerContent_yearShort;
     725         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_dayLong] = NS_ooxml::LN_EG_RunInnerContent_dayLong;
     726         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_monthLong] = NS_ooxml::LN_EG_RunInnerContent_monthLong;
     727         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_yearLong] = NS_ooxml::LN_EG_RunInnerContent_yearLong;
     728         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_annotationRef] = NS_ooxml::LN_EG_RunInnerContent_annotationRef;
     729         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_footnoteRef] = NS_ooxml::LN_EG_RunInnerContent_footnoteRef;
     730         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_endnoteRef] = NS_ooxml::LN_EG_RunInnerContent_endnoteRef;
     731         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_separator] = NS_ooxml::LN_EG_RunInnerContent_separator;
     732         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_continuationSeparator] = NS_ooxml::LN_EG_RunInnerContent_continuationSeparator;
     733         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_sym] = NS_ooxml::LN_EG_RunInnerContent_sym;
     734         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_pgNum] = NS_ooxml::LN_EG_RunInnerContent_pgNum;
     735         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_cr] = NS_ooxml::LN_EG_RunInnerContent_cr;
     736         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_tab] = NS_ooxml::LN_EG_RunInnerContent_tab;
     737         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_object] = NS_ooxml::LN_EG_RunInnerContent_object;
     738         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_pict] = NS_ooxml::LN_EG_RunInnerContent_pict;
     739         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_fldChar] = NS_ooxml::LN_EG_RunInnerContent_fldChar;
     740         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_ruby] = NS_ooxml::LN_EG_RunInnerContent_ruby;
     741         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_footnoteReference] = NS_ooxml::LN_EG_RunInnerContent_footnoteReference;
     742         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_endnoteReference] = NS_ooxml::LN_EG_RunInnerContent_endnoteReference;
     743         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_commentReference] = NS_ooxml::LN_EG_RunInnerContent_commentReference;
     744         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_drawing] = NS_ooxml::LN_EG_RunInnerContent_drawing;
     745         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_ptab] = NS_ooxml::LN_EG_RunInnerContent_ptab;
     746         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_lastRenderedPageBreak] = NS_ooxml::LN_EG_RunInnerContent_lastRenderedPageBreak;
     747                 :          0 :         break;
     748                 :            :     case NN_shared_math|DEFINE_EG_OMathElements:
     749                 :            :         // EG_RangeMarkupElements
     750         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_bookmarkStart] = NS_ooxml::LN_EG_RangeMarkupElements_bookmarkStart;
     751         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_bookmarkEnd] = NS_ooxml::LN_EG_RangeMarkupElements_bookmarkEnd;
     752         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_moveFromRangeStart] = NS_ooxml::LN_EG_RangeMarkupElements_moveFromRangeStart;
     753         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_moveFromRangeEnd] = NS_ooxml::LN_EG_RangeMarkupElements_moveFromRangeEnd;
     754         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_moveToRangeStart] = NS_ooxml::LN_EG_RangeMarkupElements_moveToRangeStart;
     755         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_moveToRangeEnd] = NS_ooxml::LN_EG_RangeMarkupElements_moveToRangeEnd;
     756         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_commentRangeStart] = NS_ooxml::LN_EG_RangeMarkupElements_commentRangeStart;
     757         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_commentRangeEnd] = NS_ooxml::LN_EG_RangeMarkupElements_commentRangeEnd;
     758         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlInsRangeStart] = NS_ooxml::LN_EG_RangeMarkupElements_customXmlInsRangeStart;
     759         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlInsRangeEnd] = NS_ooxml::LN_EG_RangeMarkupElements_customXmlInsRangeEnd;
     760         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlDelRangeStart] = NS_ooxml::LN_EG_RangeMarkupElements_customXmlDelRangeStart;
     761         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlDelRangeEnd] = NS_ooxml::LN_EG_RangeMarkupElements_customXmlDelRangeEnd;
     762         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlMoveFromRangeStart] = NS_ooxml::LN_EG_RangeMarkupElements_customXmlMoveFromRangeStart;
     763         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlMoveFromRangeEnd] = NS_ooxml::LN_EG_RangeMarkupElements_customXmlMoveFromRangeEnd;
     764         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlMoveToRangeStart] = NS_ooxml::LN_EG_RangeMarkupElements_customXmlMoveToRangeStart;
     765         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlMoveToRangeEnd] = NS_ooxml::LN_EG_RangeMarkupElements_customXmlMoveToRangeEnd;
     766                 :            :         // EG_RunLevelElts
     767         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_proofErr] = NS_ooxml::LN_EG_RunLevelElts_proofErr;
     768         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_permStart] = NS_ooxml::LN_EG_RunLevelElts_permStart;
     769         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_permEnd] = NS_ooxml::LN_EG_RunLevelElts_permEnd;
     770         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_ins] = NS_ooxml::LN_EG_RunLevelElts_ins;
     771         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_del] = NS_ooxml::LN_EG_RunLevelElts_del;
     772         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_moveFrom] = NS_ooxml::LN_EG_RunLevelElts_moveFrom;
     773         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_moveTo] = NS_ooxml::LN_EG_RunLevelElts_moveTo;
     774                 :          0 :         break;
     775                 :            :     case NN_shared_math|DEFINE_CT_OMathArg:
     776                 :            :         // EG_RangeMarkupElements
     777         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_bookmarkStart] = NS_ooxml::LN_EG_RangeMarkupElements_bookmarkStart;
     778         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_bookmarkEnd] = NS_ooxml::LN_EG_RangeMarkupElements_bookmarkEnd;
     779         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_moveFromRangeStart] = NS_ooxml::LN_EG_RangeMarkupElements_moveFromRangeStart;
     780         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_moveFromRangeEnd] = NS_ooxml::LN_EG_RangeMarkupElements_moveFromRangeEnd;
     781         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_moveToRangeStart] = NS_ooxml::LN_EG_RangeMarkupElements_moveToRangeStart;
     782         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_moveToRangeEnd] = NS_ooxml::LN_EG_RangeMarkupElements_moveToRangeEnd;
     783         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_commentRangeStart] = NS_ooxml::LN_EG_RangeMarkupElements_commentRangeStart;
     784         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_commentRangeEnd] = NS_ooxml::LN_EG_RangeMarkupElements_commentRangeEnd;
     785         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlInsRangeStart] = NS_ooxml::LN_EG_RangeMarkupElements_customXmlInsRangeStart;
     786         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlInsRangeEnd] = NS_ooxml::LN_EG_RangeMarkupElements_customXmlInsRangeEnd;
     787         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlDelRangeStart] = NS_ooxml::LN_EG_RangeMarkupElements_customXmlDelRangeStart;
     788         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlDelRangeEnd] = NS_ooxml::LN_EG_RangeMarkupElements_customXmlDelRangeEnd;
     789         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlMoveFromRangeStart] = NS_ooxml::LN_EG_RangeMarkupElements_customXmlMoveFromRangeStart;
     790         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlMoveFromRangeEnd] = NS_ooxml::LN_EG_RangeMarkupElements_customXmlMoveFromRangeEnd;
     791         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlMoveToRangeStart] = NS_ooxml::LN_EG_RangeMarkupElements_customXmlMoveToRangeStart;
     792         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlMoveToRangeEnd] = NS_ooxml::LN_EG_RangeMarkupElements_customXmlMoveToRangeEnd;
     793                 :            :         // EG_RunLevelElts
     794         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_proofErr] = NS_ooxml::LN_EG_RunLevelElts_proofErr;
     795         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_permStart] = NS_ooxml::LN_EG_RunLevelElts_permStart;
     796         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_permEnd] = NS_ooxml::LN_EG_RunLevelElts_permEnd;
     797         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_ins] = NS_ooxml::LN_EG_RunLevelElts_ins;
     798         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_del] = NS_ooxml::LN_EG_RunLevelElts_del;
     799         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_moveFrom] = NS_ooxml::LN_EG_RunLevelElts_moveFrom;
     800         [ #  # ]:          0 :         (*pMap)[NS_wordprocessingml|OOXML_moveTo] = NS_ooxml::LN_EG_RunLevelElts_moveTo;
     801                 :          0 :         break;
     802                 :            :     case NN_shared_math|DEFINE_CT_OMathJc:
     803                 :            :         // CT_OMathJc
     804         [ #  # ]:          0 :         (*pMap)[NS_math|OOXML_val] = NS_ooxml::LN_CT_OMathJc_val;
     805                 :          0 :         break;
     806                 :            :     case NN_shared_math|DEFINE_CT_TwipsMeasure:
     807                 :            :         // CT_TwipsMeasure
     808         [ #  # ]:          0 :         (*pMap)[NS_math|OOXML_val] = NS_ooxml::LN_CT_TwipsMeasure_val;
     809                 :          0 :         break;
     810                 :            :     case NN_shared_math|DEFINE_CT_BreakBin:
     811                 :            :         // CT_BreakBin
     812         [ #  # ]:          0 :         (*pMap)[NS_math|OOXML_val] = NS_ooxml::LN_CT_BreakBin_val;
     813                 :          0 :         break;
     814                 :            :     case NN_shared_math|DEFINE_CT_BreakBinSub:
     815                 :            :         // CT_BreakBinSub
     816         [ #  # ]:          0 :         (*pMap)[NS_math|OOXML_val] = NS_ooxml::LN_CT_BreakBinSub_val;
     817                 :          0 :         break;
     818                 :            :     case NN_shared_math|DEFINE_CT_OMath:
     819                 :            :         // EG_RangeMarkupElements
     820         [ +  - ]:          3 :         (*pMap)[NS_wordprocessingml|OOXML_bookmarkStart] = NS_ooxml::LN_EG_RangeMarkupElements_bookmarkStart;
     821         [ +  - ]:          3 :         (*pMap)[NS_wordprocessingml|OOXML_bookmarkEnd] = NS_ooxml::LN_EG_RangeMarkupElements_bookmarkEnd;
     822         [ +  - ]:          3 :         (*pMap)[NS_wordprocessingml|OOXML_moveFromRangeStart] = NS_ooxml::LN_EG_RangeMarkupElements_moveFromRangeStart;
     823         [ +  - ]:          3 :         (*pMap)[NS_wordprocessingml|OOXML_moveFromRangeEnd] = NS_ooxml::LN_EG_RangeMarkupElements_moveFromRangeEnd;
     824         [ +  - ]:          3 :         (*pMap)[NS_wordprocessingml|OOXML_moveToRangeStart] = NS_ooxml::LN_EG_RangeMarkupElements_moveToRangeStart;
     825         [ +  - ]:          3 :         (*pMap)[NS_wordprocessingml|OOXML_moveToRangeEnd] = NS_ooxml::LN_EG_RangeMarkupElements_moveToRangeEnd;
     826         [ +  - ]:          3 :         (*pMap)[NS_wordprocessingml|OOXML_commentRangeStart] = NS_ooxml::LN_EG_RangeMarkupElements_commentRangeStart;
     827         [ +  - ]:          3 :         (*pMap)[NS_wordprocessingml|OOXML_commentRangeEnd] = NS_ooxml::LN_EG_RangeMarkupElements_commentRangeEnd;
     828         [ +  - ]:          3 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlInsRangeStart] = NS_ooxml::LN_EG_RangeMarkupElements_customXmlInsRangeStart;
     829         [ +  - ]:          3 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlInsRangeEnd] = NS_ooxml::LN_EG_RangeMarkupElements_customXmlInsRangeEnd;
     830         [ +  - ]:          3 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlDelRangeStart] = NS_ooxml::LN_EG_RangeMarkupElements_customXmlDelRangeStart;
     831         [ +  - ]:          3 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlDelRangeEnd] = NS_ooxml::LN_EG_RangeMarkupElements_customXmlDelRangeEnd;
     832         [ +  - ]:          3 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlMoveFromRangeStart] = NS_ooxml::LN_EG_RangeMarkupElements_customXmlMoveFromRangeStart;
     833         [ +  - ]:          3 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlMoveFromRangeEnd] = NS_ooxml::LN_EG_RangeMarkupElements_customXmlMoveFromRangeEnd;
     834         [ +  - ]:          3 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlMoveToRangeStart] = NS_ooxml::LN_EG_RangeMarkupElements_customXmlMoveToRangeStart;
     835         [ +  - ]:          3 :         (*pMap)[NS_wordprocessingml|OOXML_customXmlMoveToRangeEnd] = NS_ooxml::LN_EG_RangeMarkupElements_customXmlMoveToRangeEnd;
     836                 :            :         // EG_RunLevelElts
     837         [ +  - ]:          3 :         (*pMap)[NS_wordprocessingml|OOXML_proofErr] = NS_ooxml::LN_EG_RunLevelElts_proofErr;
     838         [ +  - ]:          3 :         (*pMap)[NS_wordprocessingml|OOXML_permStart] = NS_ooxml::LN_EG_RunLevelElts_permStart;
     839         [ +  - ]:          3 :         (*pMap)[NS_wordprocessingml|OOXML_permEnd] = NS_ooxml::LN_EG_RunLevelElts_permEnd;
     840         [ +  - ]:          3 :         (*pMap)[NS_wordprocessingml|OOXML_ins] = NS_ooxml::LN_EG_RunLevelElts_ins;
     841         [ +  - ]:          3 :         (*pMap)[NS_wordprocessingml|OOXML_del] = NS_ooxml::LN_EG_RunLevelElts_del;
     842         [ +  - ]:          3 :         (*pMap)[NS_wordprocessingml|OOXML_moveFrom] = NS_ooxml::LN_EG_RunLevelElts_moveFrom;
     843         [ +  - ]:          3 :         (*pMap)[NS_wordprocessingml|OOXML_moveTo] = NS_ooxml::LN_EG_RunLevelElts_moveTo;
     844                 :          3 :         break;
     845                 :            :     default:
     846                 :            :         // mathPar
     847                 :            :         // oMathPara
     848                 :            :         // oMath
     849                 :         11 :         break;
     850                 :            :     }
     851                 :            :     
     852                 :         14 :     return pMap;
     853                 :            : }
     854                 :            : 
     855                 :          0 : void OOXMLFactory_shared_math::attributeAction(OOXMLFastContextHandler * _pHandler, Token_t nToken, OOXMLValue::Pointer_t pValue)
     856                 :            : {
     857   [ #  #  #  #  :          0 :     switch(_pHandler->getDefine())
          #  #  #  #  #  
          #  #  #  #  #  
          #  #  #  #  #  
                      # ]
     858                 :            :     {
     859                 :            :     case NN_shared_math|DEFINE_CT_Integer255:
     860                 :            :     {
     861         [ #  # ]:          0 :         OOXMLFastContextHandlerValue * pHandler = dynamic_cast<OOXMLFastContextHandlerValue * >(_pHandler);
     862                 :            : 
     863         [ #  # ]:          0 :         switch(nToken)
     864                 :            :         {
     865                 :            :         case NS_math|OOXML_val:
     866         [ #  # ]:          0 :             pHandler->setValue(pValue);
     867                 :          0 :             break;
     868                 :            :         default:
     869                 :          0 :             break;
     870                 :            :         }
     871                 :            :     }
     872                 :          0 :         break;
     873                 :            :     case NN_shared_math|DEFINE_CT_Integer2:
     874                 :            :     {
     875         [ #  # ]:          0 :         OOXMLFastContextHandlerValue * pHandler = dynamic_cast<OOXMLFastContextHandlerValue * >(_pHandler);
     876                 :            : 
     877         [ #  # ]:          0 :         switch(nToken)
     878                 :            :         {
     879                 :            :         case NS_math|OOXML_val:
     880         [ #  # ]:          0 :             pHandler->setValue(pValue);
     881                 :          0 :             break;
     882                 :            :         default:
     883                 :          0 :             break;
     884                 :            :         }
     885                 :            :     }
     886                 :          0 :         break;
     887                 :            :     case NN_shared_math|DEFINE_CT_SpacingRule:
     888                 :            :     {
     889         [ #  # ]:          0 :         OOXMLFastContextHandlerValue * pHandler = dynamic_cast<OOXMLFastContextHandlerValue * >(_pHandler);
     890                 :            : 
     891         [ #  # ]:          0 :         switch(nToken)
     892                 :            :         {
     893                 :            :         case NS_math|OOXML_val:
     894         [ #  # ]:          0 :             pHandler->setValue(pValue);
     895                 :          0 :             break;
     896                 :            :         default:
     897                 :          0 :             break;
     898                 :            :         }
     899                 :            :     }
     900                 :          0 :         break;
     901                 :            :     case NN_shared_math|DEFINE_CT_UnSignedInteger:
     902                 :            :     {
     903         [ #  # ]:          0 :         OOXMLFastContextHandlerValue * pHandler = dynamic_cast<OOXMLFastContextHandlerValue * >(_pHandler);
     904                 :            : 
     905         [ #  # ]:          0 :         switch(nToken)
     906                 :            :         {
     907                 :            :         case NS_math|OOXML_val:
     908         [ #  # ]:          0 :             pHandler->setValue(pValue);
     909                 :          0 :             break;
     910                 :            :         default:
     911                 :          0 :             break;
     912                 :            :         }
     913                 :            :     }
     914                 :          0 :         break;
     915                 :            :     case NN_shared_math|DEFINE_CT_Char:
     916                 :            :     {
     917         [ #  # ]:          0 :         OOXMLFastContextHandlerValue * pHandler = dynamic_cast<OOXMLFastContextHandlerValue * >(_pHandler);
     918                 :            : 
     919         [ #  # ]:          0 :         switch(nToken)
     920                 :            :         {
     921                 :            :         case NS_math|OOXML_val:
     922         [ #  # ]:          0 :             pHandler->setValue(pValue);
     923                 :          0 :             break;
     924                 :            :         default:
     925                 :          0 :             break;
     926                 :            :         }
     927                 :            :     }
     928                 :          0 :         break;
     929                 :            :     case NN_shared_math|DEFINE_CT_OnOff:
     930                 :            :     {
     931         [ #  # ]:          0 :         OOXMLFastContextHandlerValue * pHandler = dynamic_cast<OOXMLFastContextHandlerValue * >(_pHandler);
     932                 :            : 
     933         [ #  # ]:          0 :         switch(nToken)
     934                 :            :         {
     935                 :            :         case NS_math|OOXML_val:
     936         [ #  # ]:          0 :             pHandler->setValue(pValue);
     937                 :          0 :             break;
     938                 :            :         default:
     939                 :          0 :             break;
     940                 :            :         }
     941                 :            :     }
     942                 :          0 :         break;
     943                 :            :     case NN_shared_math|DEFINE_CT_String:
     944                 :            :     {
     945         [ #  # ]:          0 :         OOXMLFastContextHandlerValue * pHandler = dynamic_cast<OOXMLFastContextHandlerValue * >(_pHandler);
     946                 :            : 
     947         [ #  # ]:          0 :         switch(nToken)
     948                 :            :         {
     949                 :            :         case NS_math|OOXML_val:
     950         [ #  # ]:          0 :             pHandler->setValue(pValue);
     951                 :          0 :             break;
     952                 :            :         default:
     953                 :          0 :             break;
     954                 :            :         }
     955                 :            :     }
     956                 :          0 :         break;
     957                 :            :     case NN_shared_math|DEFINE_CT_XAlign:
     958                 :            :     {
     959         [ #  # ]:          0 :         OOXMLFastContextHandlerValue * pHandler = dynamic_cast<OOXMLFastContextHandlerValue * >(_pHandler);
     960                 :            : 
     961         [ #  # ]:          0 :         switch(nToken)
     962                 :            :         {
     963                 :            :         case NS_math|OOXML_val:
     964         [ #  # ]:          0 :             pHandler->setValue(pValue);
     965                 :          0 :             break;
     966                 :            :         default:
     967                 :          0 :             break;
     968                 :            :         }
     969                 :            :     }
     970                 :          0 :         break;
     971                 :            :     case NN_shared_math|DEFINE_CT_YAlign:
     972                 :            :     {
     973         [ #  # ]:          0 :         OOXMLFastContextHandlerValue * pHandler = dynamic_cast<OOXMLFastContextHandlerValue * >(_pHandler);
     974                 :            : 
     975         [ #  # ]:          0 :         switch(nToken)
     976                 :            :         {
     977                 :            :         case NS_math|OOXML_val:
     978         [ #  # ]:          0 :             pHandler->setValue(pValue);
     979                 :          0 :             break;
     980                 :            :         default:
     981                 :          0 :             break;
     982                 :            :         }
     983                 :            :     }
     984                 :          0 :         break;
     985                 :            :     case NN_shared_math|DEFINE_CT_Shp:
     986                 :            :     {
     987         [ #  # ]:          0 :         OOXMLFastContextHandlerValue * pHandler = dynamic_cast<OOXMLFastContextHandlerValue * >(_pHandler);
     988                 :            : 
     989         [ #  # ]:          0 :         switch(nToken)
     990                 :            :         {
     991                 :            :         case NS_math|OOXML_val:
     992         [ #  # ]:          0 :             pHandler->setValue(pValue);
     993                 :          0 :             break;
     994                 :            :         default:
     995                 :          0 :             break;
     996                 :            :         }
     997                 :            :     }
     998                 :          0 :         break;
     999                 :            :     case NN_shared_math|DEFINE_CT_FType:
    1000                 :            :     {
    1001         [ #  # ]:          0 :         OOXMLFastContextHandlerValue * pHandler = dynamic_cast<OOXMLFastContextHandlerValue * >(_pHandler);
    1002                 :            : 
    1003         [ #  # ]:          0 :         switch(nToken)
    1004                 :            :         {
    1005                 :            :         case NS_math|OOXML_val:
    1006         [ #  # ]:          0 :             pHandler->setValue(pValue);
    1007                 :          0 :             break;
    1008                 :            :         default:
    1009                 :          0 :             break;
    1010                 :            :         }
    1011                 :            :     }
    1012                 :          0 :         break;
    1013                 :            :     case NN_shared_math|DEFINE_CT_LimLoc:
    1014                 :            :     {
    1015         [ #  # ]:          0 :         OOXMLFastContextHandlerValue * pHandler = dynamic_cast<OOXMLFastContextHandlerValue * >(_pHandler);
    1016                 :            : 
    1017         [ #  # ]:          0 :         switch(nToken)
    1018                 :            :         {
    1019                 :            :         case NS_math|OOXML_val:
    1020         [ #  # ]:          0 :             pHandler->setValue(pValue);
    1021                 :          0 :             break;
    1022                 :            :         default:
    1023                 :          0 :             break;
    1024                 :            :         }
    1025                 :            :     }
    1026                 :          0 :         break;
    1027                 :            :     case NN_shared_math|DEFINE_CT_TopBot:
    1028                 :            :     {
    1029         [ #  # ]:          0 :         OOXMLFastContextHandlerValue * pHandler = dynamic_cast<OOXMLFastContextHandlerValue * >(_pHandler);
    1030                 :            : 
    1031         [ #  # ]:          0 :         switch(nToken)
    1032                 :            :         {
    1033                 :            :         case NS_math|OOXML_val:
    1034         [ #  # ]:          0 :             pHandler->setValue(pValue);
    1035                 :          0 :             break;
    1036                 :            :         default:
    1037                 :          0 :             break;
    1038                 :            :         }
    1039                 :            :     }
    1040                 :          0 :         break;
    1041                 :            :     case NN_shared_math|DEFINE_CT_Script:
    1042                 :            :     {
    1043         [ #  # ]:          0 :         OOXMLFastContextHandlerValue * pHandler = dynamic_cast<OOXMLFastContextHandlerValue * >(_pHandler);
    1044                 :            : 
    1045         [ #  # ]:          0 :         switch(nToken)
    1046                 :            :         {
    1047                 :            :         case NS_math|OOXML_val:
    1048         [ #  # ]:          0 :             pHandler->setValue(pValue);
    1049                 :          0 :             break;
    1050                 :            :         default:
    1051                 :          0 :             break;
    1052                 :            :         }
    1053                 :            :     }
    1054                 :          0 :         break;
    1055                 :            :     case NN_shared_math|DEFINE_CT_Style:
    1056                 :            :     {
    1057         [ #  # ]:          0 :         OOXMLFastContextHandlerValue * pHandler = dynamic_cast<OOXMLFastContextHandlerValue * >(_pHandler);
    1058                 :            : 
    1059         [ #  # ]:          0 :         switch(nToken)
    1060                 :            :         {
    1061                 :            :         case NS_math|OOXML_val:
    1062         [ #  # ]:          0 :             pHandler->setValue(pValue);
    1063                 :          0 :             break;
    1064                 :            :         default:
    1065                 :          0 :             break;
    1066                 :            :         }
    1067                 :            :     }
    1068                 :          0 :         break;
    1069                 :            :     case NN_shared_math|DEFINE_CT_OMathJc:
    1070                 :            :     {
    1071         [ #  # ]:          0 :         OOXMLFastContextHandlerValue * pHandler = dynamic_cast<OOXMLFastContextHandlerValue * >(_pHandler);
    1072                 :            : 
    1073         [ #  # ]:          0 :         switch(nToken)
    1074                 :            :         {
    1075                 :            :         case NS_math|OOXML_val:
    1076         [ #  # ]:          0 :             pHandler->setValue(pValue);
    1077                 :          0 :             break;
    1078                 :            :         default:
    1079                 :          0 :             break;
    1080                 :            :         }
    1081                 :            :     }
    1082                 :          0 :         break;
    1083                 :            :     case NN_shared_math|DEFINE_CT_TwipsMeasure:
    1084                 :            :     {
    1085         [ #  # ]:          0 :         OOXMLFastContextHandlerValue * pHandler = dynamic_cast<OOXMLFastContextHandlerValue * >(_pHandler);
    1086                 :            : 
    1087         [ #  # ]:          0 :         switch(nToken)
    1088                 :            :         {
    1089                 :            :         case NS_math|OOXML_val:
    1090         [ #  # ]:          0 :             pHandler->setValue(pValue);
    1091                 :          0 :             break;
    1092                 :            :         default:
    1093                 :          0 :             break;
    1094                 :            :         }
    1095                 :            :     }
    1096                 :          0 :         break;
    1097                 :            :     case NN_shared_math|DEFINE_CT_BreakBin:
    1098                 :            :     {
    1099         [ #  # ]:          0 :         OOXMLFastContextHandlerValue * pHandler = dynamic_cast<OOXMLFastContextHandlerValue * >(_pHandler);
    1100                 :            : 
    1101         [ #  # ]:          0 :         switch(nToken)
    1102                 :            :         {
    1103                 :            :         case NS_math|OOXML_val:
    1104         [ #  # ]:          0 :             pHandler->setValue(pValue);
    1105                 :          0 :             break;
    1106                 :            :         default:
    1107                 :          0 :             break;
    1108                 :            :         }
    1109                 :            :     }
    1110                 :          0 :         break;
    1111                 :            :     case NN_shared_math|DEFINE_CT_BreakBinSub:
    1112                 :            :     {
    1113         [ #  # ]:          0 :         OOXMLFastContextHandlerValue * pHandler = dynamic_cast<OOXMLFastContextHandlerValue * >(_pHandler);
    1114                 :            : 
    1115         [ #  # ]:          0 :         switch(nToken)
    1116                 :            :         {
    1117                 :            :         case NS_math|OOXML_val:
    1118         [ #  # ]:          0 :             pHandler->setValue(pValue);
    1119                 :          0 :             break;
    1120                 :            :         default:
    1121                 :          0 :             break;
    1122                 :            :         }
    1123                 :            :     }
    1124                 :          0 :         break;
    1125                 :            :     default:
    1126                 :          0 :         break;
    1127                 :            :     }
    1128                 :          0 : }
    1129                 :            : 
    1130                 :            : #ifdef DEBUG_FACTORY
    1131                 :            : string OOXMLFactory_shared_math::getName() const
    1132                 :            : {
    1133                 :            :     return "shared-math";
    1134                 :            : }
    1135                 :            : #endif
    1136                 :            : 
    1137                 :            : /// @endcond
    1138 [ +  - ][ +  - ]:         60 : }}

Generated by: LCOV version 1.10