On 1/06/2011 18:48, John Renfrew wrote:
> I am successfully replacing all existing labels or starting a new
> style from a given page number with or without a prefix and defining
> the start number, but they then go all the way to the last page.
That is probably an effect caused by replacing the
Is there a simple way to define the END of a range where you want to set new
page labels?
I am successfully replacing all existing labels or starting a new style from
a given page number with or without a prefix and defining the start number,
but they then go all the way to the last page.
This
Dean Krueger wrote:
> Great news thanks for all your help! When will iText 2 be released?
The release date entirely depends on you all.
I had scheduled yesterday to update the changelog
and write some documentation, but I had to spend
the whole day answering questions.
You should all thank Actuat
>I have just finished writing this functionality,
>and I uploaded it to the CVS repository.
>It will be released in iText 2.
>br,
>Bruno
Great news thanks for all your help! When will iText 2 be released?
How will you access this new method?
Thanks
Dean
Dean Krueger wrote:
> I was just hoping I could get
> an array back from iText with the page numbers in it.
I have just finished writing this functionality,
and I uploaded it to the CVS repository.
It will be released in iText 2.
br,
Bruno
-
Dean Krueger wrote:
> The CastException is being caused earlier, at the PdfDictionary labels
> = (PdfDictionary)dict.get(PdfName.PAGELABELS); statement.
It's sufficient to change this accordingly:
(PdfDictionary)PdfReader.getPdfObject(dict.get(PdfName.PAGELABELS));
> I was just hoping I could get
>Let me know if I guessed right concerning the object that
>caused the ClassCastException. Could be you need getPdfObject
>in other places too.
The CastException is being caused earlier, at the PdfDictionary labels
= (PdfDictionary)dict.get(PdfName.PAGELABELS); statement. I have been
looking at th
Dean Krueger wrote:
> The object class name returning is
> "com.lowagie.text.pdf.PRIndirectReference" what is this telling me?
OK, as promised a little update of ExtractPageLabels:
I replaced:
pageLabel = (PdfDictionary) i.next();
with:
pageLabel = (PdfDictionary) PdfReader.getPdfObject((PdfObje
Dean Krueger wrote:
> The object class name returning is
> "com.lowagie.text.pdf.PRIndirectReference" what is this telling me?
If you do a toString() of this object, you'll get
something like "14 0 R", meaning that the real object
is located outside the dictionary you are inspecting.
It's somewher
Dean Krueger wrote:
> Can you think of an example in the book that would show me how to do this?
> Yes, in chapter 18, you explore the internal syntax
> of a PDF document. But you don't really need that:
> all you need is some common Java knowledge:
> if you have a ClassCastException: remove the '
Dean Krueger wrote:
> Hi.
> I have a multi page PDF and would like to get the page numbers of each
> page. In the PDF spec this is called Page Label. I was wondering if iText
> supports the getting of these page numbers. I am looking in the book on
> page
> 402 it shows that I can change them on
Dean Krueger wrote:
> Hi.
> I have a multi page PDF and would like to get the page numbers of each
> page. In the PDF spec this is called Page Label. I was wondering if iText
> supports the getting of these page numbers. I am looking in the book on
> page
> 402 it shows that I can change them on
Hi.
I have a multi page PDF and would like to get the page numbers of each
page. In the PDF spec this is called Page Label. I was wondering if iText
supports the getting of these page numbers. I am looking in the book on page
402 it shows that I can change them on documents I create. But doesn't s
Hi.
I have a multi page PDF and would like to get the page numbers of each
page. In the PDF spec this is called Page Label. I was wondering if iText
supports the getting of these page numbers. I am looking in the book on page
402 it shows that I can change them on documents I create. But doesn't s
14 matches
Mail list logo