Commit 1a1b7c62 authored by ElenaSubbotina's avatar ElenaSubbotina Committed by Alexander Trofimov

RtfFormatReader/Writer - конвертация математических формул

parent c896774b
...@@ -3,6 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 9.00 ...@@ -3,6 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005 # Visual Studio 2005
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "RtfFormatLib", "..\RtfFormatLib\Win32\RtfFormatLib.vcproj", "{AF2D00A7-A351-4700-AE88-C1D9ADE29345}" Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "RtfFormatLib", "..\RtfFormatLib\Win32\RtfFormatLib.vcproj", "{AF2D00A7-A351-4700-AE88-C1D9ADE29345}"
ProjectSection(ProjectDependencies) = postProject ProjectSection(ProjectDependencies) = postProject
{A100103A-353E-45E8-A9B8-90B87CC5C0B0} = {A100103A-353E-45E8-A9B8-90B87CC5C0B0}
{9CAA294E-58C3-4CEB-ABA0-CB9786CA5540} = {9CAA294E-58C3-4CEB-ABA0-CB9786CA5540} {9CAA294E-58C3-4CEB-ABA0-CB9786CA5540} = {9CAA294E-58C3-4CEB-ABA0-CB9786CA5540}
EndProjectSection EndProjectSection
EndProject EndProject
...@@ -15,21 +16,21 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libxml2", "..\..\Common\Doc ...@@ -15,21 +16,21 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libxml2", "..\..\Common\Doc
EndProject EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "raster", "..\..\DesktopEditor\raster\raster_vs2005.vcproj", "{9CAA294E-58C3-4CEB-ABA0-CB9786CA5540}" Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "raster", "..\..\DesktopEditor\raster\raster_vs2005.vcproj", "{9CAA294E-58C3-4CEB-ABA0-CB9786CA5540}"
ProjectSection(ProjectDependencies) = postProject ProjectSection(ProjectDependencies) = postProject
{BC52A07C-A797-423D-8C4F-8678805BBB36} = {BC52A07C-A797-423D-8C4F-8678805BBB36}
{0588563C-F05C-428C-B21A-DD74756628B3} = {0588563C-F05C-428C-B21A-DD74756628B3} {0588563C-F05C-428C-B21A-DD74756628B3} = {0588563C-F05C-428C-B21A-DD74756628B3}
{BC52A07C-A797-423D-8C4F-8678805BBB36} = {BC52A07C-A797-423D-8C4F-8678805BBB36}
EndProjectSection EndProjectSection
EndProject EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cximage", "..\..\DesktopEditor\cximage\CxImage\cximage_vs2005.vcproj", "{BC52A07C-A797-423D-8C4F-8678805BBB36}" Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cximage", "..\..\DesktopEditor\cximage\CxImage\cximage_vs2005.vcproj", "{BC52A07C-A797-423D-8C4F-8678805BBB36}"
ProjectSection(ProjectDependencies) = postProject ProjectSection(ProjectDependencies) = postProject
{EE1B576A-07C5-4ACC-920F-81C41DD0C8C1} = {EE1B576A-07C5-4ACC-920F-81C41DD0C8C1}
{43A0E60E-5C4A-4C09-A29B-7683F503BBD7} = {43A0E60E-5C4A-4C09-A29B-7683F503BBD7}
{764C3A2D-FB0F-428E-B1C7-62D1DD2CE239} = {764C3A2D-FB0F-428E-B1C7-62D1DD2CE239}
{DF861D33-9BC1-418C-82B1-581F590FE169} = {DF861D33-9BC1-418C-82B1-581F590FE169}
{0588563C-F05C-428C-B21A-DD74756628B3} = {0588563C-F05C-428C-B21A-DD74756628B3}
{40A69F40-063E-43FD-8543-455495D8733E} = {40A69F40-063E-43FD-8543-455495D8733E}
{9A037A69-D1DF-4505-AB2A-6CB3641C476E} = {9A037A69-D1DF-4505-AB2A-6CB3641C476E}
{FFDA5DA1-BB65-4695-B678-BE59B4A1355D} = {FFDA5DA1-BB65-4695-B678-BE59B4A1355D}
{818753F2-DBB9-4D3B-898A-A604309BE470} = {818753F2-DBB9-4D3B-898A-A604309BE470} {818753F2-DBB9-4D3B-898A-A604309BE470} = {818753F2-DBB9-4D3B-898A-A604309BE470}
{FFDA5DA1-BB65-4695-B678-BE59B4A1355D} = {FFDA5DA1-BB65-4695-B678-BE59B4A1355D}
{9A037A69-D1DF-4505-AB2A-6CB3641C476E} = {9A037A69-D1DF-4505-AB2A-6CB3641C476E}
{40A69F40-063E-43FD-8543-455495D8733E} = {40A69F40-063E-43FD-8543-455495D8733E}
{0588563C-F05C-428C-B21A-DD74756628B3} = {0588563C-F05C-428C-B21A-DD74756628B3}
{DF861D33-9BC1-418C-82B1-581F590FE169} = {DF861D33-9BC1-418C-82B1-581F590FE169}
{764C3A2D-FB0F-428E-B1C7-62D1DD2CE239} = {764C3A2D-FB0F-428E-B1C7-62D1DD2CE239}
{43A0E60E-5C4A-4C09-A29B-7683F503BBD7} = {43A0E60E-5C4A-4C09-A29B-7683F503BBD7}
{EE1B576A-07C5-4ACC-920F-81C41DD0C8C1} = {EE1B576A-07C5-4ACC-920F-81C41DD0C8C1}
EndProjectSection EndProjectSection
EndProject EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "jasper", "..\..\DesktopEditor\cximage\jasper\jasper_vs2005.vcproj", "{FFDA5DA1-BB65-4695-B678-BE59B4A1355D}" Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "jasper", "..\..\DesktopEditor\cximage\jasper\jasper_vs2005.vcproj", "{FFDA5DA1-BB65-4695-B678-BE59B4A1355D}"
...@@ -54,9 +55,9 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "OfficeUtilsLib", "..\..\Off ...@@ -54,9 +55,9 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "OfficeUtilsLib", "..\..\Off
EndProject EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "RtfFormatTest", "..\RtfFormatTest\win32\RtfFormatTest.vcproj", "{0F49D5D1-A8D3-4F97-8BC1-E2F65BB00C10}" Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "RtfFormatTest", "..\RtfFormatTest\win32\RtfFormatTest.vcproj", "{0F49D5D1-A8D3-4F97-8BC1-E2F65BB00C10}"
ProjectSection(ProjectDependencies) = postProject ProjectSection(ProjectDependencies) = postProject
{F8274B05-168E-4D6E-B843-AA7510725363} = {F8274B05-168E-4D6E-B843-AA7510725363}
{A100103A-353E-45E8-A9B8-90B87CC5C0B0} = {A100103A-353E-45E8-A9B8-90B87CC5C0B0}
{AF2D00A7-A351-4700-AE88-C1D9ADE29345} = {AF2D00A7-A351-4700-AE88-C1D9ADE29345} {AF2D00A7-A351-4700-AE88-C1D9ADE29345} = {AF2D00A7-A351-4700-AE88-C1D9ADE29345}
{A100103A-353E-45E8-A9B8-90B87CC5C0B0} = {A100103A-353E-45E8-A9B8-90B87CC5C0B0}
{F8274B05-168E-4D6E-B843-AA7510725363} = {F8274B05-168E-4D6E-B843-AA7510725363}
EndProjectSection EndProjectSection
EndProject EndProject
Global Global
......
...@@ -205,69 +205,88 @@ namespace OOX ...@@ -205,69 +205,88 @@ namespace OOX
nullable<TMathBottomType> m_val; nullable<TMathBottomType> m_val;
}; };
typedef CMathBottomNodes<SimpleTypes::COnOff<>> CAln;
typedef CMathBottomNodes<SimpleTypes::COnOff<>> CAlnScr; template <typename TMathBottomType, EElementType EnumType = OOX::et_Unknown>
typedef CMathBottomNodes<SimpleTypes::CInteger2<>> CArgSz; class CMathBottomNodesEx : public CMathBottomNodes<TMathBottomType>
typedef CMathBottomNodes<SimpleTypes::CYAlign<>> CBaseJc; {
typedef CMathBottomNodes<SimpleTypes::CMChar> CBegChr; public:
typedef CMathBottomNodes<SimpleTypes::CBreakBin<>> CBrkBin; CMathBottomNodesEx(XmlUtils::CXmlNode& oNode)
typedef CMathBottomNodes<SimpleTypes::CBreakBinSub<>> CBrkBinSub; {
typedef CMathBottomNodes<SimpleTypes::CUnSignedInteger<>> CCGp; fromXML( oNode );
typedef CMathBottomNodes<SimpleTypes::CSpacingRule<>> CCGpRule; }
typedef CMathBottomNodes<SimpleTypes::CMChar> CChr; CMathBottomNodesEx(XmlUtils::CXmlLiteReader& oReader)
typedef CMathBottomNodes<SimpleTypes::CInteger255<>> CCount; {
typedef CMathBottomNodes<SimpleTypes::CUnSignedInteger<>> CCSp; fromXML( oReader );
typedef CMathBottomNodes<SimpleTypes::CMJc<>> CDefJc; }
typedef CMathBottomNodes<SimpleTypes::COnOff<>> CDegHide; virtual EElementType getType() const
typedef CMathBottomNodes<SimpleTypes::COnOff<>> CDiff; {
typedef CMathBottomNodes<SimpleTypes::COnOff<>> CDispDef; return EnumType;
typedef CMathBottomNodes<SimpleTypes::CMChar> CEndChr; }
typedef CMathBottomNodes<SimpleTypes::COnOff<>> CGrow; };
typedef CMathBottomNodes<SimpleTypes::COnOff<>> CHideBot;
typedef CMathBottomNodes<SimpleTypes::COnOff<>> CHideLeft; typedef CMathBottomNodesEx<SimpleTypes::COnOff<>, OOX::et_m_aln> CAln;
typedef CMathBottomNodes<SimpleTypes::COnOff<>> CHideRight; typedef CMathBottomNodesEx<SimpleTypes::COnOff<>, OOX::et_m_alnScr> CAlnScr;
typedef CMathBottomNodes<SimpleTypes::COnOff<>> CHideTop; typedef CMathBottomNodesEx<SimpleTypes::CInteger2<>, OOX::et_m_argSz> CArgSz;
typedef CMathBottomNodes<SimpleTypes::CTwipsMeasure> CInterSp; typedef CMathBottomNodesEx<SimpleTypes::CYAlign<>, OOX::et_m_baseJc> CBaseJc;
typedef CMathBottomNodes<SimpleTypes::CLimLoc<>> CIntLim; typedef CMathBottomNodesEx<SimpleTypes::CMChar, OOX::et_m_begChr> CBegChr;
typedef CMathBottomNodes<SimpleTypes::CTwipsMeasure> CIntraSp; typedef CMathBottomNodesEx<SimpleTypes::CBreakBin<>, OOX::et_m_brkBin> CBrkBin;
typedef CMathBottomNodes<SimpleTypes::CMJc<>> CMJc; typedef CMathBottomNodesEx<SimpleTypes::CBreakBinSub<>, OOX::et_m_brkBinSub>CBrkBinSub;
typedef CMathBottomNodes<SimpleTypes::CLimLoc<>> CLimLoc; typedef CMathBottomNodesEx<SimpleTypes::CUnSignedInteger<>, OOX::et_m_cGp> CCGp;
typedef CMathBottomNodes<SimpleTypes::COnOff<>> CLit; typedef CMathBottomNodesEx<SimpleTypes::CSpacingRule<>, OOX::et_m_cGpRule> CCGpRule;
typedef CMathBottomNodes<SimpleTypes::CTwipsMeasure> CLMargin; typedef CMathBottomNodesEx<SimpleTypes::CMChar, OOX::et_m_chr> CChr;
typedef CMathBottomNodes<SimpleTypes::COnOff<>> CMaxDist; typedef CMathBottomNodesEx<SimpleTypes::CInteger255<>, OOX::et_m_count> CCount;
typedef CMathBottomNodes<SimpleTypes::CXAlign<>> CMcJc; typedef CMathBottomNodesEx<SimpleTypes::CUnSignedInteger<>, OOX::et_m_cSp> CCSp;
typedef CMathBottomNodes<SimpleTypes::CLimLoc<>> CNaryLim; typedef CMathBottomNodesEx<SimpleTypes::CMJc<>, OOX::et_m_defJc> CDefJc;
typedef CMathBottomNodes<SimpleTypes::COnOff<>> CNoBreak; typedef CMathBottomNodesEx<SimpleTypes::COnOff<>, OOX::et_m_degHide> CDegHide;
typedef CMathBottomNodes<SimpleTypes::COnOff<>> CNor; typedef CMathBottomNodesEx<SimpleTypes::COnOff<>, OOX::et_m_diff> CDiff;
typedef CMathBottomNodes<SimpleTypes::COnOff<>> CObjDist; typedef CMathBottomNodesEx<SimpleTypes::COnOff<>, OOX::et_m_dispDef> CDispDef;
typedef CMathBottomNodes<SimpleTypes::COnOff<>> COpEmu; typedef CMathBottomNodesEx<SimpleTypes::CMChar, OOX::et_m_endChr> CEndChr;
typedef CMathBottomNodes<SimpleTypes::COnOff<>> CPlcHide; typedef CMathBottomNodesEx<SimpleTypes::COnOff<>, OOX::et_m_grow> CGrow;
typedef CMathBottomNodes<SimpleTypes::CTopBot<>> CPos; typedef CMathBottomNodesEx<SimpleTypes::COnOff<>, OOX::et_m_hideBot> CHideBot;
typedef CMathBottomNodes<SimpleTypes::CTwipsMeasure> CPostSp; typedef CMathBottomNodesEx<SimpleTypes::COnOff<>, OOX::et_m_hideLeft> CHideLeft;
typedef CMathBottomNodes<SimpleTypes::CTwipsMeasure> CPreSp; typedef CMathBottomNodesEx<SimpleTypes::COnOff<>, OOX::et_m_hideRight>CHideRight;
typedef CMathBottomNodes<SimpleTypes::CTwipsMeasure> CRMargin; typedef CMathBottomNodesEx<SimpleTypes::COnOff<>, OOX::et_m_hideTop> CHideTop;
typedef CMathBottomNodes<SimpleTypes::CUnSignedInteger<>> CRSp; typedef CMathBottomNodesEx<SimpleTypes::CTwipsMeasure, OOX::et_m_interSp> CInterSp;
typedef CMathBottomNodes<SimpleTypes::CSpacingRule<>> CRSpRule; typedef CMathBottomNodesEx<SimpleTypes::CLimLoc<>, OOX::et_m_intLim> CIntLim;
typedef CMathBottomNodes<SimpleTypes::CScript<>> CScr; typedef CMathBottomNodesEx<SimpleTypes::CTwipsMeasure, OOX::et_m_intraSp> CIntraSp;
typedef CMathBottomNodes<SimpleTypes::CMChar> CSepChr; typedef CMathBottomNodesEx<SimpleTypes::CMJc<>, OOX::et_m_jc> CMJc;
typedef CMathBottomNodes<SimpleTypes::COnOff<>> CShow; typedef CMathBottomNodesEx<SimpleTypes::CLimLoc<>, OOX::et_m_limLoc> CLimLoc;
typedef CMathBottomNodes<SimpleTypes::CShp<>> CShp; typedef CMathBottomNodesEx<SimpleTypes::COnOff<>, OOX::et_m_lit> CLit;
typedef CMathBottomNodes<SimpleTypes::COnOff<>> CSmallFrac; typedef CMathBottomNodesEx<SimpleTypes::CTwipsMeasure, OOX::et_m_lMargin> CLMargin;
typedef CMathBottomNodes<SimpleTypes::COnOff<>> CStrikeBLTR; typedef CMathBottomNodesEx<SimpleTypes::COnOff<>, OOX::et_m_maxDist> CMaxDist;
typedef CMathBottomNodes<SimpleTypes::COnOff<>> CStrikeH; typedef CMathBottomNodesEx<SimpleTypes::CXAlign<>, OOX::et_m_mcJc> CMcJc;
typedef CMathBottomNodes<SimpleTypes::COnOff<>> CStrikeTLBR; typedef CMathBottomNodesEx<SimpleTypes::CLimLoc<>, OOX::et_m_naryLim> CNaryLim;
typedef CMathBottomNodes<SimpleTypes::COnOff<>> CStrikeV; typedef CMathBottomNodesEx<SimpleTypes::COnOff<>, OOX::et_m_noBreak> CNoBreak;
typedef CMathBottomNodes<SimpleTypes::CStyle<>> CSty; typedef CMathBottomNodesEx<SimpleTypes::COnOff<>, OOX::et_m_nor> CNor;
typedef CMathBottomNodes<SimpleTypes::COnOff<>> CSubHide; typedef CMathBottomNodesEx<SimpleTypes::COnOff<>, OOX::et_m_objDist> CObjDist;
typedef CMathBottomNodes<SimpleTypes::COnOff<>> CSupHide; typedef CMathBottomNodesEx<SimpleTypes::COnOff<>, OOX::et_m_opEmu> COpEmu;
typedef CMathBottomNodes<SimpleTypes::COnOff<>> CTransp; typedef CMathBottomNodesEx<SimpleTypes::COnOff<>, OOX::et_m_plcHide> CPlcHide;
typedef CMathBottomNodes<SimpleTypes::CFType<>> CType; typedef CMathBottomNodesEx<SimpleTypes::CTopBot<>, OOX::et_m_pos> CPos;
typedef CMathBottomNodes<SimpleTypes::CTopBot<>> CVertJc; typedef CMathBottomNodesEx<SimpleTypes::CTwipsMeasure, OOX::et_m_postSp> CPostSp;
typedef CMathBottomNodes<SimpleTypes::CTwipsMeasure> CWrapIndent; typedef CMathBottomNodesEx<SimpleTypes::CTwipsMeasure, OOX::et_m_preSp> CPreSp;
typedef CMathBottomNodes<SimpleTypes::COnOff<>> CWrapRight; typedef CMathBottomNodesEx<SimpleTypes::CTwipsMeasure, OOX::et_m_rMargin> CRMargin;
typedef CMathBottomNodes<SimpleTypes::COnOff<>> CZeroAsc; typedef CMathBottomNodesEx<SimpleTypes::CUnSignedInteger<>, OOX::et_m_rSp> CRSp;
typedef CMathBottomNodes<SimpleTypes::COnOff<>> CZeroDesc; typedef CMathBottomNodesEx<SimpleTypes::CSpacingRule<>, OOX::et_m_rSpRule> CRSpRule;
typedef CMathBottomNodes<SimpleTypes::COnOff<>> CZeroWid; typedef CMathBottomNodesEx<SimpleTypes::CScript<>, OOX::et_m_scr> CScr;
typedef CMathBottomNodesEx<SimpleTypes::CMChar, OOX::et_m_sepChr> CSepChr;
typedef CMathBottomNodesEx<SimpleTypes::COnOff<>, OOX::et_m_show> CShow;
typedef CMathBottomNodesEx<SimpleTypes::CShp<>, OOX::et_m_shp> CShp;
typedef CMathBottomNodesEx<SimpleTypes::COnOff<>, OOX::et_m_smallFrac>CSmallFrac;
typedef CMathBottomNodesEx<SimpleTypes::COnOff<>, OOX::et_m_strikeBLTR>CStrikeBLTR;
typedef CMathBottomNodesEx<SimpleTypes::COnOff<>, OOX::et_m_strikeH> CStrikeH;
typedef CMathBottomNodesEx<SimpleTypes::COnOff<>, OOX::et_m_strikeTLBR>CStrikeTLBR;
typedef CMathBottomNodesEx<SimpleTypes::COnOff<>, OOX::et_m_strikeV> CStrikeV;
typedef CMathBottomNodesEx<SimpleTypes::CStyle<>, OOX::et_m_sty> CSty;
typedef CMathBottomNodesEx<SimpleTypes::COnOff<>, OOX::et_m_subHide> CSubHide;
typedef CMathBottomNodesEx<SimpleTypes::COnOff<>, OOX::et_m_supHide> CSupHide;
typedef CMathBottomNodesEx<SimpleTypes::COnOff<>, OOX::et_m_transp> CTransp;
typedef CMathBottomNodesEx<SimpleTypes::CFType<>, OOX::et_m_type> CType;
typedef CMathBottomNodesEx<SimpleTypes::CTopBot<>, OOX::et_m_vertJc> CVertJc;
typedef CMathBottomNodesEx<SimpleTypes::CTwipsMeasure, OOX::et_m_wrapIndent>CWrapIndent;
typedef CMathBottomNodesEx<SimpleTypes::COnOff<>, OOX::et_m_wrapRight>CWrapRight;
typedef CMathBottomNodesEx<SimpleTypes::COnOff<>, OOX::et_m_zeroAsc> CZeroAsc;
typedef CMathBottomNodesEx<SimpleTypes::COnOff<>, OOX::et_m_zeroDesc> CZeroDesc;
typedef CMathBottomNodesEx<SimpleTypes::COnOff<>, OOX::et_m_zeroWid> CZeroWid;
}// Logic }// Logic
}//OOX }//OOX
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment