RE : instream-foreign-object vertical alignment
> the vertical alignment only partially works try to add the attribute : preserveAspectRatio="xMidYMax meet" (or xMaxYMax meet) in the svg tag of your svg document ... see what happens... Mat - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: instream-foreign-object vertical alignment
I was able to accomplish vertical alignment by using display-align in the table-cell. I didn’t specify the vertical-align attribute. Vinuta Nagaraddi -Original Message- From: Rea, Matthew [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 06, 2004 2:52 AM To: '[EMAIL PROTECTED]' Subject: instream-foreign-object vertical alignment Hello, I have a fo:instream-foreign-object that contains some SVG to draw a few lines. This is placed in a table cell inside a block and I want to horizontally align to the left side and vertically align to the bottom of the cell. The following XSL-FO "nearly" works: à The horizontal alignment works great but the vertical alignment only partially works or rather it doesn't work exactly the way I want it to. The problem is the vertical align does not align the SVG right to the bottom of the cell like I really need. The table row the cell is in is 16mm high and the svg is consistently vertically aligned to approximately 0.5mm from the bottom of the cell. The same thing happens if I try and vertically align to the top of the cell. I want the SVG to be sitting right against the table border which works fine horizontally, just not vertically. Any ideas on how to get this working? I using FOP 0.20.5 on WinXP. Thanks in advance, Matthew Rea Australia Post is committed to providing our customers with excellent service. If we can assist you in any way please telephone 13 13 18 or visit our website www.auspost.com.au. CAUTION This e-mail and any files transmitted with it are privileged and confidential information intended for the use of the addressee. The confidentiality and/or privilege in this e-mail is not waived, lost or destroyed if it has been transmitted to you in error. If you have received this e-mail in error you must (a) not disseminate, copy or take any action in reliance on it; (b) please notify Australia Post immediately by return e-mail to the sender; and (c) please delete the original e-mail.
Re: instream-foreign-object vertical alignment
Chris Bowditch wrote: Rea, Matthew wrote: The horizontal alignment works great but the vertical alignment only partially works or rather it doesn't work exactly the way I want it to. The problem is the vertical align does not align the SVG right to the bottom of the cell like I really need. The table row the cell is in is 16mm high and the svg is consistently vertically aligned to approximately 0.5mm from the bottom of the cell. The same thing happens if I try and vertically align to the top of the cell. I want the SVG to be sitting right against the table border which works fine horizontally, just not vertically. No doubt this 0.5mm is space reserved for borders on the cell. You can try specifying a negative value for padding-margin ?? If that fails, perhaps a negative margin-bottom?? Ooppss, a typo. I meant padding-bottom !! Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: instream-foreign-object vertical alignment
Rea, Matthew wrote: The horizontal alignment works great but the vertical alignment only partially works or rather it doesn't work exactly the way I want it to. The problem is the vertical align does not align the SVG right to the bottom of the cell like I really need. The table row the cell is in is 16mm high and the svg is consistently vertically aligned to approximately 0.5mm from the bottom of the cell. The same thing happens if I try and vertically align to the top of the cell. I want the SVG to be sitting right against the table border which works fine horizontally, just not vertically. No doubt this 0.5mm is space reserved for borders on the cell. You can try specifying a negative value for padding-margin ?? If that fails, perhaps a negative margin-bottom?? Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
instream-foreign-object vertical alignment
Hello, I have a fo:instream-foreign-object that contains some SVG to draw a few lines. This is placed in a table cell inside a block and I want to horizontally align to the left side and vertically align to the bottom of the cell. The following XSL-FO "nearly" works: <fo:table-cell border-style="solid" border-width="0.1mm" border-color="blue" display-align="after"> <fo:block text-align="left" vertical-align="bottom"> <fo:instream-foreign-object> à fo:instream-foreign-object> fo:block> <fo:table-cell> The horizontal alignment works great but the vertical alignment only partially works or rather it doesn't work exactly the way I want it to. The problem is the vertical align does not align the SVG right to the bottom of the cell like I really need. The table row the cell is in is 16mm high and the svg is consistently vertically aligned to approximately 0.5mm from the bottom of the cell. The same thing happens if I try and vertically align to the top of the cell. I want the SVG to be sitting right against the table border which works fine horizontally, just not vertically. Any ideas on how to get this working? I using FOP 0.20.5 on WinXP. Thanks in advance, Matthew Rea Australia Post is committed to providing our customers with excellent service. If we can assist you in any way please telephone 13 13 18 or visit our website www.auspost.com.au. CAUTION This e-mail and any files transmitted with it are privileged and confidential information intended for the use of the addressee. The confidentiality and/or privilege in this e-mail is not waived, lost or destroyed if it has been transmitted to you in error. If you have received this e-mail in error you must (a) not disseminate, copy or take any action in reliance on it; (b) please notify Australia Post immediately by return e-mail to the sender; and (c) please delete the original e-mail.
Re: Table-Cell vertical alignment
Blasius, Dirk wrote: Is it possible with fop 0.20.5 to align content on the bottom of a table cell. Yes. Like in HTML with valign="bottom" tag? I searched the web, but could not find a solution. Try harder. Look for display-align="after": http://www.w3.org/TR/xsl/slice7.html#display-align J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Table-Cell vertical alignment
Hi all, Is it possible with fop 0.20.5 to align content on the bottom of a table cell. Like in HTML with valign="bottom" tag? I searched the web, but could not find a solution. Thanks, Dirk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: vertical alignment of fo:block
Todtenhaupt, Susann wrote: I've tried to align fo:blocks in a fo:block-container vertically. But I failed... Is it possible at all? See http://xml.apache.org/fop/faq.html#fo-center J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: vertical alignment of fo:block
Hi Susann, I'm new with fo:, but for vertical alignment of fo:block had good results using table and inserting each block in a cell. have a nice day Roberto == RC Software di Roberto Calanca Consulenza informatica e Sviluppo Software Via della Vite, 7 41041 Casinalbo (Mo) e-mail [EMAIL PROTECTED] www.rc-software.it - Original Message - From: "Todtenhaupt, Susann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 24, 2003 8:58 AM Subject: vertical alignment of fo:block > Hello! > > I've tried to align fo:blocks in a fo:block-container vertically. But I > failed... Is it possible at all? > > Thanx in advance! > > suse > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
vertical alignment of fo:block
Hello! I've tried to align fo:blocks in a fo:block-container vertically. But I failed... Is it possible at all? Thanx in advance! suse - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: vertical alignment
Joerg, > Untested, I can't really say whether absolutely positioned > block containers work in static content. They work. I believe you showed me a year ago, when I put static-content into examples/border.fo to show you a problem. Cheers, Roland - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: vertical alignment
[EMAIL PROTECTED] wrote: The only thing that is somewhat unaesthetic about the solution is that I have to use fixed heights for the table rows. Is there also a solution for this? Try using three absolutely positioned block containers completely overlapping each other and containing a table for the center and bottom aligned content: 1 2 3 ... Untested, I can't really say whether absolutely positioned block containers work in static content. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: vertical alignment
Thanks for the tip. The table solution worked. I should have looked at the FAQ myself. The only thing that is somewhat unaesthetic about the solution is that I have to use fixed heights for the table rows. Is there also a solution for this? Thanks again, --Stefan 1 2 3 > [EMAIL PROTECTED] wrote: > > > I want to have a start-region that contains static content. The static > > content consists of three blocks. The first block is to be displayed at > the top > > the second in the center and the third at the bottom of the region. One > of my > > many fruitless tries was: > > > > > > 1 > > 2 > > 3 > > > > > The absolute-position property is not implemented, you should have > seen an error message. Use position="absolute", and supply all four > of top, left, height and width. > > > where the region-start is defined by > display-align="center"/>. > I don't think display-align works on regions. You can use > display-align on table cells. > See > http://xml.apache.org/fop/faq.html#faq-N10489 > you can try a table with three rows. > > J.Pietschmann > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: vertical alignment
[EMAIL PROTECTED] wrote: I want to have a start-region that contains static content. The static content consists of three blocks. The first block is to be displayed at the top the second in the center and the third at the bottom of the region. One of my many fruitless tries was: 1 2 3 The absolute-position property is not implemented, you should have seen an error message. Use position="absolute", and supply all four of top, left, height and width. > where the region-start is defined by display-align="center"/>. I don't think display-align works on regions. You can use display-align on table cells. See http://xml.apache.org/fop/faq.html#faq-N10489 you can try a table with three rows. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
vertical alignment
Hi all. I have a problem that I couldn't solve using FOP: I want to have a start-region that contains static content. The static content consists of three blocks. The first block is to be displayed at the top the second in the center and the third at the bottom of the region. One of my many fruitless tries was: 1 2 3 where the region-start is defined by . Can anyone help? Thanks, --Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Double space block vertical alignment
Mickey, John wrote: I am trying to simulate a double spaced document using the line-height attribute but I find that the lines of text are always centered vertically in the block, is there a way to have the first line start flush against the top of the block area ( all 12pts of extra space comes after the first line instead of having 6pts before and 6pts after each line.)? This has been bugging me as well so, sorry, no solution. I've been trying to find a way to control the height of a block (line-height seems to be the only thing that works) and have the text top aligned. Has anyone pulled this off yet? Thanks Josh ZYPE - Graphical Interface Design Phone: 03 3862094 Mobile: 021 400 472 Web: www.zype.co.nz
Double space block vertical alignment
Hello, I am trying to simulate a double spaced document using the line-height attribute but I find that the lines of text are always centered vertically in the block, is there a way to have the first line start flush against the top of the block area ( all 12pts of extra space comes after the first line instead of having 6pts before and 6pts after each line.)? An example of what I have so far: http://www.w3.org/1999/XSL/Format";> Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah. Thank you, John Mickey
Vertical alignment question
Hello - I have a question about vertical alignment within a block. I have a fixed-height block with a variable number of short lines, and I want the first (n - 1) lines grouped together at the top of the block, and line (n) aligned to the bottom of the block - something like this: --- Top of block Line 1 Line 2 Line 3 Line 4 --- Bottom of block This is produced with FO something like this Line 1 Line 2 Line 3 Line 4 (the id attributes are only for illustration here). Basically I want block A to be aligned to the top of block OUTER, and block B to be aligned to the bottom of block OUTER. This is subject to the constraint that block A (and also probably eventually block B) could have variable numbers of rows in them - otherwise I would just use fixed-height rows in a table, or something like that. Thanks in advance for any assistance. - Jonathan