Loading ...
Sorry, an error occurred while loading the content.

Re: how to add space in PDF

Expand Messages
  • markivs2003
    Thanks a lot for all your response. It was helpful. The reason why I wanted to add a space at the end was because, I was little hesitant to use padding-right
    Message 1 of 8 , Jan 14, 2004
    • 0 Attachment
      Thanks a lot for all your response. It was helpful.

      The reason why I wanted to add a space at the end was because, I was
      little hesitant to use padding-right in the fo:block.
      Because, I often run into the problem where FOP runs into infinite
      loops. May be it's not because of padding-right property. Not sure.


      --- In XSL-FO@yahoogroups.com, "Victor Vishnyakov" <tch_@m...> wrote:
      > > <fo:table-cell padding-bottom="2pt" padding-left="2pt" font-
      > > family="Helvetica" padding-top="2px"> <fo:block>
      > > <fo:inline><xsl:value-of select="."/>
      > > <xsl:text> </xsl:text></fo:inline>
      > > </fo:block>
      > > </fo:table-cell>
      >
      > You might try using <fo:character ...> tag.
      >
      > <fo:table-cell padding-bottom="2pt" padding-left="2pt" font-
      > family="Helvetica" padding-top="2px">
      > <fo:block>
      > <fo:inline><xsl:value-of select="."/><fo:character
      > character=" "/></fo:inline>
      > </fo:block>
      > </fo:table-cell>
      >
      >
      >
      > Do you want to add a white space character to PDF or just an empty
      > space?
      >
      > <fo:table-cell padding-bottom="2pt" padding-left="2pt" font-
      > family="Helvetica" padding-top="2px">
      > <fo:block>
      > <fo:inline space-right="12pt"><xsl:value-of
      > select="."/></fo:inline>
      > </fo:block>
      > </fo:table-cell>
      >
      > and
      >
      > <fo:table-cell padding-bottom="2pt" padding-left="2pt" font-
      > family="Helvetica" padding-top="2px">
      > <fo:block>
      > <fo:inline><xsl:value-of select="."/><fo:leader
      > leader-pattern="space" leader-length="12pt"/></fo:inline>
      > </fo:block>
      > </fo:table-cell>
      >
      >
      > And one more question: what is the reason of adding whitespace to
      the
      > end of the line?
      >
      >
      > Regards,
      > Victor Vishnyakov
    Your message has been successfully submitted and would be delivered to recipients shortly.