Hi all, hi Mark,
My users, have let me know that an RTF produced with Itext, if opened with
WordPad and resaved, its size becomes very smaller than the original itext
version.
Perhaps, could one reason be due from the newline characters inserted at the
end of almost each tag? And so, in
of documents because they
write different information.
HOward Shank
- Original Message
From: GAMBELLI Raffaele [EMAIL PROTECTED]
To: iText-questions@lists.sourceforge.net
Sent: Wednesday, April 30, 2008 3:49:12 AM
Subject: [iText-questions] [RTF] - size is too much big
Hi all, hi Mark
Hi all,
is there a way to retrieve bytes count while pdf is generated?
For example, inside a loop where I add a table to Document, I would like to
know how many bytes are written to the stream.
I tried getting Channell from FileOutPutStream and asked him for its size, but
it says always 0.
Arrrggghhh
I thinked to find that method in RtfWriter2 too, but I can't find it.
So, my new question:
How count bytes in Rtf ?
Sorry for the confusion...
Thanks
Raffaele
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
GAMBELLI Raffaele
Sent: mercoledì
Ok, resovled...I didn't see m_pdfWriter.getCurrentDocumentSize()
Regards
Raffaele
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
GAMBELLI Raffaele
Sent: mercoledì 23 aprile 2008 10.54
To: iText-questions@lists.sourceforge.net
Subject: [iText-questions] Get
Of
Schalück, Elmar
Sent: mercoledì 23 aprile 2008 12.21
To: itext-questions@lists.sourceforge.net
Subject: Re: [iText-questions] Get byte count during pdf generation?
Date: Wed, 23 Apr 2008 10:53:37 +0200
From: GAMBELLI Raffaele [EMAIL PROTECTED]
Subject: [iText-questions] Get byte count during pdf
Hi all,
I'm yet looking for a practical solution to arabian asian font
but this time I would like to ask another question...strictly bound to exotic
fonts (exotic from my point of view obviuosly ;-) )
When I try to open a pdf in acrobat, for example FontSelectionExample
from chapter 9.
iText here
Subject: Re: [iText-questions] No internet connection was
foundfontexamples opening
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of GAMBELLI Raffaele
Sent: Friday, April 18, 2008 11:28 AM
To: iText-questions@lists.sourceforge.net
fontexamples opening
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of GAMBELLI Raffaele
Sent: Friday, April 18, 2008 11:28 AM
To: iText-questions@lists.sourceforge.net
Subject: [iText-questions] No internet connection was
found fontexamples opening
: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
GAMBELLI Raffaele
Sent: venerdì 18 aprile 2008 14.50
To: Post all your questions about iText here
Subject: Re: [iText-questions] No internet connection
wasfoundfontexamples opening
Substituting NOT_EMBEDDED with EMBEDDED for font
Hi all!
I'm in trouble with arabic and asian characters in pdf. (In RTF it was totally
automatic and I did nothing to correctly write those characters)
Suppose that I have in the same sentence, both arabic and asian, for example
the following:
?? CIAO ?? ? ? ???
What
] Behalf Of 1T3XT
info
Sent: lunedì 14 aprile 2008 11.21
To: Post all your questions about iText here
Subject: Re: [iText-questions] Asian and Arabic text
GAMBELLI Raffaele wrote:
Suppose that I have in the same sentence, both arabic and asian, for example
the following:
?? CIAO
here
Subject: Re: [iText-questions] Asian and Arabic text
Arabic text is not supported in Graphics2D unless you only use shapes, not
fonts.
Paulo
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of GAMBELLI Raffaele
Sent: Monday, April 14, 2008 10:38
aprile 2008 14.57
To: Post all your questions about iText here
Subject: Re: [iText-questions] Asian and Arabic text
GAMBELLI Raffaele wrote:
Sorry Paulo and Bruno, I don't understand your answer:
Why should I draw glyph shapes instead of using a PDF font?
If you are using Graphics2D, you should
.
Paulo
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of 1T3XT info
Sent: Monday, April 14, 2008 2:52 PM
To: Post all your questions about iText here
Subject: Re: [iText-questions] Asian and Arabic text
GAMBELLI Raffaele wrote:
1) How
to new Chunk(image, 0, 0) and behaves as expected.
Paulo
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of GAMBELLI Raffaele
Sent: Wednesday, October 17, 2007 4:34 PM
To: Post all your questions about iText here
Subject: Re: [iText-questions] Image
Hi all,
In the following code I simply put an image in the document, and then in the
next page I put the same image inside a PdfPCell, although I'm using
jpg1.setWidthPercentage(0); why does the image inside PdfPCell result bigger
than the other one?
Thanks, regards.
Raffaele
public static
Hi all,
In the following code I simply put an image in the document, and then in the
next page I put the same image inside a PdfPCell, although I'm using
jpg1.setWidthPercentage(0); why does the image inside PdfPCell result bigger
than the other one?
Thanks, regards.
Raffaele
public static
Hi all,
I'm using CVS inside Eclipse and I cannot connect to your repository to
download itext via cvs, the error is:
Error validating location: Could not connect to :pserver:[EMAIL
PROTECTED]:/cvsroot/itext: Cannot
connect to host: Connection refused: connect
The CVSROOT should be correct...
say nothing about cvs...
Bye
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bruno
Lowagie (iText)
Sent: giovedì 24 maggio 2007 10.00
To: Post all your questions about iText here
Subject: Re: [iText-questions] CVS little problem
GAMBELLI Raffaele wrote:
Hi
: GAMBELLI Raffaele
Subject: Re: [iText-questions] [RTF] In Word2000 images are smaller than
in WordXp
On Monday 14 May 2007, GAMBELLI Raffaele wrote:
I tried to generate a rtf including two images WITHOUT PERFORMING SCALING
OPERATION WITH ITEXT.
Did you use the standard iText jar, or the one I
Hi all,
I have also modified RtfElement.TWIPS_FACTOR and set it to 15 instead of 20.
The reason is simply, Microsoft Word 2000 does it like this.
In particular when you save a rtf using Word, you'll see that the values of
\picwgoal and \pichgoal are respectively the width in pixel of image *
Hi all,
I tried to generate a rtf including two images WITHOUT PERFORMING SCALING
OPERATION WITH ITEXT.
The generated rtf results different if opened with Word2000 and WordXp, please
verify yourself with files in attachment, obviously you'll have to open
ImWORD2000 with Word2000 and ImWORDXP
table control word.
I hope these info will help you.
Best regards,
Raffaele
-Original Message-
From: Mark Hall [mailto:[EMAIL PROTECTED]
Sent: venerdì 4 maggio 2007 12.40
To: GAMBELLI Raffaele
Cc: itext-questions@lists.sourceforge.net
Subject: Re: [iText-questions] Rtf inclusion inside
The fragment of code below show a method of RtfColorTableParser and it seems
have a bug, in fact only the this.red variable is assigned, then when the
method handleText in the same class is invoked the
importHeader.importColor(...) instruction will never be executed!!!
Is it a choice or a bug?
-Original Message-
From: Mark Hall [mailto:[EMAIL PROTECTED]
Sent: venerdì 4 maggio 2007 12.11
To: itext-questions@lists.sourceforge.net
Cc: GAMBELLI Raffaele
Subject: Re: [iText-questions] Rtf inclusion inside another rtf
RTF importing is not a very stable thing at the moment. The RtfParser has
Hello guys, hello Mark this is a question for you:
I've noticed a strange fact, the following:
- I have to generate one rtf document which includes another one.
- The rtf to be included has both header and footer.
- The rtf that I have to generate also has its header and footer.
- This that
Of
GAMBELLI Raffaele
Sent: giovedì 3 maggio 2007 10.25
To: iText-questions@lists.sourceforge.net
Subject: [iText-questions] Rtf inclusion inside another rtf
Hello guys, hello Mark this is a question for you:
I've noticed a strange fact, the following:
- I have to generate one rtf document which includes
Hi all,
First question:
I can create a PdfPTable specifying the number of columns ok, but next I
haven't found a method to retrieve the columns number, is it possible that
there isn't such a method?
Second question:
This code:
...
PdfPTable datatable2 = new PdfPTable(1);
Hi all!
I would like to understand a difference about RtfCell and Cell:
I can add both elments into a Table but, the rtf code generated is different:
Consider a rtf document with only a table of one column with only one row,
pratically an empty rectangle, in Java is:
WITH Cell:
] Behalf Of Mark
Hall
Sent: martedì 20 febbraio 2007 21.47
To: Post all your questions about iText here
Subject: Re: [iText-questions] RTF - page numbering
On 20.02.2007, at 15:44, GAMBELLI Raffaele wrote:
I said the code I'm suing is the same of tutorial!
You said the code was almost the same
A simple question:
Which version of RTF is supported by itext?
Thank you very much, best regards
Raffaele
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance
Hi all,
have you ever had problems with an incorrect visualization of pages numbers
once the document was opened with Word or a rtf viewer?
I guess it can be a Word's bug, your opinion?
The code I use is practically the same as the tutorial.
Best regards.
Raffaele
On 20.02.2007, at 11:10, GAMBELLI Raffaele wrote:
have you ever had problems with an incorrect visualization of pages
numbers once the document was opened with Word or a rtf viewer?
I guess it can be a Word's bug, your opinion?
The code I use is practically the same as the tutorial
Hi
I try to ask this but I believe the answer will be NO:
Is there the capability to disable pdf document saving?
Thank you very much.
Best regards.
Raffaele
-
Using Tomcat but need to do more? Need to support web
If your table is a PdfPTable you can use getTotalHeight() method...
Saluti
Raffaele
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: venerdì 2 febbraio 2007 12.23
To: itext-questions
Subject: [iText-questions] Table height
Hy!
Thanks!
We are already working with a proprietary markup language to define different
reports which can be rendered either in pdf either in rtf either in Printable
objects sent directly to printer.
A typical template report can be:
REPORT some attributes
HEADER
something...
/HEADER
Hi all,
this is a question for Mark:
I would like to have page events like pdf...
I have already read in mailing list those words:
...There is no concept of pages in the RTF
document. Only when the
document is opened in a viewer is the document split
into multiple pages.
The only exception
Perhaps the verb is read ?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Matt Huckaby
Sent: venerdì 26 gennaio 2007 14.47
To: itext-questions@lists.sourceforge.net
Subject: [iText-questions] Type Error on Homepage
Hello,
I just recently learned of your
Hi!
I'v already tried what you have just asked, it works! Pay only attention in
table to PdfPTable conversion...
Bye
Raffaele
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
R.Greg
Sent: martedì 23 gennaio 2007 14.57
To:
]
[mailto:[EMAIL PROTECTED] Behalf Of Bruno
Lowagie (iText)
Sent: martedì 23 gennaio 2007 15.34
To: Post all your questions about iText here
Subject: Re: [iText-questions] Images in paragraphs in cells not showing
GAMBELLI Raffaele wrote:
Hi!
I'v already tried what you have just asked, it works
Hi
with normal Table you can use setOffset(float) method with 0 or a negative
number as argument, try this!
Question:
what I just said works only for PDF, instead for RTF doesn't work, what can I
try? Any suggestions?
Thank you very much,
best regards.
Raffaele
-Original Message-
Does exist analogous table.setSkipFirstHeader(boolean) for normal Table?
Best regards,
Raffaele
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
Hi all!
I'm producing pdf (and rtf) heavy documents, the same document for example in
pdf is a 1500 pages document of 2.8 MB size, while the rtf is a 1145 pages of
81 MB size.
My problem is memory, but perhaps the cause is in the way that I managed the
whole process of document creation, that
Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bruno
Lowagie (iText)
Sent: martedì 9 gennaio 2007 12.31
To: Post all your questions about iText here
Subject: Re: [iText-questions] Font and PDF
GAMBELLI Raffaele wrote:
Hi
first of all, this page on your site seems
http://www.lowagie.com/iText/tutorial/
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bruno
Lowagie (iText)
Sent: martedì 9 gennaio 2007 14.39
To: Post all your questions about iText here
Subject: Re: [iText-questions] Font and PDF
GAMBELLI Raffaele wrote
Hi
first of all, this page on your site seems not working:
http://itext.sourceforge.net/tutorial/objects/fonts/index.html#type1
As always I'm writing code to generate either rtf either pdf:
starting from a java.awt.Font I produce
a com.lowagie.text.Font fot PDF generation and
a
Sent: giovedì 4 gennaio 2007 10.08
To: Post all your questions about iText here
Subject: Re: [iText-questions] RTF: scaleToFit() and scalePercent() of
Imageclass work for RTF?
GAMBELLI Raffaele wrote:
However, it is a bug and I don't think Itext team will fix it soon...
I followed an earlier
(com.lowagie.text.Image Image.getInstance(java.awt.Image)?
Thanks,
GAMBELLI Raffaele wrote:
Hi!
Mark Hall wrote to me this:
While, unfortunaly, image scaling in RTF Document viewed by Word 2000
continues to not working.
That is a nuisance. Unfortunately I won't be able to do any
Hi!
See this example code --
http://itextdocs.lowagie.com/examples/com/lowagie/examples/general/DefaultPageSize.java
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dirk Ulrich
Sent: martedì 2 gennaio 2007 17.06
To: itext-questions@lists.sourceforge.net
Hi,
thank you for the answer but it doesn't work
Besides, why PDF with Element.ALIGN_CENTER should work and RTF no?
I'm using Microsoft Word 2000 to view the output, could it be this the cause?
However, is there someone with Office XP who could try the image alignment
inside a table in
:-)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of GAMBELLI Raffaele
Sent: venerdì 29 dicembre 2006 10.00
To: Post all your questions about iText here
Subject: Re: [iText-questions] RtfCell or Cell?
Hi,
thank you for the answer but it doesn't work
Besides, why
Hi all,
I need to provide, in RTF generation, the capability of putting header and/or
footer ONLY IN THE LAST PAGE but as I seen in the documentation, now this
capability is provided for:
* com.lowagie.text.rtf.headerfooter.RtfHeaderFooter.DISPLAY_FIRST_PAGE
*
Hi all!
To produce my rtf, I'm using the same code that I used for table generation in
pdf.
Besides the unsupported itext features listed here --
http://itextdocs.lowagie.com/tutorial/rtf/index.html#
I noticed that also the horizzontal allignment of those Cell containing an
image doesn't
Hi all and Merry Christmas!
Because I have to put a tiff image into a rtf document and because rtf document
doesn't support tiff images, is there someone who can give me an
advice/suggestion about how to convert a tiff in a different format between
those supported by Rtf?
Thank you very much
-Original Message-
From: Mark Hall [mailto:[EMAIL PROTECTED]
Sent: mercoledì 27 dicembre 2006 15.21
To: itext-questions@lists.sourceforge.net
Cc: GAMBELLI Raffaele
Subject: Re: [iText-questions] Image Scaling in Rtf
On Wednesday 27 December 2006 15:12, GAMBELLI Raffaele wrote:
in rtf
With RtfWriter I can see correctly the scaled image also with Word 2000.
Is it a possible bug in RtfWriter2?
Bye
Raffaele
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll
Hi all!
Today I found some problems with rtf documents, here it is the last:
As you can see in the attachment, the output is different, in particular RTF
seems not to consider the BOLD and ITALIC property of a Font...
Here it is also the code I used:
public static void main(String[] args) {
Ok sorry, the answer was RtfFont...
Bye
Raffaele
News about scaling image inside rtf document and viewing them with Microsoft
2000? I won' buy Word XP :-D
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
GAMBELLI Raffaele
Sent: mercoledì 27 dicembre 2006
I believe that a PdfPCell cannot accept directly a Paragraph as Element...in
fact if you see its constructors you will notice that there isn't a constructor
which takes a Parapgraph as arguments...
Try using a Chunck:
PdfPCell pdfPCell = new PdfPCell(new Phrase(chunk));
A paragraph can be
Hi all!
Is there someone who has already done such a kind of method as that in the
subject?
Is there already a way to do the same with itext API?
Thank you very much,
bye
and Merry Christmas to you.
Raffaele
-
Take
] Behalf Of Bruno
Lowagie (iText)
Sent: giovedì 21 dicembre 2006 15.54
To: Post all your questions about iText here
Subject: Re: [iText-questions] PdfPTable tableToPdfPTable(Table table)
GAMBELLI Raffaele wrote:
Hi all!
Is there someone who has already done such a kind of method
) {
WrCheck.logWarn(e);
}
return pdfPTable;
}
Which should be the stuff not supported?
Thank you very much.
Raffaele
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
GAMBELLI Raffaele
Sent: giovedì 21
Hello,
When will be ready the download page of your site?
http://www.lowagie.com/iText/download.html
Raffaele
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bruno
Lowagie (iText)
Sent: martedì 19 dicembre 2006 13.07
To: Post all your questions about
Ok, I have just seen the answer to my question :-)
Bye and thank you very much.
Raffaele
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
GAMBELLI Raffaele
Sent: martedì 19 dicembre 2006 14.38
To: Post all your questions about iText here
Subject: Re: [iText
Bruno has already answered:
Bruno said:
OK, I think I have fixed it. The fix is in the CVS.
(There could be side-effects, but I have tested the
fix with different examples and the results were fine.)
I'll make a release next week (after JavaPolis).
Meanwhile you can test it by downloading
that there isn't a way to convert a Table to PdfPTable, is it
correct?
Thank you very much.
Bye
Raffaele
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
GAMBELLI Raffaele
Sent: mercoledì 13 dicembre 2006 11.44
To: itext-questions@lists.sourceforge.net
Subject: [iText
,
On 14/12/06, GAMBELLI Raffaele [EMAIL PROTECTED] wrote:
Is there anybody out there :-)?
Bruno Lowagie (and Paulo Soares too I think), the main contributors of
iText and the ones that provide 99% of the answers on the mailing
list, are currently at Javapolis (www.javapolis.com), and can't answer
Hi all,
I have a very simple question:
If I want to insert a table inside my header footer, I should override the
onEndPage(PdfWriter writer, Document document) method as seen in this
http://itextdocs.lowagie.com/examples/com/lowagie/examples/directcontent/pageevents/EndPage.java
In fact, I
Hi all,
why this code:
private static void createDocument(Document document) throws
DocumentException {
for (int i = 0; i 1000; i++) {
Table rowTable = createTable();
document.add(rowTable);
}
}
private
Hi all,
sorry for my wrong reply on the other discussion...
However, my question is:
why this code:
private static void createDocument(Document document) throws
DocumentException {
for (int i = 0; i 1000; i++) {
Table rowTable = createTable();
Ops...The attachment...here it is
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
GAMBELLI Raffaele
Sent: martedì 12 dicembre 2006 11.47
To: itext-questions@lists.sourceforge.net
Subject: [iText-questions] Simple question abou tables
Hi all,
sorry for my
72 matches
Mail list logo