Re: [iText-questions] Document rotates while merging

2010-05-20 Thread gunvant sahu
Try this one public class MyMergePDF2 { /** * @param args * @throws IOException * @throws DocumentException */ public static void main(String[] args) throws IOException { //creating list of readers of pdf files try { PdfReader reader1 = new PdfRead

Re: [iText-questions] Document rotates while merging

2010-05-20 Thread RivasAviles, Miguel
Thank you Eric for pointing me on the right direction. I put couple of hours with the approach you told me and was able to rotate the page (270) but now I have it upside down. But looking for more answers on the web seems to me like I opened a pandora's box... people getting angry when talking

[iText-questions] Using different PdfSpotColors in a single Paragraph

2010-05-20 Thread Werner Aernouts
Is it possible to use different PdfSpotColors in a single Paragraph? I cannot assign a PdfSpotColor to a font, and changing the fill color of the content byte during the construction of the different parts of the Paragraph does not seem to work. Best regards, Werner ---

Re: [iText-questions] PDF Annotations

2010-05-20 Thread Mark Storer
http://tinyurl.com/278j8k8 --Mark Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer; Disclaimer DisCard = null; From: Rishi Raj Vashist [mailto:rishi.vash...@hcl.in] Sent: Wednesday, May 19, 2010 10:31 PM To: itext-questions

Re: [iText-questions] Using different PdfSpotColors in a singleParagraph

2010-05-20 Thread Paulo Soares
SpotColor(PdfSpotColor, tint) Paulo - Original Message - From: Werner Aernouts To: itext-questions@lists.sourceforge.net Sent: Thursday, May 20, 2010 9:36 PM Subject: [iText-questions] Using different PdfSpotColors in a singleParagraph Is it possible to use different PdfSp

[iText-questions] Using different PdfSpotColors in a single Paragraph

2010-05-20 Thread Werner Aernouts
Is it possible to use different PdfSpotColors in a single Paragraph? I cannot assign a PdfSpotColor to a font, and changing the fill color of the PdfContentByte during the construction of the different parts of the Paragraph does not seem to work. Best regards, Werner -

Re: [iText-questions] text searching + opening a document directly to the search result location

2010-05-20 Thread Leonard Rosenthol
The correct thing here is that the Help file has "named destinations" included (these are equivalent to HTML's anchors) and then you just add links (via GoToR actions) in your PDF to the associated help file and the named dest. Leonard From: Victor Badic [mailto:victor_ba...@yahoo.com] Sent: Th

Re: [iText-questions] Document rotates while merging

2010-05-20 Thread Kevin Day
It seems that iText should rotate an imported page (or at least provide the ability to do so)... It might be time for a getImportedPageWithRotation() method... I've been meaning to add this, but haven't had the time lately. -- View this message in context: http://itext-general.2136553.n4.nabbl

Re: [iText-questions] text searching + opening a document directly to the search result location

2010-05-20 Thread Cameron Laird
On Thu, May 20, 2010 at 11:09 AM, Mike Marchywka wrote: > > > > > > > > > > > > > Date: Thu, 20 May 2010 05:27:32 -0700 > > From: victor_ba...@yahoo.com > > To: itext-questions@lists.sourceforge.net > > Subject: Re: [iText-questions] text searching + opening a docu

Re: [iText-questions] text searching + opening a document directly to the search result location

2010-05-20 Thread Mike Marchywka
> Date: Thu, 20 May 2010 05:27:32 -0700 > From: victor_ba...@yahoo.com > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] text searching + opening a document directly > to the search result location > > > > Hello again! > > Ok, I

Re: [iText-questions] Document rotates while merging

2010-05-20 Thread de Beus, Eric
Miguel, Scanners often create rotated pages, because the scanner actually creates an image with the scan lines running along the long edge of the sheet, and then rotates the page to compensate. You need to get the rotation of the pages from the PdfReader, and then apply that rotation in your call

Re: [iText-questions] text searching + opening a document directly to the search result location

2010-05-20 Thread Victor Badic
Hello again! Ok, I'll try to make it a bit clearer. Imagine this table: Property Name | Blah 1 | Blah n | HELP_BUTTON property 1 || | btnHelp propery 2 || |btnHelp It the user presses the btnHelp, the Pdf help-file sh

Re: [iText-questions] Image alignment inside of a ColumnText

2010-05-20 Thread Greg Holling
I wasn't trying to center the image; I want it left-justified inside of the column with text flowing around to the right. The centering seems to be the default behavior. I set the image alignment properties (using Image.setAlignment(Image.LEFT | Image.TEXTWRAP), similar to what is in the

Re: [iText-questions] Image alignment inside of a ColumnText

2010-05-20 Thread 1T3XT BVBA
On 05/20/2010 01:20 AM, g...@holling-co.com wrote: > I'm trying to create an image with wrapped text inside of a ColumnText > column. The image displays OK, as does the text, but the image is > centered and the text appears below it. It looks like the image > alignment qualifiers are being ign

Re: [iText-questions] text searching + opening a document directly to the search result location

2010-05-20 Thread 1T3XT info
Mike Marchywka wrote: > > I'm just trying to get some clarity on what each of these features > is, both what itext and pdf viwers support and what you are trying to do. I also don't understand the question. Adding Search functionality using JavaScript is easy (and described in the book). Parsin

Re: [iText-questions] text searching + opening a document directly to the search result location

2010-05-20 Thread Mike Marchywka
I'm just trying to get some clarity on what each of these features is, both what itext and pdf viwers support and what you are trying to do. > Date: Thu, 20 May 2010 03:35:06 -0700 > From: victor_ba...@yahoo.com > To: itext-questions@lists.sourceforge.net >

Re: [iText-questions] text searching + opening a document directly to the search result location

2010-05-20 Thread Victor Badic
Ok, we've settled the part with the document opening (PdfDestination-> LocalDestination-> SetOpenAction). Now what about the search? I need to find a certain text and then get the coordinates for it so that I cat set the PdfDestination. I've adopted this approach because the PDF help-file is pr

Re: [iText-questions] help

2010-05-20 Thread Klas Lindbäck
Look up how to add page numbering. You should be able to add section numbers in a similar way. Use onEndPage and add the section number at an absolute position as is done in the examples: http://itextdocs.lowagie.com/tutorial/directcontent/pageevents/index.html#examples /Klas EXI-D'Souza, Aman

Re: [iText-questions] multiline text in footer

2010-05-20 Thread 1T3XT info
ali naqvi wrote: > Chapter 3 wasnt much help but I found this example from chapter 14: Chapter 3 of the FIRST edition wasn't much help, but chapter 3 of the SECOND edition would have. > http://www.1t3xt.info/examples/browse/?page=example&id=222 >

Re: [iText-questions] multiline text in footer

2010-05-20 Thread ali naqvi
Chapter 3 wasnt much help but I found this example from chapter 14: http://www.1t3xt.info/examples/browse/?page=example&id=222 and now I am using a table instead of ColumnText. Just incase some one else is having the same issue. thanks ali On 19 May 2010 13:35, 1T3XT info wrote: > ali naqvi w