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

ParaProp

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@57802 954022d7-b5bf-4e40-9824-e11837661b57
parent 38a3083b
...@@ -751,6 +751,7 @@ namespace NSEditorApi ...@@ -751,6 +751,7 @@ namespace NSEditorApi
js_wrapper<double> m_dRight; js_wrapper<double> m_dRight;
js_wrapper<double> m_dFirstLine; js_wrapper<double> m_dFirstLine;
public:
CAscParagraphInd() CAscParagraphInd()
{ {
} }
...@@ -766,9 +767,9 @@ namespace NSEditorApi ...@@ -766,9 +767,9 @@ namespace NSEditorApi
js_wrapper<double> m_dLine; js_wrapper<double> m_dLine;
js_wrapper<int> m_nLineRule; js_wrapper<int> m_nLineRule;
js_wrapper<double> m_dBefore; js_wrapper<double> m_dBefore;
js_wrapper<bool> m_dBeforeAuto; js_wrapper<bool> m_bBeforeAuto;
js_wrapper<double> m_dAfter; js_wrapper<double> m_dAfter;
js_wrapper<bool> m_dAfterAuto; js_wrapper<bool> m_bAfterAuto;
public: public:
...@@ -871,6 +872,19 @@ namespace NSEditorApi ...@@ -871,6 +872,19 @@ namespace NSEditorApi
m_pTabs = NULL; m_pTabs = NULL;
m_lCount = 0; m_lCount = 0;
} }
~CAscParagraphTabs()
{
if (NULL != m_pTabs)
delete [] m_pTabs;
}
int GetCount() { return m_lCount; }
CAscParagraphTab* GetTabs() { return m_pTabs; }
void SetTabs(CAscParagraphTab* pTabs, int nCount)
{
m_pTabs = pTabs;
m_lCount = nCount;
}
}; };
class CAscParagraphFrame class CAscParagraphFrame
...@@ -973,7 +987,6 @@ namespace NSEditorApi ...@@ -973,7 +987,6 @@ namespace NSEditorApi
js_wrapper<CAscListType> m_oListType; js_wrapper<CAscListType> m_oListType;
js_wrapper<std::wstring> m_sStyle; js_wrapper<std::wstring> m_sStyle;
js_wrapper<int> m_nJc; js_wrapper<int> m_nJc;
js_wrapper<CAscParagraphSpacing> m_oSpacing;
public: public:
...@@ -1017,7 +1030,6 @@ namespace NSEditorApi ...@@ -1017,7 +1030,6 @@ namespace NSEditorApi
LINK_PROPERTY_OBJECT_JS(CAscListType, ListType) LINK_PROPERTY_OBJECT_JS(CAscListType, ListType)
LINK_PROPERTY_STRING_JS(Style) LINK_PROPERTY_STRING_JS(Style)
LINK_PROPERTY_INT_JS(Jc) LINK_PROPERTY_INT_JS(Jc)
LINK_PROPERTY_OBJECT_JS(CAscParagraphSpacing, Spacing)
}; };
} }
......
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