RE: Visuaal Basic

2002-12-02 Thread Matthew Lancashire
I would rather not use the command line version or FOP. I wanted to knock up an 
ActiveX component for embedding in a large app and need to
Use the classes so that I get more control and feedback.



Matthew Lancashire
IT Project Manager
Initial Electronic Security Ltd
Tel.:   01254 688555
FAX:01254 267552


-Original Message-
From:   Calero, Roberto [SMTP:[EMAIL PROTECTED]
Sent:   Sunday, December 01, 2002 9:38 PM
To: '[EMAIL PROTECTED]'
Subject:RE: Visuaal Basic

  File: ATT6.htm  


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



RE: Visuaal Basic

2002-12-02 Thread Jeff_Mitchell

Matthew-

I ran into the same problem as you (I was trying to call FOP from an ASP
page), and what it looks like we need is some sort of VB-compatible version
of JNI, which allows C++ apps to call Java apps natively.

I ended up doing what others have suggested, and calling FOP via a shell.
Because of the potentially long render times in my application, I actually
separated the FOP call from the ASP page, and used a status field in a
database to give the user feedback as to where in the rendering process we
were.  Basically, the ASP just creates a row in a table, and periodocally
(on a 10-second META refresh) checks the status field for completion.  A
separate, VB listening app gets the new request, calls FOP, and monitors a
log file to check for completion.  On completion, it updates the status
field, and the ASP gives the user a link to their PDF.

It's kind of a kludge, but it was the only way I could think of to get
VB/ASP to talk to FOP, while allowing some semblance of user feedback.  One
other alternative you may want to consider is a .NET version of FOP that
someone posted to this list.  I believe they made source available, so even
if the .NET implementation isn't a perfect fit, perhaps the source could
give you some ideas.

I hope at least part of that helps.

-Jeff



   
Matthew 
   
LancashireTo: '[EMAIL PROTECTED]' [EMAIL 
PROTECTED]
[EMAIL PROTECTED]   cc:
  
es.uk.comSubject: RE: Visuaal Basic
   

   
12/02/2002  
   
06:50 AM
   
Please respond  
   
to fop-user 
   

   

   




I would rather not use the command line version or FOP. I wanted to knock
up an ActiveX component for embedding in a large app and need to
Use the classes so that I get more control and feedback.



Matthew Lancashire
IT Project Manager
Initial Electronic Security Ltd
Tel.:   01254 688555
FAX:   01254 267552


-Original Message-
From:   Calero, Roberto [SMTP:[EMAIL PROTECTED]
Sent:   Sunday, December 01, 2002 9:38 PM
To:'[EMAIL PROTECTED]'
Subject:RE: Visuaal Basic

  File: ATT6.htm 


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



XSL-FO book

2002-12-02 Thread Alex McLintock
Hi folks,
I don't remember mentioning this, but I have a review copy of O'Reilly's 
XSL:FO  book. Since I will be reviewing it for 
http://news.DiverseBooks.com/ and posting the review here too, does anyone 
have any questions for me that they want me to answer?

Cheers
Alex McLintock

Openweb Analysts Ltd, London.
Software For Complex Websites http://www.OWAL.co.uk/
Open Source Software Companies please register here 
http://www.OWAL.co.uk/oss_support/

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


AW: Visuaal Basic

2002-12-02 Thread Tobias Muller
Hi!

Did you think of calling FOP via SOAP (needs Java AppServer)?
I have a code example online: http://www.mymood.de/soap/soap_interop.zip
I used a ASP (vbscript) page to call a Java FOP WebService...

Greetings,

Tobi




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



RE: Best XSL-FO WYSIWYG editor

2002-12-02 Thread ANIL B G
Hello,
What is the simplest way of converting file.xml = file.fo = file.pdf
Second part is straight forward, I just need to feed file.fo to FOP to 
generate file.pdf

Is there any simple way to convert file.xml to file.fo ??
Is there any tool that does this job or do I need to write my own Java 
parser for converting file.xml to file.fo

Please advise me.
Regards,
Anil

From: Amit Bhatnagar [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: Best XSL-FO WYSIWYG editor
Date: Mon, 2 Dec 2002 10:02:51 -0800
Thanks for your reply.
How do you find Stylus Studio does for layout preparation? Does
it let you see the FO capabilities on screen without having to
process it via FOP into PDF?
The feeling that I got from it is that it is great for going to
HTML but the only FO support it had was being able to plug in
FOP and create PDF.
 -Original Message-
 From: Johan Åbrandt [mailto:[EMAIL PROTECTED]
 Sent: December 1, 2002 11:44 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Best XSL-FO WYSIWYG editor


 Ok, then I would really encourage you to look into Excelon Stylus
 Studio, I use it for exactly the scenario you describe, and it has
 served me well. It has FOP built in, and all that is needed for a
 complete xml-xslt-fop-PDF generation is the click of a button.

 Amit Bhatnagar wrote:

 I dont fully understand the description of the features you
 need, but if being able to use one IDE to do the full flow
 from xml through xsl to fop and pdf in an effortless way,
 including the possibility to debug xsl transformations, then
 Excelon Stylus Studio is my candidate. It is however not WYSIWYG
 - if you by that mean that you would specify a xml file and then
 do WYSIWYG editing and have the editor generate the xsl stylesheet
 for you.
 
 
  Let me explain my situation a bit better.
 
  I have an application that generates a massive ammount of
 data dyanmically
  and stores it in an XML file. What I want to do is make PDF quality
  reports / forms out of this data. To do this I want to
 create an XSLT
  file that will generate an XSL-FO marked up version of the XML which
  FOP can gobble up and gimme a PDF.
 
  Since this all has to happen during -runtime- of my
 application, I am not
  looking for an IDE / end to end solution; ie: the XSLT file is only
  deployed with my app (XML is generated)
 
  So... I am looking for a WYSIWYG tool that can assist me
 in making
  a layout of my report and generates the XSLT file that will produce
  the XSL-FO markup. This means that I -need- the generated
 XSLT file.
  Most applications that I have looked at (ie: XSLFast) don't
 give you
  access to the XSLT (in fact I am pretty sure that it doesn't even
  generate it at all - I only see a binary file that it produces).
 
  I'm not expecting an XSL-FO application to solve all of my
 problems..
  I am expecting to have to make modifications by hand to the
 XSLT file.
  But I thought it would save plety of time if I had a tool that can
  let me visualize the output.
 
  My alternative is to whip out a reference and start writing the
  entire XSLT by hand using the FO vocabulary.
 
  Thanks for your help.
  amit.
 
 
 -
  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]



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

_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus

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


Need help:converting xml = fo = pdf

2002-12-02 Thread ANIL B G
Hello,
What is the simplest way of converting file.xml = file.fo = file.pdf
Second part is straight forward, I just need to feed file.fo to FOP to 
generate file.pdf

Is there any simple way to convert file.xml to file.fo ??
Is there any tool that does this job or do I need to write my own Java 
parser for converting file.xml to file.fo

Please advise me.
Regards,
Anil


_
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

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


Re: Need help:converting xml = fo = pdf

2002-12-02 Thread Noel Golding
can use xml + xsl = xsl:fo

then xsl:fo + fop = pdf

- Original Message - 
From: ANIL B G [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, December 02, 2002 1:56 PM
Subject: Need help:converting xml = fo = pdf


 Hello,
 
 What is the simplest way of converting file.xml = file.fo = file.pdf
 
 Second part is straight forward, I just need to feed file.fo to FOP to 
 generate file.pdf
 
 Is there any simple way to convert file.xml to file.fo ??
 Is there any tool that does this job or do I need to write my own Java 
 parser for converting file.xml to file.fo
 
 Please advise me.
 
 Regards,
 Anil
 
 
 
 
 
 
 _
 Protect your PC - get McAfee.com VirusScan Online 
 http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
 
 
 -
 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]



Alignment

2002-12-02 Thread Evraire, Jonathan
Hi,
  I have an unusual requirement for printing.  We print in both English and
French, side-by-side on the same page.  Each section (ie: block) in one
language must line up with the corresponding section in the other language
(if one language is longer than it's counterpart it's padded with
whitespace).  This is on the left-hand page... on the right-hand page, I
also have blocks that need to line up with (but not change) the alignment
points on the left-hand page.

  I've gotten the left-hand page hacked by using tables, but I don't know
how to get the right-hand page aligned with the left.  Any suggestions?

  Ideally, I would like to have some kind of general alignment tag, like
efo:valign which has an id attribute, which would be used by the renderer to
vertically align every efo:valign with the same id on the same line, even
accross multiple pages.

  I realize my description of this is a little vague because my goal is a
little complex.  Let me know if more information would help.  Thanks!

  Jonathan Evraire
  jonevrai at justice.gc.ca

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



RE: Need help:converting xml = fo = pdf

2002-12-02 Thread Morten Isaksen
 -Original Message-
 From: ANIL B G [mailto:[EMAIL PROTECTED]
 Sent: 2. december 2002 19:56
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: Need help:converting xml = fo = pdf

 What is the simplest way of converting file.xml = file.fo = file.pdf
 
 Second part is straight forward, I just need to feed file.fo to FOP to
 generate file.pdf
 
 Is there any simple way to convert file.xml to file.fo ??
 Is there any tool that does this job or do I need to write my own Java
 parser for converting file.xml to file.fo

Use XSL Transformation to transform your xml file to xsl-fo and run FOP
with this command:

fop.bat -xsl stylesheet.xsl -xml data.xml -pdf output.pdf

Check http://www.w3.org/TR/xslt and
http://www.xml.com/pub/a/2000/08/holman/index.html 


--
Morten Isaksen
[EMAIL PROTECTED] - http://www.aub.dk/~misak



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



Re: Need help:converting xml = fo = pdf

2002-12-02 Thread Alex McLintock
At 18:56 02/12/02, ANIL B G wrote:
Is there any simple way to convert file.xml to file.fo ??
Is there any tool that does this job or do I need to write my own Java 
parser for converting file.xml to file.fo
Hello Anil,
There is no automatic way of converting some XML to FO because no computer 
program can magically come up with the way that *you* want it printed out.
You have to give it some help as to how to display the XML.

Remember that file.fo is in XML format too. You don't have to write any 
Java to convert one XML format to another XML format if you don't want to. 
You can use a technology called XSLT. (Or XSL depending on how picky you 
want to be).

This basically has (XML) scripts which say when you see this sort of XML 
tag, output that sort of XML.

So for the most part you would take your XML as input, and output the 
equivalant XSL:FO type output.

Since FOP already uses an XSLT engine (Xalan by default) you can just tell 
it take this XML file as input, and use this XSLT file to transform it, 
and output PDF, but you can output the .fo file too if you want.

If possible when asking this sort of question please say what documentation 
you have already read, because this sort of information should be in there 
already.

Thanks and goodluck
Alex


Openweb Analysts Ltd, London.
Software For Complex Websites http://www.OWAL.co.uk/
Open Source Software Companies please register here 
http://www.OWAL.co.uk/oss_support/

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


Native compile using GCJ or Kaffe to boost performance

2002-12-02 Thread Jeremiah Fisher



I'm still trying to 
compile FOP to native code. This should provide a significant speed increase 
over Java byte code, but there are alot of issues (paths?) involved. Does anyone 
have experience in this matter or know of a resource I could turn to? 
Any help 
would be appreciated.

Thanks

Jeremiah Fisher
Software Developer
[EMAIL PROTECTED]
http://www.energywatchdog.com/



RE: Need help:converting xml = fo = pdf

2002-12-02 Thread Calero, Roberto
Title: RE: Need help:converting xml = fo = pdf





how about xml+xslt=fo ?


-Original Message-
From: ANIL B G [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 3 December 2002 5:56 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Need help:converting xml = fo = pdf



Hello,


What is the simplest way of converting file.xml = file.fo = file.pdf


Second part is straight forward, I just need to feed file.fo to FOP to 
generate file.pdf


Is there any simple way to convert file.xml to file.fo ??
Is there any tool that does this job or do I need to write my own Java 
parser for converting file.xml to file.fo


Please advise me.


Regards,
Anil







_
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



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