Re: [iText-questions] Ploblem with superscript and subscript

2010-05-04 Thread dorairaj
Hi All, I have seen the PdfGraphics2D source doAttributes() is setting only font related attributes but not Superscript and subscript attributes. Can any one Pls let me know how can i set superscript and subscript attributes to PdfGraphics2D Object. Thanks Dorairaj M -- View this

Re: [iText-questions] ColSpan and RowSpan across page breaks

2010-05-04 Thread 1T3XT info
Mark Kristensson wrote: Is this, in fact a bug in the iText code? Or is it something that was working by accident prior to version 2.1.6? Unbalanced save/restore state operators are tolerated by some viewers, but it's a syntactical error to have them. Either you have written some code where

Re: [iText-questions] Tab chunk and justified alignment

2010-05-04 Thread 1T3XT info
Mark Christian D. Nazareno wrote: I am trying to achieve a multi-line paragraph that starts with a paragraph number and a tab. You should use the first line indent, and add the paragraph number using a VerticalPositionMark. I want the paragraph to be justified but i think the tab is

Re: [iText-questions] Javascript Disable issue

2010-05-04 Thread PavanBellala
Hi, There is no PRINT in PdfAction, only PRINTDIALOG is avialable. Can you please let me know how to fire off print menu item using iText or anyother way to print without adding javascript. I tried by adding PdfAction to PdfWriter object as follows PdfAction action = new

Re: [iText-questions] Merging PDF and a HTML

2010-05-04 Thread Gaba
Thank you. I was able to merge using HTMLWorker. Now I am trying to use TextMarginFinder. 1T3XT info wrote: Gaba wrote: Hi I have a requirement where I need to merge a PDF with dynamically generated HTML content from Rich Text Area.The HTML content is stored in a String variable. The

Re: [iText-questions] Javascript Disable issue

2010-05-04 Thread 1T3XT info
PavanBellala wrote: Hi, There is no PRINT in PdfAction, only PRINTDIALOG is avialable. Can you please let me know how to fire off print menu item using iText or anyother way to print without adding javascript. As far as I remember, Adobe's PDF Technical Standards Evangelist explained in

Re: [iText-questions] Changes in the samples

2010-05-04 Thread JG Disenador Multimedia
Hi, I think is not needed print the code, to know what is happening. If there is a bug on the Java code, the debugger show me a bug. The debugger is not showing me nothing, seems to be correct. The example is a file wich is signing a document. If I change the name of the document

Re: [iText-questions] Changes in the samples

2010-05-04 Thread 1T3XT info
JG Disenador Multimedia wrote: If there is a bug on the Java code, the debugger show me a bug. The debugger is not showing me nothing, seems to be correct. Yet, you are experiencing a problem. Hence there's a bug in your code, one that is overlooked when you use the debugger. If I change the

[iText-questions] Examples in new book

2010-05-04 Thread John Renfrew
Found the following on geekcredential dot wordpress dot com Groovy thinks '/0' is a GString so need to be explicit and force it to character i.e. '/0'.toCharacter().charValue() john renfrew Right Way Up Office  +44 1675 475341 Fax  +44 1675 475342 Mobile +44 7767 443992

Re: [iText-questions] Examples in new book

2010-05-04 Thread Bruno Lowagie
John Renfrew wrote: Found the following on geekcredential dot wordpress dot com Groovy thinks '/0' is a GString so need to be explicit and force it to character i.e. '/0'.toCharacter().charValue() And now that I think about it, I think using '0' would also work. Can somebody

Re: [iText-questions] Ploblem with superscript and subscript

2010-05-04 Thread dorairaj
Hi there, Can any one suggest me? Thanks Dorairaj M -- View this message in context: http://old.nabble.com/Ploblem-with-superscript-and-subscript-tp28426091p28445060.html Sent from the iText - General mailing list archive at Nabble.com.

[iText-questions] To go to a particular page in PDF

2010-05-04 Thread SRI!0!
Hi, I have a small problem. Iam having a PDF sitting on the file system. I need to read the this file and I get the page number from some other source. Now depending on the page number I need to stream the file and go to that particular page in PDF while its opened. Please let me know how to

Re: [iText-questions] List Color Information in Pdf

2010-05-04 Thread Leonard Rosenthol
What do you mean by color images/objects? ALL objects in a PDF have a colorspace and one or more color values associated with them. Are you trying to determine color vs. monochrome? If so, then you first need to determine what monochrome means. For example, is an RGB value of [0 0 0]

Re: [iText-questions] To go to a particular page in PDF

2010-05-04 Thread Leonard Rosenthol
What do you mean go to that page while it is opened? Go to it where? With iText? And then do what with it? -Original Message- From: SRI!0! [mailto:srikan...@live.in] Sent: Tuesday, May 04, 2010 3:33 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] To go to a

[iText-questions] PdfPTable pushing susbsequent text down when switching between landscape and portait orientation.

2010-05-04 Thread Simon Goodfield
Our site is currently running on itext 5.0.1. We occasionally experience a problem when the size of a table being drawn on landscape pushes the text of the following section (which is portait) down the page. Below is some simple code which reproduces the problem. Any help would be

Re: [iText-questions] Guidance on Simple way to fully embed some primary Adobe Fonts

2010-05-04 Thread Borgsmiller, Michael J (B4Z)
All, I discovered this blurb on the Adobe website in regards to licensing their fonts. === All fonts produced by Adobe Systems can be embedded in Adobe(r) Portable Document Format (PDF) files, as well as other types of files. However, the end user license agreement for fonts from other

Re: [iText-questions] To go to a particular page in PDF

2010-05-04 Thread Cameron Laird
On Tue, May 4, 2010 at 5:32 AM, SRI!0! srikan...@live.in wrote: Hi, I have a small problem. Iam having a PDF sitting on the file system. I need to read the this file and I get the page number from some other source. Now depending on the page number I need to stream the file and go to

Re: [iText-questions] Guidance on Simple way to fully embed some primary Adobe Fonts

2010-05-04 Thread Leonard Rosenthol
You are incorrect. Leonard Rosenthol Adobe Systems -Original Message- From: Borgsmiller, Michael J (B4Z) [mailto:borgsmill...@y12.doe.gov] Sent: Tuesday, May 04, 2010 7:13 AM To: Post all your questions about iText here Subject: Re: [iText-questions] Guidance on Simple way to fully

Re: [iText-questions] add PdfAnnotation (form field) to a PdfTemplate

2010-05-04 Thread Mark Storer
It doesn't work that way. PdfTemplate is a wrapper for a chunk of drawing commands and resources. No annotations of any sort. Stuff To Know: *Field annotations with the same name share the same value. *They do this by sharing a common parent field that is not an annotation. *I'm not even sure

Re: [iText-questions] add PdfAnnotation (form field) to a PdfTemplate

2010-05-04 Thread 1T3XT info
Mark Storer wrote: *I'm not even sure iText will let you add the child fields properly. Let's see... Ah, looks like it will, but I'm not sure about it adding to multiple pages. The problem is that you need to add parent and kids BEFORE the pages are created. See this example:

Re: [iText-questions] PdfPTable pushing susbsequent text down when switching between landscape and portait orientation.

2010-05-04 Thread 1T3XT info
Simon Goodfield wrote: Our site is currently running on itext 5.0.1. We occasionally experience a problem when the size of a table being drawn on landscape pushes the text of the following section (which is portait) down the page. Below is some simple code which reproduces the

[iText-questions] embedding MOV/MP4 movies without security warning

2010-05-04 Thread Michael Brewer-Davis
Is there a way to embed MOV/MP4 files in my document without getting the yellow bar security restrictions? I'm not sure why my embedded content isn't already in the trust zone--is it the player that's untrusted? Here's my current approach: PdfFileSpecification fs =

Re: [iText-questions] PdfPTable pushing susbsequent text down when switching between landscape and portait orientation.

2010-05-04 Thread 1T3XT info
Simon Goodfield wrote: Below is some simple code which reproduces the problem. I identified the problem. The table causes a newPage() which internally triggers initPage(). Then you change the page size. Then you add a chapter causing another newPage(), but as no content has been added since the

Re: [iText-questions] PdfPTable pushing susbsequent text down when switching between landscape and portait orientation.

2010-05-04 Thread 1T3XT info
1T3XT info wrote: For the moment, I haven't found a good fix for this problem. And now I (may) have a fix. This should be tested on other examples though. --- trunk/src/core/com/itextpdf/text/pdf/PdfDocument.java 2010-05-03 23:02:10 UTC (rev 4503) +++

Re: [iText-questions] Ploblem with superscript and subscript

2010-05-04 Thread 1T3XT info
dorairaj wrote: Hi there, Can any one suggest me? Apparently not. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info -- ___

Re: [iText-questions] embedding MOV/MP4 movies without security warning

2010-05-04 Thread Leonard Rosenthol
Only if you transcode the MOV/MP4 into SWF. That will also give you a LOT more control over the playing of the media as well. -Original Message- From: Michael Brewer-Davis [mailto:mich...@tech4learning.com] Sent: Tuesday, May 04, 2010 9:41 AM To: itext-questions@lists.sourceforge.net

Re: [iText-questions] embedding MOV/MP4 movies without security warning

2010-05-04 Thread 1T3XT info
Leonard Rosenthol wrote: Only if you transcode the MOV/MP4 into SWF. That will also give you a LOT more control over the playing of the media as well. That's correct. Chapter 16 of the new book isn't available yet, but as soon as it is, I suggest you compare the movie annotation example with

Re: [iText-questions] add PdfAnnotation (form field) to a PdfTemplate

2010-05-04 Thread Michael Brewer-Davis
That example shows how to create a tree of form field dictionaries; is it possible to create instead a number of widget annotations that represent the single field? It looks to me like it should be possible from the PDF spec; so the question is: (a) is that the right reading; (b) if so, is it

Re: [iText-questions] add PdfAnnotation (form field) to a PdfTemplate

2010-05-04 Thread 1T3XT info
Michael Brewer-Davis wrote: That example shows how to create a tree of form field dictionaries; is it possible to create instead a number of widget annotations that represent the single field? Form fields with the same fully qualified name are considered being the same field. So if you

Re: [iText-questions] Guidance Requested - Generating multipage output with header/footer and pg 1 layout

2010-05-04 Thread Daniel Cane
1T3XT info info at 1t3xt.info writes: I would work with ColumnText. For the first page, I would add the first page of the template without the fields as the background of my new document. I would retrieve the positions of the fixed items, and put them on the page using ColumnText.

[iText-questions] margin after printing

2010-05-04 Thread Mark Christian Nazareno
I have a problem with pdf margin after printing the file. I set the whole document's margin to 54pt. When the pdf is generated it looks ok, but after printing, the top margin becomes wider. im using adobe reader 9.3.0 and itext 5.0.2. I am using None for page scaling on the print options

[iText-questions] How to Apply the TextAttribute.SuperScript to PDFGraphics Object

2010-05-04 Thread Rajesh Voruganti
Hi All I am using itext5.0 to generate the PDF file while i am using the TextAttribute.SuperScript is notworking properly. Let me know any suggests overcome this problem and solution urgently. Thanks Rajesh Voruganti -- View this message in context:

Re: [iText-questions] Ploblem with superscript and subscript

2010-05-04 Thread dorairaj
Do you mean to say there is no support for Superscript and Subscript in PDFGraphics2D. I there any other option other than using textlayout, since using textlayout the pdf printing quality is poor. Thanks Dorairaj 1T3XT info wrote: dorairaj wrote: Hi there, Can any one suggest me?