Fop
  1. Fop
  2. FOP-1268

table cell vertical and horizontal alignment

    Details

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

      Description

      I'm trying to center a table cell vertically and horizontally.

      The following works for PDF but not RTF output in fop-trunk:

      <fo:table-cell display-align="center">
      <fo:block text-align="center">
      Test<fo:block />
      </fo:block>
      </fo:table-cell>

        Activity

        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
        Hide
        Jeremias Maerki added a comment -

        Sorry, you got ignored. Busy times. Anyway, today you got lucky and I looked
        into this. Vertical alignment (display-align) was actually not implemented for
        RTF output at all. But it was easy to add, and so I did:
        http://svn.apache.org/viewvc?view=rev&rev=492769

        Please note that this will not make it into 0.93, so you'll have to use the
        latest FOP Trunk code from SVN. In my tests text-align worked as expected.
        Please retry with the latest FOP Trunk. Reopen this issue if you continue to
        have problems.

        Show
        Jeremias Maerki added a comment - Sorry, you got ignored. Busy times. Anyway, today you got lucky and I looked into this. Vertical alignment (display-align) was actually not implemented for RTF output at all. But it was easy to add, and so I did: http://svn.apache.org/viewvc?view=rev&rev=492769 Please note that this will not make it into 0.93, so you'll have to use the latest FOP Trunk code from SVN. In my tests text-align worked as expected. Please retry with the latest FOP Trunk. Reopen this issue if you continue to have problems.
        Hide
        Jamie Isaacs added a comment -

        Any thoughts on this guys?

        This affects the letterhead that is on every document in our software... We
        cannot continue this project until both the PDF and RTF versions look the same.

        -Jamie

        Show
        Jamie Isaacs added a comment - Any thoughts on this guys? This affects the letterhead that is on every document in our software... We cannot continue this project until both the PDF and RTF versions look the same. -Jamie
        Hide
        Jamie Isaacs added a comment -

        Any thoughts on this guys?

        This affects the letterhead that is on every document in our software... We
        cannot continue this project until both the PDF and RTF versions look the same.

        -Jamie

        Show
        Jamie Isaacs added a comment - Any thoughts on this guys? This affects the letterhead that is on every document in our software... We cannot continue this project until both the PDF and RTF versions look the same. -Jamie

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development