Re: [iText-questions] Split Cell issue with setSplitLate -last row getting repeated, resulting an extra row in next page

2012-03-22 Thread 1T3XT BVBA
On 22/03/2012 16:53, arindam wrote: > Any thought/solutions is available without changing the iText version? This is a known issue in old iText versions. It was fixed about a year ago. > Currently I am using itext 2.1.7 Seriously? Why are you still wasting time with a version that is almost 3 y

[iText-questions] Split Cell issue with setSplitLate -last row getting repeated, resulting an extra row in next page

2012-03-22 Thread arindam
I am having an issue in PDF doc creation using PdfPTable object using setSplitLate(false) for splitting cells data In case of large cell data, when data reaches a page break, PDF is rendered with the cell spilling over to the next page, and the last line of text is repeated in that cell. Means the

Re: [iText-questions] Split PDF by plain Bookmark

2012-02-10 Thread Paulo Soares
-questions] Split PDF by plain Bookmark Finally I'll have the following properties for each bookmark : bookmark1 = {Action=GoTo, Named=bm398, Title=BOOKMARK1} bookmark2 = {Action=GoTo, Named=bm400, Title=BOOKMARK2} How to to split the PDF between bookmark1 and bookmark2 ? Thanks a lots. Greg --

Re: [iText-questions] Split PDF by plain Bookmark

2012-02-10 Thread gdn13
Finally I'll have the following properties for each bookmark : bookmark1 = {Action=GoTo, Named=bm398, Title=BOOKMARK1} bookmark2 = {Action=GoTo, Named=bm400, Title=BOOKMARK2} How to to split the PDF between bookmark1 and bookmark2 ? Thanks a lots. Greg -- View this message in context: http:/

[iText-questions] Split PDF by plain Bookmark

2012-02-09 Thread gdn13
Hi, My need is to be able to split a PDF between 2 bookmarks. BUT the difficulty is that the bookmarks have been created with no parameters, only the 'Title' property is set... I am currently using the SimpleBookmark static class to get all the bookmarks. And when I meet the wanted bookmark I would

[iText-questions] Split secure pdf

2011-09-20 Thread mingqiang yu
Hi, I'm trying to split a secure pdf with itext. Is there anyway to do it? I don't have any other information but the pdf itself. Thanks! -- All the data continuously generated in your IT infrastructure contains a defini

Re: [iText-questions] Split a PDF/A and stay PDF/A compatible

2011-04-05 Thread Eilers, Stefan
You are right! It was too obvious to be visible for me.. Thanks a lot! :) Am 04.04.2011 um 15:32 schrieb 1T3XT BVBA: > Eilers, Stefan wrote: >> Can someone please tell me what goes wrong here? > > Why don't you use PdfReader.selectPages(pagesToKeep) in combination with > PdfStamper? > Wouldn

Re: [iText-questions] Split a PDF/A and stay PDF/A compatible

2011-04-04 Thread Mark Storer
ilto:i...@1t3xt.info] > Sent: Monday, April 04, 2011 6:33 AM > To: Post all your questions about iText here > Subject: Re: [iText-questions] Split a PDF/A and stay PDF/A compatible > > Eilers, Stefan wrote: > > Can someone please tell me what goes wrong here? > > Why do

Re: [iText-questions] Split a PDF/A and stay PDF/A compatible

2011-04-04 Thread 1T3XT BVBA
Eilers, Stefan wrote: > Can someone please tell me what goes wrong here? Why don't you use PdfReader.selectPages(pagesToKeep) in combination with PdfStamper? Wouldn't this reduce your code from 150 lines to maybe 30 lines? -

Re: [iText-questions] Split a PDF Page into header , footer and body.

2011-02-18 Thread DivyaKambhatla
Hi Mark, The problem with the above approach is that there is a possibility of loss of data. For a PDF, not all pages would necessarily contain a footer. So if a bBox is defined for one page it would necessarily not hold good for all the pages, since the header , footer specifications for di

Re: [iText-questions] Split a PDF Page into header , footer and body.

2011-02-18 Thread DivyaKambhatla
Hmm..I had thought about this too and this would definetly work if i were working with a single PDF for which i could probably define the bounding box..but the point is that i would be dealing with a slew of PDFs , which would be downloaded and read by my application at runtime. So i am not sure i

Re: [iText-questions] Split a PDF Page into header , footer and body.

2011-02-17 Thread Mark Storer
From: DivyaKambhatla [mailto:divya.kambha...@gmail.com] > Sent: Thursday, February 17, 2011 12:19 PM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Split a PDF Page into header > ,footer and body. > > > Hi Mark, >

Re: [iText-questions] Split a PDF Page into header , footer and body.

2011-02-17 Thread DivyaKambhatla
Hi Mark, I had in fact tried using the LocationTextExtractionStrategy first, but this gives a problem with two columned PDFs. This merges the content from two columned PDFs resulting in loss of order in the data or jumbled text. The SimpleTextExtractionStrategy , on the other hand wor

Re: [iText-questions] Split a PDF Page into header , footer and body.

2011-02-17 Thread Mark Storer
5:40 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Split a PDF Page into header , > footer and body. > > > Hi, > >Could anyone please let me know if it is possible via > iText5.0.5 to split a PDF Page into its header, footer, body > and wat

[iText-questions] Split a PDF Page into header , footer and body.

2011-02-16 Thread DivyaKambhatla
Hi, Could anyone please let me know if it is possible via iText5.0.5 to split a PDF Page into its header, footer, body and watermark sections and access each content separately. I am dealing with both watermarked and non-watermarked PDFs. When i extract the content from a PDF using iT

Re: [iText-questions] Split PDF File with Working Links

2010-05-07 Thread Vj Ali
Hi Itext: Here is the dictionanary of annot annot[/Type, /Border, /Dest, /Subtype, /Rect] I wrote the following code to change the links with http://msn.com . It works fine but its changing the architecture of PDF and creating issue when i am using this PDF in SWFTools for conversion . /

Re: [iText-questions] Split PDF File with Working Links

2010-04-15 Thread 1T3XT info
Vj Ali wrote: > Hi Itext, > Is there any way to change the internal destinations of the links to some > external url destination for example "http://.com" and opens it as > the external link. Yes, but it would take to long to explain. I could write an example, but I don't have the time to do this

Re: [iText-questions] Split PDF File with Working Links

2010-04-15 Thread Vj Ali
Hi Itext, Is there any way to change the internal destinations of the links to some external url destination for example "http://.com" and opens it as the external link. I just need to append the page no within the link. :ninja: Regards, Vajahat Ali 1T3XT info wrote: > > Ali Vajahat wrote: >

Re: [iText-questions] Split PDF File with Working Links

2010-04-13 Thread 1T3XT info
Ali Vajahat wrote: > Hi IText: > > I am facing an issue in splitting pdf file. > > The file splits successfully. but there is a small issue. > When i split the PDF file , all links work fine except those links whose > target(destination) are not in the split file. Of course not. > Actually i a

[iText-questions] Split PDF File with Working Links

2010-04-13 Thread Ali Vajahat
Hi IText: I am facing an issue in splitting pdf file. The file splits successfully. but there is a small issue. When i split the PDF file , all links work fine except those links whose target(destination) are not in the split file. Actually i am reading these links in SWTools(pdf2swf). It returns

Re: [iText-questions] Split PDF using Itext

2009-09-18 Thread xdmello
ot;total pages: " + totalPages ); > > > > --Mark Storer > Senior Software Engineer > Cardiff.com > > #include > typedef std::Disclaimer DisCard; > > > >> -Original Message- >> From: xdmello [mailto:xdme...@gmail.com] >> Se

Re: [iText-questions] Split PDF using Itext

2009-09-17 Thread Mark Storer
16, 2009 6:20 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] Split PDF usinh Itext > > > > I am using below code to split PDf. It compiles fine.But > there is no PDf > generated generated at the mentioned location. I am using > this function in &g

[iText-questions] Split PDF usinh Itext

2009-09-17 Thread xdmello
I am using below code to split PDf. It compiles fine.But there is no PDf generated generated at the mentioned location. I am using this function in servlet. am I missing something. public void splitPDF(String inputflname,String imagename,String outfilename) { System.out.println("Spli

Re: [iText-questions] Split pages containing specific text

2008-12-09 Thread 1T3XT info
Damian wrote: > Hello everyone, > > I need to split a large pdf file, containing client invoices with 1, > 2,3... n pages. > Each page is numbered like "page 1 / 1, page 2/5) etc. > I need to split this large file into several files - "1.pdf" containing > all the invoices composed of one page -

[iText-questions] Split pages containing specific text

2008-12-08 Thread Damian
Hello everyone, I need to split a large pdf file, containing client invoices with 1, 2,3... n pages. Each page is numbered like "page 1 / 1, page 2/5) etc. I need to split this large file into several files - "1.pdf" containing all the invoices composed of one page - "2.pdf" containing all invo

Re: [iText-questions] Split PDF by Bookmark from Level 2

2008-10-19 Thread Paulo Soares
SimpleBookmark gives all the information needed. Paulo - Original Message - From: "Hidayat" <[EMAIL PROTECTED]> To: Sent: Saturday, October 18, 2008 9:12 PM Subject: [iText-questions] Split PDF by Bookmark from Level 2 Hi Experts, I have requirement for splitting th

[iText-questions] Split PDF by Bookmark from Level 2

2008-10-18 Thread Hidayat
Hi Experts, I have requirement for splitting the pdf file based on the bookmark at level two. If you could help me out. That will be great help for me. Its urgent. requirement is: L1 L11 L111 L112 L12 the output files should be (L1 is ingnored does not have any data un

[iText-questions] Split a big pdf

2008-10-13 Thread beppecosta
Hello, I have an accounting application that at the end of month produces a single pdf with all the transactions. This pdf contains more than 100.000 pages (only flate text). What is the fastest way to split it into smaller documents, say 5000 pages each, if possible just in one reading step ? T

Re: [iText-questions] Split Via PDF Stamper

2008-09-15 Thread Leonard Rosenthol
Should be pretty easily to modify SmartCopy and/or Stamper to handle this... Just copy the XMP and the OutputIntent dicts. Leonard On Sep 15, 2008, at 8:45 AM, Dean Krueger wrote: > Hi. > Is it possible to split a multipage pdf into single pages, using > PdfStamper. I need to preserve PDFX-4

Re: [iText-questions] split

2008-04-11 Thread 1T3XT info
EDARA wrote: > Hello, > How to split a pdf file using iText .. There's many different ways to do it: PdfReader.selectPages, PdfCopy, the Burst tool, the Split plug-in in the toolbox,... > Plz give any suggestions. The best suggestion one can give is: READ THE DOCUMENTATION!!! Google

[iText-questions] split

2008-04-11 Thread EDARA
Hello, How to split a pdf file using iText .. Plz give any suggestions.. Regards, santharam _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of tushar joshi Sent: Monday, November 19, 2007 5:08 PM To: itext-questions@lists.sourceforge.net Su

Re: [iText-questions] Split a PDF file according to offset and length

2008-03-12 Thread Carsten Hammer
Hi, I am really not sure if I got the point. However if you want to take all A4 pages out of a input pdf file consisting of A3 and A4 pages that are unsorted then you can easily do it with a old version of the itexttoolbox from the time when it was part of itext. There you can list all pages

Re: [iText-questions] Split a PDF file according to offset and length

2008-03-12 Thread wasegraves
-- Original message -- From: osmoz7 <[EMAIL PROTECTED]> > I looked the examples in the tutorials and the book, but as I said, > I don't want to cut the PDF according to pages but according to offsets > and lengths. > One thing I forgot to mention in my first message

Re: [iText-questions] Split a PDF file according to offset andlength

2008-03-12 Thread Edward W. Rouse
[mailto:[EMAIL PROTECTED] On > Behalf Of 1T3XT info > Sent: Wednesday, March 12, 2008 5:28 AM > To: Post all your questions about iText here > Subject: Re: [iText-questions] Split a PDF file according to > offset andlength > > > osmoz7 wrote: > > I looked the examples in

Re: [iText-questions] Split a PDF file according to offset and length

2008-03-12 Thread 1T3XT info
osmoz7 wrote: > I looked the examples in the tutorials and the book, but as I said, > I don't want to cut the PDF according to pages but according to offsets > and lengths. Byte offsets and byte array lengths? Or Y coordinates on a page? Your code sample suggests the former, which is madness. If

Re: [iText-questions] Split a PDF file according to offset and length

2008-03-12 Thread osmoz7
1T3XT info wrote: > Please throw away your code and wish you had never posted it. > The javadoc API isn't clear about the use of toPdf() and no > documentation mentions the toPdf() method: not the tutorial, > not the book. There's a very good reason for this: > YOU ARE NOT SUPPOSED TO USE THE to

Re: [iText-questions] Split a PDF file according to offset and length

2008-03-11 Thread 1T3XT info
osmoz7 wrote: > Hi, > > I'm trying to split a pdf file according to an array of offsets and > fragment's lengths. I have found the following solution, but I am not sure > if it is the right way to do it. > > PdfReader reader = new PdfReader("myfile.pdf"); > > for (int i = 0; i < beginIndexArray

[iText-questions] Split a PDF file according to offset and length

2008-03-11 Thread osmoz7
Hi, I'm trying to split a pdf file according to an array of offsets and fragment's lengths. I have found the following solution, but I am not sure if it is the right way to do it. PdfReader reader = new PdfReader("myfile.pdf"); for (int i = 0; i < beginIndexArray.length; i++) { FileOutputSt

Re: [iText-questions] Split RTFTables dynamically based on height between pages

2008-02-27 Thread Mark Hall
Hi, the answer to your question is No and the reason is that RTF is a text-description and not a rendered format. http://itextdocs.lowagie.com/tutorial/rtf/index.php Mark On Wednesday 27 February 2008, Me Simple wrote: > Hi, > > I am creating a RTF document using IText 2.0.8 version. I am inse

[iText-questions] Split RTFTables dynamically based on height between pages

2008-02-27 Thread Me Simple
Hi, I am creating a RTF document using IText 2.0.8 version. I am inserting new RTFtables inside a loop and each RTFTable has variable number of rows. The default behaviour of iText is if the table height increases(when more rows are added dynamically) beyond the current page height, table spills

Re: [iText-questions] split a encrypted pdf

2007-12-06 Thread Paulo Soares
You must have the owner password to work with an encrypted PDF. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of joe koch > Sent: Thursday, December 06, 2007 9:51 AM > To: itext-questions@lists.sourceforge.net > Subj

[iText-questions] split a encrypted pdf

2007-12-06 Thread joe koch
hello i found examples to split a pdf into single site's. but there is a problem, when the pdf is encrypted (but i can it open to read), this seams not to be possible with itext. is there really no way to that? maybe first do a pdf copy to remove the restrictions or open it in a kind of read o

Re: [iText-questions] Split table with respect to columns

2007-06-01 Thread Bruno Lowagie (iText)
David Sharp wrote: > Maybe I'm being simplistic, but the obvious answer is to not create a > 100-column table and to instead create five 20-column tables with a page > break between each table. That would work, if each cell of a specific row has the same height. This isn't always the case. br, B

Re: [iText-questions] Split table with respect to columns

2007-06-01 Thread David Sharp
Maybe I'm being simplistic, but the obvious answer is to not create a 100-column table and to instead create five 20-column tables with a page break between each table. Dave - This SF.net email is sponsored by DB2 Express Dow

[iText-questions] Split table with respect to columns

2007-06-01 Thread ashok
Hi I am new to itext. I have a PdfPTable with 100 columns. I need to display the PdfPTable with 20 columns in each page. How to split a table based on the number of columns? Please help Regards Ashok - This SF.net email

Re: [iText-questions] split table across two columns in the same page

2006-04-11 Thread bruno
Samuel Viana wrote: Hi, currently I am with a huge problem. I don't know how to split efficently a table in a way that when it reaches the end of the page continues on the next column on the right vertical half of the page. Have you tried (Multi)ColumnText? I know that iText can split a Pdf

[iText-questions] split table across two columns in the same page

2006-04-11 Thread Samuel Viana
Hi, currently I am with a huge problem. I don't know how to split efficently a table in a way that when it reaches the end of the page continues on the next column on the right vertical half of the page. I know that iText can split a PdfPTable automatically across two pages, but what I want exactl

RE: [iText-questions] Split Table

2005-07-21 Thread Paulo Soares
Use a nested PdfPTable. You can't use Table in page events. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of [EMAIL PROTECTED] > Sent: Thursday, July 21, 2005 1:03 PM > To: itext-questions@lists.sourceforge.net > Subjec

[iText-questions] Split Table

2005-07-21 Thread origa82
Hello.I have a Table where i use rowspan in the header,so i can't convert it to PdfPTable.This table is spliting on 4 pages and has big cells.I repeat header on each page,but the cells split not beautifull.Function setCellsFitPage(true)doesn't help,cause i use rowspan.i'll try to make header of

Re: [iText-questions] split Pdf programatically/

2005-07-05 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: Hi, I have a pdf with 4 pages. I need to split that into two pdfs, at page 3 , the first one should have 3pages and second one wth one page. Is there a way to do it with iText ( not through command line) Are there any examples available for this. There's an example

[iText-questions] split Pdf programatically/

2005-07-05 Thread anitha . d . chandran
Hi, I have a pdf with 4 pages. I need to split that into two pdfs, at page 3 , the first one should have 3pages and second one wth one page. Is there a way to do it with iText ( not through command line) Are there any examples available for this. Thanks, Anitha |-+--

[iText-questions] Split PDF using iText

2005-06-01 Thread Deepak Gupta
Does the itext read the entire pdf into memory before it splits it? I am running into memory issues (out of memory) when I try to split larger pdfs. Can someone suggest a way to split the pdf without allocating too much heap size. Thanks in advnace. Deepak Gupta -

[iText-questions] Split Table or Columns and Create an Appendix

2005-05-17 Thread Janne Berg
Hi ! I have following dilemma: I want to add som content to a PDF say a table, after the table i need to have 2 columns of text that only have limited space to reside in. If this text fills the determined area i need to replace the text with "see appendix" and the move all of the text to anothe

RE: [iText-questions] split cells over # pages

2004-07-26 Thread Paulo Soares
L PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Dirk BRIJS (DHL BE) > Sent: Monday, July 26, 2004 2:49 PM > To: [EMAIL PROTECTED] > Subject: [iText-questions] split cells over # pages > > Hi, > > I'm creating a PdfTable that should contain cells with a lot &g

[iText-questions] split cells over # pages

2004-07-26 Thread Dirk BRIJS (DHL BE)
Hi, I'm creating a PdfTable that should contain cells with a lot of numbers in it ( 100). Currently when the page is at its bottom, the rest of the numbers to be printed are ignored and the next group starts being printed. As i read in the docs & source it does not seem possible to split a PdfTabl

[iText-questions] Split and Bookmark

2003-12-17 Thread wang yun
Dear Paulo, I like the new concat_pdf with bookmark. But, how can I split pdf pages while splitting bookmark? Thanks for your help, yun --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen y

Re: [iText-questions] Split: Loss Information

2003-06-27 Thread Paulo Soares
3.02 that I used for testing. Best Regards, Paulo Soares - Original Message - From: "yun wang" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, June 27, 2003 22:03 Subject: RE: [iText-questions] Split: Loss Information > Paulo, &g

RE: [iText-questions] Split: Loss Information

2003-06-27 Thread yun wang
PdfStamper withoutout using Java 1.2? Thanks, yun From: Paulo Soares <[EMAIL PROTECTED]> To: 'yun wang' <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Subject: RE: [iText-questions] Split: Loss Information Date: Fri, 27 Jun 2003 11:00:25 +0100 First split the document and then use

RE: [iText-questions] Split: Loss Information

2003-06-27 Thread Paulo Soares
First split the document and then use PdfStamper to add more content. Best Regards, Paulo Soares > -Original Message- > From: yun wang [SMTP:[EMAIL PROTECTED] > Sent: Thursday, June 26, 2003 21:37 > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: RE: [iText-q

RE: [iText-questions] Split: Loss Information

2003-06-26 Thread yun wang
10f); cb.moveTo(0, 0); cb.lineTo(800, 800); cb.stroke(); } document.close(); } catch(Exception e) { e.printStackTrace(); } } } From: Paulo Soares <[EMAIL PROTECTED]> To: 'yun wang' <[EMAIL PROTECTED]>, [E

RE: [iText-questions] Split: Loss Information

2003-06-26 Thread yun wang
} } } From: Paulo Soares <[EMAIL PROTECTED]> To: 'yun wang' <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Subject: RE: [iText-questions] Split: Loss Information Date: Thu, 26 Jun 2003 12:17:18 +0100 You can try to use PdfCopy and modify the Concat example. Best Regar

RE: [iText-questions] Split: Loss Information

2003-06-26 Thread Paulo Soares
You can try to use PdfCopy and modify the Concat example. Best Regards, Paulo Soares > -Original Message- > From: yun wang [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, June 25, 2003 20:37 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Split: Loss Information &

[iText-questions] Split: Loss Information

2003-06-25 Thread yun wang
Is there some solution for the problem of losing information during Splitting? I lost annotations and also the form can not be fiiled like the original. Thanks, yun com.lowagie.tools.split_pdf This class can be used from the commandline to split an existing PDF file into two new files. Remark:

RE: [iText-questions] Split pdf from 1 to many

2003-03-20 Thread Paulo Soares
TECTED] > Sent: Wednesday, March 19, 2003 20:40 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Split pdf from 1 to many > > I used the Split.java class to separate a pdf into 2 new pdf. I get > Invalid ColorSpace when I open the second pdf > created. I noticed

[iText-questions] Split pdf from 1 to many

2003-03-19 Thread Sandy Daum
I used the Split.java class to separate a pdf into 2 new pdf. I get Invalid ColorSpace when I open the second pdf created. I noticed a customer with 2 pages in the first pdf created works without error. The customer with 2 pages in the second pdf has this problem. Do you have an example of kee

[iText-questions] Split Table in page

2002-09-04 Thread Skondras P.
Hi i have one question i have a table that i want to fit in one page else delete the last row of the table and continue in the second page i have the following code if (!writer.fitsPage(t)) { t.deleteLastRow(); i--; d.add(t);