jgmaux wrote:
> PdfAnnotation anote = PdfAnnotation.createScreen(pdfwriter, new
> Rectangle(100,100,100,100), "prueba",
> fs,"application/x-shockwave-flash",true);
Another reason why the annotation probably doesn't show,
is the fact that you present it in a rectangle with dimension
zero by zer
Thanks Mark still i have problem. Text shows only on first page. I need that
text on every page. Now my code looks like this and its still doesn't work:
public void wstawDanePdf(String existing_pdf) {
try {
PdfReader reader = new PdfReader(existing_pdf_file);
int
Most certainly! Since that is what will print...
Leonard
On Apr 3, 2008, at 5:07 PM, jgmaux wrote:
Thanks Leonard
I didn't it. Is it necessary?
Thanks in advance.
Leonard Rosenthol escribió:
Did you supply a default appearance for your SWF?
Leonard
On Apr 3, 2008, at 4:42 PM, jgmaux
I don´t intend to fail to respect either the seriousness of anybody. Wonder
if these questions is because I certainly locked. I am a serious person that
the only thing he wants is to make my job, I am not writing in order to hurt
or wasting time anyone. And I have to speak in english, and it is ver
Hi,
I'm not aware of any size limitations in RTF. I believe that using the disk
caching mode, people have generated much larger documents. I fear that you
are running into some kind of bug.
Which version of Word are you using to view the RTF document?
Which iText elements are you using in the d
Thanks Leonard
I didn't it. Is it necessary?
Thanks in advance.
Leonard Rosenthol escribió:
Did you supply a default appearance for your SWF?
Leonard
On Apr 3, 2008, at 4:42 PM, jgmaux wrote:
Hi Leonard
This is my information:
* Acrobat Reader Version: 8.1.0.2007051100
* S.O.: Microsoft W
Did you supply a default appearance for your SWF?
Leonard
On Apr 3, 2008, at 4:42 PM, jgmaux wrote:
Hi Leonard
This is my information:
* Acrobat Reader Version: 8.1.0.2007051100
* S.O.: Microsoft Windows XP Professional Service Pack 2
* Acrobat Reader Plug-ins:
Accessibility.api,
AcroForm.api
There is not a limitation that I know of in the RTF specification, but you
never know what the viewer may limit.
Howard Shank
- Original Message
From: Jeffrey Barrus <[EMAIL PROTECTED]>
To: itext-questions@lists.sourceforge.net
Sent: Thursday, April 3, 2008 1:41:05 PM
Subject: [iText-qu
I am using rtfwriter2 to create fairly large rtf files. The largest
one, 41mb when opened with word, gives an error "This document may be
corrupt..." It does not appear to have any problems in the document.
All of the smaller ones do not give this error. I am wondering, is
there a limit to
Hi Leonard
This is my information:
* Acrobat Reader Version: 8.1.0.2007051100
* S.O.: Microsoft Windows XP Professional Service Pack 2
* Acrobat Reader Plug-ins:
Accessibility.api,
AcroForm.api,
Annots.api,
Checkers.api,
DVA.api,
DigSig.api,
EScript.api,
EWH32.api,
HLS.api
IA32.api
ImageViewer
What version of Acrobat and/or Reader are you using on what OS
platform in order to print?
Leonard
On Apr 3, 2008, at 1:47 PM, jgmaux wrote:
> Hi,
>
> I'have a problem. I'have a annotation with a SWF file. It's display
> but
> not printing.
> This is my code.
>
> ...
> PdfFileSpecification f
Hi,
I'have a problem. I'have a annotation with a SWF file. It's display but not
printing.
This is my code.
...
PdfFileSpecification fs = PdfFileSpecification.url(pdfwriter, filePath);
PdfAnnotation anote = PdfAnnotation.createScreen(pdfwriter, new
Rectangle(100,100,100,100), "prueba",
fs,"appli
Solved:
..
PdfFileSpecification fs = PdfFileSpecification.url(pdfwriter, filePath);
PdfAnnotation anote = PdfAnnotation.createScreen(pdfwriter, new
Rectangle(100,100,100,100), "prueba",
fs,"application/x-shockwave-flash",true);
pdfwriter.addAnnotation(anote);
.
MrFishKill w
Hi,
I'have a problem. I'have a annotation with a SWF file. It's display but
not printing.
This is my code.
...
PdfFileSpecification fs = PdfFileSpecification.url(pdfwriter, filePath);
PdfAnnotation anote = PdfAnnotation.createScreen(pdfwriter, new
Rectangle(100,100,100,100), "prueba",
fs,"app
Your while loop (as written in the email here) is an infinite loop. You
need to increment 'i'.
And I suggest you use a 'for' loop when you know ahead of time how many
passes you're going to make... it reduces the chance of you making this kind
of error.
You might end up with something like:
for
Javier Del Amo wrote:
> I have this:
>
>Paragraph val = new Paragraph ("VALORACIÓN", seccíon);
>Anchor enlaceval = new Anchor("VALORACIÓN", seccion);
>enlaceval.setReference("#VALORACIÓN");
>val.add(enlaceval);
You deliberately repeat the word.
What you do is like:
a = 1;
b = 1;
Javier Del Amo wrote:
> Good afternoon.
>
> I have a problem: how does a chapter be able to an internal link? I have
> a chapter and this I want to be a internal link.
> I have problems both in the origin of the link and the destination. In
> the origin I have a duplicate word, the chapter and t
Ok Bruno. Sorry for my English. :D
I will try to explain the problem:
I have this:
Paragraph val = new Paragraph ("VALORACIÓN", seccíon);
Anchor enlaceval = new Anchor("VALORACIÓN", seccion);
enlaceval.setReference("#VALORACIÓN");
val.add(enlaceval);
Section sectionval =
Peter Rait wrote:
> If this is the case please let me know how you solved this problem.
I fear there won't be a lot of response.
I'm sorry, but IMHO your design has plenty of flaws:
are you going to depend on JavaScript/Applet communication?
Are you going to use Applets to write PDF to the user's
Javier Del Amo wrote:
> Good morning.
>
> Is there any way to underline a chunk, phrase, or paragraph and whose
> width is the width of the paper?
I see this question was overlooked.
> The api said that the underline is the width of the chunk. Is
> it possible that this underlined has the widt
Hansoti, Avni wrote:
> Hi Jen,
>
> Thanks a lot for your answer, it worked but it give me page number 1 on my
> each page.
>
> Is it because every time I print my header table I did, document.newPage()??
Oops, maybe you can ignore my previous answer.
I assumed you were doing stuff like this:
Jens Kapitza wrote:
> is there a way to import a PDF page (PdfContentByte)
A PdfImportedPage is more than just a PdfContentByte object.
> and then write it to Graphics object or save it as Image (JPG,PNG,...)
No, iText generates and manipulates PDF.
It doesn't render them (and that's what you'r
Hansoti, Avni wrote:
> And I forgot to mentioned that yes, you are right. I am creating a
> padfTable, that's why the write don't know the page Number.
> But is there any way I can get it work with pdftables to print
> pagenumbers.
That makes it more difficult because there are many
possible ways
Hi Jen,
Thanks a lot for your answer, it worked but it give me page number 1
on my each page.
Is it because every time I print my header table I did,
document.newPage()??
Thanks,
Avni
> So what should pass for my arg1??
>
>ByteArrayOutputStream baos = new ByteArrayOutputStream()
>PdfWriter
You never increment i...
int i=1;
while(i < nu_pages) {
over = stamper.getOverContent(i);
putData(over, helv);
}
Try changing to
while(i < nu_pages) {
over = stamper.getOverContent(i);
I can't add data to existing pdf. It's adding data only to first page. Nothing
hepends on others. This is my code:
try {
PdfReader reader = new PdfReader(pdf_path1);
int nu_pages = reader.getNumberOfPages();
PdfStamper stamper = new PdfStamper(reader, new
F
is there a way to import a PDF page (PdfContentByte)
and then write it to Graphics object or save it as Image (JPG,PNG,...)
--- Jens
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell servic
And I forgot to mentioned that yes, you are right. I am creating a
padfTable, that's why the write don't know the page Number.
But is there any way I can get it work with pdftables to print
pagenumbers.
I appreciate your help,
Thanks,
Avni Hansoti
Please explain, because in my examples the
Hansoti, Avni schrieb:
>
> Thanks for your reply Mr. Bruno.
>
> Actually I couldn’t get it work with pdfWriter because I don’t know
> what to put in Output Stream argument:
>
> PdfWriter writer = PdfWriter.getInstance(document,arg1);
>
> I am not saving my pdfReport directly, I am running my Java
Good afternoon.
I have a problem: how does a chapter be able to an internal link? I have a
chapter and this I want to be a internal link. I have problems both in the
origin of the link and the destination. In the origin I have a duplicate
word, the chapter and the anchor. In the destination I have
Thanks for your reply Mr. Bruno.
Actually I couldn't get it work with pdfWriter because I don't know what
to put in Output Stream argument:
PdfWriter writer = PdfWriter.getInstance(document,arg1);
I am not saving my pdfReport directly, I am running my Java application
on server, and when use
Thanks for the information,
> Are you implying that we at iText should ignore this
> and break plenty of free functionality that comes with
> the correct implementation of these PdfGraphics2D objects ;-)
>
>
;)
> br,
> Bruno
-- Jens
-
I suppose you can create one that is not secret. If thats' not possible
the Photoshop batch processing looks good, as someone else said.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Magnus Hed
> Sent: Thursday, April 03, 2008 1:06 PM
>
If they were produced by the same application they will be equally
broken. iText can read a lot of broken TIFFs and PDFs just not that kind
because we never saw one.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Magnus Hed
> Sent: Thurs
Hansoti, Avni wrote:
> But document.getPageNumber() keeps returning me 0.
I see that you already found the FAQ entry:
http://www.1t3xt.com/docs/faq.php?branch=faq.itext&node=getpagenumber
> I googled and found out that i should use writer.getPageNumber() instead
> But it's not working. writer.get
Jens Kapitza wrote:
> hi,
> i just start using itext and i am confused with using the Graphics2D
> object wich is created by itext.
Er, the abstract class Graphics2D was invented by SUN.
The iText PdfGraphics2D implements SUN's Graphics2D as
described in SUN's API:
http://java.sun.com/j2se/1.3/do
Hi,
I'm writing a table with some data that could go few pages long.
On each new page, I want to print the table's header once again but I'm
having trouble doing so.
It would be helpful if I can get the page number i'm currently writing
on, and I also want to print totalnumber of pages
But docum
hi,
i just start using itext and i am confused with using the Graphics2D
object wich is created by itext.
i create it using PdfTemplate#createGraphics(breite , hoehe );
Graphics2D gx = tmp.createGraphics(breite , hoehe );
gx.setColor(Color.red);
gx.drawRect(0, 0, breit
My mistake, apologies.
Thanks for the info.
> Date: Thu, 3 Apr 2008 13:24:29 +0200
> From: [EMAIL PROTECTED]
> To: itext-questions@lists.sourceforge.net
> Subject: Re: [iText-questions] Kerning when calculating font point size?
>
> Andrew Bligh wrote:
> > Hi,
> >
> > Could anybody tell me that
I will try that. Thanx!
Magnus Hed
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Howard Shank
Sent: den 3 april 2008 14:43
To: Post all your questions about iText here
Subject: Re: [iText-questions] Converting TIFF with errors to PDF
You could try o
You could try opening and re-saving them as a batch process in Adobe Photoshop
or some other program to correct the TIFF?
Howard
- Original Message
From: Magnus Hed <[EMAIL PROTECTED]>
To: Post all your questions about iText here
Sent: Thursday, April 3, 2008 8:05:56 AM
Subject: Re: [
Sergio Lopez wrote:
> Anyway, looking forward to having your clean and universal solution
You might find it easier to get the current version from SVN:
http://1t3xt.com/downloads/svn.php
and then use the ANT scripts to build the jar.
I guess it's about a quarter of an hour work,
which is less than
Taking advantage of your suggestion to code I tried to adpat it to my case till
there's a new release. I had to use onEndPage. But i was forced to define
global variables to use PdfContentByte, and table widths and heights used in
tableLayout method :-( I know it's a "dirty" solution and maybe
And I forgot to mention that the TIFs are all classified as secret, so I can't
send a link to them or even show them to anyone, sorry.
/Magnus Hed
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paulo Soares
Sent: den 3 april 2008 13:57
To: Post all
There are over hundreds of these "broken" tiff's that has to be converted into
PDF. Is there a way to program Itextsharp to put them in a pdf even though this
error occurs? They can all be viewed perfectly in an image viewer.
Regard
Magnus
-Original Message-
From: [EMAIL PROTECTED] [ma
You have a broken TIFF. Post a link to the TIFF and I'll see what can be
done.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Magnus Hed
> Sent: Thursday, April 03, 2008 12:51 PM
> To: itext-questions@lists.sourceforge.net
> Subject: [iT
Is there a way to convert single-paged TIFF's that gives an
IndexOutOfRangeException to PDF?
I can open the TIF's and view them in an imaging-application.
Thanx in advance
Magnus
-
Check out the new SourceForge.net M
Then you need to write a PCL parser, and for each object you locate
in the PCL, use the equivalent iText API to generate the same in the
PDF.
NOTHING is going to do this for you - you have a LOT of work ahead of
you...
Leonard
On Apr 3, 2008, at 2:35 AM, Tabish Sarwar wrote:
> My primary o
Andrew Bligh wrote:
> Hi,
>
> Could anybody tell me that if an underlying font file has kerning
> information whether this is taken into account when calculating some
> text width in points i.e.
>
> BaseFont.getWidthPoint( someText , textSize )
>
> I would have thought it does
Why would you
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Andrew Bligh
> Sent: Thursday, April 03, 2008 12:13 PM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] Kerning when calculating font point size?
>
> Hi,
>
> Could anybod
Hi,
Could anybody tell me that if an underlying font file has kerning information
whether this is taken into account when calculating some text width in points
i.e.
BaseFont.getWidthPoint( someText , textSize )
I would have thought it does but I would just like to confirm this.
Thanks & r
Exactly what I need!!!
I'm looking forward to have the new version ^__^ Hope in my project let me use
the new jar soon ;-)
Thank you so much Should you come to Madrid, a "paella" will be waiting for
you ^_^
Sergio
> Date: Thu, 3 Apr 2008 1
Paulo Soares wrote:
iText has some constructs to simplify life but sometimes life is too
complicated.
Granted, but this particular problem looked like an interesting
challenge to me. I addapted the example (see attachment) and
noticed the problem persisted. Then I made some minor changes
in Pdf
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Tabish Sarwar
> Sent: Thursday, April 03, 2008 10:33 AM
> To: Post all your questions about iText here
> Subject: Re: [iText-questions] Regrading BufferedImage
> Conversion to PDF.
>
> I will be
I feared sth like that Thanks anyway!!!
Best regards
> Date: Thu, 3 Apr 2008 10:19:50 +0100
> From: [EMAIL PROTECTED]
> To: itext-questions@lists.sourceforge.net
> Subject: Re: [iText-questions] TableLayout + Memory Management
>
> iText has some con
I will be very thankful if you make it more clear .
Secondly .. Is this possible what i am trying to do
i.e
Load a BufferedImage from a PCL file.
Then using that buffer create a PDF file using Itext.
Secondly , Image (*com.lowagie.text.Image) *works with only JPEG, PNG or GIF
as mentioned in API
iText has some constructs to simplify life but sometimes life is too
complicated. In this case you'll have to take care of the layout
yourself and check the height of the table, when the height is greater
than the page, remove the last row and write the table. You'll create a
new table for each pag
For the hard of hearing: ONLY ADOBE CAN APPLY SPECIAL RIGHTS. iText will
never, never, never be able to do it.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Markus Stork
> Sent: Thursday, April 03, 2008 10:08 AM
> To: itext-questions@li
Chapter.setTriggerNewPage(false).
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Javier Del Amo
> Sent: Thursday, April 03, 2008 9:54 AM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] Problem with Chapter
>
> G
Use Image.getInstance(java.awt.Image, java.awt.Color).
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Tabish Sarwar
> Sent: Thursday, April 03, 2008 7:36 AM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] Regradi
You are using an old version and HeaderFooter is deprecated and not
supported. Use page events.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Lawrence Tsosie
> Sent: Wednesday, April 02, 2008 8:40 PM
> To: iText-questions@lists.sourcefo
Good morning.
Is there any way to have two Chapters on the same page? Every time I create
a new Chapter It was going to a new page.
Can anybody help me?
Thanks.
-
Check out the new SourceForge.net Marketplace.
It's the best p
Sorry, I forgot to attach JAVA>-<
My case it's a WYSIWYP (What You See Is What You Print) ^_^
And it isn't a double line problem as the body lines are 0.5f width, but border
for complete table is 2. If I build the whole table, and then add it to
document, perfect, but it I do it in parts no
Good morning.
Is there any way to underline a chunk, phrase, or paragraph and whose width
is the width of the paper?
The api said that the underline is the width of the chunk. Is it possible
that this underlined has the width of the paper?
Thanks.
Hello,
I'm facing with the same problem. I have to add a blank signature field to a
PDF (while generating with iText).
This PDF have to be signed with a standard Acrobat Reader.
Any changes in iText since July 2006? Is it now possible to add special
rights
to a PDF to sign it with the Acrobat Rea
65 matches
Mail list logo