AW: jfor-users digest, Vol 1 #170 - 2 msgs

"Peter Herweg" <[email protected]> Fri, 21 Nov 2003 15:24:05 +0100
Newsgroups gmane.text.xml.jfor.general
Message-ID <[email protected]>
Hi Flora,

i also did not succeed in getting your examples work with jfor v0.7.1.
Maybe you should upgrade to v0.7.2rc1. Then your examples should work.

The property 'height' of fo:table is not supported by jfor, but the value
will be inherited to the fo:table-row elements. So each row will have the
given height.

Kind regards
Peter Herweg


-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]]Im Auftrag von
[email protected]
Gesendet: Friday, November 21, 2003 5:19 AM
An: [email protected]
Betreff: jfor-users digest, Vol 1 #170 - 2 msgs


Send jfor-users mailing list submissions to
	[email protected]

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/jfor-users
or, via email, send a message with subject or body 'help' to
	[email protected]

You can reach the person managing the list at
	[email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of jfor-users digest..."


Today's Topics:

   1. layout stuff ([email protected])
   2. Re: layout stuff (Bertrand Delacretaz)

--__--__--

Message: 1
To: [email protected]
From: [email protected]
Date: Thu, 20 Nov 2003 10:27:45 +0100
Subject: [jfor-users] layout stuff

hi,

i am using jfor v0.7.1 to confert xml to rtf.
i tried to find a list with commands implemented, but i could not.
i have some layout problems and may you can give me,a newbie, some
hints....

a) table border

...
            <fo:block>
               <fo:table border-after-color="#000000" border-bottom-color="
#000000" border-before-color="#000000" border-end-color="#000000"
border-left-color="#000000" border-right-color="#000000" border-top-color="
#000000" border-style="solid">
                 <fo:table-column column-width="90mm"/>
                 <fo:table-column column-width="90mm"/>
                 <fo:table-body>
                    <fo:table-row>
                      <fo:table-cell border-top-style="solid"
border-bottom-style="solid" border-start-style="solid" padding="0.2mm">
                         <fo:block><xsl:value-of select="value[@name=
'text_return' ]"/></fo:block>
                      </fo:table-cell>
                      <fo:table-cell border-top-style="solid"
border-bottom-style="solid" border-end-style="solid" text-align="end"
padding="0.2mm">
                         <fo:block><xsl:value-of select="value[@name=
'return' ]"/></fo:block>
                      </fo:table-cell>
                    </fo:table-row>
                 </fo:table-body>
               </fo:table>
            </fo:block>
          </fo:flow>
...

but in my rtf documents there are no borders. any clue?


b) table height
...
               <fo:table height="54mm">
                 <fo:table-column column-width="90mm"/>
                 <fo:table-column column-width="90mm"/>
                 <fo:table-body>
                    <fo:table-row>
                      <fo:table-cell >
....

it does not work. the table height fits to its content.
are there any workarounds to give a table a certain height?


c) table alignment

I have got a table. the left coloum has to be left aligned and the right
one has to be centered.
i can only make to align both the same way ; (

....
                 <fo:flow flow-name="xsl-region-body">
                    <fo:block>
                      <fo:table border="1pt solid black">
                            <fo:table-column column-width="100mm"/>
                            <fo:table-column column-width="82mm"/>
                         <fo:table-body>
                           <fo:table-row>
                              <fo:table-cell border-style="solid"
border-width="0.3mm" text-align="start" border="1pt solid black">
                                <fo:block font-weight="bold" font-size="
10pt" text-align="start"><fo:inline></fo:inline><xsl:value-of select="row1
"/></fo:block>
                              </fo:table-cell>
                              <fo:table-cell border="solid" border-width="
0.3mm" text-align="center">
                                <fo:block font-weight="bold" font-size="
10pt" text-align="center"><xsl:value-of select="row2"/></fo:block>
                              </fo:table-cell>
                           </fo:table-row>
...


thanks for your help
cheers

flora


"This message and any attachment ("the Message") are confidential. If you
have received the Message in error, please notify the sender immediately
and delete the Message from your system , any use of the Message is
forbidden.
Correspondence via e-mail is primarily for information purposes. RZB
neither makes nor accepts legally binding statements unless otherwise
agreed to the contrary."





--__--__--

Message: 2
Date: Thu, 20 Nov 2003 15:40:42 +0100
Subject: Re: [jfor-users] layout stuff
From: Bertrand Delacretaz <[email protected]>
To: [email protected]

Hi Flora,

> ...i tried to find a list with commands implemented, but i could not...

You should have a look at the XSL-FO examples provided with the jfor
source code (see the samples subdirectory), they show pretty much
everything that jfor can do. Unfortunately there is no list of
implemented constructs at the moment.

Hope this helps!
--
   Bertrand Delacretaz
   independent consultant, Lausanne, Switzerland
   http://cvs.apache.org/~bdelacretaz/




--__--__--

_______________________________________________
jfor-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jfor-users


End of jfor-users Digest



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/