Commit cfdebca1 authored by Sergey.Konovalov's avatar Sergey.Konovalov Committed by Alexander Trofimov

(2.0.0.184): ASCOfficeDocxFile2

Bug 26712 - Меняется гарнитура параграфа при переоткрытии документа;изменения DocxFormat в chart.

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@58522 954022d7-b5bf-4e40-9824-e11837661b57
parent 8d015c0c
...@@ -2,6 +2,6 @@ ...@@ -2,6 +2,6 @@
//2 //2
//0 //0
//0 //0
//183 //184
#define INTVER 2,0,0,183 #define INTVER 2,0,0,184
#define STRVER "2,0,0,183\0" #define STRVER "2,0,0,184\0"
...@@ -298,7 +298,6 @@ namespace NSBinPptxRW ...@@ -298,7 +298,6 @@ namespace NSBinPptxRW
m_lPosition = lPosition; m_lPosition = lPosition;
m_pStreamCur = m_pStreamData + m_lPosition; m_pStreamCur = m_pStreamData + m_lPosition;
} }
//todo add
void CBinaryFileWriter::Skip(const ULONG& lSize) void CBinaryFileWriter::Skip(const ULONG& lSize)
{ {
CheckBufferSize(lSize); CheckBufferSize(lSize);
...@@ -396,7 +395,6 @@ namespace NSBinPptxRW ...@@ -396,7 +395,6 @@ namespace NSBinPptxRW
m_lPosition += BYTE_SIZEOF; m_lPosition += BYTE_SIZEOF;
m_pStreamCur += BYTE_SIZEOF; m_pStreamCur += BYTE_SIZEOF;
} }
//todo add
void CBinaryFileWriter::WriteBOOL(const bool& bValue) void CBinaryFileWriter::WriteBOOL(const bool& bValue)
{ {
WriteBYTE((bValue == true) ? 1 : 0); WriteBYTE((bValue == true) ? 1 : 0);
...@@ -417,7 +415,6 @@ namespace NSBinPptxRW ...@@ -417,7 +415,6 @@ namespace NSBinPptxRW
m_lPosition += ULONG_SIZEOF; m_lPosition += ULONG_SIZEOF;
m_pStreamCur += ULONG_SIZEOF; m_pStreamCur += ULONG_SIZEOF;
} }
//todo add
void CBinaryFileWriter::WriteLONG(const long& lValue) void CBinaryFileWriter::WriteLONG(const long& lValue)
{ {
CheckBufferSize(LONG_SIZEOF); CheckBufferSize(LONG_SIZEOF);
...@@ -439,7 +436,6 @@ namespace NSBinPptxRW ...@@ -439,7 +436,6 @@ namespace NSBinPptxRW
long _val = (long)(dValue * 100000); long _val = (long)(dValue * 100000);
WriteLONG(_val); WriteLONG(_val);
} }
//todo add
void CBinaryFileWriter::WriteDoubleReal(const double& dValue) void CBinaryFileWriter::WriteDoubleReal(const double& dValue)
{ {
CheckBufferSize(DOUBLE_SIZEOF); CheckBufferSize(DOUBLE_SIZEOF);
...@@ -495,7 +491,6 @@ namespace NSBinPptxRW ...@@ -495,7 +491,6 @@ namespace NSBinPptxRW
WCHAR* pChars = sBuffer.GetBuffer(); WCHAR* pChars = sBuffer.GetBuffer();
WriteStringW(pChars); WriteStringW(pChars);
} }
//todo add
void CBinaryFileWriter::WriteStringW2(const WCHAR* sBuffer) void CBinaryFileWriter::WriteStringW2(const WCHAR* sBuffer)
{ {
LONG lSize = __wstrlen(sBuffer); LONG lSize = __wstrlen(sBuffer);
...@@ -511,12 +506,10 @@ namespace NSBinPptxRW ...@@ -511,12 +506,10 @@ namespace NSBinPptxRW
m_lPosition += lSizeMem; m_lPosition += lSizeMem;
m_pStreamCur += lSizeMem; m_pStreamCur += lSizeMem;
} }
//todo add
void CBinaryFileWriter::WriteStringW2(CString& sBuffer) void CBinaryFileWriter::WriteStringW2(CString& sBuffer)
{ {
WriteStringW2(sBuffer.GetBuffer()); WriteStringW2(sBuffer.GetBuffer());
} }
//todo add
void CBinaryFileWriter::WriteStringW3(const WCHAR* sBuffer) void CBinaryFileWriter::WriteStringW3(const WCHAR* sBuffer)
{ {
LONG lSize = __wstrlen(sBuffer); LONG lSize = __wstrlen(sBuffer);
...@@ -528,7 +521,6 @@ namespace NSBinPptxRW ...@@ -528,7 +521,6 @@ namespace NSBinPptxRW
m_lPosition += lSizeMem; m_lPosition += lSizeMem;
m_pStreamCur += lSizeMem; m_pStreamCur += lSizeMem;
} }
//todo add
void CBinaryFileWriter::WriteStringW3(CString& sBuffer) void CBinaryFileWriter::WriteStringW3(CString& sBuffer)
{ {
WriteStringW3(sBuffer.GetBuffer()); WriteStringW3(sBuffer.GetBuffer());
...@@ -1127,7 +1119,6 @@ namespace NSBinPptxRW ...@@ -1127,7 +1119,6 @@ namespace NSBinPptxRW
return 1; return 1;
return Seek(m_lPos + _skip); return Seek(m_lPos + _skip);
} }
///todo add
bool CBinaryFileReader::Peek(int nSizeToRead = 0) bool CBinaryFileReader::Peek(int nSizeToRead = 0)
{ {
return !(m_lPos + nSizeToRead > m_lSize); return !(m_lPos + nSizeToRead > m_lSize);
...@@ -1178,12 +1169,10 @@ namespace NSBinPptxRW ...@@ -1178,12 +1169,10 @@ namespace NSBinPptxRW
{ {
return (LONG)GetULong(); return (LONG)GetULong();
} }
//todo add
double CBinaryFileReader::GetDouble() double CBinaryFileReader::GetDouble()
{ {
return 1.0 * GetLong() / 100000; return 1.0 * GetLong() / 100000;
} }
//todo add
// 8 byte // 8 byte
double CBinaryFileReader::GetDoubleReal() double CBinaryFileReader::GetDoubleReal()
{ {
...@@ -1272,7 +1261,6 @@ namespace NSBinPptxRW ...@@ -1272,7 +1261,6 @@ namespace NSBinPptxRW
{ {
return m_pData; return m_pData;
} }
//todo add
BYTE* CBinaryFileReader::GetPointer(int nSize = 0) BYTE* CBinaryFileReader::GetPointer(int nSize = 0)
{ {
if (m_lPos + nSize > m_lSize) if (m_lPos + nSize > m_lSize)
......
...@@ -764,7 +764,7 @@ CFontInfo* CFontList::GetByParams(const CFontSelectFormat& oSelect) ...@@ -764,7 +764,7 @@ CFontInfo* CFontList::GetByParams(const CFontSelectFormat& oSelect)
// nCurPenalty += GetSigPenalty( arrCandRanges, arrReqRanges ); // nCurPenalty += GetSigPenalty( arrCandRanges, arrReqRanges );
//} //}
unsigned char unCharset = 0; unsigned char unCharset = UNKNOWN_CHARSET;
if (NULL != oSelect.unCharset) if (NULL != oSelect.unCharset)
unCharset = *oSelect.unCharset; unCharset = *oSelect.unCharset;
......
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