Commit 6d2ce83a authored by Elen.Subbotina's avatar Elen.Subbotina Committed by Alexander Trofimov

ASCOfficePdfWriter (1.0.1.202)

add AdditionalParam: InitializeFromFolder (= SetFontDir)

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@62659 954022d7-b5bf-4e40-9824-e11837661b57
parent a91afae8
...@@ -132,7 +132,8 @@ HRESULT CPdfWriterLib::SetAdditionalParam (CString ParamName, VARIANT ParamValue ...@@ -132,7 +132,8 @@ HRESULT CPdfWriterLib::SetAdditionalParam (CString ParamName, VARIANT ParamValue
m_wsTempDir = CString( ParamValue.bstrVal ); m_wsTempDir = CString( ParamValue.bstrVal );
DocSetTempDir( m_pDocument, (wchar_t*)m_wsTempDir.c_str() ); DocSetTempDir( m_pDocument, (wchar_t*)m_wsTempDir.c_str() );
} }
else if ( _T("FontDirectory") == sParamName && VT_BSTR == ParamValue.vt ) else if ( (_T("FontDirectory") == sParamName
|| _T("InitializeFromFolder")== sParamName ) && VT_BSTR == ParamValue.vt )
{ {
std::wstring strFontDirectory = std::wstring( ParamValue.bstrVal ); std::wstring strFontDirectory = std::wstring( ParamValue.bstrVal );
SetFontDir(strFontDirectory); SetFontDir(strFontDirectory);
......
...@@ -2,6 +2,6 @@ ...@@ -2,6 +2,6 @@
//1 //1
//0 //0
//1 //1
//200 //203
#define INTVER 1,0,1,200 #define INTVER 1,0,1,203
#define STRVER "1,0,1,200\0" #define STRVER "1,0,1,203\0"
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