Kaydet (Commit) a789d8a4 authored tarafından Miklos Vajna's avatar Miklos Vajna

Implement RTF_ANSICPG

üst ea190eaa
...@@ -2020,6 +2020,9 @@ int RTFDocumentImpl::dispatchValue(RTFKeyword nKeyword, int nParam) ...@@ -2020,6 +2020,9 @@ int RTFDocumentImpl::dispatchValue(RTFKeyword nKeyword, int nParam)
m_aFontEncodings[m_nCurrentFontIndex] = rtl_getTextEncodingFromWindowsCodePage(aRTFEncodings[i].codepage); m_aFontEncodings[m_nCurrentFontIndex] = rtl_getTextEncodingFromWindowsCodePage(aRTFEncodings[i].codepage);
} }
break; break;
case RTF_ANSICPG:
m_aStates.top().nCurrentEncoding = rtl_getTextEncodingFromWindowsCodePage(nParam);
break;
case RTF_CF: case RTF_CF:
{ {
// NS_sprm::LN_CIco won't work, that would be an index in a static table // NS_sprm::LN_CIco won't work, that would be an index in a static table
......
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