[iText-questions] iText code not executing on Windows Vista

2008-10-04 Thread R . Anitha
Hi All,

We are using iText 1.3 version PDF generation works with windows XP ,not on
Vista. Does iText 1.3 version supported on Windows Vista
Have imported required package as below :
import com.lowagie.text.Document;

During Execution(compilation is successful) my debug statements stops before
this statement
Document document = new Document();

It doesn't throws any exception too

Does it mean iText1.3 is not working with Vista,do we need to upgrade to
higher versions of iText..

Please provide your valuable guidance on the same.

Thanks,
Anitha
--
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Re: [iText-questions] Error - java.lang.NoSuchMethodError: com.lowagie.text.Image.plainWidth()F

2008-10-04 Thread Paulo Soares
Some methods changed names for the sake of consistency. In this case the new 
name is getPlainWidth().

Alguns métodos mudaram de nome por uma questão de consistência. Neste caso o 
novo nome é getPlainWidth().


Paulo

 -Original Message-
 From: Marcos Carvalho [mailto:[EMAIL PROTECTED]
 Sent: Friday, September 26, 2008 1:00 PM
 To: itext-questions@lists.sourceforge.net
 Subject: [iText-questions] Error -
 java.lang.NoSuchMethodError: com.lowagie.text.Image.plainWidth()F

 Good Morning,

 Was with error java.lang.NoSuchMethodError:
 com.lowagie.text.Image.plainWidth()F, where use library
 itext-2.1.3 and change library old itext-1.1.3 worked. Sorry,
 my english is more or less. I am from Brazil.

   Estava com erro java.lang.NoSuchMethodError:
 com.lowagie.text.Image.plainWidth()F, onde usava a biblioteca
 itext-2.1.3 e troquei pela biblioteca antiga itext-2.1.3 ai funcionou.
 --

 Atenciosamente,
 Marcos Antonio R. de Carvalho Filho
 Fone: 55-62-81771035




Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter 
informação confidencial ou legalmente protegida. A incorrecta transmissão desta 
mensagem não significa a perca de confidencialidade. Se esta mensagem for 
recebida por engano, por favor envie-a de volta para o remetente e apague-a do 
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de 
usar, revelar ou distribuir qualquer parte desta mensagem. 

Disclaimer:
This message is destined exclusively to the intended receiver. It may contain 
confidential or legally protected information. The incorrect transmission of 
this message does not mean the loss of its confidentiality. If this message is 
received by mistake, please send it back to the sender and delete it from your 
system immediately. It is forbidden to any person who is not the intended 
receiver to use, distribute or copy any part of this message.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Re: [iText-questions] iText for windows vista

2008-10-04 Thread 1T3XT info
R.Anitha wrote:
 Hi all,
  
 Have found the versipn i used. it is iText1.3 version which worked fine 
 with XP..
  
 On windows Vista it doesn't works,do i need to update the iText jar 
 version to make the program work?If so which version to 
 download..anyother inputs or suggestion?Please guide me to fix this.

I can use ANY version of iText on Windows Vista.
However: if I don't install the correct Java Virtual Machine
(on any OS) then nothing works.

I think that's your problem. Claiming that some version of iText
doesn't work on Windows Vista is... not based on verifiable facts.
I can easily prove that you're allegation is wrong.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php


Re: [iText-questions] Error - java.lang.NoSuchMethodError: com.lowagie.text.Image.plainWidth()F

2008-10-04 Thread 1T3XT info
Marcos Carvalho wrote:
 Good Morning,
 
 Was with error java.lang.NoSuchMethodError: 
 com.lowagie.text.Image.plainWidth()F, where use library itext-2.1.3 and 
 change library old itext-1.1.3 worked. Sorry, my english is more or 
 less. I am from Brazil.

Change plainWidth() into getPlainWidth()
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php


Re: [iText-questions] Updated PDF is not shown

2008-10-04 Thread 1T3XT info
Diptiman Prusty wrote:
 Hi
   I am reading a PDF form template and then creating a pdfstamper to 
 fill up some fields and save it to a new file.
 Then I want to read the updated file and send it to browser. The updated 
 file is created and when opened in acrobat reader shows filled up 
 values. But if I pass the same file to browser through servletoutput 
 stream it doesnt show filled up values.
 
 Here is my code :
 PdfReader reader1 = new PdfReader(sampleReport.pdf);
  FileOutputStream fOut = new FileOutputStream(updatedForm.pdf);
 PdfStamper stamper1 = new PdfStamper(reader1,fOut);
 AcroFields form2 = stamper1.getAcroFields();
 form2.setField(Name, Diptiman,Diptiman);
 stamper1.close();
 
 TIll her it works and new file is saved.
 
 PdfReader reader = new PdfReader(updatedForm.pdf);   
 ByteArrayOutputStream baos = new ByteArrayOutputStream();
  PdfStamper stamper = new PdfStamper(reader, baos);
 stamper.close();
 
 ServletOutputStream out = response.getOutputStream();   
 response.setHeader(Content-Disposition:, 
 inline;filename=updatedForm.pdf );
 response.setHeader(Expires, 0);
 response.setHeader(Cache-Control,must-revalidate, 
 post-check=0, pre-check=0);
 response.setHeader(Pragma, public);
 response.setContentType(application/pdf);
 response.setContentLength(baos.size());
 baos.writeTo(out);
 out.flush();
 
 What am I doing wrong here?

There is no reason to save the PDF locally (unless you did it for
testing purposes); there is no reason why the PDF shouldn't show up
in the client's browser unless you're not telling us everything.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php


Re: [iText-questions] Display PDF files without some kind of pdf reader

2008-10-04 Thread 1T3XT info
nguyet minh wrote:
 
 Hi,
 I used to using this itext.jar and I like it very much. It's so useful 
 for all my working with pdf form. Now, I'm working on a web project, 
 which displaying pdf files on browsers. But, the final purpose is 
 displaying on browsers without needing any pdf reader software on 
 client's PC. Because, I don't want the user to save the pdf files. I 
 think it should have some way to encoding the PDF file on the web server 
 before sending to client? Do you have any idea? Please help.

iText is not the product you're looking for.
It doesn't render PDF files.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php


[iText-questions] Annotation Icon

2008-10-04 Thread n b
Hello,

I am trying to show Icon Help  on an Annotation in PdfPCell as below.
But icon is too big.

How can i do to minimize his size to see it at the right of my chunk (as 
PdfAnnotation.createSquareCircle) ?

Thks

CODE

Chunk MonAnnota = new Chunk(.);
MonAnnota.setGenericTag(TexteContenu);
Paragraph MonParagraphe = new Paragraph();
MonParagraphe.add(MonAnnota);
PdfPCell MaCellule = new PdfPCell(MonParagraphe);
...

/CODE


CODE

 public void onGenericTag(PdfWriter writer, Document document, Rectangle rect, 
String text) {
PdfAnnotation annotation = PdfAnnotation.createText(writer, rect, 
Infos, text, false, Help);

writer.addAnnotation(annotation);
}
/CODE




  

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php


Re: [iText-questions] Concatenate two pdfs keeping user enabled feature

2008-10-04 Thread Paulo Soares
iText doesn't support concatenating PDFs with XFA, enabled or not.

Paulo

 -Original Message-
 From: Ana Santos [mailto:[EMAIL PROTECTED]
 Sent: Monday, September 29, 2008 11:25 AM
 To: itext-questions@lists.sourceforge.net
 Subject: [iText-questions] Concatenate two pdfs keeping user
 enabled feature


 Hello,

 My situation is as follows. I have one pdf with user enabled
 rights (one XFA
 form that users can edit/save multiple times) and one pdf
 generated using
 iText. When I try to concatenate these files, the resulting
 file loses the
 user enabled rigths.

 I use PdfCopyFields to concatenate the pdfs.


 Any help will be welcomed!

 Best regards,
 Ana Santos


Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter 
informação confidencial ou legalmente protegida. A incorrecta transmissão desta 
mensagem não significa a perca de confidencialidade. Se esta mensagem for 
recebida por engano, por favor envie-a de volta para o remetente e apague-a do 
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de 
usar, revelar ou distribuir qualquer parte desta mensagem. 

Disclaimer:
This message is destined exclusively to the intended receiver. It may contain 
confidential or legally protected information. The incorrect transmission of 
this message does not mean the loss of its confidentiality. If this message is 
received by mistake, please send it back to the sender and delete it from your 
system immediately. It is forbidden to any person who is not the intended 
receiver to use, distribute or copy any part of this message.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Re: [iText-questions] Displaying the FCK editor content in the pdf

2008-10-04 Thread rashmi_ceru


i read in the itext book  conversion isn't a  priority with iText is there
any other way to do this ? 
with 2dgraphics ? ? 




rashmi_ceru wrote:
 
 
 which are the font style supported  ?
 and also it is posible to display the background colour also ?
 
   ArrayList p = HTMLWorker.parseToList(stringReader, st);
   Paragraph title1=null;
   Object o=new Object();
   for (int k = 0; k  p.size(); ++k){
 //  document.add((Element)p.get(k));
 
 i am using this code . 
 
 is there any better way to do ? like writing to image all this content and
 add that image in the pdf ? 
 
 it is very urgent please help me on this . i am new to itext . 
 
 
 
 
 
 Paulo Soares-3 wrote:
 
 Only some font styles are supported.
 
 Paulo
 
 -Original Message-
 From: Rashmi K S [mailto:[EMAIL PROTECTED]
 Sent: Saturday, July 12, 2008 11:45 AM
 To: Post all your questions about iText here
 Subject: [iText-questions] Displaying the FCK editor content
 in the pdf


 Hi ,

  I am want to display the fck editor content in the pdf .

 like i will be having text like this
 pnbsp;/p p larger;HI/p pnbsp;/p
 p style=font-size:
 larger;Hill/p pnbsp;/p pem style=background-color:
 rgb(255, 204, 0); larger;Hello /em/p
 i want to display this text in the pdf with style applied

 i tried using HTMLworker .
 it can display the content  correctly. but style is not
 getting applied

 can any one please help me on this . it is very urgent
 --
 Regards
 Rashmi

 Cerulean Information Technology Pvt. Ltd.
 # 45, Ground Floor  1st Floor,
 Industrial Layout,
 Koramangala, Bangalore - 560 095
 
 
 Aviso Legal:
 
 Esta mensagem é destinada exclusivamente ao destinatário. Pode conter
 informação confidencial ou legalmente protegida. A incorrecta transmissão
 desta mensagem não significa a perca de confidencialidade. Se esta
 mensagem for recebida por engano, por favor envie-a de volta para o
 remetente e apague-a do seu sistema de imediato. É proibido a qualquer
 pessoa que não o destinatário de usar, revelar ou distribuir qualquer
 parte desta mensagem. 
 
 
 
 Disclaimer:
 
 This message is destined exclusively to the intended receiver. It may
 contain confidential or legally protected information. The incorrect
 transmission of this message does not mean the loss of its
 confidentiality. If this message is received by mistake, please send it
 back to the sender and delete it from your system immediately. It is
 forbidden to any person who is not the intended receiver to use,
 distribute or copy any part of this message.
 
 
 
 
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the
 world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 iText-questions mailing list
 iText-questions@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/itext-questions
 
 Buy the iText book: http://www.1t3xt.com/docs/book.php
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Displaying-the-FCK-editor-content-in-the-pdf-tp19685692p19724306.html
Sent from the iText - General mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

[iText-questions] how can i map a custom tag to iText tag which will generate the xml data into table format

2008-10-04 Thread sumit k
Hi
I am new to iText.Can anybody help me how can i map a custom tag to iText
tag which will generate the xml data into table format.

sumit
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Re: [iText-questions] Text Render Mode

2008-10-04 Thread beppecosta

Now it looks perfect with the right setColorFill/setColorStroke and
TEXT_RENDER_MODE_FILL_STROKE !

Thanks.

Giuseppe.


Paulo Soares-3 wrote:
 
 See page 349 of the book for some examples.
 
 Paulo
 
 -Original Message-
 From: beppecosta [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, September 30, 2008 11:35 AM
 To: itext-questions@lists.sourceforge.net
 Subject: [iText-questions] Text Render Mode


 Hello,

 I'm adding a simple word to the first page an existing pdf using:

 PdfContentByte over;
 over = stp.getOverContent(1);
 over.showTextAligned(PdfContentByte.ALIGN_LEFT, SPECIMEN,
 75, pageHeight -
 120, 13);

 How can I get a more special effect using setTextRenderMode with
 TEXT_RENDER_MODE_STROKE ?

 Thanks.
 Giuseppe.
 
 
 Aviso Legal:
 
 Esta mensagem é destinada exclusivamente ao destinatário. Pode conter
 informação confidencial ou legalmente protegida. A incorrecta transmissão
 desta mensagem não significa a perca de confidencialidade. Se esta
 mensagem for recebida por engano, por favor envie-a de volta para o
 remetente e apague-a do seu sistema de imediato. É proibido a qualquer
 pessoa que não o destinatário de usar, revelar ou distribuir qualquer
 parte desta mensagem. 
 
 
 
 Disclaimer:
 
 This message is destined exclusively to the intended receiver. It may
 contain confidential or legally protected information. The incorrect
 transmission of this message does not mean the loss of its
 confidentiality. If this message is received by mistake, please send it
 back to the sender and delete it from your system immediately. It is
 forbidden to any person who is not the intended receiver to use,
 distribute or copy any part of this message.
 
 
 
 
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the
 world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 iText-questions mailing list
 iText-questions@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/itext-questions
 
 Buy the iText book: http://www.1t3xt.com/docs/book.php
 

-- 
View this message in context: 
http://www.nabble.com/Text-Render-Mode-tp19738674p19741284.html
Sent from the iText - General mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

[iText-questions] UNSUBSCRIBE

2008-10-04 Thread Jonathan Romley



This message is property of ArtistForce, inc. This email and any files 
transmitted with it are confidential and intended soley for the use of the 
individual or entity to whom they are addressed. No addressee should forward, 
print, copy, or otherwise reproduce this message in any manner that would allow 
it to be viewed by any individual not originally listed as a recipient. If you 
are not the intended recipient, you are hereby notified that any use 
dissemination, forwarding, printing or copying of this e-mail is strictly 
prohibited. If you have received this communication in error, please 
immediately notify the sender and delete this message.
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Re: [iText-questions] How to extract PDF file before signing and insert custom external signature

2008-10-04 Thread Leonard Rosenthol
There isn't any support in iText for this today - but it would be  
pretty easy to add...

Leonard

On Oct 1, 2008, at 7:30 AM, Seung Hyun Park wrote:

 Hello.

 I have two questions about digital signature.


 For examples, I add two multiple signatures at a PDF file.

 Then, the 3 versions exist;

 - original version before signing.
 -  version 1 after first signing.
 -  version 2 after second signing.


 I want to extract version 1 or original PDF file from final PDF file.

 I know that Adobe Reader and Acrobat can extract the previous  
 versions of PDF and compare them.


 Please let me know how I extract specific version from signed PDF  
 file.




 I have another question.

 I want to sign PDF file with my own external signature.

 For examples, iText can sign from PFX (PKCS #12).

 But, some countries use their own 128-bit encryption algorithm and  
 therefore PKCS #12 cannot be used for signing.

 If I already have signature byte array by using my own encryption  
 algorithm, how can I sign PDF file by using it?




 If you could take a few minutes to answer my questions, I would  
 really appreciate it.
 Thank you in advance for your help.


 Best regards,

 S. H. Park
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's  
 challenge
 Build the coolest Linux based applications with Moblin SDK  win  
 great prizes
 Grand prize is a trip for two to an Open Source event anywhere in  
 the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/___
 iText-questions mailing list
 iText-questions@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/itext-questions

 Buy the iText book: http://www.1t3xt.com/docs/book.php


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php


Re: [iText-questions] Image.GetInstance() error on Production Server but not dev machine

2008-10-04 Thread ActiveA

Hello,

Instead of  
Image.getInstance(http://yourwebsite/blablabla/blablabla.jpg;) 
Use  Image.getInstance(c:/blablabla.jpg)  where c:/blablabla.jpg is
your jpg picture in the c: drive of your Windows 2003.

This works for me!

Regards,
ActiveA
Athens,Greece


indy.gill wrote:
 
 Hi 
 
 I am building a Asp.Net 3.5 application which uses iText to creates some
 PDF's.  The PDF has an image in it and I am using the
 Image.GetInstance(FullImageUrlPath) to get the image.  This works fine
 on my Win XP development machine, however if put it on my Win 2003
 production server it does not work.  I get the below error:
 
 Attempted to read or write protected memory. This is often an indication
 that other memory is corrupt. 
 
 Any ideas on what this means or how i get round it?
 
 Many thanks in advance
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Image.GetInstance%28%29-error-on-Production-Server-but-not-dev-machine-tp18971390p19780735.html
Sent from the iText - General mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php


[iText-questions] PDFCell with over 2048 characters

2008-10-04 Thread Sreeram Gurram
Hello,



We have a java library that builds PDF document using iText library.

 

We use that library in C# .Net and display the PDF to the user.

 

We have recently found an issue where if we add a lengthy text (over 2048
characters in single line) to PDFCell, the display seems to be all messed
up.

 

For example, let's say I have 2600 characters string with no line breaks.
Its displaying first 1024 and then appending characters from 2049 to 2600. 

 

Is this a bug in iText or any incompatibility between java and .Net?

 

Any help is greatly appreciated.

 

Thanks

 

Sreeram Gurram

Sr. Applications Developer

adpi-intermedix

16340 Park Ten Place Dr. Suite 325

Houston, TX 77084

Phone: Main (866) 398-8999 ext 4940

Phone: Direct (713) 559-4940

Fax (866) 579-8325

For more information on the services ADPI supplies please click here:
http://www.intermedix.com/adpi http://www.intermedix.com/adpi. 

 

This message and accompanying documents are covered by the Electronic
Communications Privacy Act, 18 U.S.C. 2510-2521, and contain information
intended for the specified individual(s) only. This information is
confidential and may be privileged. If you are not the intended recipient or
an agent responsible for delivering to the intended recipient, you are
hereby notified that you have received this document in error and that any
review, dissemination, copying, or the taking of any action based on the
contents of this information is strictly prohibited. If you have received
this communication in error, please notify us immediately by forwarding a
copy of this e-mail to  mailto:[EMAIL PROTECTED]
[EMAIL PROTECTED] and then delete the original message and
attachments.

 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

[iText-questions] How do I install iText on NetBeans?

2008-10-04 Thread Kirill Lassounski
Hello my name is Kirill.
I would like to use iText and I use NetBeans.
Could you guys explain me how to set up iText on NetBeans please ?
Thank you for your attention.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php


Re: [iText-questions] Concatenate two pdfs keeping user enabled feature

2008-10-04 Thread Leonard Rosenthol
  fail to understand how when I try to concatenate both files, rights  
are trashed.
 Maybe  is  it because the merged file is not considered to be the  
same so that rights are not applied?
 
That is 100% correct!   The rights are applied to a specific document  
(as determined by using a cryptographic hash function) and if that  
document changes IN ANY WAY (even just a single byte difference), then  
the rights are invalidated.

The only software that can be used on a server to reapply the rights  
after you break them is Adobe LiveCycle.

So either you need to rethink your design/architecture or get LC  
Reader Extensions approved...

Leonard


On Oct 3, 2008, at 4:37 AM, Ana Santos wrote:





 Leonard Rosenthol wrote:

 There is no way to maintain the rights.  You would need to use Adobe
 LiveCycle Reader Extensions Server to reenable the rights...

 Leonard


 My first pdf is created with adobe Livecycle and then I apply user  
 rights,
 later I use PdfStamper to add values from my database into form  
 fields.
 My second pdf is created solely with iText.

 I fail to understand how when I try to concatenate both files,  
 rights are
 trashed. Maybe  is  it because the merged file is not considered to  
 be the
 same so that rights are not applied?

 Is there any way to use PdfStamper to concatenate the two files ( I  
 can´t
 use Adobe LiveCycle Reader ES its a nono in my proyect) without  
 losing
 rights?

 Best regards,

 Ana Santos

 On Sep 29, 2008, at 5:05 AM, Ana Santos wrote:


 Hello,

 My situation is as follows. I have one pdf with user enabled rights
 (one XFA
 form that users can edit/save multiple times) and one pdf generated
 using
 iText. When I try to concatenate these files, the resulting file
 loses the
 user enabled rigths.

 I use PdfCopyFields to concatenate the pdfs.


 Any help will be welcomed!
 -- 
 View this message in context:
 http://www.nabble.com/Concatenate-two-pdfs-keeping-user-enabled-feature-tp19720450p19720450.html
 Sent from the iText - General mailing list archive at Nabble.com.


 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win
 great prizes
 Grand prize is a trip for two to an Open Source event anywhere in
 the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 iText-questions mailing list
 iText-questions@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/itext-questions

 Buy the iText book: http://www.1t3xt.com/docs/book.php



 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win  
 great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the
 world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 iText-questions mailing list
 iText-questions@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/itext-questions

 Buy the iText book: http://www.1t3xt.com/docs/book.php



 -- 
 View this message in context: 
 http://www.nabble.com/Concatenate-two-pdfs-keeping-user-enabled-feature-tp19720450p19793959.html
 Sent from the iText - General mailing list archive at Nabble.com.


 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's  
 challenge
 Build the coolest Linux based applications with Moblin SDK  win  
 great prizes
 Grand prize is a trip for two to an Open Source event anywhere in  
 the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 iText-questions mailing list
 iText-questions@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/itext-questions

 Buy the iText book: http://www.1t3xt.com/docs/book.php


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php