how to vertically align center

2002-02-21 Thread Nick Winger
hi ! is it possible to vertically center align the content of a block or table cell ? thanks and greetings Nick Winger (Software-Developer) == VANGUARD Software GmbH Julius Tandler Platz 8 1090 Vienna, AUSTRIA Phone: +43-1-3195263-20 Fax: +43-1-3195263-90

RE: FOP AWT Window Shuts Down Application

2002-02-21 Thread Alistair Hopkins
Now that a few more people are interested in this: I think that it would be more useful if the basic AWT API returned a JPanel rather than a JFrame. I want to use it in a JInternalFrame rather than a JFrame to mimic standard Windoze print preview behaviour. Somebody else wants to use an

cvs commit: xml-fop/src/org/apache/fop/layoutmgr LeafNodeLayoutManager.java

2002-02-21 Thread keiron
keiron 02/02/21 01:26:17 Modified:src/org/apache/fop/layoutmgr LeafNodeLayoutManager.java Log: made access public Revision ChangesPath 1.3 +6 -2 xml-fop/src/org/apache/fop/layoutmgr/LeafNodeLayoutManager.java Index: LeafNodeLayoutManager.java

cvs commit: xml-fop/src/org/apache/fop/svg PDFTextPainter.java

2002-02-21 Thread keiron
keiron 02/02/21 01:27:56 Modified:src/org/apache/fop/svg PDFTextPainter.java Log: removed println Revision ChangesPath 1.10 +2 -3 xml-fop/src/org/apache/fop/svg/PDFTextPainter.java Index: PDFTextPainter.java

Re: FOP AWT Window Shuts Down Application

2002-02-21 Thread Keiron Liddle
I have put the files across. So they are now publicly available. On 2002.02.21 00:10 Arved Sandstrom wrote: Or now that Arved tried and could not (SSH permissions problems, even though I can ssh and scp to both icarus and daedalus), we are going to have to get Christian properly set up on

getting the length in cm,mm or pt of a string

2002-02-21 Thread Nick Winger
hi ! is it possible to calculate, for a given font ( for example: arial ), the length of a string in cm, mm or pt ( the length which it will have in the pdf file content ) greetings Nick Winger (Software-Developer) == VANGUARD Software GmbH Julius Tandler Platz

Re: getting the length in cm,mm or pt of a string

2002-02-21 Thread Phil Harling
Nick Winger: is it possible to calculate, for a given font ( for example: arial ), the length of a string in cm, mm or pt ( the length which it will have in the pdf file content ) Yes. 1) Approximate it using the average width of a character in a font * string length. 2) Write a Java

RE: FOP AWT Window Shuts Down Application

2002-02-21 Thread Henrik Holle
After closing this Preview-Panel the memory is not released. I can`t found any references on object and don`t know why the GC doesn`t collect The objects? I need some help, previewing of large documents consume about 20mb memory, and after 2 or 3 Previews i get a OutOfMemoryException.

AWT Window

2002-02-21 Thread IvanLatysh
Hello, Alistair! You wrote to [EMAIL PROTECTED] on Thu, 21 Feb 2002 09:26:32 -: AH Now that a few more people are interested in this: AH I think that it would be more useful if the basic AWT API returned a AH JPanel rather than a JFrame. I want to use it in a JInternalFrame AH rather

Re: AWT Window

2002-02-21 Thread Nicola Ken Barozzi
- Original Message - From: IvanLatysh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 21, 2002 2:53 PM Subject: AWT Window Hello, Alistair! You wrote to [EMAIL PROTECTED] on Thu, 21 Feb 2002 09:26:32 -: AH Now that a few more people are interested in this:

RE: AWT Window

2002-02-21 Thread Jim Urban
Sounds good to me. Just one thing, get rid of that System.exit() in the dispose method! Let the implementer decide what to do when the window containing the panel is closed. Jim -Original Message- From: Nicola Ken Barozzi [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 21, 2002

Re: AWT Window

2002-02-21 Thread IvanLatysh
Hello, Jim! You wrote to [EMAIL PROTECTED] Nicola Ken Barozzi [EMAIL PROTECTED] on Thu, 21 Feb 2002 08:19:22 -0600: JU Sounds good to me. Just one thing, get rid of that System.exit() in JU the dispose method! Let the implementer decide what to do when the JU window containing the panel is

RE: AWT Window

2002-02-21 Thread Jim Urban
While were suggesting enhancements for the AWT window, here is a change I made to the code Ivan Latysh sent me last week. I needed to process XML:FO which is dynamically generated and not .xml and .xsl files. So I modified the run method to take an InputSource object (containing XML:FO) instead

Re: AWT Window

2002-02-21 Thread IvanLatysh
Hello, Jim! You wrote to [EMAIL PROTECTED] on Thu, 21 Feb 2002 08:29:09 -0600: JU While were suggesting enhancements for the AWT window, here is a JU change I made to the code Ivan Latysh sent me last week. I needed JU to process XML:FO which is dynamically generated and not .xml and JU

FOP20.3 No flow found for region-body

2002-02-21 Thread Steiner, Priska
Hello Perhaps this is a problem for the Fop-user list, but I don't know how to subscribe there actually. I had an xsl:fo that works with Fop20.2 correctly. Now, for Fop20.3 I did change master-name by master-reference in fo:page-sequencetag. After that, the following error occurs: No flow found

RE: AWT Window

2002-02-21 Thread Jim Urban
I like it! For what its worth, you have my vote. Jim -Original Message- From: Alistair Hopkins [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 21, 2002 8:59 AM To: [EMAIL PROTECTED] Subject: RE: AWT Window So how about this as the public interface: package

Re: AWT Window

2002-02-21 Thread Nicola Ken Barozzi
From: Alistair Hopkins [EMAIL PROTECTED] So how about this as the public interface: package org.apache.fop.apps; public class AwtManager { public AwtManager(InputSource fo) public AwtManager(InputSource xsl. InputSource xml) //these are separated so the work of showing

RE: AWT Window

2002-02-21 Thread Alistair Hopkins
Action[] getActions +1 save(OutputStream) +1 but I like some internal (protected?) means whereby the implementer has to do no explicit coding atall to get preview/print/save functionality: hence the getSaveAction Action which brings up a JFileChooser: but as the API also allows itself to be used

Rounded borders

2002-02-21 Thread Magnus Rydin
Dear sirs, I couldnt find a FOP user list, so please escuse me for sending this to this list instead. Using the latest FOP version, I am unable to draw a dotted border, yet the documentation hints at this functionality being implemented. If this feature is implemented, would you mind adding it

Re: AWT Window

2002-02-21 Thread IvanLatysh
Hello, Alistair! You wrote to [EMAIL PROTECTED] Nicola Ken Barozzi [EMAIL PROTECTED] on Thu, 21 Feb 2002 15:28:59 -: AH More? public void print() public Action getPrintAction() public void zoom(String zoomFactor) public JCombo getZoomCombo() public void

DO NOT REPLY [Bug 5434] - keep-with-next, keep-with-previous do not work

2002-02-21 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5434. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

[ANNOUNCEMENT] FOP 0.20.3 Release Candidate 2 available

2002-02-21 Thread Christian Geisert
Hi all, the second Release Candidate for 0.20.3 (Maintenance release) is finally available at http://xml.apache.org/dist/fop for downloading and testing. There will be no new functionality added and if no new bugs show up FOP 0.20.3 will be released next week (target date is 27. Februar ;-)

RE: FOP AWT Window Shuts Down Application

2002-02-21 Thread Arved Sandstrom
Thank you. Just out of curiosity, what did you do that worked? Because if we call 'icarus' A and 'daedalus' B, I SSH'd into both A and B, and then from the session on B I attempted to scp from A (where the distros were) to B. That failed because scp asked for a password. I also tried doing the

Re: [ANNOUNCEMENT] FOP 0.20.3 Release Candidate 2 available

2002-02-21 Thread Satoshi Ishigami
Hi, Christian. On Thu, 21 Feb 2002 17:30:32 +0100 , Christian Geisert wrote: the second Release Candidate for 0.20.3 (Maintenance release) is finally available at http://xml.apache.org/dist/fop for downloading and testing. Great !! - Improved i18n support for AWT viewer (Japanese

External links to PDF files

2002-02-21 Thread Ramaprabhu Janakiraman
Hi, I am using FOP 0.20.3 and stumbled across the interesting behavior that even if you specify an external link to a pdf file, like fo:basic-link color=#ff external-destination=http://www.somewhere.com/test.pdf; some pdf file /fo:basic-link the pdf link is transformed into a

Re: JDK 1.4 and fonts

2002-02-21 Thread Satoshi Ishigami
see below site: Endorsed Standards Override Mechanism http://java.sun.com/j2se/1.4/docs/guide/standards/index.html JDK1.4 includes such as Xalan-J 2.2.D11 in rt.jar by default, so current sh/bat script or build.xml may be not able to build FOPwhen you use with JDK1.4 . Regards. --- Satoshi

RE: AWT Window

2002-02-21 Thread Alistair Hopkins
The information re CurrentPage, etc., is available from the AWTRenderer: it may make more sense to expose that for advanced users. The getToolbar() proposal is a shorthand to call all the getAction, getCombo methods: if you don't want to use it, you can do it the long way using the actions I