Oh exactly! That's what I wanted!
Thanks a lot!
Best regards,
Rog
On 16.03.2010 14:05, 1T3XT info wrote:
> Roger Misteli wrote:
>
>> Hiyas
>>
>> I haven't found this on the mailing list, but Acrobat allows to add
>> multiple actions for, say,
Hiyas
I haven't found this on the mailing list, but Acrobat allows to add
multiple actions for, say, MouseEnter on a field. It allows to add
multiple scripts or other actions per trigger. Can this be done in iText
as well? If yes, is there maybe a small sample I could check out?
Best regards,
Hiyas
when iText creates a Font/BaseFont object, it contains a ton of
information, but, as it looks, not the style bits. I create a font like
this:
com.lowagie.text.Font font =
FontFactory.getFont(fontNameEntry.toString(), BaseFont.WINANSI,
BaseFont.NOT_EMBEDDED, Font.UNDEFINED, Font.UN
Hiyas
When I use a code like this:
Set fonts = FontFactory.getRegisteredFonts();
for (Object font : fonts) {
com.lowagie.text.Font fontInfo =
FontFactory.getFont(font.toString(), BaseFont.WINANSI,
BaseFont.NOT_EMBEDDED);
String familyname = fontInfo.getFa
>> Acrobat can open and verify the signature, but, below, mentions
>> "Annotations modified" with the whole list of annotations that exist in the
>> PDF.
Forgot to mention that: Acrobat 9.1.3 and iText 2.1.7
Best regards
Rog
--
Hiyas
For a special project, there is a requirement that a PDF file that can be
signed (or a certified document where a blank signature is being filled out and
signed) can be "tagged" on
a signature base level. What they want to do is creating their own appearances
(works perfectly) per signat
Hiyas
I have an Rtf Document and want to create a header with text chunks that are
assigned to tabs within a header.
Now.. my code creates a large Paragraph and wraps the RtfHeaderFooter around it
and sets that to the RtfHeaderFooter. So far so good. This all works perfect
until a paragraph
co
Hiyas
When I have a PDF that was signed, is it possible to read the appearance images
(SignatureGraphic and Image in PdfSignatureAppearance) back somehow so I can
display/extract them?
Also is it possible to read the Acro6Layers and Acro6Text/Acro4Text strings
back and the SignatureRender mode
e PKCS#7 signature - so you'll need to use
> the crypto-provider APIs.
>
> Leonard
>
> -Original Message-
> From: Roger Misteli [mailto:roger.mist...@abacus.ch]
> Sent: Wednesday, January 28, 2009 8:12 AM
> To: iText
> Subject: [iText-questions] Verify Timestamp
Hiyas
I have a PDF with a couple signatures. The signatures can or cannot be signed
with an external timestamp. The timestamping itself works flawlessy, but how
can I, when I open a PDF
again and get the certificates, extract the timestamp information again
(precisely: if there is an external
Hi
I'm trying to embed a font into a PDF that doesn't have any fonts embedded.
Using the demo sample DumpFontNames, I could get a list of the font names that
were missing. So far so
good. Now, to embed the font, Paulo wrote a little sample code
(http://thread.gmane.org/gmane.comp.java.lib.itex
ts regards,
Rog
Paulo Soares wrote:
> If you have fields you must use PdfCopyFields, PdfCopy won't work. Also
> remember to rename the fields before adding the doc.
>
> Paulo
>
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTE
Hi Paulo
> - create a new pdf using PdfContentByte, close it and add it to PdfCopy
> - add the existing docs to PdfCopy
> - repeat the above steps
I know that way, but since the engine uses PdfWriter, I thought there might be
a way with PdfWriter..
> Using PdfWriter:
> - create the pages with
Hiyas
I have a report that should consist of a sequence of a few pages that I create
using PdfContentByte and then a few pages that I need to import from another
Pdf document. So
basically, I want to have a PDF where pages 1 to 4 are created using
PdfContentByte, then Pages 5 to 7 are imported
Thanks.. but in what unit are they returned? ColumnText.getWidth() doesn't
state any unit..
Paulo Soares wrote:
> BaseFont.getWidthPoint() or ColumnText.getWidth().
>
> Paulo
>
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAI
Hiyas
How can I determine the width of a given String using a specific either
com.lowagie.text.Font or com.lowagie.text.BaseFont? Is this possible?
Basically, all I want is to determine
the width if a specific string using a specific font..
Best regards,
Rog
--
* The best is the enemy
Hiyas
Small question. In TIFFConstants I found a variety of differnet constants for
TIF compression. From what I can see, about half of them are actually
supported in TiffImage. Are the other non supported compression formats just
here for clarity or did I miss something?
Best regards,
Rog
-
Ah hit me.. That example actually gave me the idea of what I wanted to do.. I
should have browsed longer.. sorry :-)
Thanks
Rog
Bruno Lowagie (iText) wrote:
> Roger Misteli wrote:
>> Hiyas
>>
>> Is it possible to create a PdfTemplate, add it to a PdfContentByte, close
Hiyas
Is it possible to create a PdfTemplate, add it to a PdfContentByte, close the
file, open the file again and then finding and finally filling the
PdfTemplate?
Background: We create multiple really large PDF files which may have content
that isn't ready yet. So, with just one PDF, I can us
This doesn't really say anything about your problem. Is the URL pointing to a
local system or to a remote host? How fast is the connection itself? Are
there any Firewalls in between that might slow down traffic? How large are the
images? What types of images are they anyway? Etc. etc..
Your ques
> dissapointed at how hard it is to save a PDF as an image... :(
Save a page from a Word document as image.. you will be even more disappointed
:-)
> JPedal <- for some reason it insists on producing an image which is 1:1
> ratio in pixels for each point, so I can't use it because the result i
Not with iText. You need a renderer for that.
JPedal can do this (www.jpedal.org), other renderer libraries probably as well,
but as far as I remember, there are only two that have an open source
license: JPedal (GPL) and Mutivalent (http://multivalent.sourceforge.net), I
didn't have a look at M
imizing my code!
Thanks a lot!
Rog
Bruno Lowagie (iText) wrote:
> Roger Misteli wrote:
>> Hiyas
>>
>> I have a document with, say, 2000 pages and on each page is a little image.
>> The image is the same over all the 2000 pages. Now, if I simply add the
>>
Hiyas
I have a document with, say, 2000 pages and on each page is a little image. The
image is the same over all the 2000 pages. Now, if I simply add the
picture to the document using PdfContentByte and addImage() I get the desired
result, but the same image is written 2000 times and blows up t
n just axe
> the XFA.
>
> Paulo
>
>
>
> De: [EMAIL PROTECTED] em nome de Roger Misteli
> Enviada: qua 01-Nov-06 17:00
> Para: Post all your questions about iText here
> Assunto: Re: [iText-questions] Signaturefields in Acrobat not visible?
wrote:
> Designer doesn't allow invisible signatures, that's an Adobe
> restriction not iText's.
>
> Paulo
>
>
>
> De: [EMAIL PROTECTED] em nome de Roger
> Misteli
> Enviada: qua 01-Nov-06 16:48
> Para: Post all
ng a new
> signature I don't know if it's currently feasible in iText, mainly
> because of the XFA layout issues.
>
> Paulo
>
>
>
> De: [EMAIL PROTECTED] em nome de Roger
> Misteli
> Enviada: qua 01-Nov-06 09:25
> Para: Pos
re. By the way, Designer doesn't allow invisible
> signatures.
>
> Paulo
>
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On
>> Behalf Of Roger Misteli
>> Sent: Tuesday, October 31, 2006 12:52 PM
>> To: Post
; do an extra check.
>
> Paulo
>
> - Original Message -
> From: "Roger Misteli" <[EMAIL PROTECTED]>
> To: "Post all your questions about iText here"
>
> Sent: Wednesday, October 25, 2006 5:01 PM
> Subject: [iText-questions] Invalid col
4 had the Helvetica font to display and you
> could even use them to create a PDF with Helvetica embedded (license
> issues aside). None of the PDFs have embedded fonts.
>
> Paulo
>
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTE
Hiyas
If I have this snippet:
byte[] buffer =
PdfStream xmp = new PdfStream(buffer);
xmp.put(PdfName.TYPE, PdfName.METADATA);
xmp.put(PdfName.SUBTYPE, new PdfName("XML"));
PdfReader reader = new PdfReader(pdfBytes);
ByteArrayOutputStream
iText is an engine, not a viewer.
There are viewer components from other companies, such as JPedal, Big Faceless,
Ice and also some GLP versions. I can't speak for all of them, but in
our company, we tried out the one from Ice Soft, JPedal, two GPL'ed versions I
forgot again, the longretired Acr
Totally offtopic, but this sample PDF is a classic!! I never saw that example
string that much alive.. Congrats.. Funny :-)
Bruno Lowagie (iText) wrote:
> jerry wrote:
>> Hi,
>>
>> Can u please give me a sample
>
> See attachment.
> br,
> Bruno
>
>
> --
>
> ----- Original Message
> From: Roger Misteli <[EMAIL PROTECTED]>
> To: Post all your questions about iText here
>
> Sent: Monday, October 2, 2006 11:00:15 AM
> Subject: Re: [iText-questions] RTF insert excel (or other file) embeded
>
> Embedding a file is
Embedding a file is relatively easy, but I don't understand what you mean with
"exactly like word documents". Do you want to embed the files as OLE
links? As far as I know, this is not possible with iText nor with PDF actually.
public void embedFile(File file, int pX, int pY, String title, St
Hiyas
I have a PDF which has two textfields with the same name. Is it possible to
write different value into each of the fields using PdfSTamper/AcroFields?
In AcroFields I only saw setField(String name, String value), resp.
setField(String name, String value, String display) to fill a field. B
Uhm.. could it be that you COMPILED it using iText but you did not RUN it with
iText? In other words, iText was in the classpath for the compiling
process, but when you java mysample, you did not add the iText jar to the
classpath?
Rog
Noe Rocha wrote:
> hi
> i was compiling this in a Linux e
PDF itself, but
when you print it (or display it) you need memory to display that image. If you
need to print the document, you need to transfer the data to the
printer, etc. It really depends on your document.
Best regards,
Rog
tib wrote:
> Roger Misteli abacus.ch> writes:
>
>>
Depends on the printer model you have. Very low end models like hplj1200 or
1300 have very limited memory and very limited processing power. The
printer does not support the full PCL 5 or 6 standard and the printer driver on
the client machine is used to basically create bitmaps from the
missin
new int[] { color.getRed(),
color.getGreen(), color.getBlue() });
d.put(PdfName.BG, f);
}
}
}
}
finally {
stamp.close();
}
}
finally {
fos.close();
}
}
finally {
reader.close();
}
}
ppearanceStates, but the PDF doesn't get filled with the values.
Could it be that radio values and lists/combos need special care that I forgot
to set or so?
Best regards,
Rog
/*
* Roger Misteli - ABACUS Research AG
* Just because the system gives you
ntrib? I don't think its in the normal Jars, is it?
Where could I find that code?
Best regards & Thanks
Rog
/*
* Roger Misteli - ABACUS Research AG
* Just because the system gives you a cliff doesn't mean you have to jump off
it!
*/
--
content accordingly?
I only found
AcroFields.setField()
using single values, but nothing to set multiple values. setListOption() only
sets the displayed value according to the
docs, not the values itself.
Does anyone know?
Best regards
Rog
/*
* Roger Misteli - ABACUS Research AG
*
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
/*
* Roger Misteli - ABACUS Research AG
* The trouble with troubleshooting is that trouble sometimes shoots back!
*/
---
Hiyas
In a previous life, I added my XMP metadata using this:
byte[] xmpBuffer = getXMLDocumentAsByteArray();
PdfStream xmp = new PdfStream(xmpBuffer);
xmp.put(PdfName.TYPE, PdfName.METADATA);
xmp.put(PdfName.SUBTYPE, new PdfName("XML"));
PdfIndirectReference ref = w
Hiyas
Is it possible to have metadata per field and page in a PDF? I would
need this to attach search data to a field, so that I will find the
field AND its position again. This can, naturally change, per page. Is
something like this possible in PDF and using iText?
Best regards,
Roger Misteli
Hi
My applicatioon would like to have access (reading and writing) to Adobe
Acrobat's "Custom Properties" (that is, "Document Properties -> Custom
tab -> Custom properties"). It looks like a hash map with key value
pairs.
Is it possible to read/write to and from these values? And to iterate
them
--
> This SF.net email is sponsored by Demarc:
> A global provider of Threat Management Solutions.
> Download our HomeAdmin security software for free today!
> http://www.demarc.com/Info/Sentarus/hamr30
> ___
> iText-q
utions.
> Download our HomeAdmin security software for free today!
> http://www.demarc.com/Info/Sentarus/hamr30
> ___
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
/*
* Roger Mi
, "",
"subreport_" + embeddedFileCounter + ".pdf");
writer.addAnnotation(annot);
}
is it possible to set the author, subject and description fields that
appear in Acrobat when I riught click on an attachment and select
Properties (on the General tab) u
(the huge PDF has exactly one
page after everything is written).
Shouldn't newPage() on the PdfWriter create a new page that I can fill
when the next record is found or am I doing something wrong here?
Thanks
Rog
/*
* Roger Misteli - ABACUS Research AG
* email: [EMAIL PROTECTED]
* Klingon
cannot be read anymore. I'm quiet sure that this once
worked though. Or do I have to set something else additionally to that
that I forgot? I do not set any PDF version tag, for example?
Best regards and thanks
Roger Misteli
---
The SF.Net ema
Hiyas
I didn't find this, but is it possible to load a pdf with acrofields,
set all form values but export only a single page of the whole document?
I have a 4 page PDF with AcroFields in there, I want to completely fill
them and write each page as a singlee page to the file system. The
single pag
Hiyas
I didn't find this, but is it possible to load a pdf with acrofields,
set all form values but export only a single page of the whole document?
I have a 4 page PDF with AcroFields in there, I want to completely fill
them and write each page as a singlee page to the file system. The
single pag
r which products truly live up to the hype. Start reading now.
> http://productguide.itmanagersjournal.com/
> ___
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lis
Hiyas
Is it possible that I create a rectangle with text inside that is
clipped to this rectangle, so that everything that would be rendered
outside this rectangle is, well..clipped?
Regards,
Rog
---
This SF.net email is sponsored by: IT Prod
Nevermind, I found the problem. It all works now :-)
---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn m
Hiyas
I can currently write XML metadata to the PDF and its stored nicely.
However, the Adobe XMP specification requires a specific location to
write the XMP data to. Does anyone know how I can write it to the level
required? This here is from the specification, maybe that helps:
PDF
For PDF file
PdfActios compressed
too?
Thanks
Roger Misteli
/*
* Roger Misteli - ABACUS Research AG
* email: [EMAIL PROTECTED] (PGP key available)
* "If you think the problem is bad now, just wait until we've solved it."
*/
---
This
re to look at?
Thanks in advance and regards,
Roger Misteli
---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the
60 matches
Mail list logo