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
if (NULL != Data && Release)
delete [] Data;
}
CAscImageRaw& operator=(const CAscImageRaw& oSrc)
{
Data = oSrc.Data;
Width = oSrc.Width;
Height = oSrc.Height;
Release = false;
return *this;
}
};
class CAscInsertImage
......@@ -2012,35 +2021,25 @@ namespace NSEditorApi
namespace NSEditorApi
{
class CAscParagraphStyleImage
class CAscStyleImage
{
public:
std::wstring Name;
int Type;
int Priority;
CAscImageRaw Image;
public:
CAscParagraphStyleImage()
CAscStyleImage()
{
Type = c_oAscStyleImage_Default;
Priority = 0;
}
};
class CAscTableStyleImage
class CAscStyleImages
{
public:
std::wstring Name;
int Type;
CAscImageRaw Image;
std::vector<CAscStyleImage> m_arStyles;
public:
CAscTableStyleImage()
CAscStyleImages()
{
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