Thanks a lot for the explanation,
I got the idea, but I don't need tables in my case, just only very simple HTML,
font, br, b, u, i, body, html, that should be all and I noticed that it's
working perfect.
Regards,
Alin.
- Original Message
From: Bruno Lowagie (iText) <[EMAIL PROTECTE
Hi,
I think I found one defect in the parseToList static method from HTMLWorker.
The problem is like that:
I'm having one html text ('Title
OneSome text hereAnother title here Text1Text2Text3Text4 Text5
Text6 Text7Text8Text9Text10')
String htmlText=HTML Text that I mentioned ;
RtfFont fo
Guys,
I made it, by using setLeading(0) to paragraph object.
By default I saw that is something like 18.3 that value.
Thanks.
- Original Message
From: Alin Popa <[EMAIL PROTECTED]>
To: itext-questions@lists.sourceforge.net
Sent: Wednesday, November 29, 2006 10:08:22 PM
Subject:
Hi guys,
I have a strange(?) problem regarding the space between rows from a RTF
document.
I'm doing something like that:
.
Paragraph para=new Paragraph();
Chunk ch=new Chunk("Text1");
para.add(ch);
ch=new Chunk("Text2\n");
para.add(ch);
ch=new Chunk("Text3");
para.add(ch);
.
Thank you for the fast answer.
Alin.
- Original Message
From: Mark Hall <[EMAIL PROTECTED]>
To: itext-questions@lists.sourceforge.net
Cc: Alin Popa <[EMAIL PROTECTED]>
Sent: Tuesday, November 28, 2006 1:42:57 PM
Subject: Re: [iText-questions] Html into RTF
On Tuesday 28 N
Hello,
Could you please someone, tell me, that it is possible to put HTML code into
RTF Paragraph and to be displayed like in a browser ?
I'm trying very hard to do one API that will transform HTML tags into RtfFont
or something close to that, but I don't really have any time for that :(
I saw
Hi to everyone,Another issue appear for me:I have one String that I want to display it in one RTF, well, the problem is that I want to display it on multiple lines.Maybe you'll say to use Chunks, but I already have the
complete String with some characters for new line (for example "-" is used for
Hi,In iText is possible to attach one file (to insert one file) into a paragraph ? I want to attach one excel file (or other format) exactly like word documents.If this is possible, can someone tell me how please ?
Thank you.-- Best Regards,Alin
Hi guys,I'm trying to do something like that:Anchor anch = new Anchor( "Name",RtfFont );String string1="FOLDER";String string2="STEP_FILE";String strTemp=string1+"\\"+string2;anch.setReference( fileTemp);The result for the anchor will be: FOLDER_FILE (without STEP).What's the catch ? What I'm doing
Hi,In iText is possible to attach one file (to insert one file) into a paragraph ? I want to attach one excel file (or other format) exactly like word documents.If this is possible, can someone tell me how please ?
Thank you.-- Best Regards,Alin
annot.put(PdfName.CONTENTS, new PdfString(description, > PdfObject.TEXT_UNICODE)); // Description>writer.addAnnotation(annot);> }> catch (IOException io) { io.printStackTrace(); }>}> > Regards,> Rog> > > Alin Popa wrote:> > Hi,> >> >
Thanks Roger,But actualy, I need to do that embedded stuff for RTF files and not for PDF.Any sugestion please ? Thanks.- Original Message From: Roger Misteli <[EMAIL PROTECTED]>To: Post all your questions about iText here Sent: Monday, October 2, 2006 11:00:15 AMSubject: Re: [iText-question
Hi,In iText is possible to attach one file (to insert one file) into a paragraph ? I want to attach one excel file (or other format) exactly like word documents.If this is possible, can someone tell me how please ?
Thank you.-- Best Regards,Alin-
I don't blame you guys, at ALL.Don't worry, I realy apreciate your work here, it help me a lot.You are very right, about MS Word, but it's not up to me, my manager wants this kind of documents.
On 9/8/06, bruno <[EMAIL PROTECTED]> wrote:
Alin Popa wrote:> Thanks guys,&
Thanks guys,I didn't know that the border stuff option is available just in printing stage.I prefer to have this border removed when I'm displaying the document.But if this cannot be done, I think I can leave with that.
Thanks once again for help ;)On 9/8/06, bruno <[EMAIL PROTECTED]
WHITE ); tableFooter.setBorderWidth( 0 );
tableFooter.addCell( cellPageNo ); tableFooter.addCell( cellDate );And still, the same gray border.
I don't know what I miss here. :(Other ideas ?Thank you.On 9/8/06, Mark Hall <[EMAIL PROTECTED]
> wrote:On Friday 08 September 2006 13:55, Ali
Color(Color.WHITE);tableFooter.setBorderWidth(0);Still I have the same table with the same gray border (please see attached PNG screenshot).
Can you sugest me something else to do please ? Thanks.On 9/8/06, Mark Hall <[EMAIL PROTECTED]
> wrote:On Friday 08 September 2006 10:17, Alin Popa wrot
Hi,There is someone who could please help me in solving a problem like that: I want to display a footer (to all pages from the document) that will have Page No and Current Date.I have these 2 elements, but I want to display them in diferent parts of the page:
Page No - Allign LEFTCurrent Date - Al
Thanks guys, but I got the idea.(Section sec=chapter.addSection(new Paragraph()));On 7/27/06, Alin Popa <
[EMAIL PROTECTED]> wrote:Hi guys,I have one problem regarding creation of Chapters and Subchapters.
Using iText there is possible to do this kind of structure ? I mean, for example:C
Hi guys,I have one problem regarding creation of Chapters and Subchapters.Using iText there is possible to do this kind of structure ? I mean, for example:Chapter chap=new Chapter("testing",1);
chap.addSection(new Paragraph("Sub testing"));document.add(chap);After that I'll have something like that
Hi guys,There is possible in the RTF to see when a page is changing ? An event or something, I don't knowOr, there is possible for a Table to check by itself if the cells are going to the next page ?
Sorry if I wasn't clear enough.Thanks.-- Best Regards,Alin
---
Hi Gregoire,I have kind of the same problem.Try to find in your code, when are you creating a lot of ObjectsBecause, one problem to me, is that I'm creating a lot of Paragraph objects into a recursive method.
The solution to me was to enlarge the memory space for jvm, but I don't like it.I'm st
Hi guys,Not for long time ago, I had some problems with Paragraph class.I'm generating a very big RTF document (few hundred pages) and of course with a lot of paragraphs (instances of Paragraph class).
In the constructor of Paragraph class, I'm passing few parameters (the text of the paragraph and
Hi Mark,Thanks for all the responses.I still don't manage how to make the same font for ALL TOCEntries Like I said before: each entry have its own font type/size/whatever.The solution using
RtfParagraphStyle didn't work.The way that I'm using entries to the TOC ... is NOT by using Chapters.Is
Hi guys,I have one problem about getting one immage size (width and height).Is this possible ? I'm trying to check the size of one image and I don't know if this is possible.Thanks.
-- Best Regards,Alin
-
Using Tomcat but need
Hi Bhupat,I have also the same problem: I can't setup the font for every entry of TOC. Even if I specify one font, the font it will be ... random or ... generated as the one from the page where the Entry was used.
Soi, guys, please help us, what can be the problem, how can we solve this ? This can
Hi all,Once again, I have a question:Is there possible to write 2 chapters on the same page (RTF) ?I've tried to do that, but, when I'm adding new Chapter, it will be placed on the next page.(The only way that I've succeded is to put a section to a chapter, but this is not what I need).
Thanks in a
Hi guys,I need some help regarding the following problems:1.Hyperlink/Anchor/RtfAnchor for using it into a RTF document.
The
document is generating using the Document class and NOT the RtfDocument
(so I'm thinking that the RtfAnchor will not solve my problem).
I'm trying to add two Anchors to my d
Hi guys,I need some help regarding the following problems:1.Hyperlink/Anchor/RtfAnchor for using it into a RTF document.The document is generating using the Document class and NOT the RtfDocument (so I'm thinking that the RtfAnchor will not solve my problem).
I'm trying to add two Anchors to my do
29 matches
Mail list logo