9a7eb5c2f3
1) To enable handling of MS Word for Windows 95/6.0 CJK Version patch-word6+95-cjkhandling http://www.openoffice.org/issues/show_bug.cgi?id=17498 (target milestone 1.1.1, resolved and fixed) 2) Patch to enable rtf filter handle local language files patch-rtfcjk http://www.openoffice.org/issues/show_bug.cgi?id=17503 (target milestone 2.0, verified and fixed) 3) rtf writing enhancement for CJK patch-wrtrtf http://www.openoffice.org/issues/show_bug.cgi?id=20264 (not confirmed yet) 4) read first section attribute correctly for MS Word for Windows 95/6.0 patch-topsection http://ja.openoffice.org/servlets/ProjectDownloadList?action=download&dlID=312 (IZ is not raized) b) bump portrevision
63 lines
2.7 KiB
Text
63 lines
2.7 KiB
Text
--- ../sw/source/filter/ww8/ww8par.cxx 9 Jul 2003 11:06:44 -0000 1.114
|
|
+++ ../sw/source/filter/ww8/ww8par.cxx 25 Jul 2003 22:54:52 -0000
|
|
@@ -1683,11 +1683,20 @@
|
|
if (bVer67)
|
|
{
|
|
sal_Char aTest[2];
|
|
- aTest[0] = (nUCode & 0xFF00) >> 8;
|
|
- aTest[1] = (nUCode & 0x00FF);
|
|
- String aTemp(aTest, 2, eSrcCharSet);
|
|
- ASSERT(aTemp.Len() == 1, "so much for that theory");
|
|
- *pWork = aTemp.GetChar(0);
|
|
+ if (nUCode >= 0x3000)
|
|
+ {
|
|
+ aTest[0] = (nUCode & 0xFF00) >> 8;
|
|
+ aTest[1] = (nUCode & 0x00FF);
|
|
+ String aTemp(aTest, 2, eSrcCharSet);
|
|
+ ASSERT(aTemp.Len() == 1, "so much for that theory");
|
|
+ *pWork = aTemp.GetChar(0);
|
|
+ }
|
|
+ else
|
|
+ {
|
|
+ aTest[0] = (nUCode & 0x00FF);
|
|
+ String aTemp(aTest, 1, eSrcCharSet);
|
|
+ *pWork = aTemp.GetChar(0);
|
|
+ }
|
|
}
|
|
else
|
|
*pWork = nUCode;
|
|
@@ -3188,7 +3197,8 @@
|
|
{
|
|
case 6:
|
|
case 7:
|
|
- if ( (0xa5dc != nMagic) && (0xa699 != nMagic) )
|
|
+ //if ( (0xa5dc != nMagic) && (0xa699 != nMagic) ) //Takashi Ono
|
|
+ if ( (0xa5dc != nMagic) && ( (0xa697 > nMagic) || (0xa699 < nMagic) ) )
|
|
{
|
|
//JP 06.05.99: teste auf eigenen 97-Fake!
|
|
if (pStg && 0xa5ec == nMagic)
|
|
--- ../sw/source/filter/ww8/ww8par6.cxx 20 Jun 2003 09:38:07 -0000 1.138
|
|
+++ ../sw/source/filter/ww8/ww8par6.cxx 25 Jul 2003 22:55:05 -0000
|
|
@@ -3373,9 +3373,11 @@
|
|
nId = RES_CHRATR_CTL_FONT;
|
|
break;
|
|
case 93:
|
|
+ case 111:
|
|
case 0x4a4f:
|
|
nId = RES_CHRATR_FONT;
|
|
break;
|
|
+ case 112:
|
|
case 0x4a50:
|
|
nId = RES_CHRATR_CJK_FONT;
|
|
break;
|
|
@@ -4984,8 +4986,8 @@
|
|
//percentage to grow hps short
|
|
{110, (FNReadRecord)0}, //"sprmCCondHyhen", chp.ysri
|
|
//ysri short
|
|
- {111, (FNReadRecord)0}, //"??111",
|
|
- {112, (FNReadRecord)0}, //"??112",
|
|
+ {111, &SwWW8ImplReader::Read_FontCode}, //ww7 font
|
|
+ {112, &SwWW8ImplReader::Read_FontCode}, //ww7 CJK font
|
|
{113, &SwWW8ImplReader::Read_FontCode}, //ww7 rtl font
|
|
{114, (FNReadRecord)0}, //"??114",
|
|
{115, &SwWW8ImplReader::Read_TxtColor}, //ww7 rtl colour ?
|