Fop
  1. Fop
  2. FOP-1562

Abiword cannot open rtf generated document

    Details

    • Type: Bug Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: None
    • Component/s: rtf
    • Labels:
      None
    • Environment:
      Operating System: Linux
      Platform: PC
    • External issue ID:
      45606

      Description

      Abiword (2.6.4 and old version) cannot open rtf generated document.
      After replacing "fonttbl;"-->"fonttbl" in generated document is document in AbiWord opened.

      affected code: header.writeControlWord ("fonttbl;");

      Similar problem may be with \colortbl element .

        Activity

        Hide
        Jeremias Maerki added a comment -

        Thanks for the bug report, Pavel. I've fixed the problem in FOP Trunk:
        http://svn.apache.org/viewvc?rev=684577&view=rev

        Can you please verify that it works with AbiWord now? The semicolon was indeed in an illegal position. I found that it was actually missing at the end of the individual font entries.

        The semicolon after colortbl is not illegal. There's even an example in the MS Word RTF 2002 spec that shows the semicolon right after the string "colortbl". I assume this is what caused the problem in fonttbl.

        Show
        Jeremias Maerki added a comment - Thanks for the bug report, Pavel. I've fixed the problem in FOP Trunk: http://svn.apache.org/viewvc?rev=684577&view=rev Can you please verify that it works with AbiWord now? The semicolon was indeed in an illegal position. I found that it was actually missing at the end of the individual font entries. The semicolon after colortbl is not illegal. There's even an example in the MS Word RTF 2002 spec that shows the semicolon right after the string "colortbl". I assume this is what caused the problem in fonttbl.
        Hide
        Pavel Kysilka added a comment -

        Working. Abiword now can read document.

        Show
        Pavel Kysilka added a comment - Working. Abiword now can read document.
        Hide
        Glenn Adams added a comment -

        batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed

        Show
        Glenn Adams added a comment - batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed

          People

          • Assignee:
            fop-dev
            Reporter:
            Pavel Kysilka
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development