Commit b41b5edb authored by ElenaSubbotina's avatar ElenaSubbotina

DocxFormatRead - fix vml shape

parent 695c38c8
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <map>
#include <cpdoccore/CPOptional.h> #include <cpdoccore/CPOptional.h>
...@@ -42,6 +43,8 @@ ...@@ -42,6 +43,8 @@
#include "stylewrap.h" #include "stylewrap.h"
#include "gradientstyle.h" #include "gradientstyle.h"
namespace OOX {namespace Vml { class CShapeType; }}
namespace cpdoccore { namespace cpdoccore {
namespace odf_writer namespace odf_writer
{ {
...@@ -53,16 +56,16 @@ class odf_text_context; ...@@ -53,16 +56,16 @@ class odf_text_context;
class odf_drawing_context class odf_drawing_context
{ {
public: public:
odf_drawing_context(odf_conversion_context *odf_context); odf_drawing_context (odf_conversion_context *odf_context);
~odf_drawing_context(); ~odf_drawing_context ();
void set_drawings_rect(_CP_OPT(double) x_pt, _CP_OPT(double) y_pt, _CP_OPT(double) width_pt, _CP_OPT(double) height_pt); void set_drawings_rect (_CP_OPT(double) x_pt, _CP_OPT(double) y_pt, _CP_OPT(double) width_pt, _CP_OPT(double) height_pt);
void clear(); void clear ();
void set_styles_context(odf_style_context* styles_context);//для embedded void set_styles_context (odf_style_context* styles_context);//для embedded
void set_header_state(bool Val); void set_header_state (bool Val);
void set_footer_state(bool Val); void set_footer_state (bool Val);
void check_anchor(); void check_anchor ();
void set_margin_left (double valPt); void set_margin_left (double valPt);
void set_margin_right (double valPt); void set_margin_right (double valPt);
...@@ -75,15 +78,15 @@ public: ...@@ -75,15 +78,15 @@ public:
void set_object_background(bool Val); void set_object_background(bool Val);
void set_object_foreground(bool Val); void set_object_foreground(bool Val);
void set_vertical_rel(int from); void set_vertical_rel (int from);
void set_vertical_pos(int align); void set_vertical_pos (int align);
void set_vertical_pos(double offset_pt); void set_vertical_pos (double offset_pt);
void set_horizontal_rel(int from); void set_horizontal_rel (int from);
void set_horizontal_pos(int align); void set_horizontal_pos (int align);
void set_horizontal_pos(double offset_pt); void set_horizontal_pos (double offset_pt);
void set_wrap_style(odf_types::style_wrap::type style); void set_wrap_style (odf_types::style_wrap::type style);
void set_overlap (bool val); void set_overlap (bool val);
/////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////
...@@ -107,18 +110,19 @@ public: ...@@ -107,18 +110,19 @@ public:
void set_group_shift (double x, double y); void set_group_shift (double x, double y);
void end_group(); void end_group();
void start_shape(int type); void start_shape (int type);
void end_shape(); void end_shape ();
bool change_text_box_2_wordart(); bool change_text_box_2_wordart();
void start_image(std::wstring file_path); void start_image (std::wstring file_path);
void end_image(); void end_image ();
void start_text_box(); void start_text_box ();
void set_text_box_min_size(bool val); void set_text_box_min_size (bool val);
void set_text_box_min_size(double w_pt, double h_pt); void set_text_box_min_size (double w_pt, double h_pt);
void set_text_box_parent_style(std::wstring style_name); void set_text_box_parent_style (std::wstring style_name);
void end_text_box(); void end_text_box ();
void start_object(std::wstring name); void start_object(std::wstring name);
void end_object(); void end_object();
...@@ -127,83 +131,83 @@ public: ...@@ -127,83 +131,83 @@ public:
office_element_ptr & get_root_element(); office_element_ptr & get_root_element();
void start_element(office_element_ptr & elm, office_element_ptr style_elm = office_element_ptr()); void start_element (office_element_ptr & elm, office_element_ptr style_elm = office_element_ptr());
void end_element(); void end_element ();
bool is_exist_content(); bool is_exist_content();
////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////
void set_path(std::wstring path_string); void set_path (std::wstring path_string);
void add_path_element(std::wstring command, std::wstring & elm); void add_path_element (std::wstring command, std::wstring & elm);
void add_modifier(std::wstring modifier); void add_modifier (std::wstring modifier);
void set_viewBox(double W, double H); void set_viewBox (double W, double H);
void finalize(office_element_ptr & root_elm); void finalize(office_element_ptr & root_elm);
/////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////
void set_size( _CP_OPT(double) & width_pt, _CP_OPT(double) & height_pt); void set_size ( _CP_OPT(double) & width_pt, _CP_OPT(double) & height_pt);
void set_position(_CP_OPT(double) & x_pt, _CP_OPT(double) & y_pt); void set_position (_CP_OPT(double) & x_pt, _CP_OPT(double) & y_pt);
void set_position_line(_CP_OPT(double) & x_pt, _CP_OPT(double) & y_pt, _CP_OPT(double) & x1_pt, _CP_OPT(double) & y1_pt); void set_position_line (_CP_OPT(double) & x_pt, _CP_OPT(double) & y_pt, _CP_OPT(double) & x1_pt, _CP_OPT(double) & y1_pt);
void get_size( double & width_pt, double & height_pt); void get_size ( double & width_pt, double & height_pt);
void set_name(std::wstring name); void set_name (std::wstring name);
void set_z_order(int id); void set_z_order (int id);
void set_flip_H(bool bVal); void set_flip_H (bool bVal);
void set_flip_V(bool bVal); void set_flip_V (bool bVal);
void set_rotate(double iVal); void set_rotate (double iVal);
void set_no_fill(); void set_no_fill ();
void set_type_fill(int type);//for area - temp for objects void set_type_fill (int type);//for area - temp for objects
void set_solid_fill(std::wstring hexColor); void set_solid_fill (std::wstring hexColor);
void set_opacity(double percent); void set_opacity (double percent);
////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////
void start_area_properties(); void start_area_properties();
void end_area_properties(); void end_area_properties();
void start_line_properties(); void start_line_properties ();
void set_line_width(double pt); void set_line_width (double pt);
void set_line_dash_preset(int style); void set_line_dash_preset (int style);
void set_line_head(int type, int len, int width); void set_line_head (int type, int len, int width);
void set_line_tail(int type, int len, int width); void set_line_tail (int type, int len, int width);
std::wstring add_marker_style(int type); std::wstring add_marker_style(int type);
void end_line_properties(); void end_line_properties ();
//void start_shadow_properties(); //void start_shadow_properties();
//void end_shadow_properties(); //void end_shadow_properties();
// пока одной функией .. // пока одной функией ..
void set_shadow(int type, std::wstring hexColor, _CP_OPT(double) opacity, double dist_pt, double dist_pt_y = -1); void set_shadow (int type, std::wstring hexColor, _CP_OPT(double) opacity, double dist_pt, double dist_pt_y = -1);
void set_text(odf_text_context* text_context); void set_text (odf_text_context* text_context);
void set_textarea_vertical_align(int align); void set_textarea_vertical_align(int align);
void set_textarea_padding(double left,double top,double right,double bottom);//in cm void set_textarea_padding (double left,double top,double right,double bottom);//in cm
void set_textarea_writing_mode(int mode); void set_textarea_writing_mode (int mode);
void set_textarea_wrap(bool val); void set_textarea_wrap (bool val);
void set_textarea_fontcolor(std::wstring hexColor); void set_textarea_fontcolor (std::wstring hexColor);
void set_textarea_font(_CP_OPT(std::wstring) & latin, _CP_OPT(std::wstring) & cs, _CP_OPT(std::wstring) & ea); void set_textarea_font (_CP_OPT(std::wstring) & latin, _CP_OPT(std::wstring) & cs, _CP_OPT(std::wstring) & ea);
////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////
void start_gradient_style(); void start_gradient_style ();
void set_gradient_type(odf_types::gradient_style::type style); void set_gradient_type (odf_types::gradient_style::type style);
void set_gradient_start(std::wstring hexColor, _CP_OPT(double) & intensiv); void set_gradient_start (std::wstring hexColor, _CP_OPT(double) & intensiv);
void set_gradient_end (std::wstring hexColor, _CP_OPT(double) & intensiv); void set_gradient_end (std::wstring hexColor, _CP_OPT(double) & intensiv);
void set_gradient_rect(double l, double t, double r,double b); void set_gradient_rect( double l, double t, double r,double b);
void set_gradient_center(double cx, double cy); void set_gradient_center(double cx, double cy);
void set_gradient_angle(double angle); void set_gradient_angle (double angle);
void end_gradient_style(); void end_gradient_style ();
//////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////
void start_opacity_style(); void start_opacity_style ();
void set_opacity_type(odf_types::gradient_style style); void set_opacity_type (odf_types::gradient_style style);
void set_opacity_start(double val); void set_opacity_start (double val);
void set_opacity_end (double val); void set_opacity_end (double val);
void set_opacity_rect(double l, double t, double r,double b); void set_opacity_rect (double l, double t, double r,double b);
void set_opacity_angle(double angle); void set_opacity_angle (double angle);
void end_opacity_style(); void end_opacity_style ();
////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////
void start_hatch_style(); void start_hatch_style();
void set_hatch_line_color(std::wstring hexColor); void set_hatch_line_color(std::wstring hexColor);
...@@ -215,16 +219,18 @@ public: ...@@ -215,16 +219,18 @@ public:
void set_bitmap_link(std::wstring link); void set_bitmap_link(std::wstring link);
void end_bitmap_style(); void end_bitmap_style();
////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////
void set_image_style_repeat(int style); void set_image_style_repeat (int style);
void set_image_client_rect_pt(double l, double t, double r, double b); void set_image_client_rect_pt (double l, double t, double r, double b);
void set_image_client_rect_inch(double l, double t, double r, double b); void set_image_client_rect_inch (double l, double t, double r, double b);
void set_bitmap_tile_align(int align); void set_bitmap_tile_align (int align);
void set_bitmap_tile_scale_x(double scale_x); void set_bitmap_tile_scale_x (double scale_x);
void set_bitmap_tile_scale_y(double scale_y); void set_bitmap_tile_scale_y (double scale_y);
void set_bitmap_tile_translate_y(double y); void set_bitmap_tile_translate_y(double y);
void set_bitmap_tile_translate_x(double x); void set_bitmap_tile_translate_x(double x);
std::map<std::wstring, OOX::Vml::CShapeType*> m_mapVmlShapeTypes;
private: private:
void start_frame(); void start_frame();
......
...@@ -55,7 +55,19 @@ void OoxConverter::convert(OOX::Vml::CShapeType *vml_shape_type) ...@@ -55,7 +55,19 @@ void OoxConverter::convert(OOX::Vml::CShapeType *vml_shape_type)
if (vml_shape_type == NULL) return; if (vml_shape_type == NULL) return;
//custom shape //custom shape
//save cash to other shape with this type
if (vml_shape_type->m_sId.IsInit())
{
std::wstring sId (vml_shape_type->m_sId.get());
if (odf_context()->drawing_context()->m_mapVmlShapeTypes.find( sId ) ==
odf_context()->drawing_context()->m_mapVmlShapeTypes.end())
{
odf_context()->drawing_context()->m_mapVmlShapeTypes.insert(odf_context()->drawing_context()->m_mapVmlShapeTypes.begin(),
std::pair<std::wstring, OOX::Vml::CShapeType*>(sId, vml_shape_type));
}
}
//m_oPreferRelative//типо можно менять размер //m_oPreferRelative//типо можно менять размер
for (unsigned int i=0 ; i < vml_shape_type->m_arrItems.size();i++) for (unsigned int i=0 ; i < vml_shape_type->m_arrItems.size();i++)
......
...@@ -2042,9 +2042,12 @@ void DocxConverter::convert(OOX::Logic::CPicture* oox_pic) ...@@ -2042,9 +2042,12 @@ void DocxConverter::convert(OOX::Logic::CPicture* oox_pic)
else // and oox_pic->m_oShapeRect else // and oox_pic->m_oShapeRect
{ {
bool bSet = false; bool bSet = false;
OOX::Vml::CShapeType* shape_type = NULL;
if (oox_pic->m_oShape.IsInit()) if (oox_pic->m_oShape.IsInit())
{ {
OOX::Vml::SptType sptType = oox_pic->m_oShapeType->m_oSpt.IsInit() ? static_cast<OOX::Vml::SptType>(oox_pic->m_oShapeType->m_oSpt->GetValue()) : OOX::Vml::sptNotPrimitive; OOX::Vml::SptType sptType = oox_pic->m_oShape->m_oSpt.IsInit() ? static_cast<OOX::Vml::SptType>(oox_pic->m_oShape->m_oSpt->GetValue()) : OOX::Vml::sptNotPrimitive;
if (sptType != OOX::Vml::SptType::sptNotPrimitive) if (sptType != OOX::Vml::SptType::sptNotPrimitive)
{ {
odf_context()->drawing_context()->set_name(std::wstring (L"Custom") + boost::lexical_cast<std::wstring>(sptType)); odf_context()->drawing_context()->set_name(std::wstring (L"Custom") + boost::lexical_cast<std::wstring>(sptType));
...@@ -2065,12 +2068,43 @@ void DocxConverter::convert(OOX::Logic::CPicture* oox_pic) ...@@ -2065,12 +2068,43 @@ void DocxConverter::convert(OOX::Logic::CPicture* oox_pic)
odf_context()->drawing_context()->set_line_width(1.); odf_context()->drawing_context()->set_line_width(1.);
bSet = true; bSet = true;
} }
if (oox_pic->m_oShape->m_sType.IsInit())
{
std::wstring type( oox_pic->m_oShape->m_sType.get());
type = type.substr(1);//without #
std::map<std::wstring, OOX::Vml::CShapeType*>::iterator it = odf_context()->drawing_context()->m_mapVmlShapeTypes.find(type);
if ( it != odf_context()->drawing_context()->m_mapVmlShapeTypes.end())
{
shape_type = it->second;
sptType = shape_type->m_oSpt.IsInit() ? static_cast<OOX::Vml::SptType>(shape_type->m_oSpt->GetValue()) : OOX::Vml::sptNotPrimitive;
if (!bSet && sptType != OOX::Vml::SptType::sptNotPrimitive)
{
odf_context()->drawing_context()->start_shape(OOX::Spt2ShapeType(sptType));
bSet = true;
}
}
if (!bSet)
{
int pos = oox_pic->m_oShape->m_sType->Find(_T("#_x0000_t"));
if (pos >= 0)
{
sptType = (OOX::Vml::SptType)_wtoi(oox_pic->m_oShape->m_sType->Mid(pos + 9, oox_pic->m_oShape->m_sType->GetLength() - pos - 9).GetString());
odf_context()->drawing_context()->start_shape(OOX::Spt2ShapeType(sptType));
bSet = true;
}
}
}
} }
if (!bSet) if (!bSet)
{ {
odf_context()->drawing_context()->set_name(L"Rect"); odf_context()->drawing_context()->set_name(L"Rect");
odf_context()->drawing_context()->start_shape(SimpleTypes::shapetypeRect); odf_context()->drawing_context()->start_shape(SimpleTypes::shapetypeRect);
} }
OoxConverter::convert(shape_type);
OoxConverter::convert(oox_pic->m_oShape.GetPointer()); OoxConverter::convert(oox_pic->m_oShape.GetPointer());
odf_context()->drawing_context()->end_shape(); odf_context()->drawing_context()->end_shape();
} }
......
...@@ -55,6 +55,7 @@ public: ...@@ -55,6 +55,7 @@ public:
{ {
if (m_ooxBorder == NULL && m_ooxPageBorder == NULL) return false; if (m_ooxBorder == NULL && m_ooxPageBorder == NULL) return false;
int type_border = -1;
if (m_ooxPageBorder) if (m_ooxPageBorder)
{ {
if ((m_ooxPageBorder->m_oColor.IsInit()) && (m_ooxPageBorder->m_oColor->GetValue() == SimpleTypes::hexcolorRGB)) if ((m_ooxPageBorder->m_oColor.IsInit()) && (m_ooxPageBorder->m_oColor->GetValue() == SimpleTypes::hexcolorRGB))
...@@ -70,16 +71,34 @@ public: ...@@ -70,16 +71,34 @@ public:
{ {
oOutputBorder.m_nWidth = RtfUtility::pt2Twip(m_ooxPageBorder->m_oSz->ToPoints());// = 5 * nSize / 2;//w:sz 1/8 twips (equivalent to 1/576th of an inch) oOutputBorder.m_nWidth = RtfUtility::pt2Twip(m_ooxPageBorder->m_oSz->ToPoints());// = 5 * nSize / 2;//w:sz 1/8 twips (equivalent to 1/576th of an inch)
} }
if (m_ooxPageBorder->m_oVal.IsInit())
type_border = m_ooxPageBorder->m_oVal->GetValue();
} }
if (m_ooxBorder) if (m_ooxBorder)
{ {
if (m_ooxBorder->m_oVal.IsInit()) if (m_ooxBorder->m_oVal.IsInit())
{ {
type_border = m_ooxBorder->m_oVal->GetValue();
}
//if (m_ooxBorder->m_oVal->GetValue() == SimpleTypes::bordervalueNone ) return true; //if (m_ooxBorder->m_oVal->GetValue() == SimpleTypes::bordervalueNone ) return true;
// // это отсутствие свойства а не бордера (Nil) // // это отсутствие свойства а не бордера (Nil
switch(m_ooxBorder->m_oVal->GetValue()) if ((m_ooxBorder->m_oColor.IsInit()) && (m_ooxBorder->m_oColor->GetValue() == SimpleTypes::hexcolorRGB))
{
RtfColor oColor(m_ooxBorder->m_oColor->Get_R(), m_ooxBorder->m_oColor->Get_G(), m_ooxBorder->m_oColor->Get_B());
oOutputBorder.m_nColor = oParam.oRtf->m_oColorTable.AddItem( oColor );
}
if (m_ooxBorder->m_oSpace.IsInit())
{
oOutputBorder.m_nSpace = RtfUtility::pt2Twip(m_ooxBorder->m_oSpace->ToPoints());
}
if (m_ooxBorder->m_oSz.IsInit())
{
oOutputBorder.m_nWidth = RtfUtility::pt2Twip(m_ooxBorder->m_oSz->ToPoints());// = 5 * nSize / 2;//w:sz 1/8 twips (equivalent to 1/576th of an inch)
}
}
switch(type_border)
{ {
//case SimpleTypes::bordervalueApples : return _T("apples"); //case SimpleTypes::bordervalueApples : return _T("apples");
//case SimpleTypes::bordervalueArchedScallops : return _T("archedScallops"); //case SimpleTypes::bordervalueArchedScallops : return _T("archedScallops");
...@@ -277,28 +296,13 @@ public: ...@@ -277,28 +296,13 @@ public:
//oOutputBorder.m_eType = RtfBorder::bt_brdrsh; //oOutputBorder.m_eType = RtfBorder::bt_brdrsh;
//oOutputBorder.m_eType = RtfBorder::bt_brdrhair; //oOutputBorder.m_eType = RtfBorder::bt_brdrhair;
default : oOutputBorder.m_eType = RtfBorder::bt_brdrs; break; //default : oOutputBorder.m_eType = RtfBorder::bt_brdrs; break;
} }
}
if (oOutputBorder.m_eType != RtfBorder::bt_none) if (type_border >=0 && oOutputBorder.m_eType == PROP_DEF)
{ oOutputBorder.m_eType = RtfBorder::bt_brdrs;
if ((m_ooxBorder->m_oColor.IsInit()) && (m_ooxBorder->m_oColor->GetValue() == SimpleTypes::hexcolorRGB))
{
RtfColor oColor(m_ooxBorder->m_oColor->Get_R(), m_ooxBorder->m_oColor->Get_G(), m_ooxBorder->m_oColor->Get_B());
oOutputBorder.m_nColor = oParam.oRtf->m_oColorTable.AddItem( oColor );
}
if (m_ooxBorder->m_oSpace.IsInit())
{
oOutputBorder.m_nSpace = RtfUtility::pt2Twip(m_ooxBorder->m_oSpace->ToPoints());
}
if (m_ooxBorder->m_oSz.IsInit())
{
oOutputBorder.m_nWidth = RtfUtility::pt2Twip(m_ooxBorder->m_oSz->ToPoints());// = 5 * nSize / 2;//w:sz 1/8 twips (equivalent to 1/576th of an inch)
}
}
}
return true; return true;
} }
}; };
...@@ -406,16 +406,17 @@ CString RtfSectionProperty::RenderToRtf(RenderParameter oRenderParameter) ...@@ -406,16 +406,17 @@ CString RtfSectionProperty::RenderToRtf(RenderParameter oRenderParameter)
RENDER_RTF_BOOL( m_bLandscapeFormat, sResult, _T("lndscpsxn") ) RENDER_RTF_BOOL( m_bLandscapeFormat, sResult, _T("lndscpsxn") )
} }
RENDER_RTF_BOOL( m_bTitlePage, sResult, _T("titlepg") ) RENDER_RTF_BOOL ( m_bTitlePage, sResult, _T("titlepg") )
RENDER_RTF_INT( m_nHeaderTop, sResult, _T("headery") ) RENDER_RTF_INT ( m_nHeaderTop, sResult, _T("headery") )
RENDER_RTF_INT( m_nFooterBottom, sResult, _T("footery") ) RENDER_RTF_INT ( m_nFooterBottom, sResult, _T("footery") )
//Page Numbers //Page Numbers
RENDER_RTF_INT( m_nPageNumberStart, sResult, _T("pgnstarts") ) RENDER_RTF_INT ( m_nPageNumberStart, sResult, _T("pgnstarts") )
RENDER_RTF_BOOL( m_bPageNumberContinuos, sResult, _T("pgncont") ) RENDER_RTF_BOOL ( m_bPageNumberContinuos, sResult, _T("pgncont") )
RENDER_RTF_BOOL( m_bPageNumberRestart, sResult, _T("pgnrestart") ) RENDER_RTF_BOOL ( m_bPageNumberRestart, sResult, _T("pgnrestart") )
RENDER_RTF_INT( m_nPageNumberX, sResult, _T("pgnx") ) RENDER_RTF_INT ( m_nPageNumberX, sResult, _T("pgnx") )
RENDER_RTF_INT( m_nPageNumberY, sResult, _T("pgny") ) RENDER_RTF_INT ( m_nPageNumberY, sResult, _T("pgny") )
switch( m_ePageNumberFormat ) switch( m_ePageNumberFormat )
{ {
case pnf_pgndec: sResult += _T("\\pgndec" ); break; case pnf_pgndec: sResult += _T("\\pgndec" ); break;
......
...@@ -2970,9 +2970,15 @@ namespace SimpleTypes ...@@ -2970,9 +2970,15 @@ namespace SimpleTypes
return 0; return 0;
int nPos = sValue.Find( _T(",") ); int nPos = sValue.Find( _T(",") );
if ( -1 == nPos )
return 0;
if ( -1 == nPos )
{
//only x coord
sValue.Replace(_T("@"), _T(""));
m_nX = sValue.IsEmpty() ? 0 : _wtoi(sValue );
}
else
{
CString strX = sValue.Mid( 0, nPos ); CString strX = sValue.Mid( 0, nPos );
CString strY = sValue.Mid( nPos + 1, nLen - nPos - 1 ) ; CString strY = sValue.Mid( nPos + 1, nLen - nPos - 1 ) ;
...@@ -2981,6 +2987,7 @@ namespace SimpleTypes ...@@ -2981,6 +2987,7 @@ namespace SimpleTypes
m_nX = strX.IsEmpty() ? 0 : _wtoi(strX ); m_nX = strX.IsEmpty() ? 0 : _wtoi(strX );
m_nY = strY.IsEmpty() ? 0 : _wtoi(strY ); m_nY = strY.IsEmpty() ? 0 : _wtoi(strY );
}
return 0; return 0;
} }
......
...@@ -98,7 +98,7 @@ namespace OOX ...@@ -98,7 +98,7 @@ namespace OOX
SimpleTypes::CTrueFalse<SimpleTypes::booleanFalse> m_oHrNoShade; SimpleTypes::CTrueFalse<SimpleTypes::booleanFalse> m_oHrNoShade;
SimpleTypes::CDouble m_oHrPct; SimpleTypes::CDouble m_oHrPct;
SimpleTypes::CHrAlign<SimpleTypes::hralignLeft> m_oHrAlign; SimpleTypes::CHrAlign<SimpleTypes::hralignLeft> m_oHrAlign;
SimpleTypes::CTrueFalse<SimpleTypes::booleanTrue> m_oAllowInCell; SimpleTypes::CTrueFalse<SimpleTypes::booleanFalse> m_oAllowInCell;
SimpleTypes::CTrueFalse<SimpleTypes::booleanTrue> m_oAllowOverlap; SimpleTypes::CTrueFalse<SimpleTypes::booleanTrue> m_oAllowOverlap;
SimpleTypes::CTrueFalse<SimpleTypes::booleanFalse> m_oUserDrawn; SimpleTypes::CTrueFalse<SimpleTypes::booleanFalse> m_oUserDrawn;
nullable<SimpleTypes::CColorType<>> m_oBorderTopColor; nullable<SimpleTypes::CColorType<>> m_oBorderTopColor;
...@@ -2897,7 +2897,7 @@ namespace OOX ...@@ -2897,7 +2897,7 @@ namespace OOX
SimpleTypes::CDouble m_oHrPct; SimpleTypes::CDouble m_oHrPct;
SimpleTypes::CHrAlign<SimpleTypes::hralignLeft> m_oHrAlign; SimpleTypes::CHrAlign<SimpleTypes::hralignLeft> m_oHrAlign;
SimpleTypes::CTrueFalse<SimpleTypes::booleanFalse> m_oAllowInCell; SimpleTypes::CTrueFalse<SimpleTypes::booleanFalse> m_oAllowInCell;
SimpleTypes::CTrueFalse<SimpleTypes::booleanFalse> m_oAllowOverlap; SimpleTypes::CTrueFalse<SimpleTypes::booleanTrue> m_oAllowOverlap;
SimpleTypes::CTrueFalse<SimpleTypes::booleanFalse> m_oUserDrawn; SimpleTypes::CTrueFalse<SimpleTypes::booleanFalse> m_oUserDrawn;
nullable<SimpleTypes::CColorType<>> m_oBorderTopColor; nullable<SimpleTypes::CColorType<>> m_oBorderTopColor;
nullable<SimpleTypes::CColorType<>> m_oBorderLeftColor; nullable<SimpleTypes::CColorType<>> m_oBorderLeftColor;
......
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