Commit e2ed7982 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander Trofimov

table/para styles full

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@58008 954022d7-b5bf-4e40-9824-e11837661b57
parent 972dda16
...@@ -1954,6 +1954,15 @@ namespace NSEditorApi ...@@ -1954,6 +1954,15 @@ namespace NSEditorApi
if (NULL != Data && Release) if (NULL != Data && Release)
delete [] Data; delete [] Data;
} }
CAscImageRaw& operator=(const CAscImageRaw& oSrc)
{
Data = oSrc.Data;
Width = oSrc.Width;
Height = oSrc.Height;
Release = false;
return *this;
}
}; };
class CAscInsertImage class CAscInsertImage
...@@ -2012,35 +2021,25 @@ namespace NSEditorApi ...@@ -2012,35 +2021,25 @@ namespace NSEditorApi
namespace NSEditorApi namespace NSEditorApi
{ {
class CAscParagraphStyleImage class CAscStyleImage
{ {
public: public:
std::wstring Name; std::wstring Name;
int Type;
int Priority;
CAscImageRaw Image; CAscImageRaw Image;
public: public:
CAscParagraphStyleImage() CAscStyleImage()
{ {
Type = c_oAscStyleImage_Default;
Priority = 0;
} }
}; };
class CAscTableStyleImage class CAscStyleImages
{ {
public: public:
std::wstring Name; std::vector<CAscStyleImage> m_arStyles;
int Type;
CAscImageRaw Image;
public: CAscStyleImages()
CAscTableStyleImage()
{ {
Type = c_oAscStyleImage_Default;
} }
}; };
} }
......
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