Ruskin Dantra wrote:
> So if I want the barcode to be of "font 34pt" is there an example which
> tells me what the value of the bar height and ink spreading will be?
> how do you figure those two variables out?
I knew that barcodes had dimension. I didn't know that barcodes
also had font sizes.
Chris,
I don't understand exaclty what your code does but... findind the real
position of an xobject is very complex.
I write "real positon" because a xobject can contain other xobjects and the
placement could be translated and rotated (see tranformation matrix).
So, AFAIK, understaning where an o
pmartin wrote:
> java.lang.SecurityException: class "com.lowagie.text.pdf.MultiColumnT
> ext"'s signer information does not match signer information of other classes
> in
> the same package
The last few jars that were released where signed with Bruno's
private CAcert key. You are getting this exc
chris glace wrote:
> I'm trying to find the position of an xobject in an existing pdf
> file.
> I'm wondering if there is a way to use stream.get(PdfName. . .
> to return the location of the object. The code I'm using is as follows.
I don't understand your code.
If you say you're looking for t
Thanks, Bruno. I got it. :)
Bruno Lowagie (iText) wrote:
>
> Sarah1 wrote:
>> Hi Bruno,
>>
>> Thanks. I did find your example before, but my code is different from
>> yours.
>> Please look at the following code. I want to create name1 field on page1,
>> name2 field on page2, but I found 2 name
I'm trying to find the position of an xobject in an existing pdf
file. I'm wondering if there is a way to use stream.get(PdfName. . .
to return the location of the object. The code I'm using is as follows.
for (int i = 1; i < reader.getXrefSize(); i++)
{
PdfObject pdfobj
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
pmartin wrote:
|
| java.lang.SecurityException: class "com.lowagie.text.pdf.MultiColumnT
| ext"'s signer information does not match signer information of other
classes in
| the same package
Please make sure you don't have several versions of the iText
I am having no problem in the PC development environment using the latest
iText 2.0.8 - but when I want to deploy the WebApp to our Unix environment I
get the following error. I have never had this kind of error on library
package before. I understand that someone different wrote this method -
So if I want the barcode to be of "font 34pt" is there an example which
tells me what the value of the bar height and ink spreading will be? how do
you figure those two variables out?
Regards,
Ruskin
On Thu, Feb 14, 2008 at 9:33 PM, Bruno Lowagie <[EMAIL PROTECTED]> wrote:
> Ruskin Dantra wrot
You are right. I remove it and it works.
-Henry
Howard Shank wrote:
> Henry,
>
> The strange character right before the name is caused by
>
> document.add(new RtfPageNumber());
>
> I do not know why at the moment, only that this line causes it and the page
> number does not display on the page.
You should really do some reading in the PDF Reference, but here's a
quicky (simplified!) explanation.
There are three parts to Optional Content (aka layer) in a PDF - the
actual definitions in each content stream, the document-level naming/
organization of the groups (OCG's) and the per-page
What are you seeing is the impact of newly placed transparency into a
PDF that had not previously contained it, when consideration isn't
given for the blending colorspace of the final output document.
You have an RGB document that upon adding transparency is forced into
CMYK due to lack of
Joe Gerew wrote:
>> I need to be able to extract the javascript code from an acrofield
>> item.
This question was already answered:
http://article.gmane.org/gmane.comp.java.lib.itext.general/35731
Instead of double posting the question,
please reply to the answer ans explain
what it is you don't
[EMAIL PROTECTED] wrote:
>
>
> Hi group,
>
> Following the sample code provided by iText in Action, I'm able to
> generate a table of contents page with all page numbers followed by
> section name. I'd like to ask if there is any way to right align page
> number.
One would expect that you wa
Thank you very much for your help! I'll look into and let you know.
-Henry
Howard Shank wrote:
> Henry,
>
> The strange character right before the name is caused by
>
> document.add(new RtfPageNumber());
>
> I do not know why at the moment, only that this line causes it and the page
> number doe
> I need to be able to extract the javascript code from an acrofield
> item. For example, if the onmouseover code is app.alert("Hello
> World"); then I would like to retrieve that code via Java. The
> javascript is placed in the field via Adobe Acrobat (not generating
> forms with iText..
Henry,
I would also like to point out that the file you sent was saved via Word and
not the file originally generated by iText.
Regards,
Howard
- Original Message
From: Henry Lu <[EMAIL PROTECTED]>
To: Post all your questions about iText here
Sent: Thursday, February 14, 2008 10:26:4
Henry,
The strange character right before the name is caused by
document.add(new RtfPageNumber());
I do not know why at the moment, only that this line causes it and the page
number does not display on the page.
Howard
- Original Message
From: Henry Lu <[EMAIL PROTECTED]>
To: Post al
> Hi group,
>
> Following the sample code provided by iText in Action, I'm able to
> generate a table of contents page with all page numbers followed by
> section name. I'd like to ask if there is any way to right align page
> number.
>
> Thanks a lot in advance.
>
> Best wishes,
> Mai Sun
---
MS word 2003
Howard Shank wrote:
> So, what are you using to read the file that shows the unexpected
> character(s)?
>
> Howard
>
> - Original Message
> From: Henry Lu <[EMAIL PROTECTED]>
> To: Post all your questions about iText here
>
> Sent: Thursday, February 14, 2008 10:14:30 AM
>
Bruno Lowagie (iText) wrote:
>
> chris123321 wrote:
>> --> i use PdfCopy
>
> Why?
> Switch from PdfCopy to PdfCopyFields and let us know
> if the problem persists.
> br,
> Bruno
>
The problem persists, i do the following:
private File combinePDFs(InputStream... pdfStreams) throws IOExcept
So, what are you using to read the file that shows the unexpected character(s)?
Howard
- Original Message
From: Henry Lu <[EMAIL PROTECTED]>
To: Post all your questions about iText here
Sent: Thursday, February 14, 2008 10:14:30 AM
Subject: Re: [iText-questions] rtf - strange character
Thank you for your quick response. Here is my code:
private int MARGIN_LEFT = 5;
private int MARGIN_RIGHT = 5;
private int MARGIN_TOP = 30;
private int MARGIN_BOTTOM = 30;
public String makeCv(String MCV_ID, // MCV_ID
String rec_id, // cv id
OutputSt
Henry,
Are you opening the RTF file with MS Office 2003 or some other reader
application?
Are you attempting to open the "text" of the RTF using a text editor?
What are the "First few line:" of your code?
Regards,
Howard
- Original Message
From: Henry Lu <[EMAIL PROTECTED]>
To: Post
There is a strange/special/unexpected character at the very beginning of
my rtf file if i have following code after first few line:
Table t1 = new Table(2, (table_contents.length-1) * 2);
// t.setBorder(Rectangle.NO_BORDER);
// t.setDefaultCellBorder(Rectangle.NO_BORD
Hi,
you would have to 'import' iText into your oracle DB first and then
create a java stored procedure encapsulating your functonality using iText.
You can then pass in your PDF documents as BLOBs i think.
Have a look at the samples at
http://www.oracle.com/technology/sample_code/tech/java/jsp/o
chris123321 wrote:
> --> i use PdfCopy
Why?
Switch from PdfCopy to PdfCopyFields and let us know
if the problem persists.
br,
Bruno
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studi
> I simply don't know where to look for the cause of the problem, our
> itext api code does not consider any tool tip manipulation and I am
> not an expert in designing the form with adobe creator or whatsoever.
Are you using PdfCopy? PdfCopyFields?
Some more info would be appreciated.
-->
>I am not certain how to do this. I would really like to pass in the existing
>PDFs to this procedure as blobs (to be used in PdfReader construction), but
>I don't know how. Has anyone else done this?
This seems like more of an Oracle / PLSQL question. If you succeed in
passing PDFs (or any binar
I'm creating an RTF file using the Table class. I want to create a cell that
has combined text and an image. Example 50% :)-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
ht
I'm having trouble iserting an image into a Table cell. Has anyone tried to do
this?
Thanks-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse01
When there's no answer:
1 - We didn't understand the question.
2 - We're too busy to answer.
3 - We've already answered.
4 - We don't have the time to explain a solution.
5 - We don't have the time to implement a solution (sometimes it's
easier than to explain).
6 - It's not currently our priority
hi all
sorry, but I repost this since there were no further answers...
in my case this would be quite clear: I'd like to have all layers that
appear in any source document copied to the target document (with the
same visibility settings).
if a la
Sarah1 wrote:
Hi Bruno,
Thanks. I did find your example before, but my code is different from yours.
Please look at the following code. I want to create name1 field on page1,
name2 field on page2, but I found 2 name1 fields on both pages, and on 2nd
page name1 and name2 fields are overlapped . C
philip wrote:
> Looking at the debug window I noticed that now the field names for the
> new PDF have a strange pattern like (notice the "þÿ" after each period
> and the spaces bettween characters):
>
> þÿ F [ 0 ].þÿ P 1 [ 0 ].þÿ c a n a d i a n _ p r o v i n c e s [ 0 ]
>
> instead of
> F[0].P
trishulpani wrote:
> Hi,
>
> Thanks for the reply. There's another set of api's by PDFBox.
> can that help?
PDFBox will allow you to convert some (not all) PDF files
to a txt file. I don't think it gives you the coordinates
of specific words (I don't know, you should ask somebody
at PDFBox). If
Ruskin Dantra wrote:
> Hi All,
> I am trying to display a barcode but with different font sizes. I have
> set the font on the barcode object to null as I don't want any text to
> appear although the actual size of the barcode should be changing as I
> am setting the font size on the pdfcontentb
Hi,
Thanks for the reply. There's another set of api's by PDFBox. can that help?
1T3XT info wrote:
>
> trishulpani wrote:
>> Hi,
>>
>> I have a requirement of adding an image to a pdf document based on the
>> presence /location of a word.
>>
>> Is this do-able using iText?
>
> If the word
38 matches
Mail list logo