Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-666

text-align and text-align-last only partially implemented

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Resolution: Unresolved
    • 0.94
    • None
    • unqualified
    • None
    • Operating System: All
      Platform: All
    • 20280

    Description

      I'm seeing this in trying to convert to PDF format, but I think it's a general
      issue. I'm using version 0.20.5rc3a. If I use any fo:block or fo:inline element
      with the text-align attribute set to "outside", I get an error:

      [ERROR] Unknown enumerated value for property 'text-align': outside
      [ERROR] Error in text-align property value 'outside':
      org.apache.fop.fo.expr.PropertyException: No conversion defined

      Trying "inside" will produce a similar error. And text-align-last is even worse,
      failing also to allow "left", "right", and "relative". Compliance for these is
      simply pass/fail, which should mean that they're either implemented to spec
      (allowing all 8 values for text-align, all 9 for text-align-last) or they're
      not. There's not even so much as a note in the compliance document to the effect
      that they're only partially supported.

      This should be an easy fix, but as a stopgap some note could be put into the
      compliance document to say that they're not fully implemented, and which values
      don't work.

      Attachments

        Activity

          People

            Unassigned Unassigned
            lummoxjr@aol.com Lee Gaiteri
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: