RE: [iText-questions] Page Break Problem
use this! document.nextpage juntams -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Srinivasan V Sent: Wednesday, March 10, 2004 3:12 PM To: [EMAIL PROTECTED] Subject: [iText-questions] Page Break Problem Hi , I am using PdfPTable to display say thousands of records. I dont know how to page break in order to display next set of record. I tried but its displaying in the same page. help me out ASAP. regards, Srinivasan V --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
RE: [iText-questions] Page Break Problem
sorry.. document.newPage juntams -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Srinivasan V Sent: Wednesday, March 10, 2004 3:12 PM To: [EMAIL PROTECTED] Subject: [iText-questions] Page Break Problem Hi , I am using PdfPTable to display say thousands of records. I dont know how to page break in order to display next set of record. I tried but its displaying in the same page. help me out ASAP. regards, Srinivasan V --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
[iText-questions] File attachment using iText
Hello, my questions on iText are how to: a) attach a file to a PDF document (class PdfAnnotation, method createFileAttachment?) b) access the attached file to be stored separately. Best regards and thanks in advance, Maria Vedder --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
[iText-questions] Tables side-by-side
Hi, Is it possible to have 2 tables sit horizontally side by side? If I add 2 tables to a document, they always stack on top of each other, irrespective of width... Having a table with 1 row and 2 columns and then inserting a nested table into each cell is no use to me, as I need to be able to have totally different sized cells in each table... Or is there a better solution? Thanks, Ben -- == Solid State Group == Web www.solidstategroup.com Email [EMAIL PROTECTED] MSN [EMAIL PROTECTED] --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
[iText-questions] New release itext-paulo-129
Changes in itext-paulo-129 (2004-03-10) - fixed some compatibility issues with jdk 1.5 and J++. - fixed the dpiy with tiff images. - correct processing with fields with the /Opt key. - added AcroFields.setFieldProperty() to set properties like flags and text color. - fixed AcroFields.removeFieldsFromPage(). - added support to use existing document fonts in PdfStamper. Will not work every time. - fixed a colorspace bug with images with smasks. - added PdfPTable.setLockedWidth() to lock the width when adding with Document.add(). - fixed a bug in PdfReader when reading content. (already fixed in 1.02b) - another hack to read broken PDFs. - optimized PdfStamper. The streams are not decoded/encoded but added to an array. - SimpleBookmark is more lenient with broken bookmarks. All this at: http://itextpdf.sourceforge.net Best Regards, Paulo Soares --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70alloc_id638op=click ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
RE: [iText-questions] File attachment using iText
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vedder, Maria Sent: Wednesday, March 10, 2004 8:26 AM To: '[EMAIL PROTECTED]' Subject: [iText-questions] File attachment using iText Hello, my questions on iText are how to: a) attach a file to a PDF document (class PdfAnnotation, method createFileAttachment?) Yes. b) access the attached file to be stored separately. I don't understand the question. Best Regards, Paulo Soares --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70alloc_id638op=click ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
[iText-questions] Viewing generated PDF's with acroread 4.0
Hello, This is my first message. First of all, THANKS for this great tool to everybody who has contributed to it! My question is: Is it possible to generate PDF's in a file format version suitable for Acrobat Reader 4.0? The files I generate only can be seen with acroread 5.0. Thanks, Javier --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
[iText-questions] RE: spacing between paragraphs
I've some changes to the Paragraph and PdfDocument code in it seems to work. Is there a set of JUnit tests I can execute to verify everything is still ok? In the meantime, I have created a new RFE and I have uploaded the changed files over there. You can find them at http://sourceforge.net/tracker/index.php?func=detailaid=913453group_id=15255atid=365255 thanks, Maarten Paulo Soares wrote: If only thing were that easy... Currently the paragraph processing is a can of worms, change something here and something else will break. If you do the code changes we'll consider it's inclusion. Best Regards, Paulo Soares -Original Message- From: itext-questions-admin at lists.sourceforge.net [mailto:itext-questions-admin at lists.sourceforge.net] On Behalf Of Maarten Coene Sent: Tuesday, March 09, 2004 12:53 PM To: itext-questions at lists.sourceforge.net Subject: [iText-questions] spacing between paragraphs Hi, Is it possible to extend the Paragraph API to allow users to define some empty spacing before and after a paragraph. I know this can be done by adding an empty paragraph with some leading before and after the normal paragraph, but it's not always that easy. For instance, I have a method addParagraph like this: public void addParagraph(Document doc, String text) { Paragraph p = new Paragraph(text); doc.add(p); } If I now add an empty paragraph everytime I add a normal paragraph, I could by accident let the next page start with an empty line if the empty paragraph doesn't fit on the current page anymore. Or even worse, I could by accident add an empty page to the document if the normal paragraph was the last paragraph of the document and was placed at the bottom of the last page. Also simulating spacing before a paragraph begins by adding empty paragraphs can give similar problems: I don't want a page to start with an empty line, so if the page starts with a paragraph, the 'before spacing' of that paragraph should be ignored. I think I can solve this myself if I could access the currentHeight property of the PdfDocument class and use it to check if adding spacing before/after a paragraph is appropriate. Unfortunately, the currentHeight property is private and there is no way to retrieve it. Are there other alternatives to to solve my problem ? I've seen some similar requests here on the mailinglist, so maybe it would be nice if such methods could be added to the Paragraph API ?? Should I post a feature request at sourceforge, or doesn't it has a chance to get accepted? thanks, Maarten Coene --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
[iText-questions] Crashes on getInstance of PdfWriter
Hi, We are having an anomally on using IText on the PdfWriter.getInstance( myDocument, fileStream ). In debug mode, in Websphere Studio Applicaiton Developer (v5 - based on Eclipse 2.1), it core dumps the application's execution environment. DETAILS: We are using IBM's JDK, WSAD v5.1, iText 1.02b. I can't even step into the attached source when it core dumps so no idea what the problem is. I had this problem in early January and switched to using a BufferedOutputStream and it started working again - for a while - then it started core dumping. I switched back to FileOutputStream and all was well until now. This has happened on two different people's computers as well - not isolated. I tried to duplicate the problem in regular Eclipse using IBM's JRE and have not succeeded. Here is the code: FileOutputStream fos = new FileOutputStream(fileName); PdfWriter writer = PdfWriter.getInstance(document, fos); Here is a cut paste of the core which proved meaningless to me: Unhandled exception Type=GPF vmState=0x Target=20030702 (Windows 2000 5.0 build 2195 Service Pack 4 x86) ExceptionCode=0xc005 ExceptionAddress=0x10009c5f ContextFlags=0x0001003f Handler1=0x111016d0 Handler2=0x10019510 Module=C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1\runtimes\base_v5\java\jre\bin\j9vm21.dll Module_base_address=0x1000 Offset_in_DLL=0x9c5f EDI=0x0064 ESI=0x07e8f666 EAX=0x002c EBX=0x07e9cf98 ECX=0x0483eb88 EDX=0x005b005a EBP=0x000b1300 ESP=0x0483eb68 EIP=0x10009c5f Generating crash dump: C:\Documents and Settings\sdrsp09\j9.dmp Thread: Servlet.Engine.Transports : 0 (priority 5) (daemon) (LOCATION OF ERROR) 00d5 com/lowagie/text/pdf/PdfDocument.init() TIA, Scott --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
RE: [iText-questions] XML To PDF
Quoting Zaki, Reham A [EMAIL PROTECTED]: Hi Bruno, Sorry for bothering you again.I checked the ujac site but I couldn't find sample of code in java of how I can have an XML output transformed to PDF After what I have heard it should be rather easy. I forward this to the developer of UJAC. I would like to tell you the task I am doing I will have some report results formatted in XML and I need to apply some transformation to create a well formatted PDF I looked in tag documentation but I need to know the steps I should be doing To make things much clearer Using normal itext-xml jar,we have input XML containing data ,we create the tag map then we call the parse method to produce PDF,steps in chapter 7,example 4 is clear and straightforward I fail to find a question in the lines above. What are you asking exactly? Maybe it's better to post this to the mailinglist and get in touch with people who have done similar things. I am making diploma supplements for Ghent University the way you describe, but the project is closed source and the code would be of no help to you as it is very specific code for our student administration. In ujac I don't know how to do the same task given the same inputs Maybe an XSL is needed to transform your custom XML into UJAC XML. I don't know, I don't know anything about your project (and I don't have the time to do consultancy for the moment). Please don't ask me this personally, I get hundreds of mails a day and I have deadlines to meet at my job too, we have a mailinglist for this kind of questions: [EMAIL PROTECTED] br, Bruno --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
RE: [iText-questions] Linearization - Byteserving
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fabian Pie Sent: Wednesday, March 10, 2004 3:19 AM To: [EMAIL PROTECTED] Subject: [iText-questions] Linearization - Byteserving Hi, Where could we find info about linearization (byteserving) ? Pdf reference. Is it planned to support that in itext ? Only if someone pays me to do it and even then I would think twice. Best Regards, Paulo Soares --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70alloc_id638op=click ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
RE: [iText-questions] File attachment using iText: How to read/download the embedded fi le on the PDF document
You can get the attachments with PdfReader but it requires dictionary access. The sequence is: - get page dic - locate file attachment annotation - find the stream with the annotation. Starting from the annotation and traveling the dics is: /FS/EF/F - decode the stream with PdfReader.getStreamBytes() You'll need the pdf reference to know what you're doing. This is a lot simpler than it looks. I'll try to create an example this weekend. Best Regards, Paulo Soares -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vedder, Maria Sent: Wednesday, March 10, 2004 3:26 PM To: '[EMAIL PROTECTED]' Subject: [iText-questions] File attachment using iText: How to read/download the embedded fi le on the PDF document Hello Paolo and all of you, file attachment using iText: I managed to attach files to a PDF file. Needed Acrobat 6.0 to test. Question: How can I read/download the file attachment (XML and other) from the PDF file created? I would like to extract the file attachment and store it on a local file system using iText. The PDFReader ignores attachment, or? Thanks for your help, Maria --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70alloc_id638op=click ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
[iText-questions] Problem with png files
Hi, We are using iText with weblogic 7.0. There appears to bea difference in the way the pdf gets handeled when creating it thru a standalone application and when its created from a servlet. When created from the servlet the code is - // baos is the stream which has the pdf response.setContentType("application/pdf"); ServletOutputStream sos; sos = response.getOutputStream(); baos.writeTo(sos); sos.flush(); sos.close(); Behaviour when pdf contains png images - - IE browser dumps a text (of pdf) output Behaviour when pdf contains jpg images - - IE shows the pdf correctly In both the above casea standalone test application correctly creates the pdf and stores it on the disk. Is this aknown problem or am I missing something ? Thanks, Pradeep Do you Yahoo!? Yahoo! Search - Find what youre looking for faster.
[iText-questions] FINAL CFP - Software Engineering: Concepts, Issues and Applications
EXTENDED DATES: Submission Date: March 14, 2004 Acceptance Notification: April 05, 2004 Camera-Ready papers Prereg. due: April 21, 2004 Conference Dates: June 21-24, 2004 CALL FOR PAPER The 2004 International Multiconference in Computer Science and Computer Engineering Technical Session - Software Engineering: Concepts, Issues and Applications Monte Carlo Resort, Las Vegas, Nevada, USA, June 21-24, 2004 http://www.world-academy-of-science.org Dear Colleagues: You are invited to submit a draft paper for Software Engineering: Concepts, Issues and Applications (Technical Session) of International Conference on Software Engineering Research and Practice (SERP 2003). Accepted papers will be published in the respective conference proceedings. Co-Chairs seek high quality papers describing new research results, experience reports and case studies related to all topics related to development process of Software Engineering. These submissions can be from both industry and academia. These include, but are not limited to, Requirements Engineering, Software Modeling, Software Architecture, Programming, and Software Maintenance. Papers of software engineering in area of Distributed Systems, ODP Systems and Software Quality can also be submitted. HISTORY: The International Multiconference in Computer Science and Computer Engineering is a major annual international research event. It assembles a spectrum of affiliated research conferences, workshops, and symposiums into a coordinated research meeting held in a common place at a common time. This model facilitates communication among researchers in different fields of computer science and computer engineering. The last Multiconference attracted over 1,650 computer science and Engineering researchers from 78 countries. It is anticipated that The 2004 Int'l Multiconference will attract about 2000 participants. The 2004 event is composed of 18 (planned) major conferences - attendees will have full access to all 18 conferences' sessions tracks. Each conference will have its own proceedings. All conference proceedings/books are considered for inclusion in major database indexes that are designed to provide easy access to the current literature of the sciences (database examples: ISI Thomson Scientific, IEE INSPEC, DBLP, ...). SUBMISSION OF PAPERS: Prospective authors are invited to submit their draft paper (about 5 pages - single space, font size of 12) to Heitor A. X. Costa ([EMAIL PROTECTED]) or Jorge L. R. Becerra ([EMAIL PROTECTED]) by the due date. All submissions must be in English. Submissions should be made electronically in PDF (preferred) or PostScript format. Only E-mail submissions are acceptable. The length of the Camera-Ready papers (if accepted) will be limited to 7 (IEEE style) pages. Papers must not have been previously published or currently submitted for publication elsewhere. The first page of the draft paper should include: title of the paper, name, affiliation, postal address, E-mail address, telephone number, Fax number for each author. The first page should also include the name of the author who will be presenting the paper (if accepted) a maximum of 5 keywords. EVALUATION PROCESS: Papers will be evaluated for originality, significance, clarity, and soundness. Each paper will be refereed by two researchers in the topical area. The Camera-Ready papers will be reviewed by one person. PUBLICATION: The conference proceedings will be published by CSREA Press (ISBN) in hardcopy. The proceedings will be available at the conference. Some accepted papers will also be considered for journal publication (soon after the conference). All conference proceedings published by CSREA Press are considered for inclusion in major database indexes that are designed to provide easy access to the current literature of the sciences (database examples: ISI Thomson Scientific, IEE INSPEC, DBLP, ...). ORGANIZERS/SPONSORS: A number of university faculty members and their staff in cooperation with the Monte Carlo Resort (Conference Division) will be organizing the conference. Technical co-sponsors include: World Academy of Science (non-profit organization - pending); Computer Science Research, Education, Applications Press (CSREA: USA Federal EIN # 58-2171953); together with research centers, international associations, international research groups, and developers of high-performance machines and systems. The complete list of co-sponsors will be available at a later time. (Previous conferences' sponsors included: CSREA, the National Supercomputing Center for Energy and the Environment - DOE, The International Association for Mathematics and Computers in Simulation, The International Technology Institute (ITI), The Java High Performance Computing research group, World Scientific and Engineering Society, Sundance Digital Signal Processing Inc., Convex, Hewlett-Packard Inc., a number of publishers of books and journals, chapters of computer
RE: [iText-questions] Viewing generated PDF's with acroread 4.0
I generate files for Acrobat 3.0, it all depends on what you put inside. You can also change the version number, of course. Best Regards, Paulo Soares -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Javier Arregui Sent: Wednesday, March 10, 2004 12:25 PM To: [EMAIL PROTECTED] Subject: [iText-questions] Viewing generated PDF's with acroread 4.0 Hello, This is my first message. First of all, THANKS for this great tool to everybody who has contributed to it! My question is: Is it possible to generate PDF's in a file format version suitable for Acrobat Reader 4.0? The files I generate only can be seen with acroread 5.0. Thanks, Javier --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70alloc_id638op=click ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
I got it.....RE: [iText-questions] Document Summary in PDF
Title: Message Paulo, I got it. It has been working all along. I was looking at windows document property rather than acrobat reader document property. Thanks, Flora
[iText-questions] Table of Contents
I know it's possible to do page numbers, but I was wondering if it were possible to produce a table of contents (like word does). The primary use for my implementation of the pdf is to be printed out, and the client would like a table contents... Is this possible? ~~ Chris Dunstall Analyst Programmer Admin Computing Bathurst Campus Charles Sturt University E-Mail: [EMAIL PROTECTED] Phone: +61 2 63384818 Fax: +61 2 63384181 Mobile: +61 0438 324 180 ~~ Blank Bkgrd.gif