freebsd-ports/editors/openoffice.org-3-RC/files/patch-topsection
Maho Nakata 9a7eb5c2f3 a) add several patches made by Takashi Ono (JCA signed person)
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
2003-10-02 06:45:23 +00:00

21 lines
853 B
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:55:23 -0000
@@ -2015,7 +2015,7 @@
bool bStartAttr = pPlcxMan->Get(&aRes); // hole Attribut-Pos
aRes.nAktCp = rTxtPos; // Akt. Cp-Pos
- if (aRes.nFlags & MAN_MASK_NEW_SEP) // neue Section
+ if ((aRes.nFlags & MAN_MASK_NEW_SEP) || maSectionManager.empty()) // neue Section
{
ASSERT(pPaM->GetNode()->GetTxtNode(), "Missing txtnode");
// PageDesc erzeugen und fuellen
--- ../sw/source/filter/ww8/ww8par.hxx 30 Jun 2003 15:54:37 -0000 1.115
+++ ../sw/source/filter/ww8/ww8par.hxx 25 Jul 2003 22:55:28 -0000
@@ -720,6 +720,7 @@
short GetPageLeft() const;
short GetPageRight() const;
short GetPageWidth() const;
+ bool empty() const { return maSegments.empty(); }
};
class wwFrameNamer