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

2002-02-20 Thread keiron

keiron  02/02/20 01:30:40

  Modified:src/org/apache/fop/svg SVGElement.java
  Log:
  made svg context independant so that the svg document does not
  hold onto the fo tree
  
  Revision  ChangesPath
  1.20  +56 -43xml-fop/src/org/apache/fop/svg/SVGElement.java
  
  Index: SVGElement.java
  ===
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/svg/SVGElement.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- SVGElement.java   15 Nov 2001 08:12:37 -  1.19
  +++ SVGElement.java   20 Feb 2002 09:30:40 -  1.20
  @@ -1,5 +1,5 @@
   /*
  - * $Id: SVGElement.java,v 1.19 2001/11/15 08:12:37 keiron Exp $
  + * $Id: SVGElement.java,v 1.20 2002/02/20 09:30:40 keiron Exp $
* Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
* For details on use and redistribution please refer to the
* LICENSE file included with these sources.
  @@ -84,39 +84,17 @@
   
   this.fs = area.getFontState();
   
  -final Element svgRoot = element;
  +// TODO - change so doesn't hold onto fo,area tree
  +Element svgRoot = element;
   /* create an SVG area */
   /* if width and height are zero, get the bounds of the content. */
  -DefaultSVGContext dc = new DefaultSVGContext() {
  -public float getPixelToMM() {
  -// 72 dpi
  -return 0.3528f;
  -}
  -
  -public float getViewportWidth(Element e) throws IllegalStateException {
  -if(e == svgRoot) {
  -ForeignObjectArea foa = (ForeignObjectArea)area;
  -if(!foa.isContentWidthAuto()) {
  -return foa.getContentWidth();
  -}
  -}
  -return super.getViewportWidth(e);
  -}
  -
  -public float getViewportHeight(Element e) throws IllegalStateException {
  -if(e == svgRoot) {
  -ForeignObjectArea foa = (ForeignObjectArea)area;
  -if(!foa.isContentHeightAuto()) {
  -return foa.getContentHeight();
  -}
  -}
  -return super.getViewportHeight(e);
  -}
  -
  -public List getDefaultFontFamilyValue() {
  -return FONT_FAMILY;
  -}
  -};
  +FOPSVGContext dc = new FOPSVGContext();
  +dc.svgRoot = element;
  +ForeignObjectArea foa = (ForeignObjectArea)area;
  +dc.cwauto = foa.isContentWidthAuto();
  +dc.chauto = foa.isContentHeightAuto();
  +dc.cwidth = foa.getContentWidth();
  +dc.cheight = foa.getContentHeight();
   ((SVGOMDocument)doc).setSVGContext(dc);
   
   try {
  @@ -145,7 +123,6 @@
   svg.end();
   
   /* add the SVG area to the containing area */
  -ForeignObjectArea foa = (ForeignObjectArea)area;
   foa.setObject(svg);
   foa.setIntrinsicWidth(svg.getWidth());
   foa.setIntrinsicHeight(svg.getHeight());
  @@ -164,16 +141,6 @@
   buildTopLevel(doc, element);
   }
   
  -public final static List FONT_FAMILY;
  -static {
  -FONT_FAMILY = new ArrayList();
  -FONT_FAMILY.add(Helvetica);
  -FONT_FAMILY.add(Times);
  -FONT_FAMILY.add(Courier);
  -FONT_FAMILY.add(sans-serif);
  -FONT_FAMILY.add(serif);
  -}
  -
   public static Point2D getSize(FontState fs, Element svgRoot) {
   String str;
   UnitProcessor.Context ctx;
  @@ -267,3 +234,49 @@
   }
   }
   }
  +
  +class FOPSVGContext extends DefaultSVGContext {
  +public boolean cwauto;
  +public boolean chauto;
  +public float cwidth;
  +public float cheight;
  +public Element svgRoot;
  +
  +public float getPixelToMM() {
  +// 72 dpi
  +return 0.3528f;
  +}
  +
  +public float getViewportWidth(Element e) throws IllegalStateException {
  +if(e == svgRoot) {
  +if(!cwauto) {
  +   return cwidth;
  +}
  +}
  +return super.getViewportWidth(e);
  +}
  +
  +public float getViewportHeight(Element e) throws IllegalStateException {
  +if(e == svgRoot) {
  +if(!chauto) {
  +return cheight;
  +}
  +}
  +return super.getViewportHeight(e);
  +}
  +
  +public List getDefaultFontFamilyValue() {
  +return FONT_FAMILY;
  +}
  +
  +public final static List FONT_FAMILY;
  +static {
  +FONT_FAMILY = new ArrayList();
  +  

Memory problem

2002-02-20 Thread Henrik Holle


Hi,

Is there any dirty hack to fix the out of memory problem.
My Document is very large and has a lot of tables in it.

I´m using FOP 0.20.3


Thx

holle


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




cvs commit: xml-fop/src/org/apache/fop/viewer PreviewDialog.java

2002-02-20 Thread keiron

keiron  02/02/20 02:29:40

  Modified:src/org/apache/fop/apps AWTStarter.java
   src/org/apache/fop/viewer PreviewDialog.java
  Log:
  exit for closing window is only called for the AWTStarter, command line
  and not on the window
  
  Revision  ChangesPath
  1.12  +8 -1  xml-fop/src/org/apache/fop/apps/AWTStarter.java
  
  Index: AWTStarter.java
  ===
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/apps/AWTStarter.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- AWTStarter.java   22 Nov 2001 07:11:38 -  1.11
  +++ AWTStarter.java   20 Feb 2002 10:29:40 -  1.12
  @@ -1,5 +1,5 @@
   /*
  - * $Id: AWTStarter.java,v 1.11 2001/11/22 07:11:38 keiron Exp $
  + * $Id: AWTStarter.java,v 1.12 2002/02/20 10:29:40 keiron Exp $
* Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
* For details on use and redistribution please refer to the
* LICENSE file included with these sources.
  @@ -19,6 +19,8 @@
   
   import javax.swing.UIManager;
   import java.awt.*;
  +import java.awt.event.WindowAdapter;
  +import java.awt.event.WindowEvent;
   
   // SAX
   import org.xml.sax.XMLReader;
  @@ -130,6 +132,11 @@
   Translator res) {
   PreviewDialog frame = new PreviewDialog(renderer, res);
   frame.validate();
  +frame.addWindowListener(new WindowAdapter() {
  +public void windowClosed(WindowEvent we) {
  +System.exit(0);
  +}
  +});
   
   // center window
   Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
  
  
  
  1.11  +1 -5  xml-fop/src/org/apache/fop/viewer/PreviewDialog.java
  
  Index: PreviewDialog.java
  ===
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/viewer/PreviewDialog.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- PreviewDialog.java22 Nov 2001 07:11:41 -  1.10
  +++ PreviewDialog.java20 Feb 2002 10:29:40 -  1.11
  @@ -1,5 +1,5 @@
   /*
  - * $Id: PreviewDialog.java,v 1.10 2001/11/22 07:11:41 keiron Exp $
  + * $Id: PreviewDialog.java,v 1.11 2002/02/20 10:29:40 keiron Exp $
* Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
* For details on use and redistribution please refer to the
* LICENSE file included with these sources.
  @@ -622,10 +622,6 @@
   }
   }
   }*/
  -}
  -
  -public void dispose() {
  -System.exit(0);
   }
   
   }// class PreviewDialog
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: FOP AWT Window Shuts Down Application

2002-02-20 Thread Keiron Liddle


You could comment out the System.exit call in PreviewDialog.java.

On 2002.02.19 18:52 Jim Urban wrote:
 I am using the FOP AWT viewer (PreviewDialog) to display and print
 reports
 within my application.  The problem is, whenever I close the FOP viewer,
 my
 application shuts down.  How can I keep this from happening?
 
 Thanks,
 
 Jim Urban
 Product Manager
 Netsteps Inc.
 Suite 505E
 1 Pierce Pl.
 Itasca, IL  60143
 Voice:  (630) 250-3045 x2164
 Fax:  (630) 250-3046

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




cvs commit: xml-fop/src/org/apache/fop/fo PropertyList.java

2002-02-20 Thread keiron

keiron  02/02/20 02:41:45

  Modified:src/org/apache/fop/fo PropertyList.java
  Log:
  put in inherit keyword
  
  Revision  ChangesPath
  1.17  +3 -4  xml-fop/src/org/apache/fop/fo/PropertyList.java
  
  Index: PropertyList.java
  ===
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/PropertyList.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- PropertyList.java 22 Nov 2001 07:11:39 -  1.16
  +++ PropertyList.java 20 Feb 2002 10:41:45 -  1.17
  @@ -1,5 +1,5 @@
   /*
  - * $Id: PropertyList.java,v 1.16 2001/11/22 07:11:39 keiron Exp $
  + * $Id: PropertyList.java,v 1.17 2002/02/20 10:41:45 keiron Exp $
* Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
* For details on use and redistribution please refer to the
* LICENSE file included with these sources.
  @@ -252,16 +252,15 @@
   // don't know what to do here
   }
   }
  -/*
  +
   // if value is inherit then get computed value from
   // parent
  -// namespaces??
   if(p != null  inherit.equals(p.getString())) {
   if (this.parentPropertyList != null) {
   p = parentPropertyList.get(propertyName, true, false);
   }
   }
  -*/
  +
   if (subpropName != null  p != null) {
   return this.builder.getSubpropValue(namespace, element,
   propertyName, p, subpropName);
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




displaying image with external graphic

2002-02-20 Thread Nick Winger

hi !


when i use:
fo:external-graphic src=file:logo.tif/
everything works and the image gets loaded,
but when i have it in a different directory, for example pictures
and i write:
fo:external-graphic src=file:pictures/logo.tif/
it doesn't find the file.

anybody can help ?

beside, do you know which graphic formats are supported by external-graphic
?


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
http://www.vanguard.at
==



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




problem with fop 20.3

2002-02-20 Thread Nick Winger

hi !

i'm using fop 20.3.

i get an error message, saying:
'master-reference' for 'fo:page-sequence' matches no 'simple-page-master' or
'page-sequence-master'
( with fop 20.1 and exactly the same file, i have no error messages )

here's the code:

fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
fo:layout-master-set
fo:simple-page-master master-name=simple
page-height=29cm
page-width=21cm
margin-top=1cm
margin-bottom=1cm
margin-left=1.5cm
margin-right=1.5cm
fo:region-body display-align=center margin-top=1cm
margin-bottom=128mm/
fo:region-before display-align=center 
extent=12cm/
fo:region-after extent=128mm/
/fo:simple-page-master
/fo:layout-master-set

fo:page-sequence master-name=simple

lots of stuff here

/fo:page-sequence
/fo:root


anybody know what i have to change to get it running with version 20.3 ?


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
http://www.vanguard.at
==



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: problem with fop 20.3

2002-02-20 Thread Jeremias Maerki

Nick

I think it's time you change to the fop-user mailing list for these kind
of questions. And as a reminder there are wonderful mailing list
archives around to get your answers. See:
http://xml.apache.org/fop/resources.html

Anyway, you need to change master-name to master-reference. This has
changed in the XSL:FO Recommendation.

 anybody know what i have to change to get it running with version 20.3 ?

Cheers,
Jeremias Märki

mailto:[EMAIL PROTECTED]

OUTLINE AG
Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Fon +41 41 317 20 20 - Fax +41 41 317 20 29
Internet http://www.outline.ch


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




i think this is a bug

2002-02-20 Thread Nick Winger

Hi !

i think this is a bug (following problem ):

I have the text Transport Inkubator 5400 in a table cell, but the table
cell is to small to display
the whole text, so it wraps, but it doesn't wrap correctly...
the text 5400 is in the next line, but the r of Inkubator goes into
the next cell !!!of the table row!!!
that looks not right.

here's the code:

fo:table-cell border-width=0.1mm border-style=solid
padding-before=15pt padding-start=2pt padding-end=3pt
padding-after=3pt
fo:block wrap-option=wrap font-family=Helvetica font-size=13pt
font-weight=bold
Transport Inkubator 5400
/fo:block
/fo:table-cell

if anybody knows an answer, please let me know.

there's also a screenshot i mailed, you can see, how the text exceeds the
table-cell...



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
http://www.vanguard.at
==



screenshot.GIF
Description: Binary data

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


RE: FOP AWT Window Shuts Down Application

2002-02-20 Thread Jim Urban

I thought about that, but then we would have a custom version of FOP.  This
would mean that every time we upgrade to a new version of FOP someone would
have to know to go into the source and make this change and rebuild FOP.  I
would rather see a more permanent solution implemented such as adding a
function to PreviewDialog void setExitOnClose(boolean shouldExit) which
would set a flag which would be checked to see if System.exit should be
called.  I would do this, but I am not an authorized FOP developer and do
not have access to CVS either.  If someone would offer to check out
PreviewDialog.java from CVS and email it to me I will gladly make the change
and email back to them to review and check back in to CVS.

Jim

 -Original Message-
 From: Keiron Liddle [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, February 20, 2002 4:32 AM
 To: [EMAIL PROTECTED]
 Subject: Re: FOP AWT Window Shuts Down Application



 You could comment out the System.exit call in PreviewDialog.java.

 On 2002.02.19 18:52 Jim Urban wrote:
  I am using the FOP AWT viewer (PreviewDialog) to display and print
  reports
  within my application.  The problem is, whenever I close the FOP viewer,
  my
  application shuts down.  How can I keep this from happening?
 
  Thanks,
 
  Jim Urban
  Product Manager
  Netsteps Inc.
  Suite 505E
  1 Pierce Pl.
  Itasca, IL  60143
  Voice:  (630) 250-3045 x2164
  Fax:  (630) 250-3046

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Escape sequence characters

2002-02-20 Thread Henrik Holle

Hi,

Is it possible to put the characters '' and '' in my Fo-document?
I does not know how to escape them correctly!

It this possible and how?

Thx


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




AW: i think this is a bug

2002-02-20 Thread Pretterhofer, Guenter (ext.)

Hi Nick,

as far as I understand it this is not an FOP error:

If you specify Transport Inkubator 5400 the word Inkubator doesn't fit
in the first
line anymore and is therefore put into the second line.

If you specify Transport-Inkubator 5400 only 5400 is put on the second
line.
Transport-Inkubator is one word and can only be separated by hyphenation.
It cannot be wrapped.

You could clip the word. Bit this doesn't make sense in your case I suppose.
And clipping is not implemented yet.

Cheers,
Günter



-Ursprüngliche Nachricht-
Von: Nick Winger [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 20. Februar 2002 14:45
An: Apache Mailinglist (E-Mail)
Betreff: i think this is a bug


Hi !

i think this is a bug (following problem ):

I have the text Transport Inkubator 5400 in a table cell, but the table
cell is to small to display
the whole text, so it wraps, but it doesn't wrap correctly...
the text 5400 is in the next line, but the r of Inkubator goes into
the next cell !!!of the table row!!!
that looks not right.

here's the code:

fo:table-cell border-width=0.1mm border-style=solid
padding-before=15pt padding-start=2pt padding-end=3pt
padding-after=3pt
fo:block wrap-option=wrap font-family=Helvetica
font-size=13pt
font-weight=bold
Transport Inkubator 5400
/fo:block
/fo:table-cell

if anybody knows an answer, please let me know.

there's also a screenshot i mailed, you can see, how the text exceeds the
table-cell...



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
http://www.vanguard.at
==




borders1.pdf
Description: Binary data


borders2.pdf
Description: Binary data

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


Re: FOP AWT Window Shuts Down Application

2002-02-20 Thread Keiron Liddle


If it makes you feel better it has already been done.
http://marc.theaimsgroup.com/?l=fop-cvsm=101420095016596w=2

Someone might even commit this to the maintanence branch.

On 2002.02.20 14:22 Jim Urban wrote:
 I thought about that, but then we would have a custom version of FOP.
 This
 would mean that every time we upgrade to a new version of FOP someone
 would
 have to know to go into the source and make this change and rebuild FOP.
 I
 would rather see a more permanent solution implemented such as adding a
 function to PreviewDialog void setExitOnClose(boolean shouldExit) which
 would set a flag which would be checked to see if System.exit should be
 called.  I would do this, but I am not an authorized FOP developer and do
 not have access to CVS either.  If someone would offer to check out
 PreviewDialog.java from CVS and email it to me I will gladly make the
 change
 and email back to them to review and check back in to CVS.
 
 Jim
 
  -Original Message-
  From: Keiron Liddle [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, February 20, 2002 4:32 AM
  To: [EMAIL PROTECTED]
  Subject: Re: FOP AWT Window Shuts Down Application
 
 
 
  You could comment out the System.exit call in PreviewDialog.java.
 
  On 2002.02.19 18:52 Jim Urban wrote:
   I am using the FOP AWT viewer (PreviewDialog) to display and print
   reports
   within my application.  The problem is, whenever I close the FOP
 viewer,
   my
   application shuts down.  How can I keep this from happening?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Custom fonts (again)

2002-02-20 Thread claes . bergsten

Following lines from the Embedding FOP web page:

userConfigFile = new File(userConfig);
options = new Options(userConfigFile);

Ok fine I got that, but what to do with the options variable after this?

cheers

---
Claes Bergsten
Software Development Engineer
TJ Group as

--Contact
[EMAIL PROTECTED]
+47 91668984
www.tjgroup.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Escape sequence characters

2002-02-20 Thread Phillips Tony

gt; lt;


 -Original Message-
 From: Henrik Holle [mailto:[EMAIL PROTECTED]]
 Sent: 20 February 2002 13:57
 To: [EMAIL PROTECTED]
 Subject: Escape sequence characters
 
 
 Hi,
 
 Is it possible to put the characters '' and '' in my Fo-document?
 I does not know how to escape them correctly!
 
 It this possible and how?
 
 Thx
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 



E-MAIL DISCLAIMER

The information in this e-mail and any attachment is confidential. 
It is intended only for the named recipient(s). If you are not a
named recipient please notify the sender immediately and do not
disclose the contents to another person or take copies. Although
Axxia Systems has taken every reasonable precaution to ensure
that any attachment to this e-mail has been checked for viruses, 
it is strongly recommended that you carry out your own virus 
check before opening any attachment, as we cannot accept
liability for any damage sustained as a result of software virus 
infection. Axxia Systems reserves the right and senders of
messages shall be taken to consent to the monitoring and
recording of e-mails addressed to axxia.com.
***


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Custom fonts (again)

2002-02-20 Thread Jeremias Maerki

 Following lines from the Embedding FOP web page:
 
 userConfigFile = new File(userConfig);
 options = new Options(userConfigFile);
 
 Ok fine I got that, but what to do with the options variable after this?

Nothing! :-) It's something static and registers itself in FOP. Not so
beautiful, but it works for the moment.

Cheers,
Jeremias Märki

mailto:[EMAIL PROTECTED]

OUTLINE AG
Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Fon +41 41 317 20 20 - Fax +41 41 317 20 29
Internet http://www.outline.ch


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




How to center table or image in .fo ?

2002-02-20 Thread Yann BONNAILLIE



Hi,Igot a problem to center a table 
in my pdf documentHere is the code 
:fo:table fo:table-column 
column-width="5cm"/ fo:table-column 
column-width="5cm"/fo:table-body 
 fo:table-row  
 fo:table-cell border-width="0.02cm" border-style="solid" 
padding-left="0.1cm" padding-top="0.1cm" 
   fo:blockCell 
1/fo:block   
/fo:table-cell  
 fo:table-cell border-width="0.02cm" border-style="solid" 
padding-left="0.1cm" padding-top="0.1cm" 
   fo:blockCell 
2/fo:block   
/fo:table-cell  
/fo:table-row 
/fo:table-body/fo:table


I've already tried to put it in a block and to set 
margin or text-align but that's not good.
I would like to have the table centered in my 
page.
Someone can help me please ? :-(

Yann



Re: Custom fonts (again)

2002-02-20 Thread claes . bergsten


 Following lines from the Embedding FOP web page:

 userConfigFile = new File(userConfig);
 options = new Options(userConfigFile);

 Ok fine I got that, but what to do with the options variable after this?

Nothing! :-) It's something static and registers itself in FOP. Not so
beautiful, but it works for the moment.

Heh thanks think this should get a row in html (any of you documenting
this)
its not exactly selfexplanatory(sp?).

Cheers

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




cvs commit: xml-fop/src/codegen extproperties.xml

2002-02-20 Thread keiron

keiron  02/02/20 06:00:00

  Removed: src/codegen extproperties.xml
  Log:
  no longer used

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Preview and Memory

2002-02-20 Thread Henrik Holle

Hi,

I am starting the AWT-Preview like this:

String[] opt = {foFile.toString(), -awt};
CommandLineOptions options = new
CommandLineOptions(opt);
Starter starter = options.getStarter();
starter.run();

I commented out the System.exit(0) in the dispose() method .

After closing the AWT-Preview the memory is not given free. 




-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Gesendet: Mittwoch, 20. Februar 2002 15:52
An: [EMAIL PROTECTED]
Betreff: Re: Custom fonts (again)



 Following lines from the Embedding FOP web page:

 userConfigFile = new File(userConfig);
 options = new Options(userConfigFile);

 Ok fine I got that, but what to do with the options variable after 
 this?

Nothing! :-) It's something static and registers itself in FOP. Not so 
beautiful, but it works for the moment.

Heh thanks think this should get a row in html (any of you documenting
this)
its not exactly selfexplanatory(sp?).

Cheers

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: FOP AWT Window Shuts Down Application

2002-02-20 Thread Christian Geisert

Keiron Liddle wrote:

 
 If it makes you feel better it has already been done.
 http://marc.theaimsgroup.com/?l=fop-cvsm=101420095016596w=2
 
 Someone might even commit this to the maintanence branch.


Ok, I'll do it .. but it's to late for 0.20.3rc2 (which is already
on icarus, waiting for Arved to move it to daedalus)

Christian


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




cvs commit: xml-fop build.xml

2002-02-20 Thread chrisg

chrisg  02/02/20 09:37:06

  Modified:.Tag: fop-0_20_2-maintain build.xml
  Log:
  fixed permissions for runtest.sh
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.44.2.5  +2 -0  xml-fop/build.xml
  
  Index: build.xml
  ===
  RCS file: /home/cvs/xml-fop/build.xml,v
  retrieving revision 1.44.2.4
  retrieving revision 1.44.2.5
  diff -u -r1.44.2.4 -r1.44.2.5
  --- build.xml 18 Feb 2002 19:17:38 -  1.44.2.4
  +++ build.xml 20 Feb 2002 17:37:06 -  1.44.2.5
  @@ -655,6 +655,7 @@
   mkdir dir=${dist.bin.result.dir}/build/
   copy todir=${dist.bin.result.dir}/build file=build/fop.jar/
   chmod file=${dist.bin.result.dir}/fop.sh perm=ugo+rx /
  +chmod file=${dist.src.result.dir}/docs/examples/runtests.sh perm=ugo+rx /
 
   zip zipfile=${name}-${version}-bin.zip basedir=${dist.bin.dir} 
includes=**/
   tar tarfile=${name}-${version}-bin.tar basedir=${dist.bin.dir} 
includes=**/
  @@ -677,6 +678,7 @@
   copy todir=${dist.src.result.dir}/build file=build/fop.jar/
   chmod file=${dist.src.result.dir}/build.sh perm=ugo+rx /
   chmod file=${dist.src.result.dir}/fop.sh perm=ugo+rx /
  +chmod file=${dist.src.result.dir}/docs/examples/runtests.sh perm=ugo+rx /
   
   zip zipfile=${name}-${version}-src.zip basedir=${dist.src.dir} 
includes=**/
   tar tarfile=${name}-${version}-src.tar basedir=${dist.src.dir} 
includes=**/
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: problem with fop 20.3

2002-02-20 Thread Sami, Abdul (Netprosys)

Change the attribute name of master-name to master-reference
Old:fo:simple-page-master master-name=simple
New:fo:simple-page-master master-reference=simple

For detail read FOP DTD PDF that comes with 20.3

Sami

-Original Message-
From: Nick Winger [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 20, 2002 5:08 AM
To: Apache Mailinglist (E-Mail)
Subject: problem with fop 20.3


hi !

i'm using fop 20.3.

i get an error message, saying:
'master-reference' for 'fo:page-sequence' matches no 'simple-page-master' or
'page-sequence-master'
( with fop 20.1 and exactly the same file, i have no error messages )

here's the code:

fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
fo:layout-master-set
fo:simple-page-master master-name=simple
page-height=29cm
page-width=21cm
margin-top=1cm
margin-bottom=1cm
margin-left=1.5cm
margin-right=1.5cm
fo:region-body display-align=center
margin-top=1cm
margin-bottom=128mm/
fo:region-before display-align=center
extent=12cm/
fo:region-after extent=128mm/
/fo:simple-page-master
/fo:layout-master-set

fo:page-sequence master-name=simple

lots of stuff here

/fo:page-sequence
/fo:root


anybody know what i have to change to get it running with version 20.3 ?


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
http://www.vanguard.at
==



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: FOP AWT Window Shuts Down Application

2002-02-20 Thread Peter B. West

Christian Geisert wrote:


 Ok, I'll do it .. but it's to late for 0.20.3rc2 (which is already
 on icarus, waiting for Arved to move it to daedalus)

Oops!  I hope icarus is not on Solaris.  It will go down any time now.

Peter


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: FOP AWT Window Shuts Down Application

2002-02-20 Thread Arved Sandstrom

-Original Message-
From: Christian Geisert [mailto:[EMAIL PROTECTED]]
Sent: February 20, 2002 1:28 PM
To: [EMAIL PROTECTED]
Subject: Re: FOP AWT Window Shuts Down Application


Keiron Liddle wrote:


 If it makes you feel better it has already been done.
 http://marc.theaimsgroup.com/?l=fop-cvsm=101420095016596w=2

 Someone might even commit this to the maintanence branch.


Ok, I'll do it .. but it's to late for 0.20.3rc2 (which is already
on icarus, waiting for Arved to move it to daedalus)

Christian

**

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 both machines.

Someone else (a committer) want to give it a shot? It might just be some
kind of configuration thing for me. Right now the FOP distros are on icarus
under /x1/home/chrisg. They need to go to daedalus.

Arved


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




extension element properties

2002-02-20 Thread Matthew L. Avizinis

Hello all,
  I have read the extension element writing document and examined the
label and outline extension elements code, but I don't see precisely how
element properties are mapped.  I have followed the pattern of the examples
in the code and mapped the element correctly but the properties are
ignored when FOP runs.
  Any help is appreciated.  Please be as detailed as possible -- I am not a
veteran FOP developer, so what may be patently obvious to you might not be
to me.
Gratefully,
   Matthew L. Avizinis mailto:[EMAIL PROTECTED]
Gleim Publications, Inc.
   4201 NW 95th Blvd.
 Gainesville, FL 32606
(352)-375-0772 ext. 101
  www.gleim.com http://www.gleim.com

===
com·put·ing (kum' pyoot ing)
1. n the art of calculating how much time you wasted and money you spent in
a doomed attempt to master a machine with a mind of it's own. --from
computing: A HACKER'S DICTIONARY


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]