On 28/10/2010 19:33, Michael Lai wrote:
> I reread chapter 2 as you suggested and I don't see anything about tabs.
> The closet thing I see is paragraph indentation but that's not what I
> want. I tried appending "\t" to my chunk that that doesn't work either.
> Thought it would work similar to "\n
Can you share "before" and "after" PDFs?
--Mark Storer
Senior Software Engineer
Cardiff.com
import legalese.Disclaimer;
Disclaimer DisCard = null;
From: Fabiano Nunes [mailto:fabi...@nunes.me]
Sent: Thursday, October 28, 2010 7:16 AM
You can find out what fonts your Factory knows about by calling
FontFactory.getRegisteredFonts(). BTW, HTMLWorker (via
FactoryProperties.getFont) uses a case-insensitive test, so no worries
on that front.
At any rate, if the font is in the list, and not appearing in your
output, then HTMLWorker
Alexander,
Raitskin Alexander wrote:
> Error during signature verification.
>
> Unexpected byte range values defining scope of signed data.
> Details: The signature byte range is invalid
>
> What is wrong with this file?
>
> http://www.darina.us/code/peles1.pdf
The /ByteRange values correct
Silly question I'm sure, but I've read through ch.11 a couple times and
still not sure how to do it.
I am using HTMLWorker.parseToList, sending it the following string:
This is Comic Sans
font
My text does not show us as comic sans. I added the following to my code,
but no luck.
FontFactory.reg
Thanks Mark! I use TinyMCE to allow users to enter/format text, and it then
automatically creates the html. TinyMCE embeds all the formatting into the
style parameter, but I can do a find/replace to add BACKGROUNDCOLOR as well
before sending to the parser. :)
On Thu, Oct 28, 2010 at 12:31 PM, M
I reread chapter 2 as you suggested and I don't see anything about
tabs. The closet thing I see is paragraph indentation but that's
not what I want. I tried appending "\t" to my chunk that that
doesn't work either. Thought it would work similar to "\n" or
Chunk.Newlin
HTMLWorker's style support is spotty. Poking around in the source a
bit, I see Markup.CSS_KEY_BGCOLOR = "background-color", but it's never
used...
Ah! ElementTags.BACKGROUNDCOLOR = "bgcolor". And it's actually checked
when creating a new Chunk. I haven't actually tried it, but you should
be a
A page with no content can be considered "not empty" for at least two
reasons:
1) Someone set the page "not empty" directly by calling
myPdfDocument.setPageEmpty(false).
2) In PDF, there can be annotations (links, fields, etc) on the page
that 'float above' the page content.
--Mark Storer
Sen
Hello,
When I try to sign this file:
http://www.darina.us/code/peles.pdf
I get an error when I open it in Acrobat Reader 9.
Error during signature verification.
Unexpected byte range values defining scope of signed data.
Details: The signature byte range is invalid
What is wrong with thi
Many thanks to you guys
Got this thing working now, removed the method that renders the text for the
final page(s) out from the PageEventHandler (PdfFinalizer) class but instead
I created some public methods inside this "finalizer" class that sets some
flags after I have rendered the last part wh
There is no reason why you cannot do this before calling document.close();
as Bruno suggested. Instead of doing it on onCloseDocument(); callback which
seems to have some side effects. Add another method to your
PdfPageEventHandle like addFinalSummaryPage();(with parameters you need like
document,
Hello,
The iText annotated documents don't display their annotations in other
renderers than acrobat (I'm using the [
http://1t3xt.info/examples/browse/?page=example&id=237] example).
I've been tested in xpdf 3.02, okular 0.10.2, evince 2.30.3 -- all in gnome
environment.
After a "save as" in Acro
Hi,
I am using HTMLWorker.parseToList, and it works great with one exception.
It does not appear to handle background colors. I have the html code
below. The below works fine if I change to just color (for the text), but
not for background-color. Is this a limitation of HTMLWorker, or I am doin
Woo Hoo, can't wait to see mine in my mail box!!!
Glen Hamel
Auric Networks Canada, Inc.
570 Orwell Street, Unit 1
Mississauga, Ontario
L5A 3V7
Phone : 905.361.7621 x 2000
Fax : 905.274.3912
Email : glen.ha...@auricnet.ca
http://www.auricnet.ca
-Original Message-
From: Bruno Lowagie [ma
Did you try writer.isPageEmpty()?
On Thu, Oct 28, 2010 at 5:53 AM, 1T3XT info wrote:
> On 28/10/2010 6:15, Carmen Grantham wrote:
> > Hi,
> >
> > I'm upgrading from iText 1.4.6 to 2.1.7 but I've found that how
> > newPage works has changed.
> >
> >> From what I've read if there is no content on
On 28/10/2010 14:01, riffla wrote:
>
> I guess you´re right about one thing, I think I need to aproach this from
> somewhere else. But it's actually possible to create another page in the
> onCloseDocument.
That's a side-effect I didn't know about.
Note that you're not adding that page to the Docu
I guess you´re right about one thing, I think I need to aproach this from
somewhere else. But it's actually possible to create another page in the
onCloseDocument. And I also did manage to prevent that page from having page
numbers andother such alike stuff. It gave me an empty last page, but with
On 28/10/2010 13:32, riffla wrote:
>
> Is it possible to add content to PdfContentbyte in the onCloseDocument using
> writeSelectedRows?
It's not what onCloseDocument was intended for,
so my first guess would be: no. This should be tested.
In any case: you can't use onCloseDocument to add a new pa
Is it possible to add content to PdfContentbyte in the onCloseDocument using
writeSelectedRows?
I've created a PdfFinalizer which extends the PdfPageEventHelper, and in
this class I handle things as page numbers, different id:s that are to be
shown on certain pages only (dynamically) and with dif
On 28/10/2010 11:32, riffla wrote:
>
> Hi
>
> My question is about how to get a handle to the vertical position using
> different "render" modes.
I try not to mix render modes.
The only exception:
- add content to the document with document.add()
- add content using page events.
If I need writeS
On 28/10/2010 9:23, forest wrote:
> Dear Bob Barnes,
> Thank you very much,DottedLineSeparator is what I want ,just what
> DottedLineSeparator draw is not like '.' which looks like a tiny
> triangle.Maybe I can write my own DottedLineSeparator to make it more
> like circle.Thanks again.
The Dotted
On 28/10/2010 6:15, Carmen Grantham wrote:
> Hi,
>
> I'm upgrading from iText 1.4.6 to 2.1.7 but I've found that how
> newPage works has changed.
>
>> From what I've read if there is no content on the page then calling
> newPage() does not add a new page. However, in 2.1.7 it is always
> creating a
Hi
My question is about how to get a handle to the vertical position using
different "render" modes.
Using document.add(paragraph) affects the writer.getverticalPosition(t/f)
which is perfect and that gives me a chance to set the starting position
when I need to add a table using writeSelectedRo
Dear Bob Barnes,
Thank you very much,DottedLineSeparator is what I want ,just what
DottedLineSeparator draw is not like '.' which looks like a tiny triangle.Maybe
I can write my own DottedLineSeparator to make it more like circle.Thanks again.
best regards
senlin
We know about that but Indic scripts are far from trivial and so far noboby has
had enough interest to sponsor development or to contribute code.
Paulo
- Original Message -
From: Yogesh
To: itext-questions@lists.sourceforge.net
Sent: Thursday, October 28, 2010 6:03 AM
Subject
26 matches
Mail list logo