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
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
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
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
---
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
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
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
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
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
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
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
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
>
> 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
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
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
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
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.
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
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
[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
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
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
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
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
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.
>
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
> 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
-
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
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
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
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
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,
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
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
> -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
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
> 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
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
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
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
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
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
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
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
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
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
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
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
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:
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
65 matches
Mail list logo