Hi
I was missing the “P” in PdfPTable. It’s all good again. Thank you very much
for responding back so quickly.
Have a great day.
Diane
From: André Fróes [via iText] [mailto:ml-node+s2136553n4660822...@n4.nabble.com]
Sent: Tuesday, May 19, 2015 11:58 AM
To: Haddy, Diane E
Subject: Re: Questi
Thank you so much. Someone else pointed this out to me. Have a great day.
Best Regards,
Diane
From: nconde [via iText] [mailto:ml-node+s2136553n466082...@n4.nabble.com]
Sent: Tuesday, May 19, 2015 11:59 AM
To: Haddy, Diane E
Subject: Re: Question about PdfTable
you are missing the P for PdfPTa
you are missing the P for PdfPTable table= new PdfPTable(1);
--
View this message in context:
http://itext.2136553.n4.nabble.com/Question-about-PdfTable-tp4660821p4660823.html
Sent from the iText mailing list archive at Nabble.com.
--
Which version are you using? Could you send the full stack?
By declaring the way you did, no exception should be displayed.
These are the constructors:
http://api.itextpdf.com/itext/com/itextpdf/text/pdf/PdfPTable.html#PdfPTable()
Live example provided by itext: http://itextpdf.com/examples/iia.p
Hello
I am very new to iText and in the learning curve. I would like to utilize
the PdfTable object. But when I do this:PdfTable table = new
PdfTable(3)
I receive an error saying there is no constructor of new PdfTable(). I have
access to iText api library and when I look in this class I d
hi Giao!
Your PDF is a scanned one ?? I will give it a try>, and let u know.
Rao
NHATRANGRNT
From: giao...@hotmail.com
To: itext-questions@lists.sourceforge.net
Date: Mon, 2 Jun 2014 17:40:44 -0400
Subject: [iText-questions] Question
Hi ,
I scan a ticket to pdf file (See attach file D
On 4/7/2014 5:16 PM, Peter Thung wrote:
To whom it may concern,
(Response from application developer)
>Sorry that PDFill can not open this PDF. This file does not strictly follow PDF standard. It use so
called PDF-Extension that >adobe trys to play trick.
What is PDFill and how is it related
To whom it may concern,
(Response from application developer)
>Sorry that PDFill can not open this PDF. This file does not strictly follow
PDF standard. It use so called PDF-Extension that >adobe trys to play
trick.
in which his/her app couldn't read a pdf I have which is based upon iText
li
On 2/28/2014 8:54 AM, willegy wrote:
> is your problem had resolved?
That was a question dating from 2005.
Please don't reopen a thread that old.
In any case: I see that you've found the solution on StackOverflow.
--
Flow-
I have find the problem from this link behind. Thanks also.
http://stackoverflow.com/questions/12573962/how-to-center-align-template-element-in-pdfpcell
--
View this message in context:
http://itext-general.2136553.n4.nabble.com/Question-about-PdfPCell-and-setHorizontalAlignment-tp2139851p46598
is your problem had resolved?
Your problem also happened in my code.
If you know how to resolve, send mail to me . thank you very much
--
View this message in context:
http://itext-general.2136553.n4.nabble.com/Question-about-PdfPCell-and-setHorizontalAlignment-tp2139851p4659810.html
Sent fro
Hello,
I downloaded the 30 days test license of iText for Android and want to test it
with a prototype for digital signing pdfs with a *.p12 certificate.
Then I installed the *.p12 certificate correctly in the Android Keychain, but
when I want to sign a pdf I get a Nullpointer Exception from th
Op 27/06/2013 19:55, Johan Alexander Velandia Rojas schreef:
Hi itext support,
At this moment, I'm looking for a library that allows me adding
annotations to specific images in an existing PDF, annotations should
be some external URL for example (www.google.com), the question is:
how I can
Hi itext support,
At this moment, I'm looking for a library that allows me adding annotations to
specific images in an existing PDF, annotations should be some external URL for
example (www.google.com), the question is: how I can do this with itext and if
the library Itext can.
Doing so woul
Hi,
I am using the below code to concatenate pdf's: but the question is how
would i make sure the concatenated PDF is a read-only pdf.
Please advise.
import java.io.*;
import com.itextpdf.text.*;
import com.itextpdf.text.pdf.*;
public class PickTray {
/**
* @param args
*/
unsubscribe me.
On Fri, Dec 21, 2012 at 3:28 PM, Paulo Soares wrote:
> Tiles are not supported.
>
> Paulo
>
> On Thu, Dec 20, 2012 at 2:09 PM, Rosy rose wrote:
> > Hi All,
> >
> > I am trying to convert the tiff file into pdf file but the conversion
> fails
> > if the tiff file has tiles.
> > K
Tiles are not supported.
Paulo
On Thu, Dec 20, 2012 at 2:09 PM, Rosy rose wrote:
> Hi All,
>
> I am trying to convert the tiff file into pdf file but the conversion fails
> if the tiff file has tiles.
> Kindly suggest solution for the same.
>
> Regards
> Rosy
>
>
Hi All,
I am trying to convert the tiff file into pdf file but the conversion fails
if the tiff file has tiles.
Kindly suggest solution for the same.
Regards
Rosy
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT
Hi,
i have the following code:
PdfCollectionField number =
new PdfCollectionField("Number", PdfCollectionField.NUMBER);
number.setOrder(0);
number.setVisible(false);
schema.addField("NUMBER", number);
PdfCollectionField title =
new
Wednesday, August 01, 2012 3:42 AM
To: itext-questions@lists.sourceforge.net
Subject: [iText-questions] question about checkbox
Hi,
Could you please help me to identify the checkbox in the pdf..
please tell me which property or tag shows that editable check box are present
in pdf if we open that
Hi,
Could you please help me to identify the checkbox in the pdf..
please tell me which property or tag shows that editable check box are
present in pdf if we open that Pdf in NotePad.
or how to identify that pdf contain check box..
I know one method of PDfReader is *getAcrofield* which wi
On 31/07/2012 14:01, Pravin Wagh wrote:
> Hi,
>
> Could you please help me to retrive the PdfLayers from the existing pdf
>
> or
>
> Could you please me provide the code snipet to retrive the PDFLayers
> from existing PDF.
What do you mean by "retrieve the PdfLayers"?
Do you want to know which lay
Hi,
Could you please help me to retrive the PdfLayers from the existing pdf
or
Could you please me provide the code snipet to retrive the PDFLayers
from existing PDF.
Thanks
Pravin
--
Live Security Virtual Conferen
On 30/07/2012 7:03, Pravin Wagh wrote:
> You told when we split PDF using PdfCopy and PdfImportedPage it throws
> all interactive properties ..
No, when you split a PDF using PdfWriter and PdfImportedPage.
With PdfCopy you only lose the bookmarks, but chapter 7 explains how to
solve that proble
Hi,
You told when we split PDF using PdfCopy and PdfImportedPage it throws
all interactive properties ..
Could you please help us which method should we use for splitting the
PDF without loosing page properties original Pdf Properties.
Thanks
Pravin
Op 25/07/2012 13:51, Pravin Wagh schreef:
Hi,
When we have i/p as multipage Pdf and when we split those pdf using
following code ..*-
*
You're code isn't OK, it throws away all interactivity and properties
from the original document.
*
*is there any possibility of loosing the Properties
Op 25/07/2012 13:31, Pravin Wagh schreef:
> Hi,
>
> Can i get background color for the PDF in itext.
No, not in a trivial way.
>
> Could you please help me to read the table in the exsiting PDF in iText.
No
>
> and to read the background color of Cell from table..
>
>
No.
Hi,
Can i get background color for the PDF in itext.
or
Could you please help me to read the table in the exsiting PDF in iText.
and to read the background color of Cell from table..
Thanks
Pravin
--
Live Security
Hi,
When we have i/p as multipage Pdf and when we split those pdf using
following code ..
*PdfCopy writer = new PdfCopy(document, new
FileOutputStream(this.outFileName));
document.open();
PdfImportedPage page = writer.getImportedPage(pdfReader, pageNumber);
// Write the page in
The license is always the same whether it is Java or C# or C++ or
Cobol or whatever language...
2012/6/15 Hemant Sharma :
> as talking about the C# version ie iText Sharp( sorry for not being detailed
> there)
> So can we use the iTextSharp version 4.1.6 coded in C# for commercial use.
> Is it un
Op 15/06/2012 12:57, Hemant Sharma schreef:
> So can we use the iTextSharp version 4.1.6 coded in C# for commercial
> use.
If you don't care about your customer(s), you can probably do so.
--
Live Security Virtual Confe
I was talking about the C# version ie iText Sharp( sorry for not being
detailed there)
So can we use the iTextSharp version 4.1.6 coded in C# for commercial use.
Is it under LGPL?
(asking this as you might have answered pertaining to Java version, may be)
Regards,
Hemant
On Fri, Jun 15, 2012 at
Op 15/06/2012 9:54, TvT schreef:
> there is/was a iText C# version 4.1.6
That's not iText, that's iTextSharp ;-)
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat
Mhm I didn't read java in Hemants post - did you?
You may have forgotten ;-) but there is/was a iText C# version 4.1.6 -
the latest licensed under MPL/LPGL.
@Hemant
What do you think?
If you have the budget and the time/resources to adapt your project
and test the new version then go with the new
On 15/06/2012 7:25, Hemant Sharma wrote:
> Can I continue using this ver 4.1.6 even now when the latest version
> is a paid version?
There has never been a version 4.1.6 of iText, the Java-PDF version.
We've discussed this over and over again: you shouldn't use old versions
of iText for technica
Hi ,
I am trying to use iText version4.1.6 with one of my commercial product as
I read on some blogs etc that this was under LGPL .
Can I continue using this ver 4.1.6 even now when the latest version is a
paid version?
Please advise. Thank you.
Regards,
Hemant
--
Op 4/06/2012 6:26, Parminder Kaur schreef:
The HTML image ("
")
tag
I'm sorry, I can't reproduce the error. See code sample + result in
attachment. However, I did have to fix your HTML. I replaced by
in the above HTML snippet.
I'm using the most recent versions of XML Worker and iText
If I have the following html code for instance:
The HTML image ("
") tag
and I try to convert this into PDF using xmlworker, I get the following
error:
com.itextpdf.tool.xml.exceptions.RuntimeWorkerException: Invalid nested tag
td found, expected closing tag img.
I tried the following text:
Op 21/05/2012 15:11, Daniel DA COSTA schreef:
Thank you for your fast response.
However, if i can not change the version because i use the package RTF
Nothing keeps you from using iText 2.0.6 (with packages com.lowagie)
next to iText 5.x.y (with packages com.itextpdf).
As the package names a
Thank you for your fast response.
However, if i can not change the version because i use the package RTF,
is it that there would be a way to get a readable text ?
Thank you in advance for the help you can provide me.
--
Daniel DA COSTA
Service Informatique
53, rue La Fayette
75009 Paris
Tél
Op 21/05/2012 14:01, Daniel DA COSTA schreef:
> I would like if it's a known bug because I did not find any
> information on this problem.
This has probably been solved in more recent versions. You're getting
gibberish because the version you're using (dating from October 2007)
didn't take into
Hi,
I turn to you because I have a question about parsing PDF documents.
My version of iText is com.lowagie.iText version 2.0.6
(http://mvnrepository.com/artifact/com.lowagie/itext/2.0.6 )
To parse a PDF i took your exemple ParsingHelloWorld
(http://itextpdf.com/examples/iia.php?id=275 ) with PR
Op 1/05/2012 17:37, Lowe, Wyan schreef:
Hi,
I'd like to open a pdf, extract the text, but also determine the color
of the text during extraction.
For example, if thepdftext is 1 page, and nicely column formatted
(maybe 3 columns with whitespace in between), maybe the 1^st column is
numbers
Hi,
I'd like to open a pdf, extract the text, but also determine the color
of the text during extraction.
For example, if the pdf text is 1 page, and nicely column formatted
(maybe 3 columns with whitespace in between), maybe the 1st column is
numbers, if the number is 'green', it has one meaning
On 23/04/2012 16:15, Ramesh Reddy Keesara wrote:
> Can we include script?
Using iText, you can add JavaScript to a PDF (existing or new) if that's
what you mean.
--
For Developers, A Lot Can Happen In A Second.
Boundary i
On 23/04/2012 15:38, Ramesh Reddy Keesara wrote:
> Hi,
> I am very new to this component, can we genarate a PDF with form
> controls or only the text and graphical content.
You can create PDFs with text, graphical content and all kinds of
annotations (links, text annotations, ...).
You can also
Please use the mailing-list addres: itext-questions@lists.sourceforge.net
DO NOT use the company address i...@1t3xt.info unless you wish to
receive an invoice for the answers that are provided.
Also: please rephrase your questions because they don't make any sense.
On 19/04/2012 19:40, omid wro
Op 17/04/2012 19:10, omid schreef:
Hi
First, I should thankful you because of your helps and guides to me.
I have studied 'PDF reference 1.7' completely and I was faced with
several questions that I hope you can answer to them.
1. Where place does 'Metadata' stored? In main file(main
Hi
First, I should thankful you because of your helps and guides to me.
I have studied 'PDF reference 1.7' completely and I was faced with several
questions that I hope you can answer to them.
1. Where place does 'Metadata' stored? In main file(main content) or
another file?
2.
On 23/12/2011 19:56, valerykhyzhniy wrote:
> Hi!
> Help me.
> I try to write a table to the document. But every page can to have the same
> upper part. I use PdfPageEventHelper.onStartPage() or onEndPage(). But last
> one row of the table to print at the next page. What i need to use for this?
A.
Hi!
Help me.
I try to write a table to the document. But every page can to have the same
upper part. I use PdfPageEventHelper.onStartPage() or onEndPage(). But last
one row of the table to print at the next page. What i need to use for this?
This is code to add one row as a table to the document.
Leonard
From: Brijoy Janardhanan mailto:bri...@gmail.com>>
Reply-To: Post here
mailto:itext-questions@lists.sourceforge.net>>
Date: Fri, 16 Dec 2011 13:27:38 -0800
To: Post here
mailto:itext-questions@lists.sourceforge.net>>
Subject: [iText-questions] Question on hiding toolba
>
> On win7 if I add a null user password and turn everything off (printing
> commenting etc) it will NOT show the toolbars when inside browser...
>
>
>
> john renfrew
>
> From: Leonard Rosenthol [mailto:lrose...@adobe.com
> <mailto:lrose...@adobe.com>]
> Sent: 09 De
d turn everything off (printing
commenting etc) it will NOT show the toolbars when inside browser...
john renfrew
From: Leonard Rosenthol [mailto:lrose...@adobe.com]
Sent: 09 December 2011 17:11
To: Post here
Subject: Re: [iText-questions] Question on hiding toolbar in Adobe X
Hiding the toolb
forge.net>>
Date: Fri, 9 Dec 2011 07:56:34 -0800
To: Post here
mailto:itext-questions@lists.sourceforge.net>>
Subject: [iText-questions] Question on hiding toolbar in Adobe X
Hello
We are using iText 2.1.2 jar for our project. Issue we are facing is we are not
able to hide the to
Hello
We are using iText 2.1.2 jar for our project. Issue we are facing is we are
not able to hide the toolbar in the Adobe Reader 10 version. The code works
well for Adobe 9 and lower version to hide the toolbar and menubar. Right
now in Adobe X, the toolbar is enabled and allows the customer to
Hello,
i have a Pdftable with 5 rows.
Now i will change the height for the 5. row.
It is possible to change the height after table.addCell() ?
I need a solution to change the heigth after the table.addCell - Methode.
I have used to set the heigts with then following Statements:
table.R
On 22/11/2011 20:04, Jan Przybylo wrote:
Dear Support,
We are interested in PDF and barcodes creation using iText. However we
need to make sure if barcode API supports type 93. There's nothing
about this standard in API's documentation.
Thank you in advance for clarifying this.
Barcode 39 is
Dear Support,
We are interested in PDF and barcodes creation using iText. However we need to
make sure if barcode API supports type 93. There’s nothing about this standard
in API’s documentation.
Thank you in advance for clarifying this.
---
Thanks a lot both,
I am going to have a look at your examples and read more documentation
(even if I already did...).
Then, I will come back with more precise questions.
David
2011/11/11 1T3XT BVBA
> On 11/11/2011 18:00, david guede wrote:
> > OK, I understand that the bookmark is probably no
On 11/11/2011 18:00, david guede wrote:
> OK, I understand that the bookmark is probably not connected to the
> content... no problem with this. But, the bookmark is somewhere on the
> page and therefore I cn probably get the coordinate of the first
> letter of the first word for each bookmark (
Leonard
>
> From: david guede
> Reply-To: Post here
> Date: Fri, 11 Nov 2011 08:32:06 -0800
> To: Post here
> Subject: Re: [iText-questions] question about extracting text with itext
>
> Hi guys and thanks.
>
> I was thinking that maybe we could extract only a sec
documents probably use a different structure.
Leonard
From: david guede mailto:guede.da...@gmail.com>>
Reply-To: Post here
mailto:itext-questions@lists.sourceforge.net>>
Date: Fri, 11 Nov 2011 08:32:06 -0800
To: Post here
mailto:itext-questions@lists.sourceforge.net>>
Subject:
the actual
> content per bookmark.
>
> Unfortunately, the number of PDFs that meet all three criteria is almost 0
> :(.
>
> Leonard
>
> From: david guede
> Reply-To: Post here
> Date: Wed, 9 Nov 2011 04:16:26 -0800
> To: Post here
> Subject: [iText-questions
gt;>
Date: Wed, 9 Nov 2011 04:16:26 -0800
To: Post here
mailto:itext-questions@lists.sourceforge.net>>
Subject: [iText-questions] question about extracting text with itext
Hi everybody,
I have never used iText and need to manipulate contents from pdf files.
Basically, I have got o
David-
There are many examples of code using iText - do some quick google searches
for itext bookmarks and you'll find them.
- K
--
View this message in context:
http://itext-general.2136553.n4.nabble.com/question-about-extracting-text-with-itext-tp4019583p4019884.html
Sent from the iText - Gen
On 9/11/2011 14:51, david guede wrote:
> Can you just send me an example ?
Just go to the book page: http://itextpdf.com/book/
> I am planning to use the free java version of iText
This means that you're going to publish your own source code under the
AGPL too. Please let us know when where you
Thanks,
but I do not have the book and before buying the book, I want to have a go
with iText ti be totally sure to choose the right java lib for my purpose...
Can you just send me an example ?
I am planning to use the free java version of iText
Thanks in adavance
David
2011/11/9 1T3XT BVBA
On 9/11/2011 13:16, david guede wrote:
> If so, could you please send me an example or tell me where I could
> find one.
Read "iText in Action - Second Edition", section 7.2.2 "Retrieving
bookmarks from an existing document."
--
Hi everybody,
I have never used iText and need to manipulate contents from pdf files.
Basically, I have got one pdf file called sample.pdf
In this file, I have got some bookmarks (corresponding to the sections of
my file). This can be an example :
Sample.pdf
SAMPLE
1 Introduction
1.1 In
Hi,
I am trying to create a barcode for type code 128 using C#. I was looking at
your website for examples that supports c#. Can you provide me some examples or
send me the right link where I can find one.
Thanks
Bavitha Govindarajulu
GiftCertificates.com
Lead, Internet & Software Development
Hello there,
i know that the rtf is not supported anymore but i hope you could help me
with a (i hope) easy problem (espacially for you ;) ).
I want to convert a RTF File into a PDF File in a very easy Java program.
My program should be used as a jar (or runable jar) just to take the
rtf-File an
On Thu, September 8, 2011 10:40, Bruno Lowagie wrote:
> On 8/09/2011 9:58, Horst Wetzel wrote:
>> Me Myself and I live.co.uk> writes:
>>
>>> >
>>> >
>>> > old RTF implementation questions.
> Hello Horst,
>
> I didn't see any new info in your answer to Zachary's question.
>
> Zachary (aka Me, Mys
On 8/09/2011 9:58, Horst Wetzel wrote:
> Me Myself and I live.co.uk> writes:
>
>> >
>> >
>> > old RTF implementation questions.
Hello Horst,
I didn't see any new info in your answer to Zachary's question.
Zachary (aka Me, Myself and I) makes two assumptions that are wrong:
- "itext 2.1.7 w
Me Myself and I live.co.uk> writes:
>
>
> old RTF implementation questions.I am trying to get hold of the java .jar file
(and any further jars required)for the most recent, up to date version of the
java iText liibrarywhich was/is entirely open source and did not have any
requirementat all for
old RTF implementation questions.
I am trying to get hold of the java .jar file (and any further jars required)
for the most recent, up to date version of the java iText liibrary
which was/is entirely open source and did not have any requirement
at all for remuneration to iText if leveraged in a
Hi, Was trying out the examples in chapters 8 and 9 related to acroforms.
Where do i enter the url for the servlet to which the form submits the url
when clicked/ especially when creating the form using openoffice? also would
such a form be concatenatable with regular pdf ? is there a setvisible me
On 21/07/2011 16:37, Hassan Radi wrote:
> right-to-left text (like Arabic) is not rendered in the pdf file. Is
> that because the default IText font doesn't support Arabic text? if
> this is right, does that mean the problem would be solved if I found a
> way to replace this default font by anot
Hi there,
I am trying to convert html files into pdf ones using IText and Flying
Saucer, but I am facing a problem:
right-to-left text (like Arabic) is not rendered in the pdf file. Is that
because the default IText font doesn't support Arabic text? if this is
right, does that mean the problem wou
Merging of font subsets and/or re-connecting fonts to streams is NOT a
trivial task.
If you are going to tackle this, you REALLY need an indepth understanding
of how the various font formats involved, the concept of encodings in PDF,
and the various Font data structures. And, a LOT of time...
Hi everybody,
I've been carefully reading all posts from this thread, I am aware this
discussion seems to be over by now but I was unable neither to find a
solution to my problem nor a more adapted thread to post in.
I am using Itext to merge a large amount (several thousands) of pdfs,
containing
Please provide a working standalone example that show your problem, we
don't know what happens in other parts of your code. We cannot guess
what e.g. PdfParseContext does
On 27/05/2011 20:26, Murali Ramaswamy wrote:
Hi,
I have two tables inside a numbered list item like below:
some text
On 27/05/2011 20:19, Murali Ramaswamy wrote:
Hi,
I have two tables inside a numbered list item like below:
Hello,
I've tested this snippet on http://demo.itextsupport.com/xmlworker/
Hello, this is a test
This is a list, but: it has a table:
keyvalue
Name
John Doe
Age
Unknown
Look! T
Hi,
I have two tables inside a numbered list item like below:
some text
some more text...
After I convert to pdf I get in the pdf as follows:
some text
some more text...
The code I used is as follows. Since the table tags are somehow stripped off I
track the first tr and last t
Hi,
I have two tables inside a numbered list item like below:
some text
some more text...
After I convert to pdf I get in the pdf as follows:
some text
some more text...
The code I used is as follows. Since the table tags are somehow stripped off I
track the first tr and last t
Op 11/04/2011 22:39, King Goldman schreef:
Hi All,
I read about adding the tables to the document in the second edition
of the book.
But if I were to add a table that first writes to the left half of the
document and then
writes the data to the second half of the document as shown below, how
c
re
*Subject:* [iText-questions] question about adding a table to the
document
Hi All,
I read about adding the tables to the document in the second
edition of the book.
But if I were to add a table that first writes to the left half of
the document and then
writes
> *To:* Post all your questions about iText here
> *Subject:* [iText-questions] question about adding a table to the document
>
>
>
> Hi All,
>
> I read about adding the tables to the document in the second edition of the
> book.
>
> But if I were to add a table tha
Make sense?
From: King Goldman [mailto:king.gold...@gmail.com]
Sent: Monday, April 11, 2011 4:40 PM
To: Post all your questions about iText here
Subject: [iText-questions] question about adding a table to the document
Hi All,
I read about adding the tables to the document in the second edition o
Hi All,
I read about adding the tables to the document in the second edition of the
book.
But if I were to add a table that first writes to the left half of the
document and then
writes the data to the second half of the document as shown below, how can I
achieve
this result. Can somebody guide me?
You missed 1T3XT BVBA's earlier post.
>> Check out the paintToPdf method in this old example from the first book:
>>
https://itext.svn.sourceforge.net/svnroot/itext/examples/src/in_action/chapter12/JTextPaneToPdf.java
>> If ta is a JTextPane, g2 a PdfGraphics2D object and alloc a
Rectangle, y
Hello,
Thank you for reminding me of using PdfGraphics2D to solve my save pdf file
problme. Actually I am new to iText and I search some info of PdfGraphics2D.
Here are my solutions:
public void setTexttoPdf(String filePath,JTextPane ta) throws IOException,
DocumentException{
Doc
Sorry guys, I found the problem. I thought I set the footer flag to false,
but it was true which is why it kept appending the actual page number to the
end of my footer string. Also I wasn't incrementing the page number so when
I printed it the value was 0. Thanks for your help.
--
View this
Wow, you're right. The example in the book (page 173 fig 5.18) doesn't use
that method. I added it because I think I'm mixing up my versions. I will
look into showTextAligned() .
Thanks
--
View this message in context:
http://itext-general.2136553.n4.nabble.com/Question-about-page-number-foo
Op 23/03/2011 14:38, phle...@free.fr schreef:
> Hello,
>
> I used the following exemple (I have not yet received the book).
>
> Exemple : Part1.Chapter5.MoviesCountries1.java
>
> Exemple : Part2.Chapter6.TwoPasses.java I think you must use it if you want
> page 1/100.
Those are indeed the correct
I assume you want the same date and time on all pages. So you should
generate the date/time string only once and then
use it on each page.
I assume you want different page numbers on each page. So you should
generate the page number once for each page.
It loooks like you are applying the page n
-questions@lists.sourceforge.net
Envoyé: Mercredi 23 Mars 2011 13h42:37 GMT +01:00 Amsterdam / Berlin / Berne /
Rome / Stockholm / Vienne
Objet: Re: [iText-questions] Question about page number footers
Op 23/03/2011 12:49, dwhite schreef:
> Hi, I am just trying to add current page number to the footer of my
Op 23/03/2011 12:49, dwhite schreef:
> Hi, I am just trying to add current page number to the footer of my document.
> I followed the example from "iText in Action"
Which example? Can you give me a page or listing number?
> public void onOpenDocument(PdfWriter writer, Document document) {
Hi, I am just trying to add current page number to the footer of my document.
I followed the example from "iText in Action" and it works except for one
small issue. For some reason the page number gets broken up. I have pasted
the following code I use to write the footer but it produces the follo
Also, the above code is called before document.open()
--
View this message in context:
http://itext-general.2136553.n4.nabble.com/Question-about-page-number-footers-tp3399290p3399321.html
Sent from the iText - General mailing list archive at Nabble.com.
--
1 - 100 of 761 matches
Mail list logo