Amanda Nerissa D'souza wrote:
> Hi,
>
> I am using Itextsharp to create a RTF document in .NET. I find that
> using Rtfwriter, the properties like KeepTogether, TableFitsPage,
> CellsFitPage do not work. They do work using Rtfwriter2. But Rtfwriter2
> seems to have a problem with Document.Close
charlie_one wrote:
> hi, i was having the same issue. after a while I found a way around that at
> least worked for me.
Your workaround works, but it's not good because of the following
reasons (see inline comment):
> I was having this scenario
>
> Document document = new Document();
>
> Header
GeroChaman wrote:
> ok i've been working for a while with itext and it has helped me a lot until
> now, when i found the next issue.
>
> BaseFont font = BaseFont.createFont("c:\\windows\\fonts\\Roman.fon",
> BaseFont.IDENTITY_H, BaseFont.EMBEDDED);
>
> this is the exeption sent by the JVM:
>
>
hi, i was having the same issue. after a while I found a way around that at
least worked for me.
I was having this scenario
Document document = new Document();
HeaderFooter header = new HeaderFooter( new Phrase( "test phrase" ), false
);
PdfWriter.GetInstance( document, new FileStream( "c:\\te
ok i've been working for a while with itext and it has helped me a lot until
now, when i found the next issue.
BaseFont font = BaseFont.createFont("c:\\windows\\fonts\\Roman.fon",
BaseFont.IDENTITY_H, BaseFont.EMBEDDED);
this is the exeption sent by the JVM:
.Font 'c:\windows\fonts\Roman.f
Hi,
I am using Itextsharp to create a RTF document in .NET. I find that using
Rtfwriter, the properties like KeepTogether, TableFitsPage, CellsFitPage do not
work. They do work using Rtfwriter2. But Rtfwriter2 seems to have a problem
with Document.Close() function. It gives me the following err
M. Salah Ghalloussi wrote:
> Hello,
>
> I would have a question! why it comes out instead of 210x297 (A4)
> another worth(595x841) if I use the getPageSize() method???
Because A4 is 595 x 842 (or according to some PDF creators 595 x 841).
Please read the FAQ:
http://www.1t3xt.com/docs/faq.php?br
Sameer Jaffer wrote:
> Where can I find the Suns PDF Renderer. I have searched java.sun.com and have
> found nothing as such.
https://pdf-renderer.dev.java.net/
--
This answer is provided by 1T3XT BVBA
-
This SF.net email is
[EMAIL PROTECTED] wrote:
> Can anyone tell me why the output of the setLiteral() method would be
> different
> than that of the StreamWriter? Hear is the output of the conversion from RTF
> to PDF:
Either you don't understand PDF or I don't understand the question.
setLiteral is used for adding
Where can I find the Suns PDF Renderer. I have searched java.sun.com and have
found nothing as such.
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still
Correct, it will NOT be just the ID - it can well be any number of
things. This is NOT the way to compare PDFs.
Adobe Acrobat Professional has a nice PDF compare feature you can use.
Leonard
On Apr 22, 2008, at 5:31 PM, kan wrote:
> Yeah, I see. I have a lot complicated data, a lot of format
Yeah, I see. I have a lot complicated data, a lot of formatting rules
which form one PDF document at the end. After some changes in
data/formatters/etc I need to rebuilt report and show user if he need
to pay attention if something actually has been changed. It's not easy
to track all dependencies
I have a project that requires the dynamic creation of PDF templates (not with
acrofields). The entire creation will be data driven and the data model
consists of a PDFTemplate object that has a collection of PDFElement objects
(some begin text and some images).
I have built a very basic rich
Hi,
I've looked at the iText code and you should be able to construct a Cell with
a Paragraph without any problems. Also the RtfWriter2 understands that and
outputs the correct code.
Mark
On Tuesday 22 April 2008, Lawrence Tsosie wrote:
> Thanks for the suggestion - I am not certain if that wi
Thanks for the suggestion - I am not certain if that will work with an RTF
file...? Unless there is some method I am not aware of.
Any information is appreciated. Thanks.
-Lawrence
On Tue, Apr 22, 2008 at 4:33 PM, Howard Shank <[EMAIL PROTECTED]> wrote:
> If you are using the old table object
Hi,
In theory you could try adding a Paragraph to the Cell and setting the line
spacing in the Paragraph. I believe that should work, but I can't guarantee
it.
Greetings,
Mark
On Tuesday 22 April 2008, Lawrence Tsosie wrote:
> Good day.
>
> I am working on generating RTF files with Header/Foot
If you are using the old table object you may want to use the new PdfTable
object since the old one is no longer supported.
Howard
- Original Message
From: Lawrence Tsosie <[EMAIL PROTECTED]>
To: SourceForge_CommunityList
Sent: Tuesday, April 22, 2008 3:51:19 PM
Subject: [iText-questi
Hello,
The new parser is written to support RTF Specification 1.9. However not every
keyword is yet implemented, so you may have varying results in trying to
convert your files.
iText RTF does not officially support Office 2007 and is only tested up to
Office 2003.
Howard
- Original Mess
Can iText convert rtf files from rtf specification 1.6 to rtf specification
1.9. I've been generating reports with rtf specification 1.6 using jasper
which, when opened in office 2007 will require office 2007 to "repair" the
file. I believe this is due to office 2007 not liking rtf 1.6 and wanting
The ID is just that - a unique ID for each document, regardless of
content. For any two documents that are NOT actual copies - the ID
should be different.
In addition, PDF is NOT designed to be "binary compatible" when
creating a document from the same content. There are many variables
Good day.
I am working on generating RTF files with Header/Footer information that
users can customize. I've managed to use a Table to capture the data and
insert into the Header/Footer. The problem I cannot control is the Line
Spacing within the cell of the RTF file - it is not Single space. I
Hello,
I would have a question! why it comes out instead of 210x297 (A4) another
worth(595x841) if I use the getPageSize() method???
import java.io.FileOutputStream;
import java.util.HashMap;
import com.lowagie.text.Element;
import com.lowagie.text.Image;
import com.lowagie.text.PageSize;
Hi, everyone!
I'm using the library to generate PDF. I've found the library
generates different document even if content is absolutely the same. I
examined the library source code and found a reason. This is an ID
field in a trailer of each document. Somewhere inside PdfWriter there
is code:
fileI
John Krasnay wrote:
> Hello,
>
> I thought I'd drop you a line to mention that the page at
> http://www.lowagie.com/iText/docs.html has a link to a Javadoc archive
> that returns a 404. The bad link is
> http://itextdocs.lowagie.com/downloads/docs.tar.gz
Thank you for reporting this. The link has
Julien gauthier wrote:
> Hello, my name is Julien Gauthier, i french.
> I first awnt to thank you for your fabulous Api.
> I have a question.
> I have discovered your class JTextpanetoPdf in your 12th chapter. This
> class work very fine but
> the result is only printed (in the pdf file) in one pa
Hello,
I thought I'd drop you a line to mention that the page at
http://www.lowagie.com/iText/docs.html has a link to a Javadoc archive
that returns a 404. The bad link is
http://itextdocs.lowagie.com/downloads/docs.tar.gz
Thanks.
jk
-
Hello, my name is Julien Gauthier, i french.
I first awnt to thank you for your fabulous Api.
I have a question.
I have discovered your class JTextpanetoPdf in your 12th chapter. This class
work very fine but
the result is only printed (in the pdf file) in one page. If my Jtextpane is
too long, the
George Bilalis wrote:
> Yes,
> that's just a snippet from the quoted example (I only meant it as
> indication to the point).
Thanks, I just wanted to promote the new site with the examples ;-)
> Then a rectangle is supposed to be defined at two corners and not by
> "width x height". Isn't it?
Yes,
that's just a snippet from the quoted example (I only meant it as indication to
the point).
Then a rectangle is supposed to be defined at two corners and not by "width x
height". Isn't it?
George
> Date: Tue, 22 Apr 2008 18:42:48 +0200> From: [EMAIL PROTECTED]> To:
> itext-questions@li
George Bilalis wrote:
> Well, from iText in Action comes the following example:
Actually that's just a snippet. You can always refer
to 1t3xt.info for the complete sample, for instance:
http://1t3xt.info/examples/browse/?page=toc&id=7
The problem with the original poster may be caused
by the fact
Well, from iText in Action comes the following example:
// step 1: creation of a document-objectDocument document = new
Document();try {// step 2:
// we create a writer that listens to the document// and directs a
PDF
Jesus,
Look at the RtfField class. It is an abstract class you need to inherit and
make your own classes to generate your field values.
RtfPageNumber class would be an example you could review.
Howard
- Original Message
From: black_cat <[EMAIL PROTECTED]>
To: itext-questions@lists.sou
Ellen - what you write isn't true for Adobe Acrobat/Reader (can't
comment on others).
The preview you see in the Acrobat/Reader print dialog is ALSO based
on the CropBox, as per the PDF Reference.
Leonard
On Apr 22, 2008, at 10:15 AM, Ning Zhao wrote:
> Hi Sapien,
>
> recently I fought agai
Hi Sapien,
recently I fought against a similar problem during my work and got it
straight. Some facts to notice:
1. The mainstream pdf readers only render the cropbox area on screen.
Only when you hit the "print" button can you view your document in the
mediabox, in your "print preview" scree
Hola Jesús
On 22/04/2008, black_cat <[EMAIL PROTECTED]> wrote:
>
> Hi, I´m ussing itext to create a RTF file,
[snip]
Please post again your question with "[RTF]" in the subject, so that
the developers dedicated to the RTF code might catch it.
Cheers,
alexis
Hi!
I am using iText for creating pdf.
I am trying to set page size by using
document.setPageSize(PageSize.A3);
And
int PageScalingNone = 1 << 21;
pdfWriter.setViewerPreferences(PageScalingNone);
for pdf to A3, but failed to do so.
I also changes the size of rectangle
Rectangle pageS
Thanks for the tip Paulo, this appears to be what I need, and I've done some
investigating into both mediabox and cropbox. I've tried implementing some
examples in my code, but can't seem to get it right. Has anyone
successfully used mediabox and cropbox in Coldfusion within a cfscript tag?
Man
Hi, I´m ussing itext to create a RTF file,
I be able to generate bold text, underline text, ... but I need to
insert a "field" wich is genetated in RTF like:
...
{\*\docvar {NAMEVAR}{NAMEVAR=My name}}
...
{\field{\*\fldinst {\fs20\insrsid3897696 DOCVARIABLE NAMEVAR\\* MERGEFORMAT
}}{\fldrslt {\
Paulo Soares wrote:
> Put a newPage() between the MultiColumnText.
That's correct.
I uploaded a change to SVN that avoids having an endless loop.
The change was tested on the tutorial examples and the sample
that was sent to the list. It should also be tested on the
book examples.
br,
Bruno
-
Put a newPage() between the MultiColumnText.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of [EMAIL PROTECTED]
> Sent: Tuesday, April 22, 2008 10:40 AM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] More than one
jackyntk wrote:
> Hi All,
>
> I have create the header to display the chapter title.
I assume you are using page events?
> I want to skip the
> header display when a first page of each chapter.
Add an extra parameter to the page event implementation
that keeps track. For instance: a boolean fir
Hi All,
I have create the header to display the chapter title. I want to skip the
header display when a first page of each chapter. Does anyone can help me?
Thank you very much!
--
View this message in context:
http://www.nabble.com/How-to-skip-the-header-when-a-new-chapter-tp16823520p168
Hello,
I am trying to build a document that contains 1 to n MultiColumnTexts
(MCTs).
If these MCTs have different column counts, the program runs into an
infinous
loop, when I call document.add([MCT]).
Is it because of a limitation of the MCT or is it a bug or am I just doing
something
wrong?
Bruno Lowagie wrote:
> It's possible, but it's not obvious, and you should expect it
> to work on every possible browser/reader configuration combination.
I mean: you shouldn't expect it to work on every configuration.
Not all viewers support JavaScript, different browsers/viewers
will handle mess
m_cannon wrote:
> I'm embedding my pdf w/in an iframe in my web application and have a standard
> html toolbar that contains a submit button. Is it possible to submit the
> pdf via javascript onClick of the html button?
It's possible, but it's not obvious, and you should expect it
to work on ever
45 matches
Mail list logo