I am new to the mailing list. How do I browse or search the itext maillist archive ?
Thanks Mike -----Original Message----- From: [email protected] [mailto:[email protected]] Sent: Tuesday, April 03, 2012 12:20 PM To: [email protected] Subject: iText-questions Digest, Vol 71, Issue 5 Send iText-questions mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/itext-questions or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of iText-questions digest..." Today's Topics: 1. Re: Write PDF page to database BLOB column (sselvia) 2. Re: Write PDF page to database BLOB column (Alexis Pigeon) 3. Extract contents of a table in a PDF File using ITEXT. ([email protected]) 4. Re: Write PDF page to database BLOB column (sselvia) 5. Re: Write PDF page to database BLOB column (Leonard Rosenthol) ---------------------------------------------------------------------- Message: 1 Date: Mon, 2 Apr 2012 18:04:09 -0700 (PDT) From: sselvia <[email protected]> Subject: Re: [iText-questions] Write PDF page to database BLOB column To: [email protected] Message-ID: <[email protected]> Content-Type: text/plain; charset=us-ascii Alexis, I am using iText to extract pages from a PDF as PdfImportedPage and I was wanting to store the import page to a BLOB column. Then later on extract the PdfImportedPage from the BLOB and create a new PDF with that page. I would be using iText to extract the page and using iText to write the new PDF. I've used the Netbeans PDF Debug plugin and I've been able to see the Stream of a page, so I've had the idea that I could extract a page and then write a PDF with that extracted page. I am using the following code to write a PDF directly but I wanted to pull the page content from a BLOB column instead of an existing PDF. PdfImportedPage importPage = pdfWriter.getImportedPage(pdfReader, i); pdfWriter.addPage(importPage); pdfWriter.close(); pdfWriter.freeReader(pdfReader); -- View this message in context: http://itext-general.2136553.n4.nabble.com/Write-PDF-page-to-database-BLOB-column-tp4525032p4527550.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------ Message: 2 Date: Tue, 3 Apr 2012 09:27:01 +0200 From: Alexis Pigeon <[email protected]> Subject: Re: [iText-questions] Write PDF page to database BLOB column To: Post all your questions about iText here <[email protected]> Message-ID: <CAH8RLpfmaGhT-VeL=txskqm0hnanjkdkq58kqrgmubwq-oh...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Hi Scott, On 3 April 2012 03:04, sselvia <[email protected]> wrote: > Alexis, > > I am using iText to extract pages from a PDF as PdfImportedPage and I > was wanting to store the import page to a BLOB column. Then later on > extract the PdfImportedPage from the BLOB and create a new PDF with > that page. I would be using iText to extract the page and using iText > to write the new PDF. > > I've used the Netbeans PDF Debug plugin and I've been able to see the > Stream of a page, so I've had the idea that I could extract a page and > then write a PDF with that extracted page. I am using the following > code to write a PDF directly but I wanted to pull the page content > from a BLOB column instead of an existing PDF. > > PdfImportedPage importPage = pdfWriter.getImportedPage(pdfReader, i); > pdfWriter.addPage(importPage); pdfWriter.close(); > pdfWriter.freeReader(pdfReader); > What about this? - Split the original PDF into one-page PDF files - Store each single-page PDF file into a BLOB then - Read each BLOB content as a PDF file - Concat the single-page PDF files into a multi-page PDF file HTH, alexis -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 3 Date: Tue, 3 Apr 2012 14:23:05 +0530 From: [email protected] Subject: [iText-questions] Extract contents of a table in a PDF File using ITEXT. To: [email protected] Message-ID: <ofdd53dcf1.9800cbfc-on652579d5.002bbce9-652579d5.00310...@hsbc.asia> Content-Type: text/plain; charset="utf-8" Hi, I would like to gather contents of a table , placed in the 1st page of a PDF File. Does someone have any idea on that? Regards, Rajib Saha Template Developer ? Template development and support HSBC Global Banking and Markets - Research _________________________________________________________________ Phone: +91 80 3001 2507 | Tieline: 719180 42507 Email:[email protected] Website: http://www.research.hsbc.com _________________________________________________________________ This e-mail is confidential. If you are not the intended recipient, please delete it from your system and notify the sender by return e-mail. ************************************************************ The Hongkong and Shanghai Banking Corporation Limited whose registered address is 1 Queen's Road Central, Hong Kong ************************************************************ ----------------------------------------- ******************************************************************* This e-mail is confidential. It may also be legally privileged. If you are not the addressee you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return e-mail. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions. ******************************************************************* "SAVE PAPER - THINK BEFORE YOU PRINT!" -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 4 Date: Tue, 3 Apr 2012 10:06:10 -0700 (PDT) From: sselvia <[email protected]> Subject: Re: [iText-questions] Write PDF page to database BLOB column To: [email protected] Message-ID: <CAPKRG0_h=kgpo82hmqhaqc3w62emfykn6i-q3cdd_cjua03...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Alexis, Thought of that, but I did not know if there would be a better way. It would be great if I could get the PdfImportedPage as a byte array and then store that byte array into the blob. From that point I can create a new PDF and pull rows of blobs as byte arrays and set them into a new PdfImportedPage's. Thanks, Scott On Tue, Apr 3, 2012 at 3:33 AM, Alexis Pigeon [via iText - General] <[email protected]> wrote: > Hi Scott, > > > On 3 April 2012 03:04, sselvia <[hidden email]> wrote: >> >> Alexis, >> >> I am using iText to extract pages from a PDF as PdfImportedPage and I was >> wanting to store the import page to a BLOB column. ?Then later on extract >> the PdfImportedPage from the BLOB and create a new PDF with that page. ?I >> would be using iText to extract the page and using iText to write the new >> PDF. >> >> I've used the Netbeans PDF Debug plugin and I've been able to see the >> Stream >> of a page, so I've had the idea that I could extract a page and then write >> a >> PDF with that extracted page. ?I am using the following code to write a >> PDF >> directly but I wanted to pull the page content from a BLOB column instead >> of >> an existing PDF. >> >> PdfImportedPage importPage = pdfWriter.getImportedPage(pdfReader, i); >> pdfWriter.addPage(importPage); >> pdfWriter.close(); >> pdfWriter.freeReader(pdfReader); > > > What about this? > > - Split the original PDF into one-page PDF files > - Store each single-page PDF file into a BLOB > > then > > - Read each BLOB content as a PDF file > - Concat the single-page PDF files into a multi-page PDF file > > HTH, > alexis > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > iText-questions mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/itext-questions > > iText(R) is a registered trademark of 1T3XT BVBA. > Many questions posted to this list can (and will) be answered with a > reference to the iText book: http://www.itextpdf.com/book/ > Please check the keywords list before you ask for examples: > http://itextpdf.com/themes/keywords.php > > ________________________________ > If you reply to this email, your message will be added to the discussion > below: > http://itext-general.2136553.n4.nabble.com/Write-PDF-page-to-database-BLOB-column-tp4525032p4528022.html > To unsubscribe from Write PDF page to database BLOB column, click here. > NAML -- View this message in context: http://itext-general.2136553.n4.nabble.com/Write-PDF-page-to-database-BLOB-column-tp4525032p4529511.html Sent from the iText - General mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 5 Date: Tue, 3 Apr 2012 10:19:29 -0700 From: Leonard Rosenthol <[email protected]> Subject: Re: [iText-questions] Write PDF page to database BLOB column To: Post all your questions about iText here <[email protected]> Message-ID: <d23d6b9e57d654429a9ab6918caceaa98071845...@nambx02.corp.adobe.com> Content-Type: text/plain; charset="utf-8" Pages are NOT self-contained entities. They only exist in the context of its parent PDF. Leonard From: sselvia [mailto:[email protected]] Sent: Tuesday, April 03, 2012 1:06 PM To: [email protected] Subject: Re: [iText-questions] Write PDF page to database BLOB column Alexis, Thought of that, but I did not know if there would be a better way. It would be great if I could get the PdfImportedPage as a byte array and then store that byte array into the blob. From that point I can create a new PDF and pull rows of blobs as byte arrays and set them into a new PdfImportedPage's. Thanks, Scott On Tue, Apr 3, 2012 at 3:33 AM, Alexis Pigeon [via iText - General] <[hidden email]</user/SendEmail.jtp?type=node&node=4529511&i=0>> wrote: > Hi Scott, > > > On 3 April 2012 03:04, sselvia <[hidden email]> wrote: >> >> Alexis, >> >> I am using iText to extract pages from a PDF as PdfImportedPage and I was >> wanting to store the import page to a BLOB column. Then later on extract >> the PdfImportedPage from the BLOB and create a new PDF with that page. I >> would be using iText to extract the page and using iText to write the new >> PDF. >> >> I've used the Netbeans PDF Debug plugin and I've been able to see the >> Stream >> of a page, so I've had the idea that I could extract a page and then write >> a >> PDF with that extracted page. I am using the following code to write a >> PDF >> directly but I wanted to pull the page content from a BLOB column instead >> of >> an existing PDF. >> >> PdfImportedPage importPage = pdfWriter.getImportedPage(pdfReader, i); >> pdfWriter.addPage(importPage); >> pdfWriter.close(); >> pdfWriter.freeReader(pdfReader); > > > What about this? > > - Split the original PDF into one-page PDF files > - Store each single-page PDF file into a BLOB > > then > > - Read each BLOB content as a PDF file > - Concat the single-page PDF files into a multi-page PDF file > > HTH, > alexis > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > iText-questions mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/itext-questions > > iText(R) is a registered trademark of 1T3XT BVBA. > Many questions posted to this list can (and will) be answered with a > reference to the iText book: http://www.itextpdf.com/book/ > Please check the keywords list before you ask for examples: > http://itextpdf.com/themes/keywords.php > > ________________________________ > If you reply to this email, your message will be added to the discussion > below: > http://itext-general.2136553.n4.nabble.com/Write-PDF-page-to-database-BLOB-column-tp4525032p4528022.html > To unsubscribe from Write PDF page to database BLOB column, click here. > NAML ________________________________ View this message in context: Re: Write PDF page to database BLOB column<http://itext-general.2136553.n4.nabble.com/Write-PDF-page-to-database-BLOB-column-tp4525032p4529511.html> Sent from the iText - General mailing list archive<http://itext-general.2136553.n4.nabble.com/> at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev ------------------------------ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA End of iText-questions Digest, Vol 71, Issue 5 ********************************************** ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
