bump.
can anyone help on this?
--- Woodchuck <[EMAIL PROTECTED]> wrote:
> Date: Wed, 12 Jan 2005 08:38:12 -0800 (PST)
> From: Woodchuck <[EMAIL PROTECTED]>
> Subject: iText: how to set document properties (from archive thread
> post)
> To: itext
>
> hihi all,
close();
in the end, i just want to be able to set the document property values
for things like title, author, subject, etc., so that they are seen
when right-clicking on the pdf file or viewing them from within Acrobat
reader (File/Document Properties).
any help is much appreciated! please and
hello,
i am creating a PDF as follows:
PdfReader reader = new PdfReader("certificate.pdf");
ByteArrayOutputStream baos = new
ByteArrayOutputStream();
PdfStamper stamp = new PdfStamper(reader, baos);
AcroFields form = stamp.getAcroFields();
form.setfield("field1","ABC");
stamp.setFormFlattening(t
For landscape mode you can do this:
Document myDoc = null;
myDoc = new Document(PageSize.LETTER.rotate(), 0, 0,
0, 0);
the rotate() function will make the document from
Portrait (default) mode to Landscape mode.
--- Daniel Rabe <[EMAIL PROTECTED]> wrote:
> Hi, is it possible to create a PDF do
Hi Paulo,
I am almost there! My final pdf file may consist of
multiple pages depending on how much data is retrieved
from the database. However, every page uses the same
blank certificate.
I think this is the correct code for handling one
page:
PdfReader reader = new PdfReader("certificate.p
o correct them:
>
> response.setHeader("Pragma", "public");
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
>
[mailto:[EMAIL PROTECTED]
> Behalf Of
> Woodchuck
> Sent: Thursday, June 03, 2004 1:21 PM
> To: itext
> Subject: Re: [iText-questions]
baos.writeTo(out);
> out.flush();
> ... catch block ...
>
> then
> return null; // in ActionForward execute()
>
> Best Regards.
> Michael.
>
>
> - Original Message -
> From: "Woodchuck" <[EMAIL PROTECTED]>
> To: <[EMAI
Hi all,
After I create my pdf file, the only thing I want the
user to be able to do is to print the pdf file (which
is opened from my website within a browser window).
Can this be achieved?
I have tried using the PdfWriter.setEncryption()
method, but when I specify PdfWriter.AllowPrinting it
als
hello all,
what i want:
- a certificate with database retrieved information
filled in, in the form of a pdf file generated on the
fly and opened into a modal browser window upon
request from my website
what i think i should do:
- if word document of blank certificate available,
convert this int
Hello,
I have tried many times tweaking different things but I keep getting a blank
page instead of the PDF file.
Does anyone know how to get iText working within the Struts framework? In my
Action class execute() function I do this:
- create the PDF file as a ByteArrayOutputStream
- flush th
Woodchuck yahoo.com> writes:
>
> I've followed the tutorial instructions and other
> instructions elsewhere but I'm always getting a blank
> page and yes, I am calling the
> response.setContentLength()..
>
nevermind, it finally worked when i added the
I've followed the tutorial instructions and other
instructions elsewhere but I'm always getting a blank
page and yes, I am calling the
response.setContentLength()..
Is there anything wrong or missing in my Action
class's execute():
public ActionForward execute(
ActionMapping m
12 matches
Mail list logo