On Mon, 2007-02-26 at 16:27 +0100, Bruno Lowagie (iText) wrote:
*snip*
> you are trying to catch a mouse using an elephant. (Is that even
> an expression?)
It's close to something I've heard before, but all that's coming to mind
is: "You're trying to swat a fly with
correctly. As an uninvolved outsider, I think your suggestion
is good if done correctly. How long would it take to implement? Maybe
your time would be better spent coding than talking at cross purposes.
--
Stuart Jansen <[EMAIL PROTECTED]>
Guru Labs, L.C.
signature.asc
Description: This
re talking about standard TrueType or Postscript fonts?
Have you bothered looking at the tutorial?
http://itextdocs.lowagie.com/tutorial/fonts/getting/index.html#files
Perhaps you should buy the book. It includes a very good description of
dealing with custom fonts.
--
Stuart Jansen <[EMAI
F only
> the "on the fly" contents are not converted.
Perhaps you should include some none-working example code to illustrate
exactly what you mean by "convert" and "on the fly".
While Paulo and Bruno have done some amazing work, they're not mind
read
for
rendering PDFs and printing.
--
Stuart Jansen <[EMAIL PROTECTED]>
Guru Labs, L.C.
signature.asc
Description: This is a digitally signed message part
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceF
1_5);
document.addTitle((String)info.get("Title"));
document.addAuthor((String)info.get("Author"));
document.addKeywords((String)info.get("Keywords"));
document.setMargins(0, 0, 0, 0);
document.open();
---
--
Stuart Jansen <[EMAIL PROTECTED]>
Guru Labs, L
You need to either center the template yourself, or put the image in a
container smart enough to center the image.
PdfDocument document = ...
document.add(img);
or
ColumnText ct = ...
ct.addElement(img);
Of these, if I understand your use case correctly, ColumnText will
probably be the bette
ml#html2pdf
--
Stuart Jansen <[EMAIL PROTECTED]>
Guru Labs, L.C.
signature.asc
Description: This is a digitally signed message part
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay pa
/2 - imageWidth/2, pageHeight/2 -
imageHeight/2);
document.add(png);
document.close();
--
Stuart Jansen <[EMAIL PROTECTED]>
Guru Labs, L.C.
signature.asc
Description: This is a digitally signed message part
-
Take Surveys. Earn
of source code, my answer
makes as much sense as your question. You might get lucky, sometimes
Bruno and Paulo seem to be mind readers, but in general you need to
provide more useful information when asking a question.
--
Stuart Jansen <[EMAIL PROTECTED]>
Guru Labs, L.C.
signature.asc
Descrip
On Fri, 2007-03-09 at 19:23 +0100, Gianluca DAlessandro wrote:
> can you tell me where i can download iText 2.0.1?
http://sourceforge.net/project/showfiles.php?group_id=15255
Bruno: Looks like lowagie.com hasn't been updated yet.
--
Stuart Jansen <[EMAIL PROTECTED]>
t in your code would be:
cb.addTemplate(page, documentWidth/2 - page.getWidth() / 2,
documentHeight/2 - page.getHeight/2);
--
Stuart Jansen <[EMAIL PROTECTED]>
Guru Labs, L.C.
signature.asc
Description: This is a digitally signed message part
-
are you using.
&
ampersand
&
&
¡
inverted exclamation mark
¡
¡
©
copyright
©
©
Ç
capital c, cedilla
Ç
Ç
á
small a, acute accent
á
á
€
euro
€
€
--
Stuart Jansen <[EMAIL PROTECTED]>
Guru Labs, L.C.
signature.asc
On Mon, 2007-03-12 at 11:02 +, Eusabia wrote:
> Can anyone help me with Html To Pdf conversion using itext.
http://itext.ugent.be/library/question.php?id=40
--
Stuart Jansen <[EMAIL PROTECTED]>
Guru Labs, L.C.
signature.asc
Description: This is a digitally signed mes
each table
size, and you'd better not have any existing content in the way because
it'll just get over-layed.
If you decide to try, you will probably not get any help.
--
Stuart Jansen <[EMAIL PROTECTED]>
Guru Labs, L.C.
signature.asc
Description: This is
On Mon, 2007-03-12 at 13:33 +0100, [EMAIL PROTECTED] wrote:
> I'm new to using iText and wondered if it is possible to use iText to
> manipulate pdf and to then convert the 'manipulated pdf' into rtf format ?
It is not.
--
Stuart Jansen <[EMAIL PROTECTED]>
Guru
etadata to an existing PDF.
Combining your example with mine, you get:
-
PdfReader pdfReader = new PdfReader("original.pdf");
Document document = new Document();
PdfCopy pdfCopy = new PdfCopy(document,
new FileOutputStream("metadata-added.pdf"));
document
(0, 0);
document.add(image);
}
document.close();
-
--
Stuart Jansen <[EMAIL PROTECTED]>
Guru Labs, L.C.
signature.asc
Description: This is a digitally signed message part
-
Take Surveys. Earn Cash. Influence
iff is a bit tricky because it contains both ISO-8859-1 and
UTF-8. The modified files are:
com/lowagie/text/pdf/PdfContentByte.java
com/lowagie/text/RomanList.java
com/lowagie/text/rtf/document/RtfInfoElement.java
--
Stuart Jansen <[EMAIL PROTECTED]>
Guru Labs, L.C.
recoded.diff.gz
Descri
could also try passing your PDF
through GhostScript. Alternatively, Poppler is slightly easier to wrap
(with C code) but not always as mature as GS. Neither will integrate as
nicely with Java as the solutions already offered.
--
Stuart Jansen <[EMAIL PROTECTED]>
Guru Labs, L.C.
signatur
e List-Id header. Something like:
^List-Id.*itext-questions
--
Stuart Jansen <[EMAIL PROTECTED]>
Guru Labs, L.C.
signature.asc
Description: This is a digitally signed message part
-
Take Surveys. Earn Cash. Influence t
ing);
list1.add(list2);
list1.add(longString);
ct.addElement(list1);
ct.go();
-
--
Stuart Jansen <[EMAIL PROTECTED]>
Guru Labs, L.C.
signature.asc
Description: This is a digitally signed message part
-
Using Tomcat bu
On Fri, 2007-02-09 at 11:12 +0100, Bruno Lowagie (iText) wrote:
> Stuart Jansen wrote:
> > I'd like to have a List without any symbol where any ListItem that wraps
> > onto a second line is indented more than the first line.
>
> You need a 'list without any list
GraphicsAlphaBits=4 \
-sOutputFile="$OUT" "$1"
--
Stuart Jansen <[EMAIL PROTECTED]>
Guru Labs, L.C.
signature.asc
Description: This is a digitally signed message part
-
Using Tomcat but need to do
rch.
Sorry to single you out. You're not the only person guilty of looking
lazy and unwilling to do your own research, but your approach really was
obnoxious.
You would probably benefit from reading:
http://www.catb.org/~esr/faqs/smart-questions.html
--
Stuart Jansen <[EMAIL PROTECTED]&
25 matches
Mail list logo