Hi
I am trying to create pdf's with transparency created with the following
code:
Graphics2D result = (Graphics2D)graphics.create();
AlphaComposite composite =
alphaComposite.getInstance(AlphaComposite.SRC_OVER,
model.getTransparency());
result.setComposite(composite);
where model.getTranspar
Reading the javadoc for PdfStamper.setMoreInfo() would have helped. To
remove a key:
HashMap info = (HashMap)reader.getInfo();
info.put("CreationDate", null);
info.put("ModDate", null);
info.put("Author", "Bruno Lowagie");
stamp.setMoreInfo(info);
Paulo
- Original Message -
From: "Davi
This is a problem that sooner or later will have to be addressed. Currently
the whole image is stored in a byte array that is stored in Image. It's not
terribly difficult to support a temp file but the big question is when to
delete it. Web servers may also have problems with temp files. I'll th
I am generating a PDF from a Xml file using iTextsharp.
1) is not working. The pdf is generated on
Portrait layout.
Any ideia ?
2) Is it possible define one Portrait page and another Landscape using Xml
to Pdf solution ?
Something like:
...
...
...
...
3) Can I define Header & Footer to
Hmmm...
I am surprised that you aren't getting flagged for the need to have
an OutputIntent present.
Leonard
On Mar 13, 2007, at 5:25 PM, Seung Hyun Park wrote:
> Leonard Rosenthol pdfsages.com> writes:
>
>>
>> On Mar 12, 2007, at 9:43 AM, SeungHyun Park wrote:
>>> I have started my project
Leonard Rosenthol pdfsages.com> writes:
>
> On Mar 12, 2007, at 9:43 AM, SeungHyun Park wrote:
> > I have started my project right now.
> >
> > I have no idea about color problem. I do not also know whether
> > color problem can be fixed by iText.
> >
>
> Color can NOT be corrected by i
I want to be able to process a large tiff image (50 M). The processing steps
include retrieving the number of pages and split out page by page into PDF.
The problem is that I see ByteArrayOutputStream is used in many places,
including the RandomAccessFileOrArray class. This resulted in out of
Bruno,
I took your AddWaterMarkPageNumbers.java and stripped it down. It still
produces a PDF with CreationDate and ModDate, even though I removed them
from the reader info dictionary. Here's the code.
David
PdfReader reader = new PdfReader(args[0]);
int n = reader.getNu
[EMAIL PROTECTED] wrote:
> can you please explain me further. In my case, users create Letter templates
> using TinyMCE editor. the output of the editor is a letter body(html text ) .
> I get the letter head logo, salutation , addresses etc from database. I
> create Itext Elements(Paragraphs ad
David Kavanagh wrote:
> I've used iText a couple of times and think it is a very nice package. I
> searched the archives and didn't find an answer to this.
> I have a service that performs OCR and produces a PDF. That document has
> a creation date which doesn't allow the service to be idempotent
Eric Summkeller wrote:
> That's it. I tested it with another Font and then it works. I hope that this
> could be a reason why I can't implement such a solution.
If this /F1 font is the only one available in your PDF,
you could add (and use) another font.
There's an example here that gives some hi
I've used iText a couple of times and think it is a very nice package. I
searched the archives and didn't find an answer to this.
I have a service that performs OCR and produces a PDF. That document has
a creation date which doesn't allow the service to be idempotent. Since
that is one of our go
Problem Solved
Thanks
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
Bruno Lowagie (iText lowagie.com> writes:
>
> Bruno Lowagie wrote:
> Now I understand!
> /F1 is some special font, and you don't know how the characters
> are encoded... Maybe the font referred to by /F1 only contains
> a subset of the complete font, in which case the glyph for the
> character
kkdusi wrote:
> I am attaching the tagmap for your reference.
I believe you even without looking at the tagmap.
As I wrote in the iText book (p449): "[the tagmap] functionality
was written to serve a specific purpose, and once the XML parsing
functionality was sufficient for the project I was wor
I am using a tagmap to parse a string of html text into a PDF document using
itext. the html text has
tags to separate each paragraph. If I use setLeading, HtmlParser adds 1
line between each and every line in the html text.
I just need to add 1 line spacing between each paragraph. spacingBefor
Eric Summkeller wrote:
> My problem now is, that I don't know how I convert the String "(2)" to the
> code "(\u\u0015)". Pherhaps this is something easy but I don't know how.
> If I replace my Stream into the following, the Template has no content in the
> new Document.
>
> My new Stream:
>
>
> Bruno Lowagie wrote:
>
> You know the total number of pages you want to be
> printed. Are you telling me you don't know how to
> compose a String and convert it to a byte[]???
>
> I really, really don't understand your question(s).
> This is not the first time I have no clue when you
> ask s
Eric Summkeller wrote:
> If I debug your code, your Stream contains a not coded page number.
>
> Your Stream as String:
> "BT\n/F1 12 Tf\n1 0 0 1 0 0 Tm\n(10)Tj\nET\n
Yes, this is a stream with PDF syntax as described
on page 43 (Listing 2.2).
> My Stream as String:
> "BT\n/F1 10 Tf\n1 0 0 rg\n1
> Bruno Lowagie wrote:
>
> We're working at the lowest level here.
> We're not using PdfTemplate, Image, Chunk, anymore.
> What we're doing is getting the 'form XObject' (we prefer calling
> it PdfTemplate to avoid confusion with forms) and replace the
> stream. You don't have to manipulate the St
Jaafar wrote:
> Hi All
>
> I want to insert images in my document and i want it to verify how much space
> left in the rest of the current page. Is there any idea to calculate this
> space?
If you're creating your PDF from scratch, and you want to know
how much space is left, you can use getVert
Hi All
I want to insert images in my document and i want it to verify how much space
left in the rest of the current page. Is there any idea to calculate this space?
-
Take Surveys. Earn Cash. Influence the Future of IT
Join
Eric Summkeller wrote:
> I have one question to the code that you send me. I tried this code, but the
> Stream that I get from the PdfReader contains the content number in Unicode.
> (example:(\u\u0014))
You'll have to explain what you mean by this.
> If I replace this with the new number n
What does it need to be? Binary, Base 10 (decimal), hex?
>From: Eric Summkeller <[EMAIL PROTECTED]>
>Reply-To: Post all your questions about iText here
>
>To: itext-questions@lists.sourceforge.net
>Subject: Re: [iText-questions] Coordinates of a PdfTemplate!
>Date: Tue, 13 Mar 2007 13:28:32 +000
>
> Bruno Lowagie wrote:
>
> The problem with 'solutions' like this, is that it can
> go wrong on so many places, and I don't want to be the
> one 'responsible' to fix those problems
> br,
> Bruno
>
I understand that! ;-)
I have one question to the code that you send me. I tried this code, bu
Khan, Aziz wrote:
> Error is: at com.lowagie.text.pdf.PdfWriter.close(Unknown Source)
> at com.lowagie.text.pdf.PdfDocument.close(Unknown Source)
>
> Can you help now?
No, that's even less information than you gave us in your
previous mail. All I can say is that I'm 99% sure it's not
an iText rel
Error is: at com.lowagie.text.pdf.PdfWriter.close(Unknown Source)
at com.lowagie.text.pdf.PdfDocument.close(Unknown Source)
Can you help now?
Aziz Khan | Capgemini | Bangalore
Consultant
Direct: +91 80 6656 7457 | Ext: 7457 |
Mobile: +91 9886835169
Join the Collaborative Business Experien
Khan, Aziz wrote:
> Hi,
> When the pdf file is more than 100 pages I am getting below error.
> Can you please provide the solution for this
I don't see anything in my crystal ball;
do you know how I could repair it?
best regards,
Bruno
-
YvesF wrote:
> Before adding a barcode in the marge/area, I need to verify if there is no
> object in the area for every page.
I wish you the best of luck.
> I tried to fetch all the objects of the page and getting the coordiante with
> no success despite the examples in the book and on the web.
Hi,
When the pdf file is more than 100 pages I am getting below error.
Can you please provide the solution for this
java.lang.NullPointerException
at com.lowagie.text.pdf.PRStream.(Unknown Source)
at com.lowagie.text.pdf.PdfReaderInstance.getFormXObject(Unknown
Source
Hello,
Before adding a barcode in the marge/area, I need to verify if there is no
object in the area for every page.
I tried to fetch all the objects of the page and getting the coordiante with
no succes despite the examples in the book and on the web.
What is a workable way ?
I have seen in th
ok, well i've now found a docked content script for scroll up and down, and
modified it for scroll left and right.
but i need to create divs with a table of row headers.
can i add a div?
--
View this message in context:
http://www.nabble.com/static-row-header-with-scrolling-tf3395100.html#a
Hi,
I sent the email below but did not receive any responses. I'll try and
format my question a little differently.
Is there a way to insert tab characters into a line to align text? Such as
1. text
Indented text
My goal is:
1 Test
Test
1.1 Test
Test
On Tuesday 13 March 2007 09:46, Julien wrote:
> I knwo that is possible to put a style to a paragraph , but is it possible
> to put a style on a word ? (not to the paragraph)
No. This is not possible. Character styles are currently not supported. I
can't guarantee that they will ever be supported
Eric Summkeller wrote:
> I understand that you don't want to use such solutions.
The problem with 'solutions' like this, is that it can
go wrong on so many places, and I don't want to be the
one 'responsible' to fix those problems ;-)
br,
Bruno
Hi there,
I have made a bunch of html tables using iText's Table class.
and now the row headers must be static,
so when the user scrolls to the right, the headers hover in place.
i have no idea how im going to do this. but if you can think of
anything, even if its similar, that would help.
> Bruno Lowagie wrote:
>
> The reason why I am reluctant to help is because what you are
> trying to achieve is generally considered to be of very bad taste.
> However, you'll find an example in attachment where I created
> a page saying "page 1 of 10" with "10" added as a PdfTemplate.
> In this (
Eric Summkeller wrote:
Sorry but I need your help again!
The reason why I am reluctant to help is because what you are
trying to achieve is generally considered to be of very bad taste.
However, you'll find an example in attachment where I created
a page saying "page 1 of 10" with "10" added as
Hello
I knwo that is possible to put a style to a paragraph , but is it possible to
put a style on a word ? (not to the paragraph)
I would like to do that because I have a line with an image :
exemple : word1 image word2
I would like that the word1 and the word2 have the same style.
But when
39 matches
Mail list logo