java.lang.NoClassDefFoundError

2007-02-06 Thread Jeanna Geier
Hello List-

I'm new to Batik/FOP and am hoping someone on this list can help me track
down a problem we're having with our program..

Our program is supposed to (note the words supposed to =)) display reports
using Batik/FOP, however, when I click on the the name of the report I want
generated in our program, it's bringing up a new window with the title
FOP-AWT Preview, but nothing is displayed.

It's throwing the following exception:

Exception in thread AWT-EventQueue-0 java.lang.NoClassDefFoundError:
org/apache/fop/fo/ElementMapping$Maker

and here's the stack trace:

at org.apache.fop.apps.Driver.init(Driver.java:221)
at
apt.reporting.ReportGenerator.generateAWTReport(ReportGenerator.java:65)
at apt.gui.panels.ReportPanel.viewReport(ReportPanel.java:279)
at
apt.gui.panels.ReportPanel.listStandardReportsMouseClicked(ReportPanel.java:
134)
at apt.gui.panels.ReportPanel.access$200(ReportPanel.java:27)
at apt.gui.panels.ReportPanel$3.mouseClicked(ReportPanel.java:97)
at
java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:212)
at java.awt.Component.processMouseEvent(Component.java:5491)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3901)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
va:242)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:163)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

In my project I've included the fop-0.20.5  Batik_1.6 Libraries.

Any thoughts or ideas on why this error is occurring or how I could go about
tackling it would be greatly appreciated; as I said, I'm new to all of this
(inherited the program) and this is my first interaction with FOP.

If any other information would be helpful, please just let me know.

Thanks in advance for your time and assistance!
-Jeanna


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



Re: font-family=Arial Unicode MS in rtf doesn't work

2007-02-06 Thread Andreas L Delmelle

On Feb 6, 2007, at 07:22, Andreas L Delmelle wrote:


snip /
All that needs to be done, IIC, is to override Maker.make 
(PropertyList, String, FObj) in FontFamilyProperty. Note that this  
is about the only property that can contain spaces, where these  
spaces do /not/ signify boundaries between multiple values, as a  
list of font-families will be separated by commas.


Should be simple enough for someone who wants to get his feet  
wet... Might even take it on myself, if no one beats me to it.


FWIW: already did this locally (incl. normalization of sequences of  
more than one space).

It all boils down to an added 35-40 lines of code...

As soon as I'm 100% sure that the testcases that now fail, are  
failing as a result of the previous patch being applied, I'll commit  
the changes to the Trunk.



Cheers,

Andreas


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



Re: java.lang.NoClassDefFoundError

2007-02-06 Thread Andreas L Delmelle

On Feb 6, 2007, at 19:04, Jeanna Geier wrote:


snip /
In my project I've included the fop-0.20.5  Batik_1.6 Libraries.


Errmm, sorry, but that's a big NO-NO :)

FOP 0.20.5 is not compatible with Batik 1.6. You'll have to use the  
Batik version shipped with FOP 0.20.5, or --better-- you can try FOP  
0.93, which should work nicely with Batik 1.6.


That said, I'm not sure whether this is actually the cause of the  
error...



Cheers,

Andreas


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



RE: java.lang.NoClassDefFoundError

2007-02-06 Thread Jeanna Geier
Hello List-

I'm new to Batik/FOP and am hoping someone on this list can help me track
down a problem we're having with our program..

Our program is supposed to (note the words supposed to =)) display reports
using Batik/FOP, however, when I click on the the name of the report I want
generated in our program, it's bringing up a new window with the title
FOP-AWT Preview, but nothing is displayed.

It's throwing the following exception:

Exception in thread AWT-EventQueue-0 java.lang.NoClassDefFoundError:
org/apache/fop/fo/ElementMapping$Maker

and here's the stack trace:

at org.apache.fop.apps.Driver.init(Driver.java:221)
at
apt.reporting.ReportGenerator.generateAWTReport(ReportGenerator.java:65)
at apt.gui.panels.ReportPanel.viewReport(ReportPanel.java:279)
at
apt.gui.panels.ReportPanel.listStandardReportsMouseClicked(ReportPanel.java:
134)
at apt.gui.panels.ReportPanel.access$200(ReportPanel.java:27)
at apt.gui.panels.ReportPanel$3.mouseClicked(ReportPanel.java:97)
at
java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:212)
at java.awt.Component.processMouseEvent(Component.java:5491)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3901)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
va:242)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:163)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

In my project I've included the fop-0.20.5  Batik_1.6 Libraries.

Any thoughts or ideas on why this error is occurring or how I could go about
tackling it would be greatly appreciated; as I said, I'm new to all of this
(inherited the program) and this is my first interaction with FOP.

If any other information would be helpful, please just let me know.

Thanks in advance for your time and assistance!
-Jeanna


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



Re: font-family=Arial Unicode MS in rtf doesn't work

2007-02-06 Thread Jeff Vannest
 Should be simple enough for someone who wants to get his feet wet...

snip

 FWIW: already did this locally (incl. normalization of sequences of  
 more than one space).
 It all boils down to an added 35-40 lines of code...

 As soon as I'm 100% sure that the testcases that now fail, are  
 failing as a result of the previous patch being applied, I'll commit  
 the changes to the Trunk.

You almost had me convinced to take a stab at this one!

Yeah, I'm not sure why anyone would want multiple spaces between words as
previously quoted. I can't see how that would be desirable. In my case, I'm
using Altova StyleVision to generate XSL-FO files, and obviously that
product writes font families as they are declared locally, i.e., with single
spaces between words.

Jeff




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



Re: font-family=Arial Unicode MS in rtf doesn't work

2007-02-06 Thread J.Pietschmann

Jeff Vannest wrote:

font-family=Arial Unicode MS is already quoted, right?


Eh, not from the view point of the FO processor. The quotes
are for the XML parser, which passes the string Arial Unicode MS
(without the angle brackets) on to the FO processor, which has its
own rules about strings and quotations. Check the FO property grammar
for details.

J.Pietschmann

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



Re: font-family=Arial Unicode MS in rtf doesn't work

2007-02-06 Thread J.Pietschmann

Jeff Vannest wrote:

Yeah, I'm not sure why anyone would want multiple spaces between words as
previously quoted. I can't see how that would be desirable.


Line wrapping with indentation done by tools which take every
space as a line break opportunity.

J.Pietschmann

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



RE: font-family=Arial Unicode MS in rtf doesn't work

2007-02-06 Thread Jeff Vannest
I understand; it may be necessary to collapse multiple white space into a
single space before evaluation. Not that it is recommended as a solution to
something.

lightbulb/

Jeff


-Original Message-
From: J.Pietschmann [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 06, 2007 4:29 PM
To: fop-users@xmlgraphics.apache.org
Subject: Re: font-family=Arial Unicode MS in rtf doesn't work

Jeff Vannest wrote:
 Yeah, I'm not sure why anyone would want multiple spaces between words as
 previously quoted. I can't see how that would be desirable.

Line wrapping with indentation done by tools which take every
space as a line break opportunity.

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]



Table header printing on next page - Seems to be room for last row

2007-02-06 Thread Tim Keen




Hi all,

Has anyone had a chance to have a look at this?

Cheers

Tim

 Original Message 

  

  Subject: 
  Table header printing on next page - Seems to be room for
last row


  Date: 
  Wed, 24 Jan 2007 10:23:35 +1000


  From: 
  Tim Keen [EMAIL PROTECTED]


  Reply-To: 
  [EMAIL PROTECTED]


  To: 
  fop-users@xmlgraphics.apache.org

  





Hi
all,

In
the following the table header appears to be printing on the next page
when there is ample room for the last, albeit empty, table row.
(example file lid1.pdf)

Is
this a problem?

FWIW
when I remove the last empty row (line 404 to 408) the entire "STATUS
HISTORY" moves to the next page. (example lid2.pdf)

Am I
missing something?

I'm
using 0.93. and have coloured the regions to assist debugging.

Cheers

Tim
Keen






foout.fo
Description: Binary data
begin:vcard
fn:Tim Keen
n:Keen;Tim
adr:;;727 Esplanade;Lota;Qld;4179;Australia
email;internet:[EMAIL PROTECTED]
tel;home:+61 7 3348 7305
tel;cell:+61 7 417 606 955
x-mozilla-html:TRUE
version:2.1
end:vcard


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

Re: RTF Border Problem

2007-02-06 Thread Tim Keen
Title: RTF Border Problem




Hi all,

Has anyone had a chance to look at this?

Cheers

Tim

 Original Message 

  

  Subject: 
  RTF Border Problem


  Date: 
  Fri, 26 Jan 2007 10:48:39 +1000


  From: 
  Tim Keen [EMAIL PROTECTED]


  Reply-To: 
  [EMAIL PROTECTED]


  To: 
  fop-users@xmlgraphics.apache.org

  





RTF Border Problem
 Hi all,

I've come across what I believe is a small problem with the RTF
renderer. The fo shows a bordered block (line 231), empty block,
bordered block. What I expect is 2 distinct bordered paragraphs with
either an empty paragraph or no paragraph in between. What I get
(swan.rtf) is 2 paragraphs with a border around both paragraphs
effectively bordering the paragraphs together.

Am I being unreasonable? Is this really a problem with me?

Please let me know.

FWIW I'm using FOP.0.93.

Cheers

Tim Keen





foout.fo
Description: Binary data
begin:vcard
fn:Tim Keen
n:Keen;Tim
adr:;;727 Esplanade;Lota;Qld;4179;Australia
email;internet:[EMAIL PROTECTED]
tel;home:+61 7 3348 7305
tel;cell:+61 7 417 606 955
x-mozilla-html:TRUE
version:2.1
end:vcard


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

Out Of Memory Error

2007-02-06 Thread Krishna . Cherla
Hello All,

I am trying to convert a huge XML document(approx about 110 pages long,
777KB) into a pdf document using an FO transformation. But it gives me
the following error.

Exception in thread main java.lang.OutOfMemoryError

Can anybody guide me as to what is going wrong? Is there a limit on the
size of the document that can be transformed?If so , can it be
increased?

Thanks,
Sindhu 



Email Firewall made the following annotations
 NOTICE 
---

This message is for the designated recipient only and may contain confidential, 
privileged or proprietary information. If you have received it in error, please 
notify the sender immediately and delete the original and any copy or printout. 
Unintended recipients are prohibited from making any other use of this e-mail. 
Although we have taken reasonable precautions to ensure no viruses are present 
in this e-mail, we accept no liability for any loss or damage arising from the 
use of this e-mail or attachments, or for any delay or errors or omissions in 
the contents which result from e-mail transmission.

-


Re: Out Of Memory Error

2007-02-06 Thread Roland Neilands

Check the FAQ:
http://xmlgraphics.apache.org/fop/0.93/running.html#memory

Regards,
Roland 



[EMAIL PROTECTED] wrote:


Hello All,

I am trying to convert a huge XML document(approx about 110 pages 
long, 777KB) into a pdf document using an FO transformation. But it 
gives me the following error.


Exception in thread main java.lang.OutOfMemoryError

Can anybody guide me as to what is going wrong? Is there a limit on 
the size of the document that can be transformed?If so , can it be 
increased?


Thanks,
Sindhu


Email Firewall made the following annotations
-
--- NOTICE ---
This message is for the designated recipient only and may contain 
confidential, privileged or proprietary information. If you have 
received it in error, please notify the sender immediately and delete 
the original and any copy or printout. Unintended recipients are 
prohibited from making any other use of this e-mail. Although we have 
taken reasonable precautions to ensure no viruses are present in this 
e-mail, we accept no liability for any loss or damage arising from the 
use of this e-mail or attachments, or for any delay or errors or 
omissions in the contents which result from e-mail transmission.

-



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



Re: Out Of Memory Error

2007-02-06 Thread Jay Bryant
Out Of Memory ErrorI routinely make much larger files (600+ pages with lots of 
images, so 6+ MB filesize). Try the items mentioned in the following link:

http://xmlgraphics.apache.org/fop/0.93/running.html#memory

I have also used FOP to make PDF files of more than 2,000 pages, but those 
didn't have images (they were data catalogs for a data warehouse).

Jay Bryant
Bryant Communication Services
  - Original Message - 
  From: [EMAIL PROTECTED] 
  To: fop-users@xmlgraphics.apache.org 
  Sent: Tuesday, February 06, 2007 4:54 PM
  Subject: Out Of Memory Error


  Hello All, 

  I am trying to convert a huge XML document(approx about 110 pages long, 
777KB) into a pdf document using an FO transformation. But it gives me the 
following error.

  Exception in thread main java.lang.OutOfMemoryError 

  Can anybody guide me as to what is going wrong? Is there a limit on the size 
of the document that can be transformed?If so , can it be increased?

  Thanks, 
  Sindhu 



  Email Firewall made the following annotations 
  -
  --- NOTICE --- 
  This message is for the designated recipient only and may contain 
confidential, privileged or proprietary information. If you have received it in 
error, please notify the sender immediately and delete the original and any 
copy or printout. Unintended recipients are prohibited from making any other 
use of this e-mail. Although we have taken reasonable precautions to ensure no 
viruses are present in this e-mail, we accept no liability for any loss or 
damage arising from the use of this e-mail or attachments, or for any delay or 
errors or omissions in the contents which result from e-mail transmission. 
  -



Does unsubscribe from mailing list work?

2007-02-06 Thread Martin.Hynar

Hi,

I have unsubscribed from this mailinh list, but I am still receiving new 
messages. Could you fix it somehow?

br, Martin

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