Specific Requirement - Help Me

2002-11-26 Thread sanjeev




Hi,
 
    
I have the following requirement. I am not sure how to use FOP for meeting this 
requirement. Can anyone please help me with some of your ideas.
 
 
***
 
The Preview function allows any user, registered, 
non-registered, logged in, or logged off, to preview in a printer friendly 
version:
 
§ 
Any 
static content 
which includes one or several static pages which could be in HTML, JSP, or any 
other type of format.
 
§ 
Any 
document which 
includes one or several pages.  
Example of documents are brochures, flyers, newsletters, articles, 
reports, white papers, etc.  
Documents are located in the Library in 
the Support section.   Documents could be in any format 
such as HTML, RTF, Text, PDF, Word, etc.
 
§ 
Any database record which 
includes one or several tabs.  
Examples of Records are Corporate Profiles, Individual Profiles, Job 
Profiles, etc.  Currently records 
are stored in Oracle database.  
Other databases such as Sybase, SQL Server, and DB2 will also be 
supported.  While records, 
consisting of many different tabs which include many different fields, are 
appropriate for online access, they are very inadequate for previewing or 
printing.  Hence, the Preview function offers an 
intelligent translation of records.  
For example, the employment record of an individual is automatically 
translated into a chronological resume for preview.  
 
***
 
Thankx in Advance !!!
Sanjeev


RE: Specific Requirement - Help Me

2002-11-26 Thread Calero, Roberto



It  looks to me your requirement is to create 
content in a variety of formats and not just PDF files.
As for 
preview... I would generate links to the proper files to be displayed and for 
your database records I would generate html content.
 
Very 
simple...

  -Original Message-From: sanjeev 
  [mailto:[EMAIL PROTECTED]Sent: Tuesday, 26 November 2002 
  2:26 PMTo: [EMAIL PROTECTED]Subject: Specific 
  Requirement - Help Me
  
  Hi,
   
      
  I have the following requirement. I am not sure how to use FOP for meeting 
  this requirement. Can anyone please help me with some of your 
ideas.
   
   
  ***
   
  The Preview function allows any user, registered, 
  non-registered, logged in, or logged off, to preview in a printer friendly 
  version:
   
  § 
  Any 
  static content 
  which includes one or several static pages which could be in HTML, JSP, or any 
  other type of format.
   
  § 
  Any 
  document which 
  includes one or several pages.  
  Example of documents are brochures, flyers, newsletters, articles, 
  reports, white papers, etc.  
  Documents are located in the Library 
  in the Support section.   Documents could be in any format 
  such as HTML, RTF, Text, PDF, Word, etc.
   
  § 
  Any database record which 
  includes one or several tabs.  
  Examples of Records are Corporate Profiles, Individual Profiles, Job 
  Profiles, etc.  Currently records 
  are stored in Oracle database.  
  Other databases such as Sybase, SQL Server, and DB2 will also be 
  supported.  While records, 
  consisting of many different tabs which include many different fields, are 
  appropriate for online access, they are very inadequate for previewing or 
  printing.  Hence, the Preview function offers an 
  intelligent translation of records.  For example, the employment record of 
  an individual is automatically translated into a chronological resume for 
  preview.  
  
   
  ***
   
  Thankx in Advance !!!
  Sanjeev


Re: Strange hyphenation

2002-11-26 Thread lepekhine
Thank you very much!

On Monday 25 November 2002 17:31, Oleg Tkachenko wrote:
> lepekhine wrote:
> > Could you help me with the very strange
> > hyphenation of Russian words?
> > I use fop 0.20.4 and docbook 1.55.0
> > In the multysyllable russian words sometimes
> > the middle syllable is left at the and of line,
> > then goes hyphen mark and the rest of word
> > (without middle syllable) goes on the next line.
> > In English it corresponds to the next division
> > of word "hyphenation" for example: phen-
> > hynation.
>
> How does generated fo look like? Did you set language property?

I have set language in 
I did not generate fo file but if you are interested in I will.
Now I am fully satisfied with the absence of hyphenation.
Thank you once more.

Alexander Lepekhine

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



RE: HttpServletResponse.setHeader("Content-Disposition","attachme nt; filename=Report.pdf ")

2002-11-26 Thread Miguel Angel Busto
Hi Christian.

If you set content-disposition, attachment. Web Browser will open save as
dialog. You must put
HttpServletResponse.setHeader("Content-Disposition","inline;
filename=Report.pdf ")

This works for me.


regards

-Original Message-
From: Christian Geisert [mailto:[EMAIL PROTECTED]
Sent: viernes, 15 de noviembre de 2002 16:58
To: [EMAIL PROTECTED]
Subject: Re:
HttpServletResponse.setHeader("Content-Disposition","attachment;
filename=Report.pdf ")


[EMAIL PROTECTED] wrote:
> 
> Hello with all!
> 
> I have a servlet in which I send a PDF to the navigator while
> writing
> 
> HttpServletResponse.setContentType("application/pdf ");
> HttpServletResponse.setHeader("Content-Disposition","attachment;
> filename=Report.pdf ");
> 
> And the navigator twice opens the page of download of file.
> Why?  I would like to know if it is about option of configuration of
> navigator IE and how to use the HttpServletResponse.setHeader(. method
> correctly.) with good options.

See the FAQ at http://xml.apache.org/fop/faq.html#part-N10445

Christian

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



Re: Specific Requirement - Help Me

2002-11-26 Thread Oleg Tkachenko
sanjeev wrote:
I have the following requirement. I am not sure how to use FOP for 
meeting this requirement. Can anyone please help me with some of your ideas.
FOP is just an xsl-fo formatter, it's not a versatile processor of "any 
other type of format".

PS. Don't post messages in html format to the list, it's forbidden by 
Apache maillist guidelines [1].

[1]http://jakarta.apache.org/site/mail.html
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Font embending

2002-11-26 Thread Nyári Győző
I've the embed-file param in the userconfig.xml file.
I read up the config file with 
Options options = new Options("userconfig.xml");

Then when I watch the file with Acrobat, it a message shows up:
"Unable to extract the embedded font 'ArialHU'. Some characters..."

userconfig.xml:
  

 

Thanks,
Mojo

Jeremias Maerki wrote:
> 
> It is implemented. I think you've got everything you need (embed-file
> attribute). See here: http://xml.apache.org/fop/fonts.html
> 
> On 25.11.2002 18:51:01 Nyári Győző wrote:
> > Hi!
> >
> > How can I embend fonts in the pdf?
> > I've the emded-file param in the userconfig.xml.
> > The faq writes: "Provide$$$"
> > It isn't implemented?
> 
> Jeremias Maerki
> 
> -
> 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: Font embending

2002-11-26 Thread Dennis Myrén
Try to embed the PFB file instead of the PFM file

Regards
Dennis

>"Unable to extract the embedded font 'ArialHU'. Some characters..."
>


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



Re: Font embending

2002-11-26 Thread Oleg Tkachenko
Nyári Győző wrote:
userconfig.xml:
  
Should be
   
Probably font embedding page should updated to provide an example of 
type1 font registration in userconfig.xml.

--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Font embending

2002-11-26 Thread Jeremias Maerki
Are you sure your Arial font is really a Type 1 font? I've never seen
Arial in Type 1 before. Are you sure you have an Arial.pfb and an
Arial.pfm? I think you will more likely have a Arial.ttf which you have
to specify in the embed-file attribute. That's the file you will have
generated the font metrics from, right? If it is a Type 1 font, Dennis
is right and you have to specify Arial.pfb, not Arial.pfm.

Good luck!

On 26.11.2002 09:23:06 Nyári Gyõzõ wrote:
> I've the embed-file param in the userconfig.xml file.
> I read up the config file with 
> Options options = new Options("userconfig.xml");
> 
> Then when I watch the file with Acrobat, it a message shows up:
> "Unable to extract the embedded font 'ArialHU'. Some characters..."
> 
> userconfig.xml:
>embed-file="d:\pdflib\Arial1.pfm">
>  weight="normal">
>  


Jeremias Maerki


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



Re: Font embending

2002-11-26 Thread Jeremias Maerki

On 26.11.2002 09:25:12 Oleg Tkachenko wrote:
> Nyári Gyõzõ wrote:
> 
> > userconfig.xml:
> >> embed-file="d:\pdflib\Arial1.pfm">
> Should be
>  embed-file="d:\pdflib\Arial1.pfb">
> 
> Probably font embedding page should updated to provide an example of 
> type1 font registration in userconfig.xml.

Will do.


Jeremias Maerki


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



Re: Font embending

2002-11-26 Thread Nyári Gyõzõ
Thanks, it works.

Gyõzõ

Dennis Myrén wrote:
> 
> Try to embed the PFB file instead of the PFM file
> 
> Regards
> Dennis
> 
> >"Unable to extract the embedded font 'ArialHU'. Some characters..."
> >
> 
> -
> 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: Font embending

2002-11-26 Thread Nyári Gyõzõ
Another question:
'#' character replaces the 'õ' characters (and all iso-8859-2 specific
characters).
The font contains the characters, we used it already. 
Whats the problem?

Thanks,
Gyõzõ

Nyári Gyõzõ wrote:
> 
> Thanks, it works.
> 
> Gyõzõ
> 
> Dennis Myrén wrote:
> >
> > Try to embed the PFB file instead of the PFM file
> >
> > Regards
> > Dennis
> >
> > >"Unable to extract the embedded font 'ArialHU'. Some characters..."
> > >
> >
> > -
> > 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]

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



Tables

2002-11-26 Thread Nyári Gyõzõ

Can I make a table with different rows:

|=|
| ROW 1   |
|=|
| |   ROW 2|  |
|=|

Where row 1 is made of one cell but row 2 contains different number of
cells.
?
Or shall I make two different tables?

Thanks,
Gyõzõ

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



AW: Tables

2002-11-26 Thread Harald Meyer
> Where row 1 is made of one cell but row 2 contains different number of
> cells.
> ?
> Or shall I make two different tables?

You can work with the attribute number-columns-spanned for table-cell to
have cells span several columns.

Harald



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



Re: Tables

2002-11-26 Thread Olivier GUCKERT


Nyári Gyõzõ a écrit :
> 
> Can I make a table with different rows:
> 
> |=|
> | ROW 1   |
> |=|
> | |   ROW 2|  |
> |=|
> 
> Where row 1 is made of one cell but row 2 contains different number of
> cells.
> ?

Use for row 1 : table-cell number-rows-spanned="3"

It should work

> Or shall I make two different tables?
no.

> 
> Thanks,
> Gyõzõ


Olivier Guckert

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



Re: Tables

2002-11-26 Thread Olivier GUCKERT


Olivier GUCKERT a écrit :
> 
> Nyári Gyõzõ a écrit :
> >
> > Can I make a table with different rows:
> >
> > |=|
> > | ROW 1   |
> > |=|
> > | |   ROW 2|  |
> > |=|
> >
> > Where row 1 is made of one cell but row 2 contains different number of
> > cells.
> > ?
> 
> Use for row 1 : table-cell number-rows-spanned="3"

sorry : number-columns-spanned is better for you !

> 
> It should work
> 
> > Or shall I make two different tables?
> no.
> 
> >
> > Thanks,
> > Gyõzõ
> 
> Olivier Guckert

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



xml FOP JSP

2002-11-26 Thread manzano








Hello, my name is Raul and I have
lots of problems.

I try every thing and I cant
make it.

Any one knows how get a pdf file from a jsp with FOP, and
that the xml source is get from another jsp file that
is dynamically generated???

Solutions? An example would be
wonderful…..

Help! 

 

 

 

Raul 

Universidad de Oviedo 

Aulanet








RE: xml FOP JSP

2002-11-26 Thread Stephan Wiesner
Hi Raul,
I have an application running that does this. However it is integrated
and I can't make an easy example form it. This is what I am doing:
The XML is generated by a standard Java class, which is called by a JSP.
The resulting DOM Node ist then evaluated and saved in the session. The
user has to make some choices, based on the contents of the XML Node and
this choices are evaluated by another JSP, which handles it together
with the Node from the session to a class which generates the PDF. The
resulting byte[] (content in the example below) can then be written to
the browser with the following:

response.setContentType("application/pdf");
response.setContentLength(content.length);
response.getOutputStream().write(content);
response.getOutputStream().flush();

Hope that helped some.
Stephan

-Original Message-
From: manzano [mailto:[EMAIL PROTECTED] 
Sent: Dienstag, 26. November 2002 11:59
To: [EMAIL PROTECTED]
Subject: xml FOP JSP


Hello, my name is Raul and I have lots of problems.
I try every thing and I cant make it.
Any one knows how get a pdf file from a jsp with FOP, and that the xml
source is get from another jsp file that is dynamically generated???
Solutions? An example would be wonderful...
Help! 
 
 
 
Raul 
Universidad de Oviedo 
Aulanet



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



German/French Special Characters in FOP

2002-11-26 Thread M.Weiss
Hi everybody,

I got a serious problem with special characters, when doing the following:

I build up an XML-Document from given data-records. Theese records may
contain special characters, such as German "umlaute" ä,ö,ü,ß or french
"accents" à, û and so on.

The whole story runs fine with recors without those characters, but with one
or mor such chars, I got an FOP-Exception:

"An invalid XML character (Unicode: 0xfc) was found in the element content
of the document."

when rendering the XML-Document.

Does any one know how to deal with those characters ? Is there any kind of
conversion ?


Thanks and regards,
Marcus


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



RE: German/French Special Characters in FOP

2002-11-26 Thread Dennis Myrén
Try saving your FO documents in UTF-8 and send to FOP.

Regards 
Dennis

-Original Message-
From: M.Weiss [mailto:[EMAIL PROTECTED] 
Sent: 26. november 2002 14:57
To: FOP-Mailinglist (engl)
Subject: German/French Special Characters in FOP
>Hi everybody,
>I got a serious problem with special characters, when doing the following:
>I build up an XML-Document from given data-records. Theese records may
>contain special characters, such as German "umlaute" ä,ö,ü,ß or french
>"accents" à, û and so on.
>The whole story runs fine with recors without those characters, but with >one 
>or mor such chars, I got an FOP-Exception:
>"An invalid XML character (Unicode: 0xfc) was found in the element content
>of the document."
>when rendering the XML-Document.
>Does any one know how to deal with those characters ? Is there any kind of
>conversion ?
>Thanks and regards, Marcus


-
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: German/French Special Characters in FOP

2002-11-26 Thread Jeremias Maerki
Or even better: Generate SAX events and pipe them through to FOP. That
way you'll stay in Unicode the whole time and should not have any
problems with non-ASCII7 characters. And you avoid a temporary result
that's using up memory and slowing down the whole process with a
serialization and parsing sequence.

If you described in a bit more detail how you're generating XML it might
be simpler to for us to help you isolate the problem.

On 26.11.2002 15:04:59 Dennis Myrén wrote:
> Try saving your FO documents in UTF-8 and send to FOP.
> 
> Regards 
> Dennis
> 
> -Original Message-
> From: M.Weiss [mailto:[EMAIL PROTECTED] 
> Sent: 26. november 2002 14:57
> To: FOP-Mailinglist (engl)
> Subject: German/French Special Characters in FOP
> >Hi everybody,
> >I got a serious problem with special characters, when doing the following:
> >I build up an XML-Document from given data-records. Theese records may
> >contain special characters, such as German "umlaute" ä,ö,ü,ß or french
> >"accents" à, û and so on.
> >The whole story runs fine with recors without those characters, but with 
> >>one or mor such chars, I got an FOP-Exception:
> >"An invalid XML character (Unicode: 0xfc) was found in the element content
> >of the document."
> >when rendering the XML-Document.
> >Does any one know how to deal with those characters ? Is there any kind of
> >conversion ?
> >Thanks and regards, Marcus


Jeremias Maerki


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



AW: German/French Special Characters in FOP

2002-11-26 Thread Gehrer Helmut
Hi Marcus

Define encoding in your Data-xml



Works fine for french and german data.

Regards, Helmut


> -Ursprüngliche Nachricht-
> Von: M.Weiss [mailto:[EMAIL PROTECTED]
> Gesendet am: Dienstag, 26. November 2002 14:57
> An: FOP-Mailinglist (engl)
> Betreff: German/French Special Characters in FOP
> Wichtigkeit: Hoch
> 
> Hi everybody,
> 
> I got a serious problem with special characters, when doing 
> the following:
> 
> I build up an XML-Document from given data-records. Theese records may
> contain special characters, such as German "umlaute" ä,ö,ü,ß or french
> "accents" à, û and so on.
> 
> The whole story runs fine with recors without those 
> characters, but with one
> or mor such chars, I got an FOP-Exception:
> 
> "An invalid XML character (Unicode: 0xfc) was found in the 
> element content
> of the document."
> 
> when rendering the XML-Document.
> 
> Does any one know how to deal with those characters ? Is 
> there any kind of
> conversion ?
> 
> 
> Thanks and regards,
> Marcus
> 
> 
> -
> 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]



Reading XML from JAR.

2002-11-26 Thread Trevor Vaughan
Hi,
I'm working on a program that uses fop for output and I would like to 
read my xml file directly from a JAR.  Is this possible?  If so, does 
anyone have any tips on how to get started?

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


Re: German/French Special Characters in FOP

2002-11-26 Thread Nyári Gyõzõ
I've a similar problem.
fo file is in UTF-8, sended directly to FOP.
Embedded fonts are used (which contains the special characters), but '#'
characters shows up instead non ASCII7 characters.

Gyõzõ

Dennis Myrén wrote:
> 
> Try saving your FO documents in UTF-8 and send to FOP.
> 
> Regards
> Dennis
> 
> -Original Message-
> From: M.Weiss [mailto:[EMAIL PROTECTED]
> Sent: 26. november 2002 14:57
> To: FOP-Mailinglist (engl)
> Subject: German/French Special Characters in FOP
> >Hi everybody,
> >I got a serious problem with special characters, when doing the following:
> >I build up an XML-Document from given data-records. Theese records may
> >contain special characters, such as German "umlaute" ä,ö,ü,ß or french
> >"accents" à, û and so on.
> >The whole story runs fine with recors without those characters, but with 
> >>one or mor such chars, I got an FOP-Exception:
> >"An invalid XML character (Unicode: 0xfc) was found in the element content
> >of the document."
> >when rendering the XML-Document.
> >Does any one know how to deal with those characters ? Is there any kind of
> >conversion ?
> >Thanks and regards, Marcus
> 
> -
> 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]

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



RE: German/French Special Characters in FOP

2002-11-26 Thread "Buchtík, Michal"
try to embed unicode font
see http://xml.apache.org/fop/fonts.html for details

Michal


-Original Message-
From: Nyári Gyozo [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 26, 2002 3:20 PM
To: [EMAIL PROTECTED]
Subject: Re: German/French Special Characters in FOP


I've a similar problem.
fo file is in UTF-8, sended directly to FOP.
Embedded fonts are used (which contains the special characters), but '#'
characters shows up instead non ASCII7 characters.

Gyõzõ

Dennis Myrén wrote:
> 
> Try saving your FO documents in UTF-8 and send to FOP.
> 
> Regards
> Dennis
> 
> -Original Message-
> From: M.Weiss [mailto:[EMAIL PROTECTED]
> Sent: 26. november 2002 14:57
> To: FOP-Mailinglist (engl)
> Subject: German/French Special Characters in FOP
> >Hi everybody,
> >I got a serious problem with special characters, when doing the
following:
> >I build up an XML-Document from given data-records. Theese records may
> >contain special characters, such as German "umlaute" ä,ö,ü,ß or french
> >"accents" à, û and so on.
> >The whole story runs fine with recors without those characters, but with
>one or mor such chars, I got an FOP-Exception:
> >"An invalid XML character (Unicode: 0xfc) was found in the element
content
> >of the document."
> >when rendering the XML-Document.
> >Does any one know how to deal with those characters ? Is there any kind
of
> >conversion ?
> >Thanks and regards, Marcus
> 
> -
> 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]

-
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]



Unknown formatting object null^null ... once again

2002-11-26 Thread Matthias Kräuter
Hello Jeremias,
thanks for your help, but the problem still exists. Below is my 
stacktrace with line numbers.

[reports] [ERROR] Unknown formatting object null^null
BUILD FAILED
java.lang.NullPointerException
   at 
org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:238)
   at 
org.apache.fop.tools.DocumentReader.parse(DocumentReader.java:444)
   at org.apache.fop.apps.Driver.render(Driver.java:469)
   at cmp.Report.execute(Report.java:585)

Thanks in advance
Matthias
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Reading XML from JAR.

2002-11-26 Thread Norr, Peter
try this..

java.util.zip.ZipFile zippy = new
java.util.zip.ZipFile("fullpathtothejar.jar");
java.util.zip.ZipEntry zipEntry = zippy.getEntry("com/package/thexml.xml");
InputStream is=zippy.getInputStream(zipEntry);

-Original Message-
From: Trevor Vaughan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 26, 2002 9:21 AM
To: [EMAIL PROTECTED]
Subject: Reading XML from JAR.


Hi,

I'm working on a program that uses fop for output and I would like to 
read my xml file directly from a JAR.  Is this possible?  If so, does 
anyone have any tips on how to get started?

Thanks,

Trevor


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


--
This message is intended only for the personal and confidential use of the 
designated recipient(s) named above.  If you are not the intended recipient of 
this message you are hereby notified that any review, dissemination, 
distribution or copying of this message is strictly prohibited.  This 
communication is for information purposes only and should not be regarded as an 
offer to sell or as a solicitation of an offer to buy any financial product, an 
official confirmation of any transaction, or as an official statement of Lehman 
Brothers.  Email transmission cannot be guaranteed to be secure or error-free.  
Therefore, we do not represent that this information is complete or accurate 
and it should not be relied upon as such.  All information is subject to change 
without notice.



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



Re: Unknown formatting object null^null ... once again

2002-11-26 Thread Jeremias Maerki
Yes, that seems to be the uri parameter that comes in null.

Let's look at it from another angle: You have the FO in a DOM, right? It
looks like that DOM doesn't support namespaces for some reason. You said
you've checked that you've got a relatively new version of Xerces. Do
you use JDK 1.4? If yes and you haven't placed Xerces and Xalan in the
endorsed directory, you're probably still using Crimson and that buggy
old Xalan included in JDK 1.4.

Anyway, could you post the code where you build up the DOM and pass it
to FOP? Or another approach: Do you have to work with a DOM? What
exactly are you trying to do?

On 26.11.2002 15:29:24 Matthias Kräuter wrote:
>  Hello Jeremias,
> 
> thanks for your help, but the problem still exists. Below is my 
> stacktrace with line numbers.
> 
>  [reports] [ERROR] Unknown formatting object null^null
> 
> BUILD FAILED
> java.lang.NullPointerException
> at 
> org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:238)
> at 
> org.apache.fop.tools.DocumentReader.parse(DocumentReader.java:444)
> at org.apache.fop.apps.Driver.render(Driver.java:469)
> at cmp.Report.execute(Report.java:585)



Jeremias Maerki


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



Re: Reading XML from JAR.

2002-11-26 Thread Johan Åbrandt
Another option might be:
InputStream is = 
someObjectLoadedFromSameJarAsTheXMLFileIsLocatedIn.getClass().getResourceAsStream( 
"/theXml.xml" );

Norr, Peter wrote:
try this..
java.util.zip.ZipFile zippy = new
java.util.zip.ZipFile("fullpathtothejar.jar");
java.util.zip.ZipEntry zipEntry = zippy.getEntry("com/package/thexml.xml");
InputStream is=zippy.getInputStream(zipEntry);
-Original Message-
From: Trevor Vaughan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 26, 2002 9:21 AM
To: [EMAIL PROTECTED]
Subject: Reading XML from JAR.
Hi,
I'm working on a program that uses fop for output and I would like to 
read my xml file directly from a JAR.  Is this possible?  If so, does 
anyone have any tips on how to get started?

Thanks,
Trevor
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
This message is intended only for the personal and confidential use of the 
designated recipient(s) named above.  If you are not the intended recipient of 
this message you are hereby notified that any review, dissemination, 
distribution or copying of this message is strictly prohibited.  This 
communication is for information purposes only and should not be regarded as an 
offer to sell or as a solicitation of an offer to buy any financial product, an 
official confirmation of any transaction, or as an official statement of Lehman 
Brothers.  Email transmission cannot be guaranteed to be secure or error-free.  
Therefore, we do not represent that this information is complete or accurate 
and it should not be relied upon as such.  All information is subject to change 
without notice.

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


--
Johan Åbrandt
Technical Project Manager
(Tekninen projektipäällikkö)
Tel. +358 9 6817 3342
Mobile. +358 40 848 8068
[EMAIL PROTECTED]
Profit Software Oy
Meritullinkatu 11 C
00170 Helsinki, Finland
__
This message and its attachments have been found clean from known viruses 
with three different antivirus programs.
__

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


Re: Reading XML from JAR.

2002-11-26 Thread Trevor Vaughan
Thanks to the both of you.  It's been ages since I've tried messing with 
JARs.

Trevor
Johan Åbrandt wrote:
Another option might be:
InputStream is = 
someObjectLoadedFromSameJarAsTheXMLFileIsLocatedIn.getClass().getResourceAsStream( 
"/theXml.xml" );

Norr, Peter wrote:
try this..
java.util.zip.ZipFile zippy = new
java.util.zip.ZipFile("fullpathtothejar.jar");
java.util.zip.ZipEntry zipEntry = 
zippy.getEntry("com/package/thexml.xml");
InputStream is=zippy.getInputStream(zipEntry);

-Original Message-
From: Trevor Vaughan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 26, 2002 9:21 AM
To: [EMAIL PROTECTED]
Subject: Reading XML from JAR.
Hi,
I'm working on a program that uses fop for output and I would like to 
read my xml file directly from a JAR.  Is this possible?  If so, does 
anyone have any tips on how to get started?

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

This message is intended only for the personal and confidential use 
of the designated recipient(s) named above.  If you are not the 
intended recipient of this message you are hereby notified that any 
review, dissemination, distribution or copying of this message is 
strictly prohibited.  This communication is for information purposes 
only and should not be regarded as an offer to sell or as a 
solicitation of an offer to buy any financial product, an official 
confirmation of any transaction, or as an official statement of 
Lehman Brothers.  Email transmission cannot be guaranteed to be 
secure or error-free.  Therefore, we do not represent that this 
information is complete or accurate and it should not be relied upon 
as such.  All information is subject to change without notice.


-
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]


PDF Encryption and Access rights

2002-11-26 Thread Trevor Vaughan
Hi,
Are there any tips on how to encrypt and/or add access rights to the pdf 
generated by fop?

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


RE: PDF Encryption and Access rights

2002-11-26 Thread "Buchtík, Michal"
Fop does not support this.
Use other sw, iText for example http://www.lowagie.com/itext

Michal

-Original Message-
From: Trevor Vaughan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 26, 2002 5:45 PM
To: [EMAIL PROTECTED]
Subject: PDF Encryption and Access rights


Hi,

Are there any tips on how to encrypt and/or add access rights to the pdf 
generated by fop?

Thanks,

Trevor


-
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]



Pass xsl:param value to FOP through command line

2002-11-26 Thread Clay Leeds
Howdy,
I didn't find this answer in the archives. I'd like to pass an xsl:param 
value to FOP. Is this possible? I found some information about doing this 
through the use of a servlet, however I'm using *.BAT files (under Windows) 
& *.sh scripts (in *NIX). I'd like to be able to pass xsl:param or 
xsl:variable values, to effect output.

Any ideas?
Thanks!
- Clay Leeds
- Web Developer
- [EMAIL PROTECTED] 

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


Re: Pass xsl:param value to FOP through command line

2002-11-26 Thread Thorsten Scherler
Did you use xsp?
Clay Leeds wrote:
Howdy,
I didn't find this answer in the archives. I'd like to pass an xsl:param 
value to FOP. Is this possible? I found some information about doing 
this through the use of a servlet, however I'm using *.BAT files (under 
Windows) & *.sh scripts (in *NIX). I'd like to be able to pass xsl:param 
or xsl:variable values, to effect output.

Any ideas?
Thanks!
- Clay Leeds
- Web Developer
- [EMAIL PROTECTED]
-
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: Pass xsl:param value to FOP through command line

2002-11-26 Thread Clay Leeds
No. (at least I don't know what xsp is). My clients have installed JRE 1.4 
& FOP, and that is all. I'd rather not have to install other items (if 
possible, of course). I'm just wondering if it's possible to pass variable 
& param values directly to FOP through the command line.

If it makes any difference my clients intend to run the gamut of output 
options: -print, -pcl, -awt, -ps, pdf...

Thanks!
Clay
At 08:54 AM 11/26/2002, you wrote:
Did you use xsp?
Clay Leeds wrote:
Howdy,
I didn't find this answer in the archives. I'd like to pass an xsl:param 
value to FOP. Is this possible? I found some information about doing this 
through the use of a servlet, however I'm using *.BAT files (under 
Windows) & *.sh scripts (in *NIX). I'd like to be able to pass xsl:param 
or xsl:variable values, to effect output.
Any ideas?
Thanks!
- Clay Leeds
- Web Developer
- [EMAIL PROTECTED]
-
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]
- Clay Leeds
- Web Developer
- [EMAIL PROTECTED] 

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


Re: Pass xsl:param value to FOP through command line

2002-11-26 Thread Thorsten Scherler
Sorry, but can't help.
I am using fop within cocoon.
XSP stands for Extensible Server pages.
But if you pass values to fop, can't you insert the params BEFORE 
passing it to fop?

Clay Leeds wrote:
No. (at least I don't know what xsp is). My clients have installed JRE 
1.4 & FOP, and that is all. I'd rather not have to install other items 
(if possible, of course). I'm just wondering if it's possible to pass 
variable & param values directly to FOP through the command line.

If it makes any difference my clients intend to run the gamut of output 
options: -print, -pcl, -awt, -ps, pdf...

Thanks!
Clay
At 08:54 AM 11/26/2002, you wrote:
Did you use xsp?
Clay Leeds wrote:
Howdy,
I didn't find this answer in the archives. I'd like to pass an 
xsl:param value to FOP. Is this possible? I found some information 
about doing this through the use of a servlet, however I'm using 
*.BAT files (under Windows) & *.sh scripts (in *NIX). I'd like to be 
able to pass xsl:param or xsl:variable values, to effect output.
Any ideas?
Thanks!
- Clay Leeds
- Web Developer
- [EMAIL PROTECTED]
-
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]

- Clay Leeds
- Web Developer
- [EMAIL PROTECTED]
-
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: Pass xsl:param value to FOP through command line

2002-11-26 Thread Clay Leeds
That's what I'm trying to do by passing the PARAM in the COMMAND line. It 
may just be that I don't completely understand the process. I have a system 
which outputs an XML file, and if a setting exists, will print that file 
using XSL:FO. I have a 2nd page in the XSL:FO that is static (it's a 
government form). If the printer can handle DUPLEX (print on front & back) 
then I output the 2nd page. If it does not, then they must purchase 
pre-printed paper with the government disclaimer stuff on the back.

I'd like to have my .BAT/.sh script which runs FOP pass a parameter to FOP 
so it "knows" whether or not to print the 2nd page. I guess I could set up 
the system to always output both pages, but then only "print" ODD pages, 
but I have no guarantee that I'll have that much control over the 
environment. I do, however have control over the .BAT/.sh script

Thanks for your help!
Web Maestro Clay
At 09:04 AM 11/26/2002, you wrote:
Sorry, but can't help.
I am using fop within cocoon.
XSP stands for Extensible Server pages.
But if you pass values to fop, can't you insert the params BEFORE passing 
it to fop?

Clay Leeds wrote:
No. (at least I don't know what xsp is). My clients have installed JRE 
1.4 & FOP, and that is all. I'd rather not have to install other items 
(if possible, of course). I'm just wondering if it's possible to pass 
variable & param values directly to FOP through the command line.
If it makes any difference my clients intend to run the gamut of output 
options: -print, -pcl, -awt, -ps, pdf...
Thanks!
Clay
At 08:54 AM 11/26/2002, you wrote:

Did you use xsp?
Clay Leeds wrote:
Howdy,
I didn't find this answer in the archives. I'd like to pass an 
xsl:param value to FOP. Is this possible? I found some information 
about doing this through the use of a servlet, however I'm using *.BAT 
files (under Windows) & *.sh scripts (in *NIX). I'd like to be able to 
pass xsl:param or xsl:variable values, to effect output.
Any ideas?
Thanks!
- Clay Leeds
- Web Developer
- [EMAIL PROTECTED]
-
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]
- Clay Leeds
- Web Developer
- [EMAIL PROTECTED]
-
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]
- Clay Leeds
- Web Developer
- [EMAIL PROTECTED] 

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


Re: Pass xsl:param value to FOP through command line

2002-11-26 Thread Thorsten Scherler

Clay Leeds wrote:
That's what I'm trying to do by passing the PARAM in the COMMAND line. 
It may just be that I don't completely understand the process. I have a 
system which outputs an XML file, and if a setting exists, will print 
that file using XSL:FO. I have a 2nd page in the XSL:FO that is static 
(it's a government form). 
Understood.
If the printer can handle DUPLEX (print on
front & back) then I output the 2nd page. If it does not, then they must 
purchase pre-printed paper with the government disclaimer stuff on the 
back.

You want to keep the information in a file or should it be done "on the 
fly"?

I'd like to have my .BAT/.sh script which runs FOP pass a parameter to 
FOP so it "knows" whether or not to print the 2nd page. 
ok, on the fly. But your .bat is sending the files, which should be 
printed (front/rear // front). So why not keep a record whether it is 
front/rear or front. Then "normal" if bla =true then bothPages else 
frontPage.

I guess I could
set up the system to always output both pages, but then only "print" ODD 
pages, but I have no guarantee that I'll have that much control over the 
environment. I do, however have control over the .BAT/.sh script

So I would store the information in that script. Then you need two 
fop-Stylesheets. 1) with the rear page 2) without

Thanks for your help!
Web Maestro Clay
At 09:04 AM 11/26/2002, you wrote:
Sorry, but can't help.
I am using fop within cocoon.
XSP stands for Extensible Server pages.
But if you pass values to fop, can't you insert the params BEFORE 
passing it to fop?

Clay Leeds wrote:
No. (at least I don't know what xsp is). My clients have installed 
JRE 1.4 & FOP, and that is all. I'd rather not have to install other 
items (if possible, of course). I'm just wondering if it's possible 
to pass variable & param values directly to FOP through the command 
line.
If it makes any difference my clients intend to run the gamut of 
output options: -print, -pcl, -awt, -ps, pdf...
Thanks!
Clay
At 08:54 AM 11/26/2002, you wrote:

Did you use xsp?
Clay Leeds wrote:
Howdy,
I didn't find this answer in the archives. I'd like to pass an 
xsl:param value to FOP. Is this possible? I found some information 
about doing this through the use of a servlet, however I'm using 
*.BAT files (under Windows) & *.sh scripts (in *NIX). I'd like to 
be able to pass xsl:param or xsl:variable values, to effect output.
Any ideas?
Thanks!
- Clay Leeds
- Web Developer
- [EMAIL PROTECTED]
-
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]

- Clay Leeds
- Web Developer
- [EMAIL PROTECTED]
-
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]

- Clay Leeds
- Web Developer
- [EMAIL PROTECTED]
-
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: Pass xsl:param value to FOP through command line

2002-11-26 Thread Clay Leeds
...
At 09:22 AM 11/26/2002, you wrote:
So I would store the information in that script. Then you need two 
fop-Stylesheets. 1) with the rear page 2) without
As they say here in the United States... Well, duh!
That solves it for me. The only problem now, is that I'll have two separate 
files to maintain. But then, if I IMPORT/INCLUDE the stylesheets, then I 
won't have to...

THANKS A MILLION!
:-)
- Clay Leeds
- Web Developer
- [EMAIL PROTECTED] 

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


Re: Pass xsl:param value to FOP through command line

2002-11-26 Thread Thorsten Scherler
STOP!
I tought about something:
the .bat is for generating the the xml, right?
Then just do like you wanted: take an element call it e.g. .
then if rear
1
else
0
From there it is stylesheet work:
Backpage
front only
Regards
Clay Leeds wrote:
...
At 09:22 AM 11/26/2002, you wrote:
So I would store the information in that script. Then you need two 
fop-Stylesheets. 1) with the rear page 2) without

As they say here in the United States... Well, duh!
That solves it for me. The only problem now, is that I'll have two 
separate files to maintain. But then, if I IMPORT/INCLUDE the 
stylesheets, then I won't have to...

THANKS A MILLION!
:-)
- Clay Leeds
- Web Developer
- [EMAIL PROTECTED]
-
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: Pass xsl:param value to FOP through command line

2002-11-26 Thread Clay Leeds
Won't work. The .BAT is *not* for generating XML. It just prints it. Our 
primary app does the XML file generation.

Regards & stuff.
:-)
At 09:37 AM 11/26/2002, you wrote:
STOP!
I tought about something:
the .bat is for generating the the xml, right?
Then just do like you wanted: take an element call it e.g. .
then if rear
1
else
0
From there it is stylesheet work:
Backpage
front only
Regards
Clay Leeds wrote:
...
At 09:22 AM 11/26/2002, you wrote:
So I would store the information in that script. Then you need two 
fop-Stylesheets. 1) with the rear page 2) without
As they say here in the United States... Well, duh!
That solves it for me. The only problem now, is that I'll have two 
separate files to maintain. But then, if I IMPORT/INCLUDE the 
stylesheets, then I won't have to...
THANKS A MILLION!
:-)
- Clay Leeds
- Web Developer
- [EMAIL PROTECTED]
-
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]
- Clay Leeds
- Web Developer
- [EMAIL PROTECTED] 

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


UML diagrams for FOP

2002-11-26 Thread Raffi Simon




Does anyone know if there are any UML diagrams for FOP. I am still trying to extend FOP to allow me to insert some custom PCL commands with a custom element, but I do not know where to begin, I do not understand the just by looking at the code, I do not understand where or when the elements get rendered. Can anyone help?  I just need to know when I extend, FObj and change PCL renderer, what methods do I need to override or implement to get it to work. Thank in advance.
-Raf
Help STOP SPAM with the new MSN 8  and get 2 months FREE*

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



Re: UML diagrams for FOP

2002-11-26 Thread Konstantin Priblouda

--- Raffi Simon <[EMAIL PROTECTED]> wrote:






Does anyone know if there are any UML diagrams for
FOP. I am still trying to extend FOP to allow me to
insert some custom PCL commands with a custom element,
but I do not know where to begin, I do not understand
the just by looking at the code, I do not understand
where or when the elements get rendered. Can anyone
help?  I just need to know when I extend, FObj
and change PCL renderer, what methods do I need to
override or implement to get it to work. Thank in
advance.

I think not. But what prevents you from 
loading fop sources into UML tool of your choice
and reverse engineeer it?

regards,

=
Konstantin Priblouda ( ko5tik )Freelance Software developer
< http://www.pribluda.de > < play java games -> http://www.yook.de >
< render charts online -> http://www.pribluda.de/povray/ >

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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



Odd, Even & Last-odd Problem

2002-11-26 Thread Clay Leeds
I'm having a couple of problems with my XSL-FO:
1. My EVEN page is not rendering every other page (EVEN pages). PROBLEM: It 
prints at the end of the document.

2. My LAST-ODD page is not rendering. (The difference between ODD and 
LAST-ODD is that the TOTALS section is blank on all pages except the 
LAST-ODD page).

I'm sure it's just my naivete' with XSL-FO...
Here's my layout-master-set & page-sequence code:

  http://www.w3.org/1999/XSL/Format";>


  
  

  
  
  

  
  
  



  
  



  
  

  
  



  

  
  

  
  

  
  


  
  

  


  

  

  


Any ideas?
- Clay Leeds
- Web Developer
- [EMAIL PROTECTED] 

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


RE: Odd, Even & Last-odd Problem

2002-11-26 Thread Evraire, Jonathan
> 2. My LAST-ODD page is not rendering. (The difference between ODD and 
> LAST-ODD is that the TOTALS section is blank on all pages except the 
> LAST-ODD page).

I believe page-position="last" is not yet implemented in FOP.

  Jonathan Evraire
  jonevrai at justice.gc.ca

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



RE: Odd, Even & Last-odd Problem

2002-11-26 Thread Clay Leeds
D'oh! Does anyone _know_ where I can look to find out for certain?
At 10:49 AM 11/26/2002, you wrote:
> 2. My LAST-ODD page is not rendering. (The difference between ODD and
> LAST-ODD is that the TOTALS section is blank on all pages except the
> LAST-ODD page).
I believe page-position="last" is not yet implemented in FOP.
  Jonathan Evraire
  jonevrai at justice.gc.ca
- Clay Leeds
- Web Developer
- [EMAIL PROTECTED] 

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


RE: Odd, Even & Last-odd Problem

2002-11-26 Thread Clay Leeds
Sorry for responding to my own post, but... does anyone know of a 
workaround for this? Originally, I was thinking of doing something like this:





 


(NOTE: that is "page-position=last()" and not position of XML content).
I need to have a blank in the "TOTALS" section (which prints in the footer 
in every page) unless it's the LAST page.

At 10:53 AM 11/26/2002, you wrote:
D'oh! Does anyone _know_ where I can look to find out for certain?
At 10:49 AM 11/26/2002, you wrote:
> 2. My LAST-ODD page is not rendering. (The difference between ODD and
> LAST-ODD is that the TOTALS section is blank on all pages except the
> LAST-ODD page).
I believe page-position="last" is not yet implemented in FOP.
  Jonathan Evraire
  jonevrai at justice.gc.ca
- Clay Leeds
- Web Developer
- [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- Clay Leeds
- Web Developer
- [EMAIL PROTECTED] 

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


Re: Odd, Even & Last-odd Problem

2002-11-26 Thread Oleg Tkachenko
Clay Leeds wrote:
D'oh! Does anyone _know_ where I can look to find out for certain?
It's not implemented yet indeed.
Look at http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7140.
--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Odd, Even & Last-odd Problem

2002-11-26 Thread Clay Leeds
Thanks for the input! BTW, I noticed that "bug" was added to bugzilla back 
in March, and referenced 0.20.3. Unfortunately, I scoured the release notes 
and did not find a "fix" for it in 0.20.4. :-(

A workaround I'm considering, is to use the combination of this at the end 
of my Doc:

  
  
and this where I want the TOTALS to display:
  

Think that'll work?
...
As for the other problem I'm facing, I still have to resolve the issue of 
the EVEN page not working right. All of the examples indicate assume that 
all I want to do is have different "region-before" and "region-after" but 
continue the "region-body" flow. Actually, in this implementation my EVEN 
pages will not have *any* "region-before" or "region-after" sections, and 
the "region-body" will essentially be "static".

I'm thinking of just putting the EVEN content into a really big 
"region-before" & having the "region-body" extent="0cm" or something.

Anyone have experience with that and/or think it'll work?
p.s. I think eXperanto is a great name for an XML/XSL/aw heck! It's a great 
name for a company in this day & age.

Web Maestro Clay
At 11:03 AM 11/26/2002, you wrote:
Clay Leeds wrote:
D'oh! Does anyone _know_ where I can look to find out for certain?
It's not implemented yet indeed.
Look at http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7140.
- Clay Leeds
- Web Developer
- [EMAIL PROTECTED] 

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


RE: Pass xsl:param value to FOP through command line

2002-11-26 Thread Savino, Matt C
Not sure exactly if your .BAT file is calling a Java app or something else,
but here is how we set an external xsl:param within our report generator
servlet:

  transformer.setParameter("pdfImagePath", 
 
getServletConfig().getServletContext().getAttribute("pdfImagePath"));

Then the xslt stylesheet access it like:

  
 
We use this to get the environment-dependent path to our image directory:

  

But you could use the value of this param to make decisions within your
stylesheet.

Hope this helps.

-Matt

> -Original Message-
> From: Clay Leeds [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 26, 2002 9:40 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Pass xsl:param value to FOP through command line
> 
> 
> Won't work. The .BAT is *not* for generating XML. It just 
> prints it. Our 
> primary app does the XML file generation.
> 
> Regards & stuff.
> 
> :-)
> 
> At 09:37 AM 11/26/2002, you wrote:
> >STOP!
> >
> >I tought about something:
> >the .bat is for generating the the xml, right?
> >Then just do like you wanted: take an element call it e.g. .
> >then if rear
> >1
> >else
> >0
> >
> > From there it is stylesheet work:
> >Backpage
> >front only
> >
> >Regards
> >
> >Clay Leeds wrote:
> >>...
> >>At 09:22 AM 11/26/2002, you wrote:
> >>
> >>>So I would store the information in that script. Then you need two 
> >>>fop-Stylesheets. 1) with the rear page 2) without
> >>
> >>As they say here in the United States... Well, duh!
> >>That solves it for me. The only problem now, is that I'll have two 
> >>separate files to maintain. But then, if I IMPORT/INCLUDE the 
> >>stylesheets, then I won't have to...
> >>THANKS A MILLION!
> >>:-)
> >>- Clay Leeds
> >>- Web Developer
> >>- [EMAIL PROTECTED]
> >>
> -
> >>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]
> 
> - Clay Leeds
> - Web Developer
> - [EMAIL PROTECTED] 
> 
> 
> -
> 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: Pass xsl:param value to FOP through command line

2002-11-26 Thread Clay Leeds
Matt,
Thanks. Actually, my .BAT file is calling _FOP_ through the command line. 
As for servlets, I don't think we are using them at all. Because all the 
examples I've seen discuss how to pass param values to servlets instead of 
how to pass them to FOP, I was stuck.

However, Thorsten gave me a great workaround for the problem I was trying 
to resolve by passing a param to FOP. I still would like to know if there's 
a way to pass param & variable values through the command line, though.

At 11:59 AM 11/26/2002, you wrote:
Not sure exactly if your .BAT file is calling a Java app or something else,
but here is how we set an external xsl:param within our report generator
servlet:
  transformer.setParameter("pdfImagePath",
getServletConfig().getServletContext().getAttribute("pdfImagePath"));
Then the xslt stylesheet access it like:
  
We use this to get the environment-dependent path to our image directory:
  
But you could use the value of this param to make decisions within your
stylesheet.
Hope this helps.
-Matt
> -Original Message-
> From: Clay Leeds [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 26, 2002 9:40 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Pass xsl:param value to FOP through command line
>
>
> Won't work. The .BAT is *not* for generating XML. It just
> prints it. Our
> primary app does the XML file generation.
>
> Regards & stuff.
>
> :-)
>
> At 09:37 AM 11/26/2002, you wrote:
> >STOP!
> >
> >I tought about something:
> >the .bat is for generating the the xml, right?
> >Then just do like you wanted: take an element call it e.g. .
> >then if rear
> >1
> >else
> >0
> >
> > From there it is stylesheet work:
> >Backpage
> >front only
> >
> >Regards
> >
> >Clay Leeds wrote:
> >>...
> >>At 09:22 AM 11/26/2002, you wrote:
> >>
> >>>So I would store the information in that script. Then you need two
> >>>fop-Stylesheets. 1) with the rear page 2) without
> >>
> >>As they say here in the United States... Well, duh!
> >>That solves it for me. The only problem now, is that I'll have two
> >>separate files to maintain. But then, if I IMPORT/INCLUDE the
> >>stylesheets, then I won't have to...
> >>THANKS A MILLION!
> >>:-)
> >>- Clay Leeds
> >>- Web Developer
> >>- [EMAIL PROTECTED]
> >>
> -
> >>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]
>
> - Clay Leeds
> - Web Developer
> - [EMAIL PROTECTED]
>
>
> -
> 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]
- Clay Leeds
- Web Developer
- [EMAIL PROTECTED] 

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


RE: Which logging library is needed to run fop 0.20.4 servlets

2002-11-26 Thread Ciot, Thierry
Answering my own question in case someone else encounters this problem too.

I worked around the problem by rebuilding the FopServlet.  My conclusion is
that the FOPServlet class file in the distributed war file is incorrect.

Thanks, Thierry

-Original Message-
From: Ciot, Thierry [mailto:[EMAIL PROTECTED]
Sent: Monday, November 25, 2002 5:33 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Which logging library is needed to run fop 0.20.4 servlets


Thanks Jeremias for answering.

Yes I use the FOPServlet from the distribution (the WAR file in the example
directory).

I have experimented a bit more by installing fop 0.20.4 on another machine:
I am getting the same error message.
On both machines, I never had any other version of fop.  
I have tripled checked that I have the right libraries in the web-inf\lib
directory

I don't know where the dependency on org/apache/log/Hierarchy comes from.
Could it be that the WAR file does not contain the correct servlet?

Thanks, Thierry

-Original Message-
From: Jeremias Maerki [mailto:[EMAIL PROTECTED]
Sent: Saturday, November 23, 2002 7:32 AM
To: [EMAIL PROTECTED]
Subject: Re: Which logging library is needed to run fop 0.20.4 servlets


Logging has changed from 0.20.3 to 0.20.4. We were able to eliminate the
need for logkit. Instead we use the logger interface from Avalon which
also has a ConsoleLogger which became our new standard logger. I don't
know if you really use the FOPServlet from the distribution, but if you
do, you should also update the servlet when you upgrade FOP (because the
logging has changed). Probably you have the old servlet that still wants
to use a LogKit logger. Look in the contrib/servlet directory in the
distribution.

The libs you need to run the FOP Servlet are: fop.jar, batik.jar,
avalon-framework*.jar. logkit.jar is not needed anymore.

Look here for details about logging in 0.20.4:
http://xml.apache.org/fop/embedding.html

I hope this helps.

On 22.11.2002 22:35:57 Ciot, Thierry wrote:
> I have searched the FAQ and the mail archive but could not find anything
> useful.  
> Thanks in advance for answering this question.
> 
> I am using fop 0.20.4 (fop-0.20.4rc).  I cannot use fop within a servlet.
> I have tested with both tomcat 3.3.1 and Tomcat 4.
> 
> I get the following error message java.lang.NoClassDefFoundError:
> org/apache/log/Hierarchy
> 
> It turns out that the avalon jar file shipped with fop does not contain
that
> class.
> 
> I have tracked down Hierarchy to belong to the logkit project.  I
downloaded
> logkit 1.1 and put the jar file in the lib directory.  Now I can proceed
> further but it still fails when trying to renderFO with the following
error
> message:
> 
> Location: /fop/servlet/fop Internal Servlet
> Error:java.lang.NoSuchMethodError:
> org.apache.fop.apps.Driver.setLogger(Lorg/apache/log/Logger;)V

The method now has the following signature:
org.apache.fop.apps.Driver.setLogger(org.apache.avalon.framework.logger.Logg
er);

That's the reason for the NoSuchMethodError.

> This is probably because the setLogger requires a different method
> parameter.
> 
> What lib do I need to run a fop servlet?
> 
> Thierry.
> 
> Location: /fop/servlet/fop
> Internal Servlet Error:
> 
> java.lang.NoClassDefFoundError: org/apache/log/Hierarchy
>   at FopServlet.doGet(FopServlet.java:53)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java)

> 
> Location: /fop/servlet/fopInternal Servlet
> Error:java.lang.NoSuchMethodError:
> org.apache.fop.apps.Driver.setLogger(Lorg/apache/log/Logger;)V
>   at FopServlet.renderFO(FopServlet.java:94)
>   at FopServlet.doGet(FopServlet.java:64)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java)



Jeremias Maerki


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



The contents of this e-mail are intended for the named addressee only. It
contains information that may be confidential. Unless you are the named
addressee or an authorized designee, you may not copy or use it, or disclose
it to anyone else. If you received it in error please notify us immediately
and then destroy it. 


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



The contents of this e-mail are intended for the named addressee only. It
contains information that may be confidential. Unless you are the named
addressee or an authorized designee, you may not copy or use it, or disclose
it to anyone else. If you received it in error please notify us immediately
and then destroy it. 


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



RE: Pass xsl:param value to FOP through command line

2002-11-26 Thread Savino, Matt C
Do you use XSLT to generate your FO file from XML data, or are you building
it some other way? I know you can pass properties to FOP through the command
line, but as far as something like "don't print the second page", I imagine
that would have to be in your FO.

-Matt 


> -Original Message-
> From: Clay Leeds [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 26, 2002 12:07 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Pass xsl:param value to FOP through command line
> 
> 
> Matt,
> 
> Thanks. Actually, my .BAT file is calling _FOP_ through the 
> command line. 
> As for servlets, I don't think we are using them at all. 
> Because all the 
> examples I've seen discuss how to pass param values to 
> servlets instead of 
> how to pass them to FOP, I was stuck.
> 
> However, Thorsten gave me a great workaround for the problem 
> I was trying 
> to resolve by passing a param to FOP. I still would like to 
> know if there's 
> a way to pass param & variable values through the command 
> line, though.
> 
> At 11:59 AM 11/26/2002, you wrote:
> >Not sure exactly if your .BAT file is calling a Java app or 
> something else,
> >but here is how we set an external xsl:param within our 
> report generator
> >servlet:
> >
> >   transformer.setParameter("pdfImagePath",
> >
> >getServletConfig().getServletContext().getAttribute("pdfImagePath"));
> >
> >Then the xslt stylesheet access it like:
> >
> >   
> >
> >We use this to get the environment-dependent path to our 
> image directory:
> >
> >>src="{concat($pdfImagePath,'ClinTrialLogoGreenBig.gif')}" />
> >
> >But you could use the value of this param to make decisions 
> within your
> >stylesheet.
> >
> >Hope this helps.
> >
> >-Matt
> >
> > > -Original Message-
> > > From: Clay Leeds [mailto:[EMAIL PROTECTED]
> > > Sent: Tuesday, November 26, 2002 9:40 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: Pass xsl:param value to FOP through command line
> > >
> > >
> > > Won't work. The .BAT is *not* for generating XML. It just
> > > prints it. Our
> > > primary app does the XML file generation.
> > >
> > > Regards & stuff.
> > >
> > > :-)
> > >
> > > At 09:37 AM 11/26/2002, you wrote:
> > > >STOP!
> > > >
> > > >I tought about something:
> > > >the .bat is for generating the the xml, right?
> > > >Then just do like you wanted: take an element call it 
> e.g. .
> > > >then if rear
> > > >1
> > > >else
> > > >0
> > > >
> > > > From there it is stylesheet work:
> > > >Backpage
> > > >front only
> > > >
> > > >Regards
> > > >
> > > >Clay Leeds wrote:
> > > >>...
> > > >>At 09:22 AM 11/26/2002, you wrote:
> > > >>
> > > >>>So I would store the information in that script. Then 
> you need two
> > > >>>fop-Stylesheets. 1) with the rear page 2) without
> > > >>
> > > >>As they say here in the United States... Well, duh!
> > > >>That solves it for me. The only problem now, is that 
> I'll have two
> > > >>separate files to maintain. But then, if I IMPORT/INCLUDE the
> > > >>stylesheets, then I won't have to...
> > > >>THANKS A MILLION!
> > > >>:-)
> > > >>- Clay Leeds
> > > >>- Web Developer
> > > >>- [EMAIL PROTECTED]
> > > >>
> > > -
> > > >>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]
> > >
> > > - Clay Leeds
> > > - Web Developer
> > > - [EMAIL PROTECTED]
> > >
> > >
> > > 
> -
> > > 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]
> 
> - Clay Leeds
> - Web Developer
> - [EMAIL PROTECTED] 
> 
> 
> -
> 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: Pass xsl:param value to FOP through command line

2002-11-26 Thread Clay Leeds
I use XML Spy to write the FO file itself. Then I use FOP to take XML input 
& XSL inputs to generate the output. My command line looks like this:

c:\Program Files\java\fop-0.20.4>fop -d -xml C:\test_NYNF.xml -xsl 
C:\fo\2Page.fo -pdf C:\fo\2Page.pdf

This is the command .BAT file sends the system. I'd love to be able to pass 
a param at the end or something, but all I get are errors. Someone just 
mentioned an "fop servlet" in a recent message (I think they mentioned the 
\build\fop.jar file in the same breath), but I don't know yet how to 
leverage that. Since I think I have a viable workaround for the 2nd page 
(namely to have use XSL:IMPORT/INCLUDE) I don't know if that's necessary, 
anyway.

Unfortunately, that's the smallest part of the problem I'm working with 
right now. My main problem is to determine how to implement the ODD/EVEN 
functionality correctly. I've finally gotten some headway with an ODD/EVEN, 
but it's still not working right. I'm only getting one EVEN page & 
subsequent EVEN pages are outputting the ODD stuff on the EVEN page.

:-\
At 12:37 PM 11/26/2002, you wrote:
Do you use XSLT to generate your FO file from XML data, or are you building
it some other way? I know you can pass properties to FOP through the command
line, but as far as something like "don't print the second page", I imagine
that would have to be in your FO.
-Matt
> -Original Message-
> From: Clay Leeds [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 26, 2002 12:07 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Pass xsl:param value to FOP through command line
>
>
> Matt,
>
> Thanks. Actually, my .BAT file is calling _FOP_ through the
> command line.
> As for servlets, I don't think we are using them at all.
> Because all the
> examples I've seen discuss how to pass param values to
> servlets instead of
> how to pass them to FOP, I was stuck.
>
> However, Thorsten gave me a great workaround for the problem
> I was trying
> to resolve by passing a param to FOP. I still would like to
> know if there's
> a way to pass param & variable values through the command
> line, though.
>
> At 11:59 AM 11/26/2002, you wrote:
> >Not sure exactly if your .BAT file is calling a Java app or
> something else,
> >but here is how we set an external xsl:param within our
> report generator
> >servlet:
> >
> >   transformer.setParameter("pdfImagePath",
> >
> >getServletConfig().getServletContext().getAttribute("pdfImagePath"));
> >
> >Then the xslt stylesheet access it like:
> >
> >   
> >
> >We use this to get the environment-dependent path to our
> image directory:
> >
> >>src="{concat($pdfImagePath,'ClinTrialLogoGreenBig.gif')}" />
> >
> >But you could use the value of this param to make decisions
> within your
> >stylesheet.
> >
> >Hope this helps.
> >
> >-Matt
> >
> > > -Original Message-
> > > From: Clay Leeds [mailto:[EMAIL PROTECTED]
> > > Sent: Tuesday, November 26, 2002 9:40 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: Pass xsl:param value to FOP through command line
> > >
> > >
> > > Won't work. The .BAT is *not* for generating XML. It just
> > > prints it. Our
> > > primary app does the XML file generation.
> > >
> > > Regards & stuff.
> > >
> > > :-)
> > >
> > > At 09:37 AM 11/26/2002, you wrote:
> > > >STOP!
> > > >
> > > >I tought about something:
> > > >the .bat is for generating the the xml, right?
> > > >Then just do like you wanted: take an element call it
> e.g. .
> > > >then if rear
> > > >1
> > > >else
> > > >0
> > > >
> > > > From there it is stylesheet work:
> > > >Backpage
> > > >front only
> > > >
> > > >Regards
> > > >
> > > >Clay Leeds wrote:
> > > >>...
> > > >>At 09:22 AM 11/26/2002, you wrote:
> > > >>
> > > >>>So I would store the information in that script. Then
> you need two
> > > >>>fop-Stylesheets. 1) with the rear page 2) without
> > > >>
> > > >>As they say here in the United States... Well, duh!
> > > >>That solves it for me. The only problem now, is that
> I'll have two
> > > >>separate files to maintain. But then, if I IMPORT/INCLUDE the
> > > >>stylesheets, then I won't have to...
> > > >>THANKS A MILLION!
> > > >>:-)
> > > >>- Clay Leeds
> > > >>- Web Developer
> > > >>- [EMAIL PROTECTED]
> > > >>
> > > -
> > > >>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]
> > >
> > > - Clay Leeds
> > > - Web Developer
> > > - [EMAIL PROTECTED]
> > >
> > >
> > >
> -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> >-
> >To unsubscribe, e-mail: [EM

Does anyone know how to extend elements in FOP

2002-11-26 Thread Raffi Simon

Can anyone help me? I have looked into the outline and label, but it does not help me, I have also tried looking into SVG, and it does not help me either, can anyone give me an exampl of which methods I need to override in the FObj etc...
-RafHelp STOP SPAM with the new MSN 8  and get 2 months FREE*

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



Re: Does anyone know how to extend elements in FOP

2002-11-26 Thread Clay Leeds
Raf,
I think one example of how to extend is adding bar codes to the style 
sheet. You can find some nice examples here:

http://www.renderx.com/barcodes.html
(I don't work for RenderX)
You might also look here:
http://exslfo.sourceforge.net
From the Announcement:
"The EXSLFO project is a community effort to define functional extensions 
to thet XSL Formatting Objects specification in advance of development of 
new versions of the XSL FO specification by trhe W3C. It is intended to be 
an adjunct to the formal W3C specification development process. It is 
modeled on the existing EXSLT activity (http://exlst.org/)."

Hope this helps!
Web Maestro Clay
At 02:55 PM 11/26/2002, you wrote:
Can anyone help me? I have looked into the outline and label, but it does 
not help me, I have also tried looking into SVG, and it does not help me 
either, can anyone give me an exampl of which methods I need to override 
in the FObj etc...

-Raf
- Clay Leeds
- Web Developer
- [EMAIL PROTECTED] 

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