Anyone have any quick code samples on howto create Outlines(bookmarks) in
iText? I see there is a PdfOutline class, but on every call to the PdfCopy.add
() method requires a PdfOutline Object which in turn is instantiated through
specifying:
1) a PdfOutline parent Object
2) PdfDestination or Pdf
Hi All,
I used the following piece of code to open a target URL in a new window.
--
Chunk c = new Chunk("anchor", FontFactory.getFont(FontFactory.HELVETICA, 12,
Font.UNDERLINE, new Color(0, 0, 255)));
c.setAnchor(
Hi.,
I am new to itext(Java-PDF library).I would like to
use it in our application.
I have constructed pdf document through examples
provided in the website.I am using Chapter and Section object for constructing
tree on the left side.On Clicking ,righpane will loaded with object that i
wa
Two things come to mind, but both are guesses. We are able to get PDFs to
display in mozilla, ns and ie. Could it be that the culprit browsers were
installed after adobe was installed? Perhaps it didn't configure those
browsers?
The other thing i see is that you are setting the content-dispo
This isn't exactly an iText-specific question, but so far nobody seems to
know the answer.
I create PDFs using iText and save them to files, then I want to stream
them to the browser and open using the Acrobat plugin. This works just fine
in IE, but in Mozilla 1.5.2 and Firebird 0.6 the Acrobat
Bruno,
I tried using the Chunk.setNewPage() method, but once I have added some
images to the first section, it no longer has any effect. When I add a
second section to the chapter using a Chunk and Chunk.setNewPage() as in
your example, it does not start on a new page. The string in the Chunk ends
At 08:27 PM 7/9/2003 +0200, Mark Hall wrote:
> What alternatives are there? Is there a utility (in iText or outside) to
> convert PDF to RTF? (I know there are stand-alone converter apps that
> can do it, but I am looking for a Java-based solution).
The only thing that wuold come close as a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Friday 04 July 2003 22:52, Alexandr Molochnikov wrote:
> Recently the need arouse to generate reports in RTF format.
> Unfortunately, RtfWriter does not implement getDirectContent() method,
> so we cannot use it as a simple substitute to PdfWriter i
I've the same problem with the example 'print_me.java' from paulo soares web
site...
Selon SIMON Pascal <[EMAIL PROTECTED]>:
> Hello,
>
> I just try to do silent print throw the addJavascript function:
>writer.addJavaScript("this.print(false);",false);
>
> But it just print the first p
Hello,
I just try to do silent print throw the addJavascript function:
writer.addJavaScript("this.print(false);",false);
But it just print the first page of my pdf (even with \r before ;)
thanks in advance
---
This SF.Net email sponso
it would been cool to have used the DTD (a suitable subset anyway) for
http://www.w3.org/TR/xslt, that way the potential is pretty much limitless.
The downside is that you'd have to use another tool to actually produce the
final document form.
The upside that the iText XML-API can be easily exten
klute wrote:
I want to create a table of contents containing a
crosstable of section names and their page numbers
(just like a traditional book). so i was thinking i
would generate two pdf's (one is for content and
another one is for the table of contents) and the
latter would be created after the
At 3:01 PM +0200 7/9/03, Bruno Lowagie wrote:
About the processing instructions:
I overlooked that possibility when I wrote some XML2PDF applications.
I have to make reports with some text and some tables from a database.
I don't know in advance the amount of rows in a table. So I have to parse
my
Leonard Rosenthol wrote:
Both would be nice, as would xsl:fo - but you already commented
about your desire to not compete with FOP...
Don't let my desires get in the way of new enhancements ;-)
If someone writes an XSL:FO part for iText, I will add it to the library
(the mails with the Apache
--- Bruno <[EMAIL PROTECTED]> wrote:
> Quoting klute <[EMAIL PROTECTED]>:
>
> > On another note, if you end up with a document
> that
> > has been auto-paginated, is there way to call some
> > method to get a page number of each?
>
> I don't understand the question.
>
> Do you want to put pagen
I don't think so. But how can I know it ?
Selon Bruno <[EMAIL PROTECTED]>:
> Quoting Benjamin Boigienman <[EMAIL PROTECTED]>:
>
> > OK, but my height measurement on a sheet is < to the table height gives by
>
> > iText !!!
>
> Are you sure your Reader didn't perform a 'Shrink-to-fit'?
>
>
>
I don't think so. But how can I know it ?
Selon Bruno <[EMAIL PROTECTED]>:
> Quoting Benjamin Boigienman <[EMAIL PROTECTED]>:
>
> > OK, but my height measurement on a sheet is < to the table height gives by
>
> > iText !!!
>
> Are you sure your Reader didn't perform a 'Shrink-to-fit'?
>
>
>
Kim,
I studied your code sample after your last mail.
I'm 99% sure I gave you the right answer yesterday.
Please take a look at this:
> chapter = new Chapter(p,num);
> chapter.setNumberDepth(0);
> while (j.hasNext()) {
> //newpage = doc.newPage();
> sect = chapt
Quoting Sterling Bates <[EMAIL PROTECTED]>:
> The cell spacing method doesn't appear to work.
It has worked in the past.
I never noticed it didn't work anymore.
> Any ideas how to fix this?
Yes, add this method to com.lowagie.text.pdf.PdfCell:
/**
* Gets a Rectangle that is altered to fit on
19 matches
Mail list logo