mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
to utf8
This commit is contained in:
@ -245,7 +245,7 @@ void CTextPFRun_ppt::LoadFromStream(POLE::Stream* pStream, bool bIsIndentation)
|
||||
BYTE flag3 = (BYTE)(dwFlags >> 16);
|
||||
BYTE flag4 = (BYTE)(dwFlags >> 24);
|
||||
|
||||
//<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
//флаги чтения
|
||||
bool hasBullet_ = (0x01 == (0x01 & flag1));
|
||||
bool bulletHasFont_ = (0x02 == (0x02 & flag1));
|
||||
bool bulletHasColor_ = (0x04 == (0x04 & flag1));
|
||||
@ -500,7 +500,7 @@ void CTextCFRun_ppt::LoadFromStream(POLE::Stream* pStream, bool bIsIndentation)
|
||||
if (BaseLineOffset_)
|
||||
m_oRun.BaseLineOffset = (double)StreamUtils::ReadSHORT(pStream);
|
||||
|
||||
// <EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>????
|
||||
// или два последних наоборот????
|
||||
}
|
||||
|
||||
|
||||
@ -639,7 +639,7 @@ void CMetaHeader::ToEMFHeader(Gdiplus::ENHMETAHEADER3* pHeader)
|
||||
pHeader->rclBounds.right = rcBounds.right;
|
||||
pHeader->rclBounds.bottom = rcBounds.bottom;
|
||||
|
||||
// <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><>
|
||||
// нужно перевести в мм
|
||||
pHeader->rclFrame.left = rcBounds.left;
|
||||
pHeader->rclFrame.top = rcBounds.top;
|
||||
pHeader->rclFrame.right = rcBounds.right;
|
||||
@ -662,7 +662,7 @@ void CMetaHeader::ToEMFHeader(Gdiplus::ENHMETAHEADER3* pHeader)
|
||||
pHeader->szlDevice.cx = 200;
|
||||
pHeader->szlDevice.cy = 200;
|
||||
|
||||
// <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><>
|
||||
// нужно перевести в мм
|
||||
pHeader->szlMillimeters.cx = 100;
|
||||
pHeader->szlMillimeters.cy = 100;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user