On 30/09/2011 13:06, Khatri Anand wrote:
> I want to add Bookmark into PDF.
I honestly doubt that you've got a copy of the book.
If you do, I honestly doubt that you've read it.
If you did, you should look for the setOutlines() method in PdfStamper.
Throw away your code, start anew.
Hello sir,
I want to add Bookmark into PDF. I got the Instance of a writer by
PdfStamper class instead of PdfWriter class.
I use following line of code...
PdfReader readCombine=new PdfReader("C:\\CombinePDF.pdf");
PdfStamper stamp=new PdfStamper(readCombine, new
FileO
gunvant sahu wrote:
> If you will run the example you will get the answer.
No, I won't.
Your code sample is not consistent with your requirement.
> What this code is doing is, it takes a pdf
> file from a file and creates a new document where 4 pages of the
> original document are painted on 1
gunvant sahu wrote:
> Only problem is that after rearranging,
I have no idea what you mean by "rearranging".
--
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info
--
I used that example and converted it into Java version and it's working
fine. You can simply copy and run the source code send by me in the post.
and i m
simply copying the bookmark. Only problem is that after rearranging,
bookmark is not working(Why?). I have the book(Dec 2006 edition). where can
gunvant sahu wrote:
>
>
> Hello,
> I have created a PDF with bookmarks which is working fine.
> but then as per
>
> http://itextsharp.sourceforge.net/examples/Chap0112.cs
Those examples are no longer supported.
Use one of the examples from the book.
--
This answer is provided by
Hello,
I have already send this question yesterday but somehow text is
not appearing in the post so again sending this.Please find the file said
below from yesterday's post with same subject. I have created a PDF with
bookmarks which is working fine. but then as per
http://itextsharp.s
Alex Toron wrote:
> I'm splitting a pdf document by bookmarks, but I can't figure out if the
> bookmark is located in the beginning of the page or in the middle.
> Is there are way to find it out?
If you use class SimpleBookmark, you usually get information like this:
root
sub 1
sub 2.1
sub 2.2
I'm splitting a pdf document by bookmarks, but I can't figure out if the
bookmark is located in the beginning of the page or in the middle.
Is there are way to find it out?
Thank you,
Alex T--
This SF.net email is sponso
On 18 Jul 2007 08:12:56 -, Animesh Mondal wrote:
> My requirement is that I've some existing pdfs which I've to concatenate
> and at the same time have to put bookmarks at each constituents pdf's
> contents' starting portion in the resulting pdf. Whether this can be
> done at time of concatena
Hi,My requirement is that I\'ve some existing pdfs which I\'ve to
concatenate and at the same time have to put bookmarks at each constituents
pdf\'s contents\' starting portion in the resulting pdf. Whether this can be
done at time of concatenation or i\'ve to put outlines in each constituent pd
Animesh Mondal wrote:
> Hi,
> I'm trying two concatenate some pdf files into a single file and trying
> to create a bookmark to the section of each(constituent) pdf's starting
> portion. The source pdfs have no bookmark. I'm using PdfCopy writer
> object. I used concat_pdf.java from iText tutori
Hi,
I\'m trying two concatenate some pdf files into a single file and trying to
create a bookmark to the section of each(constituent) pdf\'s starting portion.
The source pdfs have no bookmark. I\'m using PdfCopy writer object. I used
concat_pdf.java from iText tutorial. The files being concatena
It's done with PdfCopy.setOutlines().
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Animesh Mondal
> Sent: Monday, July 16, 2007 12:49 PM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-question
Hi,
I\'m trying two concatenate some pdf files into a single file and trying to
create a bookmark to the section of each(constituent) pdf\'s starting portion.
The source pdfs have no bookmark. I\'m using PdfCopy writer object. I used
concat_pdf.java from iText tutorial. The files being concatena
Dan Crosta wrote:
> Coordinates are from the lower-left
So the bookmark actually went to page 1, but you saw
mainly page 2 because the bottom of page 1 was targetted.
I should have thought about that...
I'll try to remember this for next time ;-)
br,
Bruno
OK, no, I'm dumb. Coordinates are from the lower-left, dan. For the
curious, to just go to the top of the page, use:
PdfAction bookmark =
PdfAction.gotoLocalPage(1, // this is the page number!
new PdfDestination(PdfDestination.XYZ, -1, -1, 0),
writer);
new PdfOutline(writer.getRootOutlin
It actually looks like it might be an issue with Adobe Reader -- a
different reader, Foxit Redaer 2.0, treats the bookmarks like I'd
expect it to. Any thoughts?
- d
On 10/26/06, Dan Crosta <[EMAIL PROTECTED]> wrote:
> When I create the outline and bookmark the way you suggest, actually
> hard-c
When I create the outline and bookmark the way you suggest, actually
hard-coding the value 1 in gotoLocalPage, the bookmarks all go to the
very top of page 2. Is this a problem with the PDF reader (Adobe
Reader 7.0.8 on win32)?
Debugging shows that the PdfAction's hashMap member has value "{/D=[1
Dan Crosta wrote:
> Which works except that the very first bookmark is on the top of page
> 2 (should be at top of page 1). Am I missing something?
When you create a destination like in your code sample,
the destination points to the current page.
In your case, the current page is probably page 2
Ok, I'm using:
PdfOutline bookmark = new PdfOutline(
writer.getRootOutline(),
new PdfDestination(
PdfDestination.XYZ,
0,
0,
0),
letter.getAttribute( "name" )
);
Which wo
That's a XYZ destination with zoom 0.
Paulo
De: [EMAIL PROTECTED] em nome de Dan Crosta
Enviada: qua 25-Out-06 19:35
Para: itext-questions@lists.sourceforge.net
Assunto: [iText-questions] bookmark action that goes to a page
I want to create a pdf ou
I want to create a pdf outline with items that go to the top of a
given page -- no resizing, no zooming, just move the top of the view
area to a given Y on a given page. Is that easy/possible?
thanks,
- d
-
Using Tomcat but n
Hi,
I have a pdf with some pages (the number is
variable) and I'd like to create a bookmark in this file.
Is it possible?
Thanks,
Ale
[EMAIL PROTECTED] wrote:
Hi All,
Is it possible to show the bookmark panel along with its corresponding
content when it is opened through a browser.
Look for the method setViewerPreferences.
http://itextdocs.lowagie.com/tutorial/objects/bookmarks/index.html#viewerprefs
The pdf generated h
Look at PdfWriter.setViewerPreferences() to have an open panel.
- Original Message -
From: <[EMAIL PROTECTED]>
To:
Sent: Wednesday, August 10, 2005 11:33 AM
Subject: [iText-questions] BookMark Issue
> Hi All,
>
> Is it possible to show the bookmark panel along with it
Hi All,
Is it possible to show the bookmark panel along with its corresponding
content when it is opened through a browser.
The pdf generated has documents of many pages and its corresponding
bookmark panel has nodes in a hierarchical manner.
BTW, the nodes are created by PdfDestination and PdfOut
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Rémi Guilbert
> Sent: Friday, April 29, 2005 4:29 PM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] bookmark in HTMLWorker ?
>
> Hi, I need t
uot;Rémi Guilbert" <[EMAIL PROTECTED]>;
Sent: Friday, April 29, 2005 11:49 AM
Subject: RE: [iText-questions] bookmark in HTMLWorker ?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Rémi Guilbert
Sent: Friday, April 29, 2005 4:29 PM
To: itext-qu
Hi, I need to create Bookmark inside my pdf. My pdf
is create by a HTMLWorker object. Is it possible to create a tag that will
generate me a bookmark for each html tag paragraph ?
I believe that I must set my writer to "writer.setViewerPreferences(PdfWriter.PageModeUseOutlines);"
before the
CTED]>
Sent: Thursday, December 19, 2002 16:26
Subject: Re: [iText-questions] bookmark list
> Hi: Can we read the bookmarks or chapter/section outlines?
>
> Tks,
>
> Shahzad
>
> Original Message Follows
> From: "Paulo Soares" <[EMAIL PROTECTED]>
Hi: Can we read the bookmarks or chapter/section outlines?
Tks,
Shahzad
Original Message Follows
From: "Paulo Soares" <[EMAIL PROTECTED]>
To: "Jianhua Jin"
<[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>
Subject: Re: [iText-questions] bookmark list
Date
No, you can build the bookmarks yourself with the class PdfOutline.
Best Regards,
Paulo Soares
- Original Message -
From: "Jianhua Jin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 19, 2002 15:52
Subject: [iText-questions] bookmark lis
Quoting Jianhua Jin <[EMAIL PROTECTED]>:
> Are chapters and sections the only way to build a
> bookmark list?
You'll find all about this here:
http://www.lowagie.com/iText/tutorial/ch11.html#outlines
Bruno
---
This SF.NET email is sponsored b
Are chapters and sections the only way to build a
bookmark list?
__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
---
This SF.NET email is sponsore
December 11, 2002 0:43
Subject: [iText-questions] bookmark on Solaris
> I product pdf with itext, when I export the pdf file on Solaris, part of
> the
> content in bookmark losed, but it's link still remains, that means ,
> when I
> point my mouse to a line of bookmark, there wi
Thanks for your help, but i used now the itext version 0.96 and it still
ignores the bookmarks and links.
to concat the pdf files i use the concat.java app from the itext
homepage.
is there something further i must do to keep the bookmarks and links?
Regards
Jochen Stuempfig
Dipl. Informatiker
I product pdf with itext, when I export the pdf file on Solaris, part of the
content in bookmark losed, but it's link still remains, that means , when I
point my mouse to a line of bookmark, there will appear a underline without
any text , and when I click the link, can go to the correct page. Whil
Quoting Ronald Tooley <[EMAIL PROTECTED]>:
> Hi, how do I get a table header to also be a bookmark? The only way I know
> how to add a bookmark is through addSection
Please read Chapter 11 of the tutorial.
It explains how you can build an Outline tree manually.
> but I want this as a table head
Hi, how do I get a table header to also be a
bookmark? The only way I know how to add a bookmark is through addSection but I
want this as a table header. How is this possible?
Thanks Ron
40 matches
Mail list logo