Re: [iText-questions] How to Shrink Content and Add Margins

2007-07-12 Thread Leonard Rosenthol
PDF page size is defined by a rectangle called the MediaBox that is referenced on each page. That enables each page to be a different size, if you're so inclined. Changing the page size is trivial - you just change the value o the MediaBox. However, your content is still "anchored" at the

[iText-questions] tables text and margin

2007-07-12 Thread Corwin noname
I need to insert text into a table so top and bottom of the text touches the cells borders. At the moment I have managed the text touch the bottom border but I have failed to do this with the top of the text. Any ideas how it can be done? Thanks Dmitri __

[iText-questions] [PATCH] Preserve hyperlinks in PdfImportedPage

2007-07-12 Thread Michael Schierl
On Thu, 5 Jul 2007 21:45:03 +0200, Michael Schierl wrote: > But I don't manage to get the page number of the current target - I get a > PRIndirectReference, but how to make a page number from it? I now "solved" it by doing a linear scan over all pages and look for the one with the same reference

Re: [iText-questions] How to Shrink Content and Add Margins

2007-07-12 Thread Ethan King
Thanks for your response. It seems that option 2 using PdfReader & PdfStamper is the only way I can go. I need to maintain the contents of a page and not just an image of the page. You post makes me wonder though about the way page size is defined by PDF. It would seem to me that rehoretically

Re: [iText-questions] Page numbers disturbed by creating coverpage

2007-07-12 Thread Sushil Vegad
Hello, The document.setPageCount() did it. Thanks again, Sushil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sushil Vegad Sent: Thursday, July 12, 2007 9:06 AM To: 'Post all your questions about iText here' Subject: [iText-questions] Page numbers dis

[iText-questions] No linebreak in front of a Chapter!

2007-07-12 Thread Eric Summkeller
Is there any possibility to create a Chapter without a linebreak in front of it? - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limit

[iText-questions] Page numbers disturbed by creating coverpage

2007-07-12 Thread Sushil Vegad
Hi, When I insert a cover page, my page numbers are getting disturbed. If I don't create a cover-page, the numbering is fine I first create a cover page and then get the PDF data by parsing an xml. document.open(); writer.setPageEmpty(false); createCoverPage(); //get the data from an xml file: do

[iText-questions] Word breaks and Tagged PDF content

2007-07-12 Thread dayvidpow
I am creating a tagged PDF document using the iText 2.0 tagging features. First I begin a marked-content-sequence then loop thru a list of words and add each word to the PdfContentByte at a fixed coordinate position. I am adding all the words within a paragraph tag container . The problem is all t

Re: [iText-questions] Merging PDFs without starting a new page

2007-07-12 Thread Bruno Lowagie (iText)
Paul Jones wrote: > Hi. I tried using PDFCopy to create one file out of three. It works but each > PDF starts on a new page. > > However, each PDF is just a short paragraph. Is there a way to merge just > the text without the blank space? I want to go from 3 PDFs with a paragraph > in each to one

[iText-questions] Merging PDFs without starting a new page

2007-07-12 Thread Paul Jones
Hi. I tried using PDFCopy to create one file out of three. It works but each PDF starts on a new page. However, each PDF is just a short paragraph. Is there a way to merge just the text without the blank space? I want to go from 3 PDFs with a paragraph in each to one PDF with three paragraphs.

Re: [iText-questions] Get Readonly-flag state

2007-07-12 Thread Bruno Lowagie (iText)
Tobias Meier wrote: > Unfortunatly there is no getFieldProperty(...) method, is it? No, there isn't. But maybe there should. I'll have a look at it. br, Bruno - This SF.net email is sponsored by DB2 Express Download DB2 Expre

Re: [iText-questions] Rowspan

2007-07-12 Thread Bruno Lowagie (iText)
Matthew Kiely wrote: > Do you have plans to support rowspan in the future? Not for PdfPTable, no. > In the meantime, > are there workarounds to achieve a good visual representation of > rowspan? Yes: use nested tables. br, Bruno

Re: [iText-questions] How to Shrink Content and Add Margins

2007-07-12 Thread Bruno Lowagie (iText)
Ethan King wrote: > This question has kind of been addressed in the past but not as directly > as some would hope. I am looking to use iTextSharp to do > something similar to the Bates numbering function in Adobe Acrobat 8. > > Basically I would like the shrink the contents of a PDF page to a

Re: [iText-questions] XML Schema or DTD

2007-07-12 Thread Bruno Lowagie (iText)
Xavier Le Vourch wrote: > FYI, the file is also there in the subversion repository but the attic > concept doesn't exist in svn. To access the deleted files, you can > browse the xml directory and use an older revision, 2500 for instance, > in the sticky revision field. Aha, I see, thanks for the

Re: [iText-questions] Paragraph object when creating PDF from XML

2007-07-12 Thread Bruno Lowagie (iText)
Sushil Vegad wrote: > Hello, > > I am creating pdf form xml and I need to indent the paragraphs. How can > I do this? Looking at the iText source code, it should work. I should test this and try to reproduce the problem. I can't tell you when I'll have the time to do this. > Alternatively, I us