[iText-questions] Re: StackOverflowError in TreeViewPDF

2006-04-19 Thread Carsten Hammer

Hi Matthew,
you could comment out line 131 of Pagetreenode.java like this:

PdfArray dict = (PdfArray) 
PdfReader.getPdfObject(page.get(PdfName.ANNOTS));

if (dict != null) {
  this.add(new SimpletextTreeNode(PdfName.ANNOTS + " " + 
dict.length()));
  SimpletextTreeNode sttn = new SimpletextTreeNode(PdfName.ANNOTS + 
" " +

 dict.type());
 this.add(sttn);
// pageanalyzer.iterateObjects(dict, pdfreader, sttn); <--- here

}

But then you loose the annotation tree. There is a lot of room for 
improvements.

Best regards,
Carsten


Matthew L Daniel schrieb:

Based on the f1040.pdf available from
http://www.irs.gov/pub/irs-pdf/f1040.pdf

=== Pdf Analysis OPENED ===
Exception in thread "Thread-4" java.lang.StackOverflowError
at java.util.Vector.insertElementAt(Unknown Source)
at javax.swing.tree.DefaultMutableTreeNode.insert(Unknown Source)
at javax.swing.tree.DefaultMutableTreeNode.add(Unknown Source)
at com.lowagie.tools.plugins.treeview.AnalyzePDF.iterateObjects(Unknown 
Source)
at com.lowagie.tools.plugins.treeview.AnalyzePDF.iterateObjects(Unknown 
Source)
   (repeats forever)


Interestingly enough, the InspectPDF opens it fine.

  Just FYI,
  -- /v\atthew



---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642




---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] Need phrase in Arabic, any Baltic, any Central European, Thai, & Turkish

2006-04-19 Thread David Thielen
Hi;
 
If anyone can do this please, could you give me the phrase "Windward Reports
can process ***" replacing *** with your language in:
Turkish
Thai
Arabic
Any baltic alpahbet
Any central european alphabet
 
This will go on  
http://www.windwardreports.com/languages.htm
 
thanks - dave
 
ps - I tried one of the translation programs but for Japanese it translated
as "Windward Reports can process Japanese people" - not exactly what we are
looking for .

 

thanks - dave

 

 

David Thielen

www.windwardreports.com

303-499-2544

 




---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] Question PdfContentByte

2006-04-19 Thread Paulo Soares

Is there a question here?

(Qual é a pergunta?)

Paulo

- Original Message - 
From: "marvit" <[EMAIL PROTECTED]>

To: 
Sent: Wednesday, April 19, 2006 8:17 PM
Subject: [iText-questions] Question PdfContentByte


Bruno,

   How position the rectangule, i obtain position text, but rectangule no,
below code.

PdfContentByte cb;
cb = writer.DirectContent;
cb1.RoundRectangle(0, 0, 284, 120,10);
cb1.Stroke();

Thanks

Marcio Martins







---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] Question PdfContentByte

2006-04-19 Thread marvit
Bruno, 

How position the rectangule, i obtain position text, but rectangule no, 
below code. 

PdfContentByte cb; 
cb = writer.DirectContent; 
cb1.RoundRectangle(0, 0, 284, 120,10);   
cb1.Stroke();

Thanks 

Marcio Martins 






[iText-questions] StackOverflowError in TreeViewPDF

2006-04-19 Thread Matthew L Daniel

Based on the f1040.pdf available from
http://www.irs.gov/pub/irs-pdf/f1040.pdf

=== Pdf Analysis OPENED ===
Exception in thread "Thread-4" java.lang.StackOverflowError
at java.util.Vector.insertElementAt(Unknown Source)
at javax.swing.tree.DefaultMutableTreeNode.insert(Unknown Source)
at javax.swing.tree.DefaultMutableTreeNode.add(Unknown Source)
at com.lowagie.tools.plugins.treeview.AnalyzePDF.iterateObjects(Unknown 
Source)
at com.lowagie.tools.plugins.treeview.AnalyzePDF.iterateObjects(Unknown 
Source)
   (repeats forever)


Interestingly enough, the InspectPDF opens it fine.

  Just FYI,
  -- /v\atthew



---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] Need linux/itext consultant for 4 - 8 hours of work

2006-04-19 Thread David Thielen
Hi;

 

I need someone who can write up a knowledgebase article for us on each of
the following topics:

1.  Installing Windward Reports on Linux (should be trivial).
2.  Adding fonts to Linux - where to buy them, how to install them, how
to test that they are installed correctly.
3.  Running Windward Reports in headless mode.

 

The optimum way to do this is to write up how to do it and have a video of
the actions being done. If that is not easily done, lots of screenshots in
the article showing each step.

 

If you are interested & available, please email me.

 

Thanks - dave

 

 

David Thielen

www.windwardreports.com

303-499-2544

 




---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] pdf concate

2006-04-19 Thread bruno

Markus Neustaedter wrote:


Hello!
We want to concate two pdf documents.
 


OK.


We use itext and its working fine but the problem is that we don't want that
the new pdf document will start at a new side.
 


You mean that you don't want the second PDF to start on a new page.


We need the second pdf document directly after the first one without any space.
 


So if there is space left on the last page of the first document,
you want to start the first page of the second document there.


Is this possible with iText?


What you ask is a tool that is able to extract the content of a PDF
and create a complete new layout; that's not possible with iText.
It's not recommended for PDF files in general.
br,
Bruno


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] pdf concate

2006-04-19 Thread Markus Neustaedter




Hello!
We want to concate two pdf documents.

We use itext and its working fine but the problem is that we don't want that
the new pdf document will start at a new side.
We need the second pdf document directly after the first one without any space.
Is this possible with iText?

Thank you



---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] Re: Keep the real size of an image when it is inserted in a PDF Document.

2006-04-19 Thread Jorge Albalate Lopez
bruno  lowagie.com> writes:

> 
> Still you haven't convinced me that your Adobe Reader doesn't shrink the 
> image.
> br,
> Bruno
> 
> ---
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> 

All right, 
but then, I can't do anything else.
Making examples, I have found that passing 25.5f as parameter of the method 
scalePercent(), the image keeps the real size.

Thank you very much for your time.




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions