Re: Problem with javax.xml.transform.Transformer

2002-06-21 Thread @Basebeans.com
Subject: Re: Problem with javax.xml.transform.Transformer
From: Wim Sandra [EMAIL PROTECTED]
 ===
I can process the first XSL-FO document.  But the following XSL-FO documents
fail with the same error: ClassNotFound on javax.xml.transform.Transformer.

It seems -but I'm not sure yet- that I only have this problem when I process
the following documents from a different thread.

Wim






Region Border

2002-06-19 Thread @Basebeans.com
Subject: Region Border
From: Owen Thomas [EMAIL PROTECTED]
 ===
How do I create a border around the region-body?

Or Alternatively create a block that fills the region-body?

TIA

Owen




Multi-Level list

2002-06-18 Thread @Basebeans.com
Subject: Multi-Level list
From: Owen Thomas [EMAIL PROTECTED]
 ===
I have an xml file that will contain a list and each list item can contain
sub items

So the HTML page will need to look something like

1 Section A
1.1 Sub section
1.2 Sub section
1.2.1 Sub Sub section
1.2.2 Sub Sub section
1.3 Sub section
2 Section B
3 Section C
3.1 Sub section
3.2 Sub section

ETC ETC ETC

The number will be stored as an attribute of the element so the xml will
look like

Data
Section listid=1Section A/Section
Section listid=1.1Sub section/Section
Section listid=1.2Sub section/Section
Section listid=1.2.1Sub Sub section/Section
Section listid=1.2.2Sub Sub section/Section
Section listid=1.3Sub section/Section
Section listid=2Section B/Section
Section listid=3Section C/Section
Section listid=3.1Sub section/Section
Section listid=3.2Sub section/Section
/Data


The fo:list-block has the attributes start-indent and end-indent on the
list-item-label and list-item-body so is there any way to specify the amount
of indent dependant on an attribute.

Cheers

Owen




Re: embed static pdf?

2002-06-18 Thread @Basebeans.com
Subject: Re: embed static pdf?
From: Wim Sandra [EMAIL PROTECTED]
 ===
Be careful with iText because it does not copy the whole pdf.

For instance, bookmarks/outlines (generated with the fop fox-extensions) are
not copied when one processes a pdf file with iText.

see
http://www.mail-archive.com/itext-questions@lists.sourceforge.net/msg01053.h
tml

Remark: you can only copy content (text and graphics);
all Annotations, Outlines,... will be lost.

Wim

[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]

 i haven't done that yet with FOP, because i couldn't find a way...

 if you are welcoming all possibilities, try iText...


 Jochen Maes
 ICT Development


 KBC Securities (kbcsecurities.com)
 Havenlaan 12 Avenue du Port SIF 8683
 B-1080 Brussels
 Belgium

  Tel:  +32 2 429 96 81

  GSM:  +32 496 57 90 99

  E-mail :  [EMAIL PROTECTED]





 This message and any attachments hereto are for the named person's use
 only. It may contain confidential, proprietary or legally privileged
 information. You may not, directly or indirectly, use, disclose,
 distribute, print, or copy any part of this message if you are not the
 intended recipient. If you have received this e-mail message without being
 the intended recipient, please notify KBC Securities promptly and delete
 this e-mail. Any views expressed in this message are those of the
 individual sender, except where the message states otherwise and the
sender
 is authorised to state them to be the views of KBC Securities. KBC
 Securities reserves the right to monitor all e-mail communications through
 its networks and any messages addressed to, received or sent by KBC
 Securities or its employees are deemed to be professional in nature. The
 sender or recipient of any messages to or of KBC Securities agrees that
 those may be read by other employees of KBC Securities than the stated
 recipient or sender in order to ensure the continuity of work-related
 activities and allow supervision thereof. KBC Securities does not accept
 liability for the correct and complete transmission of the information,
nor
 for any delay or interruption of the transmission, nor for damages arising
 from the use of, or reliance on, the information.





Re: Using FOP on a ASP.NET server to convert FO to PDF

2002-06-18 Thread @Basebeans.com
Subject: Re: Using FOP on a ASP.NET server to convert FO to PDF
From: Wim Sandra [EMAIL PROTECTED]
 ===
I've integrated FOP in a ASP.NET server by implementing a COM component.
The COM components export a very simple interface with a method that takes
some XML data, a XSL-FO stylesheet and writes a PDF file (or writes the PDF
data to some memory).   The COM component calls the FOP java methods with
JNI (Java Native Interface).

Ultimately, in your C# ASP.NET application, we more or less write:

FOPLib.Fop fop = new FOPLib.Fop();

fop.fop2File(xmlData,xsltData,outputFileName);

Response.Redirect(outputFileName);

or

FOPLib.Fop fop = new FOPLib.Fop();

uint numBytes = fop.fop2Memory(xmlData,xsltData);

byte [] bytes = new byte [numBytes];

renderer.read(bytes);

Response.Expires = 0;
Response.Buffer = true;
Response.ContentType = @application/pdf;
Response.BinaryWrite(bytes);
Response.End();

Wim

Balaji Loganathan [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Hi,
Did u able to install Tomcat with IIS.if so then
 integrating FOP with .NET server is easy.
   My suggestion is ,
 1.Try to install Tomcat and run some sample servlet
 examples.
 2.Try to configure FOP with Tomcat so that u can run
 the FopServlet(a sample servlet which convert FO/XSL
 to pdf)from the browser.
 3.Try to configure Tomcat with IIS
 4.Then u can do the same with .NET server.

 Documentation/steps/guidelines are available from
 Tomcat,FOP packages.
  Just give another try.It will work.

 Rgds
 Balaji

 http://www.sold.com.au - SOLD.com.au
 - Find yourself a bargain!




Re: Subject: text colums

2002-03-24 Thread @Basebeans.com
Subject: Re: Subject: text colums
From: Jon Carnes [EMAIL PROTECTED]
 ===
Jeff Rancier wrote:

 While your on the subject, is there a daily/weekly digest?
 Thanks,
 Jeff
 
 Sorry for the off topic

You can always catch up using the news group:
news.basebeans.com