Re: [iText-questions] Control page breaks for images and tables

2010-02-05 Thread 1T3XT info
Frank Stephan wrote:
> Hi,
> 
> I don't understand how to implement page break control with iText for images
> or tables. I read the chapters in the book and I understand how to do this
> for text content. Is there an example anywhere like the one in the book
> (with go(false);), when the content of the columntext is a table.

I'm not sure if I understand the problem, but there will be such an 
example in the second edition:
http://itextpdf.com/examples/index.php?page=example&id=91

-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
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
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] Does anyone know if iText with BouncyCastle requires Java 1.5 ?

2010-02-05 Thread 1T3XT info
Adam Mork wrote:
> Getting this error:
> 
> java.lang.UnsupportedClassVersionError: 
> org/bouncycastle/asn1/DEREncodable (Unsupported major.minor version 49.0)

You're not telling us which version of iText and which version of BC 
you're using.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
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
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] MERGING PDF..but also the other content

2010-02-05 Thread 1T3XT info
algo...@hotmail.fr wrote:
> To my horror, I realised that annotations (comments, page attachment) 
> are not copied.

Why the horror? This behavior (and the reason why it happens) is very 
well documented in chapter 2 of the first edition of "iText in Action".

> Also, I had some forms...and all the form fields and content is lost 
> using this method.

If you want to keep the fields, you need PdfCopyFields instead of PdfCopy.

> Is there a simple way to
> a) get all the annotations from an existing page
> b) copy all that to the destination page

Yes, you have access to the page, resource, annotation dictionaries. See 
for instance chapter 18 of the first edition of "iText in Action".
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
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
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


[iText-questions] Control page breaks for images and tables

2010-02-05 Thread Frank Stephan
Hi,

I don't understand how to implement page break control with iText for images
or tables. I read the chapters in the book and I understand how to do this
for text content. Is there an example anywhere like the one in the book
(with go(false);), when the content of the columntext is a table.

TIA
Frank


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
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
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] Conversion of Excel !

2010-02-05 Thread Daniel Essin
primoPdf is free. With a little Windows API programming you could even 
"remote control" it.

On 2/5/2010 12:55 AM, John Renfrew wrote:
> Surely this is a task for an Acrobat writer (printer driver). Paid or 'free'
>
> Adobe make a nice one.
> If you search on the 'internet' thingy you may also find some others.
> You can even do it online.
>
> Weird question.
>
>
>
>
> john renfrew
> Right Way Up
> Office  +44 1675 475341
>
> -Original Message-
> From: 1T3XT info [mailto:i...@1t3xt.info]
> Sent: 05 February 2010 07:07
> To: Post all your questions about iText here
> Subject: Re: [iText-questions] Conversion of Excel !
>
> Ashwath Krishna wrote:
>
>> Exactly !! That IS my requirement. I want an exact photocopy of my excel
>>  
> in a
>
>> pdf file. Regardless of what data i have in my Excel.
>>  
> That's a project on its own. You're developing a new product!
> There's no "out-of-the-box" solution for this.
>

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
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
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] Does anyone know if iText with BouncyCastlerequires Java 1.5 ?

2010-02-05 Thread Mathieu Fortin
This probably means you are running bouncycastle for java 1.5 in a 1.4 jvm. 


Notarius Inc. 
700-1080 Côte du Beaver Hall 
Montréal, Québec, H2Z 1S8 

Avis de confidentialité / Confidentiality Notice 

Notarius Inc. - Certifié ISO 9001 : 2000 
Centre de certification du Québec - Certifié ISO 27001 : 2005 






De : Adam Mork 
À : itext-questions@lists.sourceforge.net 
Envoyé : Fri Feb 05 16:28:57 2010
Objet : [iText-questions] Does anyone know if iText with BouncyCastlerequires 
Java 1.5 ? 


Getting this error:

java.lang.UnsupportedClassVersionError: org/bouncycastle/asn1/DEREncodable 
(Unsupported major.minor version 49.0)

 

Thanks.

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com___
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
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

[iText-questions] Does anyone know if iText with BouncyCastle requires Java 1.5 ?

2010-02-05 Thread Adam Mork
Getting this error:
java.lang.UnsupportedClassVersionError: org/bouncycastle/asn1/DEREncodable 
(Unsupported major.minor version 49.0)

Thanks.
--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com___
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
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

[iText-questions] MERGING PDF..but also the other content

2010-02-05 Thread algotek
Hello, I'm using itextSharp, from VB.NET

I had some code to merge two pdf files.

I was using instructions such as

cb = writer.DirectContent
page = writer.GetImportedPage(reader, i)
cb.AddTemplate(page, 1, 0, 0, 1, 0, 0)

to access an exiting page, and create new ones.

Works fine...execpt that

To my horror, I realised that annotations (comments, page attachment) 
are not copied.
Also, I had some forms...and all the form fields and content is lost 
using this method.

Is there a simple way to
a) get all the annotations from an existing page
b) copy all that to the destination page

Any suggestions ? Thanks a lot.



--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
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
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] Does not get an image from a servelt

2010-02-05 Thread 1T3XT info
Mike Marchywka wrote:
> Having not looked at the source or your error handling approach,
> I finally decided this could be something you "emit" ( for lack of
> a more precise word) from some where in itext to wherever
> the OP can paste text. I take it you are not aware of any such possiblity.

The OP should explain if and where he uses java.awt.Frame,
or java.awt in general. There is no need for using Frame
in iText; except if the OP uses PdfGraphics2D, but IIRC,
he doesn't, or if he uses iText RUPS (which is totally
out of the context here).

The question "Does this means that com.lowagie.text.Image.getInstance()
can not handle awt frames?" is very strange. Where does it come from?
What does that question mean? What is the OP trying to achieve?
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
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
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] Does not get an image from a servelt

2010-02-05 Thread Mike Marchywka











> Date: Fri, 5 Feb 2010 18:11:33 +0100
> From: i...@1t3xt.info
> To: itext-questions@lists.sourceforge.net
> Subject: Re: [iText-questions] Does not get an image from a servelt
>
> Donald Jayawardena wrote:
>> Mike Marchywka  hotmail.com> writes:
>>
>>> The statement
>> com.lowagie.text.Image iRiskNo = com.lowagie.text.Image.getInstance
>> ("http://localhost:8080/createjpg/createjpg";);
>> gives an error as follows:
>>
>> SEVERE: owner frame is a java.awt.Frame
>>
>> The creatrejpg servlet returns an image of awt frame.
>> Does this means that com.lowagie.text.Image.getInstance() can not handle awt
>> frames?
>
> ???
> What do you mean by this question? The more mails you send the less
> people understand what you're talking about. If you want an answer,
> you'll have to stop confusing us, and start giving us information about
> the problem that makes sense.

Having not looked at the source or your error handling approach,
I finally decided this could be something you "emit" ( for lack of
a more precise word) from some where in itext to wherever
the OP can paste text. I take it you are not aware of any such possiblity.
Maybe you could just say that much or explain where this error comes from itext 
:)

The consensus seems to be, judging from a few comment and much silience,
no one knows where this message comes from but the servlet engine may 
be a reasonable candidate. I had earlier speculated that someone could
have turned an IO exception into an attempt to popup a dialog box
in the server  JVM with no gui. IIRC, it was claimed that this worked
in standalone or some other test environment. OP may have created error
handler based on immediate human feedback- "chernobyl effect" I mentioned
earlier was the process of turning a simple problem into a much larger one
through a series of questionable responses to each exceptional event. 


> --
> This answer is provided by 1T3XT BVBA
> http://www.1t3xt.com/ - http://www.1t3xt.info
>
> --
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com
> ___
> 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
> Check the site with examples before you ask questions: 
> http://www.1t3xt.info/examples/
> You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
  
_
Hotmail: Free, trusted and rich email service.
http://clk.atdmt.com/GBL/go/201469228/direct/01/
--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
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
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] PDF Packages

2010-02-05 Thread 1T3XT info
algo...@hotmail.fr wrote:
> How can I detect that a pdf is a package, and enumerate the different 
> packages ?

Check the PDF Reference and "Climb the tree".
("Climb the tree" is the title of a section in
the "iText in Action" book.)
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
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
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] Does not get an image from a servelt

2010-02-05 Thread 1T3XT info
Donald Jayawardena wrote:
> Mike Marchywka  hotmail.com> writes:
> 
>> The statement
> com.lowagie.text.Image iRiskNo = com.lowagie.text.Image.getInstance
> ("http://localhost:8080/createjpg/createjpg";);
>  gives an error as follows:
> 
> SEVERE: owner frame is a java.awt.Frame
> 
> The creatrejpg servlet returns an image of awt frame.
> Does this means that com.lowagie.text.Image.getInstance() can not handle awt 
> frames?

???
What do you mean by this question? The more mails you send the less 
people understand what you're talking about. If you want an answer, 
you'll have to stop confusing us, and start giving us information about 
the problem that makes sense.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
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
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] Error while watermark pdf file

2010-02-05 Thread 1T3XT info
Rahul Soni wrote:
> Hello All,
>  
> I have one problem in putting watermark in the pdf file using iText. I 
> have done that by creating the table which contains the text for 
> watermark. but i dont know due to some reason i am not able to put the 
> watermark pragmatically in some pdf files. I am dynamically generating 
> watermarked pdf files from the original one reading the watermark text 
> from the database using servlet. Some pdf files works fine with my 
> servlet while others not giving me the error like "Expected a dict 
> Object" or "Error reading document(14)" while i open the pdf file. I 
> have also checked this pdf files with the stand-along java program with 
> same logic of stamp it also gives me same error.

This is a "statement", not a question.
Nobody can answer, because you're not giving us anything to examine.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
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
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


[iText-questions] PDF Packages

2010-02-05 Thread algotek
How can I detect that a pdf is a package, and enumerate the different 
packages ?


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
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
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] Conversion of Excel !

2010-02-05 Thread Cameron Laird
On Thu, Feb 4, 2010 at 10:24 PM, Ashwath Krishna <
ashwath.krishna.iyen...@oracle.com> wrote:

>
> Exactly !! That IS my requirement. I want an exact photocopy of my excel in
> a
> pdf file. Regardless of what data i have in my Excel.
>
> And by the way , i would like to do it using iText . The reason being this
> is part of an application developed using Java..
>
>
>...
>

On a paid basis, several of us can help you meet what you've presented as
your requirements.  We can even come up with a solution that involves iText,
if you insist.  In a technical sense, though, your project is outside the
 scope of the iText mailing list, as a couple of others have already
expressed.
--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com___
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
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Re: [iText-questions] Extracting specific layers from a pdf

2010-02-05 Thread Leonard Rosenthol
It's possible with iText, but you'll need to use some of the lower level APIs 
for direct object access and the new content stream parsers.  

-Original Message-
From: Thomas Gelzhaeuser [mailto:tho...@gelzhaeuser.de] 
Sent: Friday, February 05, 2010 5:38 AM
To: itext-questions
Subject: [iText-questions] Extracting specific layers from a pdf

Hi all.

I need to find a solution for the following problem:

I have a multi layered pdf, where only a selection of layers (ocgs) is
set to visible. I need to create a new pdf from that, which only
contains the visible layers all merged into the background layer. The
invisible layers have to be removed from the file.

Is this possible with itext? Does anyone here have an idea which
toolkit can help me with this?

Thanks a lot.

Thomas.

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
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
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
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
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] flattening problems/errors?

2010-02-05 Thread Leonard Rosenthol
Adobe LiveCycle Forms Server.

It’s an XFA-based form and at this time only Adobe’s LiveCycle product is able 
to flatten such forms.

From: Francisco Philip [mailto:fphi...@houseware.es]
Sent: Friday, February 05, 2010 5:37 AM
To: itext-questions@lists.sourceforge.net
Subject: [iText-questions] flattening problems/errors?

Hello, anyabody can tell me how I do to flatten this pdf? I cant undestand why 
not
Thanks in advance

--
Francisco Philip
(+34) 679 394 027
--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com___
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
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

[iText-questions] Extracting specific layers from a pdf

2010-02-05 Thread Thomas Gelzhaeuser
Hi all.

I need to find a solution for the following problem:

I have a multi layered pdf, where only a selection of layers (ocgs) is
set to visible. I need to create a new pdf from that, which only
contains the visible layers all merged into the background layer. The
invisible layers have to be removed from the file.

Is this possible with itext? Does anyone here have an idea which
toolkit can help me with this?

Thanks a lot.

Thomas.

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
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
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


Re: [iText-questions] Does not get an image from a servelt

2010-02-05 Thread Donald Jayawardena
Mike Marchywka  hotmail.com> writes:

> The statement
com.lowagie.text.Image iRiskNo = com.lowagie.text.Image.getInstance
("http://localhost:8080/createjpg/createjpg";);
 gives an error as follows:

SEVERE: owner frame is a java.awt.Frame

The creatrejpg servlet returns an image of awt frame.
Does this means that com.lowagie.text.Image.getInstance() can not handle awt 
frames?

Thanks,

Donald J



--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
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
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


[iText-questions] Conversion of Excel !

2010-02-05 Thread John Renfrew
Surely this is a task for an Acrobat writer (printer driver). Paid or 'free'

Adobe make a nice one.
If you search on the 'internet' thingy you may also find some others.
You can even do it online.

Weird question.




john renfrew 
Right Way Up 
Office  +44 1675 475341 

-Original Message-
From: 1T3XT info [mailto:i...@1t3xt.info] 
Sent: 05 February 2010 07:07
To: Post all your questions about iText here
Subject: Re: [iText-questions] Conversion of Excel !

Ashwath Krishna wrote:
> Exactly !! That IS my requirement. I want an exact photocopy of my excel
in a
> pdf file. Regardless of what data i have in my Excel.

That's a project on its own. You're developing a new product!
There's no "out-of-the-box" solution for this.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the
business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
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
Check the site with examples before you ask questions:
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
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
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


[iText-questions] Error while watermark pdf file

2010-02-05 Thread Rahul Soni
Hello All,

I have one problem in putting watermark in the pdf file using iText. I have 
done that by creating the table which contains the text for watermark. but i 
dont know due to some reason i am not able to put the watermark pragmatically 
in some pdf files. I am dynamically generating watermarked pdf files from the 
original one reading the watermark text from the database using servlet. Some 
pdf files works fine with my servlet while others not giving me the error like 
"Expected a dict Object" or "Error reading document(14)" while i open the pdf 
file. I have also checked this pdf files with the stand-along java program with 
same logic of stamp it also gives me same error.

Thanks and Regards,
Rahul Soni/


  The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. 
http://in.yahoo.com/--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com___
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
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/