Re: [iText-questions] XML to pdf

2012-05-17 Thread 1T3XT BVBA
On 16/05/2012 22:08, Ajmal Shah wrote: > Hi all, > > I am not sure if this is possible but i saw an example and got > curious. Is there any way of dynamic styling of PDFs using XML. My > problem is I have many reports (20-40) and want to use a XSLT to style > and the iText to convert the XML to

[iText-questions] XML to pdf

2012-05-17 Thread Ajmal Shah
Hi all, I am not sure if this is possible but i saw an example and got curious. Is there any way of dynamic styling of PDFs using XML. My problem is I have many reports (20-40) and want to use a XSLT to style and the iText to convert the XML to PDF, essentially creating something similar to crysta

Re: [iText-questions] XML to PDF: Right to Left text

2010-05-18 Thread 1T3XT info
Marek Spichalski wrote: > Is it possible to use Right-To-Left text orientation when using xml files Yes: http://1t3xt.info/examples/browse/?page=example&id=147 http://1t3xt.info/examples/browse/?page=example&id=157 > and tagmap files while generating PDF files? No. -- This answer is provided by

[iText-questions] XML to PDF: Right to Left text

2010-05-18 Thread Marek Spichalski
Hi All, I have a question regarding generation of PDF files from XML. Is it possible to use Right-To-Left text orientation when using xml files and tagmap files while generating PDF files? Kind Regards, Marek Spichalski ---

[iText-questions] XML to PDF with iTextSharp - Problems, Questions

2010-02-24 Thread Kim Hoang
I am trying to create a PDF from a XML with iTextsharp. I have a few problems and questions: 1) In version 5.0.0 I was not able to parse a XML file. Especially as the class ITextHandler is missing. What is the proper work flow to parse a XML file to create PDFs in 5.0.0? 2) I was able to parse

Re: [iText-questions] XML to pdf

2008-10-17 Thread 1T3XT info
siva papineni wrote: > Hi, > > I need to generate a pdf document which should contain dynamic > information and has to be formatted like a letter. (like some text need > to be bold , centered, italic , underline etc.,) ,so i created an xml > with few tags and the letter data, and parsed w

[iText-questions] XML to pdf

2008-10-16 Thread siva papineni
Hi,       I need to generate a  pdf document which should contain dynamic information and has to be formatted like a letter. (like some text need to be bold , centered, italic , underline etc.,) ,so i created an xml with few tags and the letter data, and parsed with xmlparser and parse it to pdf

Re: [iText-questions] XML to PDF problem

2007-07-08 Thread Keith O
Thanks, Paulo! keith >From: "Paulo Soares" <[EMAIL PROTECTED]> >Reply-To: Post all your questions about iText here > >To: "Post all your questions about iText here" > Subject: Re: [iText-questions] XML to PDF problem >Date: Sun, 8 Jul 2007 12:04:5

Re: [iText-questions] XML to PDF problem

2007-07-08 Thread Paulo Soares
That's fixed in the CVS. Paulo - Original Message - From: "Keith O" <[EMAIL PROTECTED]> To: Sent: Sunday, July 08, 2007 7:19 AM Subject: [iText-questions] XML to PDF problem > Hi, > > The following (simplified version of example in CH 14 of iText in Ac

[iText-questions] XML to PDF problem

2007-07-07 Thread Keith O
Hi, The following (simplified version of example in CH 14 of iText in Action) works using itextsharp 4.0.3, .NET 2.0: using System; using System.IO; using iTextSharp.text; using iTextSharp.text.pdf; using iTextSharp.text.xml; public class xml2pdf { public static void Main() { Document doc

Re: [iText-questions] XML to PDF: encoding

2007-04-03 Thread Marek Spichalski
Hi, Maybe I should embed my font in pdf? How can I add embedded fonts to use it in tagmap? Marek - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share y

Re: [iText-questions] XML to PDF: encoding

2007-04-03 Thread Marek Spichalski
Hi, This is a paragraph part in which I put my text And this is all my code for simple generation: Document document = new Document(); FontFactory.register("c:/windows/fonts/arialuni.ttf", "myarial"); PdfWriter.getInstance(docu

Re: [iText-questions] XML to PDF: encoding

2007-04-03 Thread Paulo Soares
Re: [iText-questions] XML to PDF: encoding > > Hi, > > > > Do those fonts have the characters? > > > Yes. > > > We appreciate more info > > > IText generates the pdf but instead of Polish characters I > got blank spaces. > For e

Re: [iText-questions] XML to PDF: encoding

2007-04-03 Thread Marek Spichalski
Hi, Do those fonts have the characters? Yes. We appreciate more info IText generates the pdf but instead of Polish characters I got blank spaces. For example: "męcze się" becomes "mcze si". Which is not nice ;) I tried: FontFactory.register("c:/windows/fonts/arialuni.ttf", "myarial"); whe

Re: [iText-questions] XML to PDF: encoding

2007-04-03 Thread Bruno Lowagie (iText)
Marek Spichalski wrote: > I tried to use FontFactory to > register my own fonts Do those fonts have the characters? > but it didn't work. I will appreciate any clue :) We appreciate more info. Unless 'it doesn't work' is the literal message returned when the exception is thrown, we can't do any

[iText-questions] XML to PDF: encoding

2007-04-03 Thread Marek Spichalski
Hi, I have a problem with converting XML to PDF. Generally everything goes well with one exception: missing Polish-specific letters. Instead of Polish characters I have blank spaces. I tried to use FontFactory to register my own fonts but it didn't work. I will appreciate any clue :) Thank in ad

Re: [iText-questions] XML to PDF

2007-03-03 Thread Bill Ensley
Have you mapped the lotus xml to itext xml or are you just expecting itext to "know" what kind of XML you are sending it? XML is not a language, it is a data storage and transfer mechanism. You probably need to create a custom SaxHandler to parse the lotus xml. -Bill Ensley www.bearprinting.

[iText-questions] XML to PDF

2007-03-03 Thread MMarcavage
I have read the tutorials and I have taken regular XML and converted it to PDF no problems. I am trying to convert a Lotus Notes doc to XML then to PDF. The problem that I am having is when I take the XML that I from the Lotus Notes doc and convert that XML to PDF No matter what I do it creates

Re: [iText-questions] xml to pdf acroforms SAXiTextHandler question

2007-03-03 Thread Bruno Lowagie
Patrick Schweizer wrote: > But before I do that I have some questions: > - Is there a reason why the iText xml to pdf is not developed any longer? > E.g. no resources, technical problems, there is another framework that > covers that problem, ... Time was a big issue. But also: why invent an iT

Re: [iText-questions] XML to PDF

2007-03-03 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: > > I would be very interested if someone found a way to convert XML to PDF Please realize that this is a very vague requirement. What kind of XML do you want to convert to PDF? Mars? SVG? DocBook? XHTML? ... br, Bruno

Re: [iText-questions] XML to PDF

2007-03-02 Thread Bill Ensley
2007 19:11:15 +0100 From: Patrick Schweizer <[EMAIL PROTECTED]> Subject: [iText-questions] xml to pdf acroforms SAXiTextHandler question To: itext-questions@lists.sourceforge.net Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=iso-8859-15 Hello, I hav

[iText-questions] XML to PDF

2007-03-02 Thread MMarcavage
I would be very interested if someone found a way to convert XML to PDF Michael D Marcavage Re Date: Fri, 02 Mar 2007 19:11:15 +0100 From: Patrick Schweizer <[EMAIL PROTECTED]> Subject: [iText-questions] xml to pdf acroforms SAXiTextHandler question To: itext-que

[iText-questions] xml to pdf acroforms SAXiTextHandler question

2007-03-02 Thread Patrick Schweizer
Hello, I have a question concerning the xml to pdf transformation. I need to generate a pdf out of an xml. I searched to web to find a good solution for that and came across iText. This is what I found out so far: - iText supports a xml to pdf transformation via the SAXiTextHandler - SAXiTextH

[iText-questions] xml to pdf pdfptables

2006-11-14 Thread Ruslan KULUBAEV
Hi Bruno, Paolo, Steve and others, i would like to pose a question on converting xml to pdf. i have been reading previous posts. I have been using pdfptable or willing to use it. I read some posts from Bruno were saying that handler should be enhanced to be able to use pdfptables. Also read th

Re: [iText-questions] XML to PDF Query

2006-10-25 Thread Webber, David (NIH/OD) [C]
al Message- From: Anton Melser [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 24, 2006 4:13 PM To: Post all your questions about iText here Subject: Re: [iText-questions] XML to PDF Query > You can use xslt with FO to create a PDF directly from the XML via > stylesheet to PDF. >

Re: [iText-questions] XML to PDF Query

2006-10-24 Thread Zenith
Thanks David but I am using iText as API only Regards, Zenith - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Downloa

Re: [iText-questions] XML to PDF Query

2006-10-24 Thread Anton Melser
> You can use xslt with FO to create a PDF directly from the XML via > stylesheet to PDF. > True, but I for one would rather code java or .net than xslt any day! And FOP lacks quite a few things that if you need will cost... Cheers Antoine -

Re: [iText-questions] XML to PDF Query

2006-10-24 Thread Webber, David (NIH/OD) [C]
You can use xslt with FO to create a PDF directly from the XML via stylesheet to PDF.   DW   From: zenith cool [mailto:[EMAIL PROTECTED] Sent: Monday, October 23, 2006 3:43 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] XML to PDF Query   Hi

[iText-questions] XML to PDF Query

2006-10-23 Thread zenith cool
Hi EVeryone,   I have a xml template with different tags where the values get inserted from another xml document and a pdf file generated with all the values in the end. In the XML template, I have created a table with the tags at http://itext.sourceforge.net/itext.dtd . The question is that I don

[iText-questions] XML to PDF : how to distinguish tags with same name for mapping (tagmap) ? - Xpath?

2005-03-08 Thread Le Roux, Joan
Can we use something similar to Xpath concerning the topic : http://article.gmane.org/gmane.comp.java.lib.itext.general/14714 ? Which possibility I have to do this? Regards, Joan Disclaimer: This electronic transmission

RE: [iText-questions] [XML to PDF]Chinese character in XML

2005-02-14 Thread Paulo Soares
You need the encoding to be "Identity-H". (B (B> -Original Message- (B> From: [EMAIL PROTECTED] (B> [mailto:[EMAIL PROTECTED] On (B> Behalf Of Raymond (B> Sent: Sunday, February 13, 2005 2:19 PM (B> To: itext-questions@lists.sourceforge.net (B> Sub

[iText-questions] [XML to PDF]Chinese character in XML

2005-02-13 Thread Raymond
Hi, I'm using iText XML to generate pdf. The XML contains some chinese characters. The following is the text xml I had used. test.xml äæ123 I had search through the archive and used the following code in the program. test.java Document poc = new Document(PageSize.A4, 80, 50,

RE: [iText-questions] XML To PDF

2004-03-10 Thread Bruno
Quoting "Zaki, Reham A" <[EMAIL PROTECTED]>: > Hi Bruno, > Sorry for bothering you again.I checked the ujac site but I couldn't find > sample of code in java of how I can have an XML output transformed to PDF After what I have heard it should be rather easy. I forward this to the developer of UJA

RE: [iText-questions] XML to PDF conversion...

2004-03-09 Thread Bruno
t; projects > > e.g. http://xml.apache.org/fop/ etc... > > Justin > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Pradhan, > Saket > Sent: 09 March 2004 16:47 > To: [EMAIL PROTECTED] > Subjec

RE: [iText-questions] XML to PDF conversion...

2004-03-09 Thread webguy
EMAIL PROTECTED]On Behalf Of Pradhan, SaketSent: 09 March 2004 16:47To: [EMAIL PROTECTED]Subject: [iText-questions] XML to PDF conversion... All, I saw on the itext website that XML to PDF conversion has been discontinued for some time ? 1. Is it correct ? What was the reaso

[iText-questions] XML to PDF conversion...

2004-03-09 Thread Pradhan, Saket
Title: XML to PDF conversion... All, I saw on the itext website that XML to PDF conversion has been discontinued for some time ? 1. Is it correct ? What was the reason for discontinuing this feature ? 2. Will we have this support in near future ? I need this answer quickly so I would a

Re: [iText-questions] XML to PDF

2004-02-04 Thread Bruno
Quoting Manish <[EMAIL PROTECTED]>: > does anyone have any examples of such XML's? Just us XmlWriter to produce some. br, Bruno --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration

[iText-questions] XML to PDF

2004-02-04 Thread Manish
Hi guys. I am a newbie to iText I have to develop reports in PDF.( i am using PB-datawindows) Anyone worked on this before? For this i am using XML to convert it into PDF. the PDF generated has to be in memory and not a file The XML i want to generate should be of iText tags does anyone

Re: [iText-questions] XML To PDF

2004-01-28 Thread Christian Lauer
Hi Jones, i've improved my stuff once more. It's possible now to load modules outside the main document by specifying it at the DocumentPrinter instance using its method loadModule. I've committed it all into CVS. I've attached an example, explaining the new feature. This example is also in CVS.

Re: [iText-questions] XML To PDF

2004-01-27 Thread Bruno
Quoting jones henry <[EMAIL PROTECTED]>: > Bruno, > > I tried the iText XML by handcoding it. It seems it is not generating the > PDF to use any other font except the default one. I used the following input > xml and program. You need to register those other fonts first. Take a look at http://w

Re: [iText-questions] XML To PDF

2004-01-27 Thread Christian Lauer
Hi Jones, if you like to use true type fonts in your PDF, you have to register it inside the document template using the tag, as you can see in the Fonts example on the project page. This is necessary, as the UJAC print module does NOT make use of the iText FontFactory. I've decided n

Re: [iText-questions] XML To PDF

2004-01-26 Thread jones henry
Bruno, I tried the iText XML by handcoding it. It seems it is not generating the PDF to use any other font except the default one. I used the following input xml and program. [code] test.java import java.io.FileOutputStream; import javax.xml.parsers.SAXParser; import javax.xml.pars

Re: [iText-questions] XML To PDF

2004-01-26 Thread Bruno
I forward this to the iText mailinglist. There is a lot of demand for a better XML DTD for iText. I think UJAC could be the answer. I'll put a link on my site to yours. I hope you'll get lots of response. br, Bruno Quoting Christian Lauer <[EMAIL PROTECTED]>: > Hi Bruno, > > thanks for your int

Re: [iText-questions] XML To PDF

2004-01-24 Thread Bruno Lowagie
jones henry wrote: Bruno, Thanks for pointing me in the right direction. I think the itext.dtd still says the attribute as font instead of font-family in the entity font.attributes. May be I am missing something here. Nobody has been working on the XML part of iText for a very long time. The DT

Re: [iText-questions] XML To PDF

2004-01-23 Thread jones henry
t;[EMAIL PROTECTED]> To: jones henry <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: [iText-questions] XML To PDF Date: Fri, 23 Jan 2004 09:50:19 +0100 Quoting jones henry <[EMAIL PROTECTED]>: > It seems it is not taking the "font" attribute. It al

Re: [iText-questions] XML To PDF

2004-01-23 Thread Bruno
Quoting jones henry <[EMAIL PROTECTED]>: > It seems it is not taking the "font" attribute. It always puts font="unknown". See http://itext.sourceforge.net/src/com/lowagie/text/FontFactory.java more in specific the method: public static Font getFont(Properties attributes) As you can see, you have

[iText-questions] XML To PDF

2004-01-23 Thread jones henry
Hi all, I am trying to use iText to convert XML document to PDF. When I tried one of the given examples, it worked fine. (Example Chap0703) Then I want to change the font using the tagmap as But it did not work. Then I also generated the XML file along with PDF. It seems it is not t

[iText-questions] XML to PDF

2003-11-28 Thread Mallika Rajasekaran
Hi, Can you please provide all the tags to construct a XML to create a PDF using iText. Regards R Mallika This message is confidential and may also be legally privileged. If you are not the intended recipient, please notify [EMAIL PROTECTED] immediately. You should not copy it or use it for

[iText-questions] XML to PDF and barcodes in the PDF file

2003-11-14 Thread Marek Bednarczyk
Hi, I'm trying to parse an XML file and generate a corresponding PDF file just like it is done in chapter 7 example 2 in the iText tutorial. Is there any way to add a barcode, for example Code 39, to the PDF file? I don't want to change the method of generating, it's very convinient in my situati

RE: [iText-questions] xml to pdf: two simples problems

2003-10-16 Thread Paulo Soares
> -Original Message- > From: Jon [SMTP:[EMAIL PROTECTED] > Sent: Thursday, October 16, 2003 15:03 > To: [EMAIL PROTECTED] > Subject: [iText-questions] xml to pdf: two simples problems > > Hello, > > I use the xml way to create my pdf. > Despite se

[iText-questions] xml to pdf: two simples problems

2003-10-16 Thread Jon
Hello, I use the xml way to create my pdf. Despite several tries, I can't solve two simples problems: 1) Justifying parapraphs This doesn't work for me: blah blah The paragraph is not justified But if I put the paragraph inside a chapter, then it works blah blah But I don't w

RE: [iText-questions] xml to pdf in zn-TW

2003-02-11 Thread Paulo Soares
> To: [EMAIL PROTECTED] > Subject: [iText-questions] xml to pdf in zn-TW > > Dear all, > I have used FOP from xml.apache.org to convert > the XML to PDF file through XSL file, but the PDF > always within "###" when using Chinese Word in XML. > The XML e

Re: [iText-questions] xml to pdf in zn-TW

2003-02-10 Thread David Thielen
You might want to look at www.WindwardReports.com     - Original Message - From: MattChan To: [EMAIL PROTECTED] Sent: Monday, February 10, 2003 3:43 AM Subject: [iText-questions] xml to pdf in zn-TW Dear all,     I have used FOP from xml.apache.org to

[iText-questions] xml to pdf in zn-TW

2003-02-10 Thread MattChan
Dear all,     I have used FOP from xml.apache.org to convert the XML to PDF file through XSL file, but the PDF always within  "###" when using Chinese Word in XML. The XML encoding="UTF-8".   1. How do i make the PDF well in zn-TW? 2. Are there any usful tools can edit XSL-FO more convenien

Re: [iText-questions] xml to pdf, text positioning

2003-02-04 Thread David Thielen
you might be able to do this with www.WindwardReports.com. thanks - dave - Original Message - From: "Bendik R.Johansen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 03, 2003 6:30 PM Subject: [iText-questions] xml to pdf, text positioning

Re: [iText-questions] xml to pdf, text positioning

2003-02-04 Thread Bruno
Quoting "Bendik R.Johansen" <[EMAIL PROTECTED]>: > Is there a simple way to do this like: > > (Pseudo code) > > Hello, world! > This kind of functionality is not provided in the XML package. > Also, is there a way to define an existing pdf to add text to, in xml? No, you will have to write

[iText-questions] xml to pdf, text positioning

2003-02-03 Thread Bendik R . Johansen
Hello, I was wondering how to position text absolute. I am using Chap0704.java. Is there a simple way to do this like: (Pseudo code) Hello, world! I can't seem to figure this out. I have managed to position images, but not text. Also, is there a way to define an existing pdf to add text to

[iText-questions] XML to PDF runtime error

2002-12-16 Thread alan chen
Original Message Follows From: "alan chen" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: XML to PDF runtime error Date: Mon, 16 Dec 2002 10:54:12 -0500 Help STOP SPAM with the new MSN 8 and get 2 months FREE*--- Begin Message --- Hello, I am trying out the iText tutorial Chap

[iText-questions] XML to PDF runtime error

2002-12-13 Thread alan chen
Hello, I'm trying out the iText-tutorial Chapter 7 Example 4. I got all the jar files and the source files, and the compilation was OK. When I tried to run it, here's error I got: ***Chapter 7 example 4: making life easyExceptionConverter: ExceptionCo

[iText-questions] xml to pdf table bug?

2002-08-27 Thread Phillip Rhodes
I output a table with 3 cells, with spacing and padding of 5. The top cell would not allow the top of it to be padded in respect to the table. By adding an empty table cell to the top, everything was padded uniformly. --- This sf.net email i

Re: [iText-questions] XML to PDF Conversion problem

2002-07-16 Thread Paul Cooley
I believe, if I haven't completely forgotten all of this, that you actually have call document.open() before trying to use the xml conversion. Otherwise, iText is attempting to write to a closed document. Before a document is open is when you can add the properties, encryption, etc. So try ad

[iText-questions] XML to PDF Conversion problem

2002-07-16 Thread quokka quokka
Hello, I am just starting to use iText. I have implemented a few tests with success. Now I am trying to convert an XML file to PDF, very similar to example 0703. In fact if I use the 0703 xml and tagmap files, I have no problem with the conversion. However, if I use my own (very simple) files

Re: [iText-questions] XML to PDF

2002-05-23 Thread Matt Benson
Similarly, how could I preserve the outline's initial collapsed state that I get when I generate PDF directly but lose with the intermediate XML? Thanks again, Matt --- Matt Benson <[EMAIL PROTECTED]> wrote: > I want to maintain an iText XML document that I can > transform at will. To create th

[iText-questions] XML to PDF

2002-05-23 Thread Matt Benson
I want to maintain an iText XML document that I can transform at will. To create the XML I used code that was originally writing PDF and then I switched the writer it was using. In the PDF-generating code I was using a particular SplitCharacter implementation to deal with file paths in a Table:

[iText-questions] xml to pdf

2002-02-08 Thread tan ean khim
hi all, I would like to render a xml file to a pdf file, the xml file have several "div" element tag, each "div" will be rendered as a chapter in pdf file. (1) how to generate different header and footer for each "div" dynamically (parse the data from xml file)? For example, the first "div" wit