[iText-questions] Stamped objects in template falling off one merge

2008-11-13 Thread Mark Hall
Hello I'm using ITextSharp Version 4.0.8.0. I create array of PDF Memory Streams and once complete merge them into one document with page number breaks on a master number. I was asked to add a signature to one of the forms templates. I did that using a transparent gif and the stamper tool in

Re: [iText-questions] Stamped objects in template falling off on merge

2008-11-13 Thread Mark Hall
I changed my merge to PDFCopy and it did retain the stamp. Unfortunately I use the previously referenced code to place page numbers on the files before merging them. When I created the page number code that wasn't possible with PDFCopy. So I am still faced with the stamp falling off if I

Re: [iText-questions] RtfWriter2 HTML img problem

2008-06-27 Thread Mark Hall
Hi, I can't really help you much, except to say that the HtmlParser has been more or less unmaintained for quite some time. Now I think that Howard might be doing some work on it, but nothing is guaranteed. Perhaps Howard can shed some light on what he is doing, otherwise you are on your own.

Re: [iText-questions] line distance in rtf document

2008-06-26 Thread Mark Hall
Hi, sorry it takes me some time to respond to questions here. Instead of using a Phrase, use a Paragraph to construct the text in the cell and then set the leading of the Paragraph to the desired amount. That should fix the problem. Greetings, Mark On Thursday 26 June 2008, [EMAIL PROTECTED]

Re: [iText-questions] RTF bookmarks?

2008-06-11 Thread Mark Hall
Hi, Howard has answered the more specific RTF questions you've posted. Just as a general information there is a small tutorial on most of the RTF extensions to iText, which can be found here http://itextdocs.lowagie.com/tutorial/rtf/ Greetings, Mark On Wednesday 11 June 2008, Steve Jorgensen

Re: [iText-questions] RTF Table problems (HtmlParser)

2008-06-10 Thread Mark Hall
This is probably a problem with the HtmlParser. I've updated the subject to reflect this. Perhaps Bruno/Paulo can help here. There are no known bugs in the table column sizing in RTF. Mark On Tuesday 10 June 2008, Tim Donovan wrote: Hi List, I am using RtfWriter2 and HtmlParser to convert

Re: [iText-questions] iText RTF TOC

2008-06-09 Thread Mark Hall
file, but I don't have TOC at the begin file kr - Original Message - From: Mark Hall [EMAIL PROTECTED] To: itext-questions@lists.sourceforge.net Sent: Friday, June 06, 2008 10:20 PM Subject: Re: [iText-questions] iText RTF TOC -- All replies must be addressed to the mailing list. Any

Re: [iText-questions] iText RTF TOC

2008-06-06 Thread Mark Hall
On Friday 06 June 2008, Krzysztof Rączka wrote: It's possible to create Table Of Contents with number site paragraph in RTF file?, I'm not quite sure I understand what you want, but probably you should have a look at the TOC chapter in the tutorial

Re: [iText-questions] [RTF] Re: Underline up to the end of the line

2008-05-29 Thread Mark Hall
Hi, after being alerted to this thread I have now read up on this thread. Basically, if I've understood your problem correctly then you are stuck unless you know more about what text you are adding. RTF is rendered by the viewer and not by iText, so it is impossible for the system to do

Re: [iText-questions] Insert a MSWord form using iText??

2008-05-09 Thread Mark Hall
code: (which works fine with iText 1.3.6 jar) document.close(); if (document != null ) { document.close(); ) Any Ideas on how to fix it? Any help would be greatly appreciated. Charlie -Original Message- From: Mark Hall [mailto:[EMAIL PROTECTED

Re: [iText-questions] [RTF] - size is too much big

2008-04-30 Thread Mark Hall
Hi, Howard has gone into the details of why different RTF creators create different documents and thus different document sizes. I agree with Howard, that you should repeat your test with Word and then compare the sizes for a more realistic test. There is a setting in the RtfDocumentSettings

Re: [iText-questions] RTF and iTextSharp

2008-04-29 Thread Mark Hall
, PDFGenerationMessage lobjPDFGenerationEntity) in D:\Amanda\ELDACodeForACSRTF\Controller\Controller\ADSController.cs:lin e 583 Message: Cannot access a closed file. Source: mscorlib TargetSite: {VoidFileNotOpen()} Thanks, Amanda Mark Hall-6 wrote: Hi, please provide the stack trace

Re: [iText-questions] Insert a MSWord form using iText??

2008-04-29 Thread Mark Hall
Hi, Howard is correct. On Tuesday 29 April 2008, Lanzarone, Charles B (LABOR) wrote: How do I insert a checkbox into an rtf document via iText??? Use the RtfDirectContent class and add the RTF code that you need to add checkboxes. There is no internal support for these. How do I insert a

Re: [iText-questions] RTF and iTextSharp

2008-04-25 Thread Mark Hall
Hi, please provide the stack trace for the error. Without that we can only speculate. Perhaps a bug was introduced in the porting process, perhaps there's some weird interaction in your code. Greetings, Mark On Friday 25 April 2008, Amy_D wrote: Sorry, i have been trying all sorts of code

Re: [iText-questions] RTF and iTextSharp

2008-04-25 Thread Mark Hall
:\Amanda\ELDACodeForACSRTF\Controller\Controller\ADSController.cs:line 583 Message: Cannot access a closed file. Source: mscorlib TargetSite: {VoidFileNotOpen()} Thanks, Amanda Mark Hall-6 wrote: Hi, please provide the stack trace for the error. Without that we can only

Re: [iText-questions] RTF Header/Footer Line spacing

2008-04-22 Thread Mark Hall
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/Footer

Re: [iText-questions] RTF Header/Footer Line spacing

2008-04-22 Thread Mark Hall
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

Re: [iText-questions] Carriage return is converted to ? character

2008-04-10 Thread Mark Hall
Hi, this is caused by characters codes below 0x20. Except for \n and \t which are special cases and add a line break or tab keyword, all characters below 0x20 are filtered and replaced by ?. If you don't want the ? to appear, you need to filter those characters yourself. Greetings, Mark On

Re: [iText-questions] iText RTF and TIF images

2008-04-10 Thread Mark Hall
Hi, TIF images are not supported in RTF (as other people have mentioned previously). In theory an exception should be thrown when adding an unsupported image type. Perhaps you could post the code that you are using to add this TIF image. Greetings, Mark On Friday 04 April 2008, Jeffrey

Re: [iText-questions] limit to size of rtf

2008-04-03 Thread Mark Hall
Hi, I'm not aware of any size limitations in RTF. I believe that using the disk caching mode, people have generated much larger documents. I fear that you are running into some kind of bug. Which version of Word are you using to view the RTF document? Which iText elements are you using in the

Re: [iText-questions] Embed Flash in a PDF/RTF. Possible???

2008-04-01 Thread Mark Hall
Hi, in the RtfWriter2 there is no provision for this. I don't know if it is possible at all in RTF. If it is you can add the required RTF code directly using the RtfDirectContent object. Regards, Mark On Tuesday 01 April 2008, jgmaux wrote: Hi, It's possible to embed a Flash inside a PDF o

Re: [iText-questions] RTF list in table cell

2008-03-30 Thread Mark Hall
Hi, this has now been fixed and should work correctly in upcoming versions. Mark On Tuesday 19 June 2007, Hombergs, Tom wrote: Hi Mark, I read you committed a fix last month to avoid an extra bullet at the end of a list within a table cell. Using iText 2.0.4 I am now missing a bullet at

Re: [iText-questions] rtf table cell border width

2008-03-29 Thread Mark Hall
Hi, it's taken some time, but the border width is now constrained to 75 Twips (as specified in the RTF specification) instead of to the arbitrary 2 point width. Mark On Friday 04 January 2008, Georg Nebehay wrote: try {    Document document = new

Re: [iText-questions] RTF and iTextSharp

2008-03-29 Thread Mark Hall
Hi, support for List.setFirst(N) has been added to the RtfWriter2. Greetings, Mark On Tuesday 12 February 2008, [EMAIL PROTECTED] wrote: I'm forwarding this to the mailing list. That's the best place for questions like this. Quoting Wouter Smeenk [EMAIL PROTECTED]: Hello, I'm working

Re: [iText-questions] RTF - problem in cross references

2008-03-26 Thread Mark Hall
Hi, internal links are not supported in the RtfWriter2. Mark On Wednesday 26 March 2008 05:58:50 Pradeep Pandey wrote: Hi, I am using itext for generation of an RTF document, the problem i am facing is with the use of Anchors. Anchor doesn't give any error when used with html document but

Re: [iText-questions] Can i create a new style with numbered heading?

2008-03-25 Thread Mark Hall
Hi, I am unclear on what you wish to achieve. If you want to create a table of contents look at the tutorial http://itextdocs.lowagie.com/tutorial/rtf/features/toc/index.php# If you want lists with more than one level displayed (1.2.3. instead of just 3.) then this is not possible. Greetings,

Re: [iText-questions] [RTF] In Word2000 images are smaller than in WordXp

2008-03-07 Thread Mark Hall
Hi, have you tried this: http://itextdocs.lowagie.com/tutorial/rtf/documentsettings/index.php# Unforatunately the only really supported version is WordXP or newer. Everything else, if it works brilliant, if it doesn't bad luck. I currently don't have the time to look at any issues outside of

Re: [iText-questions] create TOC in RTF when parsing from XML

2008-03-03 Thread Mark Hall
Hi, sorry to take so long to answer your question, but I'm busy. Take a look at http://itextdocs.lowagie.com/tutorial/rtf/features/toc/index.php# to see how TOCs work in the RtfWriter2. I unfortunately have no experience using the XML input, so I can't provide any help there on what just works

Re: [iText-questions] RTF: Page Border

2008-02-27 Thread Mark Hall
)); document.add(shape); Regards Anil -Original Message- From: Mark Hall [mailto:[EMAIL PROTECTED] Sent: Wednesday, 27 February 2008 10:43 AM To: itext-questions@lists.sourceforge.net Cc: Anil Kumar Subject: Re: [iText-questions] RTF: Page Border Hi

Re: [iText-questions] Split RTFTables dynamically based on height between pages

2008-02-27 Thread Mark Hall
Hi, the answer to your question is No and the reason is that RTF is a text-description and not a rendered format. http://itextdocs.lowagie.com/tutorial/rtf/index.php Mark On Wednesday 27 February 2008, Me Simple wrote: Hi, I am creating a RTF document using IText 2.0.8 version. I am

Re: [iText-questions] '?' appears in generated RTF document for '\r'

2008-02-27 Thread Mark Hall
Hi, line-breaks should work with just the \n. The RtfWriter2 doesn't know what to do with a \r, so Word then displays the ?. Just remove them and it shouldn't be a problem. Mark On Wednesday 27 February 2008, Me Simple wrote: HI, I recently upgraded from iText 1.3 to iText 2.0.8 version. I

Re: [iText-questions] RTF Add Image Line Break

2008-02-26 Thread Mark Hall
Hi, place the Image in a Chunk, that will display the image in-line. Mark On 26 Feb 2008, at 06:22, Anil Kumar wrote: There is one automatic line-break / CR gets added after image, is there anyway to stop this happening. I am using this code. Image image = Image.getInstance(imageData);

Re: [iText-questions] RTF Add Image Line Break

2008-02-26 Thread Mark Hall
(percent, 100); image.scalePercent(percent, percent); Document document = (Document) documentObj; document.add(new Chunk(image,0,0)); Thanks Anil -Original Message- From: Mark Hall [mailto:[EMAIL PROTECTED] Sent: Tuesday, 26 February 2008 8:39 PM To: Post all your questions about

Re: [iText-questions] RTF Add Image Line Break

2008-02-26 Thread Mark Hall
it is happening ? Regards Anil -Original Message- From: Mark Hall [mailto:[EMAIL PROTECTED] Sent: Wednesday, 27 February 2008 7:25 AM To: 'Post all your questions about iText here' Cc: Anil Kumar Subject: Re: [iText-questions] RTF Add Image Line Break Hi, yes you are right. Sorry

Re: [iText-questions] RTF: Page Border

2008-02-26 Thread Mark Hall
Hi, no that is not supported. You might try faking it using the drawing objects. I can't guarantee that it can work though. Have a look at the tutorial http://itextdocs.lowagie.com/tutorial/rtf/index.php for how to use these. Mark On Tuesday 26 February 2008, Anil Kumar wrote: Hello, I

Re: [iText-questions] RTF Merge

2008-02-20 Thread Mark Hall
Hi, wait for the next release where the RTF import functionality has been massively improved (or compile yourself from the SVN source). The current release only supports very simple documents. Mark On 20 Feb 2008, at 03:32, Anil Kumar wrote: Hi, I am trying to merge multiple RTF file in

Re: [iText-questions] RTF and iTextSharp

2008-02-12 Thread Mark Hall
On Tuesday 12 February 2008, [EMAIL PROTECTED] wrote: I'm working with ITextSharp and it works great! I found something that is not working correctly i think. If i define a numbered list in a rtf document to start at 4 then it still starts at 1. Is this a bug or currently not

Re: [iText-questions] RTF: table tieh no border

2008-02-08 Thread Mark Hall
On Friday 08 February 2008 13:06:59 Henry Lu wrote: How do I create a table with no border displayed in RTF? Check the API documentation on how to set borders http://itext.ugent.be/library/api/ Mark - This SF.net email is

Re: [iText-questions] rtf space between lines

2008-02-08 Thread Mark Hall
Hi, before answering your question I would like to recommend the following two things: * Please read the online tutorial, or even better buy the book iText in Action. While the focus of both is on the PDF generation, the basic principles of generating PDF documents work exactly the same way

Re: [iText-questions] 4 questions about 2.0.8

2008-02-07 Thread Mark Hall
On Thursday 07 February 2008, Henry Lu wrote: 1. remove blank line before table You will need to edit the source. Check the mailing list archive for how to do this and what to change.. 2. specify start page number No. 3. add extra space before and after a page number I don't understand this

Re: [iText-questions] rebuild the jar from source code

2008-02-07 Thread Mark Hall
TSP OpenPGP/BCPG ? Where do I put the jar? Do I need to change the build.xml or compile.cml? -Henry Mark Hall wrote: The one for the java version that you are using to compile the source code. Mark On Thursday 07 February 2008, Henry Lu wrote: Which one should I use

Re: [iText-questions] rebuild the jar from source code

2008-02-07 Thread Mark Hall
On Thursday 07 February 2008, you wrote: and I got a lot of errors about missing import files like import org.bouncycastle.cms.CMSEnvelopedData; Am i missing some */dependencies/* Yes, you need the bouncycastle jars. You can get them here: http://www.bouncycastle.org/java.html Regards, Mark

Re: [iText-questions] rebuild the jar from source code

2008-02-07 Thread Mark Hall
download/bcprov-jdk16-138.jar bcmail-jdk16-138.jar download/bcmail-jdk16-138.jar bctsp-jdk16-138.jar download/bctsp-jdk16-138.jarbcpg-jdk16-138.jar download/bcpg-jdk16-138.jar bctest-jdk16-138.jar download/bctest-jdk16-138.jar -Henry Mark Hall wrote: On Thursday 07 February

Re: [iText-questions] RtfWriter2 with different fonts in Table Cell ?

2008-02-07 Thread Mark Hall
Hi, unfortunately you've run into a bug for which there is no work-around and due to re-organisation building from svn might also not work. If you've got the source for 2.0.8, then you can add the following lines to the com.lowagie.text.rtf.style.RtfFont class and it should work as desired:

Re: [iText-questions] rebuild the jar from source code

2008-02-07 Thread Mark Hall
\lowagie\images not found. -Henry Mark Hall wrote: Only the bcprov and bcmail jars are required. Place them in the lib directory. They should then be automatically included in the classpath. Mark On Thursday 07 February 2008, Henry Lu wrote: for java 1.6, which one should i use

Re: [iText-questions] RtfWriter2 with different fonts in Table Cell ?

2008-02-07 Thread Mark Hall
On Thursday 07 February 2008, Danny Sporea wrote: Is this a bug or am I doing something wrong ? If I don't add the Chunks to the table, but I add them to the document, I am getting the results I seek... In that case it looks like a bug. I'll look into it. Mark -- You will be reincarnated as a

Re: [iText-questions] Image not dispaying in RTF document (Wordpad)

2008-02-06 Thread Mark Hall
Hi, unfortunately only MS Word is supported as a viewer for RTF files generated by iText. If it works in MS Word (Word XP as the reference viewer), then it is classified as a problem in the RTF viewer and not in iText. I do not have the time to comprehensively test other RTF viewers.

Re: [iText-questions] RTF Chunk.SetUnderline

2008-01-17 Thread Mark Hall
He does a bit, but nevertheless managed to miss this question. Due to the differences between PDF and RTF rendering, in the RTF output you need to set the underline in the Font. Either via the constructor or via the setStyle(Font.UNDERLINE) method. Greetings, Mark On Wednesday 16 January

Re: [iText-questions] [RTF] Using RtfTotalPageNumber outside a header or footer

2008-01-15 Thread Mark Hall
Hi, that it is not updated outside the header or footer is inherent to the nature of the RTF viewers that I have tried. I can't say why the viewers do not automatically update this field outside the header/footer, but it's unfortunately the way it is. Greetings, Mark On Tuesday 15 January

Re: [iText-questions] rtf table cell border width

2008-01-04 Thread Mark Hall
On Friday 04 January 2008, Georg Nebehay wrote: Is there a sound reason for this being here? If I edit the resulting file manually I can achieve thicker borders at will. I am using Windows 2003 for displaying rtf. I'm pretty certain there was/is a reason why this arbitrary width was specified,

Re: [iText-questions] Writer Microsoft Word

2008-01-04 Thread Mark Hall
On Friday 04 January 2008, BACQ Jean-sébastien wrote: Je me demande si nous avons la possibilité de transformer directement un document PDF réalisé avec iText en document Word sans passer par un format RTF ?? Non, ce n'est pas possible. Greetings, Mark -- Your aim is high and to the right.

Re: [iText-questions] rtf encoding problem with itext 2.0.7

2008-01-03 Thread Mark Hall
On Wednesday 02 January 2008, Abid Hussain wrote: And second, is there a way to change the encoding of a rtf-document (e.g. to UTF-8)? No. This is currently hard-coded. At some point in the future this might become configurable, but currently it is not possible. Regards, Mark -- The only way

Re: [iText-questions] Helvetica in PDF becomes Arial

2007-12-12 Thread Mark Hall
On Tuesday 11 December 2007, [EMAIL PROTECTED] wrote: but why is it possible to use Helvecita in Rtf??? Because the Rtf never uses the actual font. It just tells the viewer that you would like to use Helvetica. If the viewer can find Helvetica it uses it, otherwise just as in the case of PDF

Re: [iText-questions] Helvetica font in rtf

2007-12-10 Thread Mark Hall
On Monday 10 December 2007 13:02:34 [EMAIL PROTECTED] wrote: ich want to generate a rtf file with Helvetica as font. But when I open the doc in MS Word, it says the font is Arial. here my source: Cell c = new Cell(new Phrase(text, FontFactory.getFont(Helvetica, 11,

Re: [iText-questions] [iText] rtf wrong color border

2007-12-05 Thread Mark Hall
for tables, including borders and backgrounds. As Mark indicated I am working on some fixes to submit and hope to have a first pass submitted to Mark for his review in the next week or so. Howard - Original Message From: Mark Hall [EMAIL PROTECTED] To: Post all your questions

Re: [iText-questions] RTF Parser update

2007-12-05 Thread Mark Hall
Hi, I must admit, that I didn't take the size of the resulting jars into consideration when adding the new features to the repository. While I agree that currently the RtfCtrlWordBase_* classes take up a lot of space for no additional return value, this will change, as they are fleshed

Re: [iText-questions] RTF Parser update

2007-12-05 Thread Mark Hall
On 5 Dec 2007, at 18:23, Howard Shank wrote: There are so many control words in the RTF spec that I tried to simplify the creation of the classes through automating the generation of them. This way new control words (RtfCtrlWordBase_*) can be added through the generation process without

Re: [iText-questions] [iText] rtf wrong color border

2007-11-16 Thread Mark Hall
On Friday 16 November 2007, so wrote: I'm using iTExt to parse a rtf file and replace some tokens but I have a problem with tables. If table border is black, it's appear white and if table border is white, it's appear black. But if the border is in another color, it's appear in the good

Re: [iText-questions] [RTF] Size of iText-generated RTF file growing after saving in Word

2007-11-15 Thread Mark Hall
Hi, it is basically like Howard explained, every writer can decide which optional tags (and a lot are optional) to output. Word is very verbose, mainly because RTF represents all the options that you can select in Word and Word writes them out, even if they are the defaults. Also Word writes

Re: [iText-questions] image + classpath

2007-11-14 Thread Mark Hall
So it look like it's an issue with my WAR file/environment/libraries/etc... :-( If the image has a black background the resulting image is completely black, same behaviour with a white background so the image is completely white. Unfortunately I can't help you much either. I haven't done any

Re: [iText-questions] RTF-Color import mappings for table elements

2007-11-06 Thread Mark Hall
Thank you. I'll try to add this to the iText source in the next few days. The RTF parser is alpha quality code and cannot deal with quite a few things. Unfortunately I currently don't have time to work on iText at all, so I forsee little change in the near future. Greetings, Mark On Tuesday

Re: [iText-questions] RTF - Header and borders - using iText 2.0.6.

2007-11-05 Thread Mark Hall
On Monday 05 November 2007, sanjay patel wrote: I need to put a company logo in the header of an existing RTF document. There is existing text on the right side of the header in the existing RTF document and I need to put the logo on the left of the header i.e. image and text side by side. You

Re: [iText-questions] Support! (RtfHeaderFooter and images)

2007-09-28 Thread Mark Hall
On Friday 28 September 2007 15:00:08 Paulo Soares wrote: Just a better subject. -Original Message- I would like to have a Watermark on my rtf document so I try to add an image to the RtfHeaderFooter and configure it to be Image.UNDERLYING. Does it work or not. I do get the image

Re: [iText-questions] how can i use the class RtfWriter2

2007-09-21 Thread Mark Hall
On Friday 21 September 2007, steven ding wrote: i'm steven,i hava a question.when i wanted to get current page number in rtf file,but i can't use the getPageNumber() method!now ,how can i do it! my email is :[EMAIL PROTECTED] you can send it!My english is not good,so if you don't understand

Re: [iText-questions] Page Numbers for RTF

2007-09-21 Thread Mark Hall
On Wednesday 19 September 2007, mike lu wrote: I have several sections/chapters in the RTF document that I am trying to generate using iText. I would like to have the page numbers start from 1 for each section/chapter. I could not figure how to do that. I am only able to get the page numbers

Re: [iText-questions] How can I insert a Rtf document to another Rtf document's table?

2007-09-16 Thread Mark Hall
and the rtf section. http://itextdocs.lowagie.com/tutorial/ http://itextdocs.lowagie.com/tutorial/objects/index.html http://itextdocs.lowagie.com/tutorial/rtf/features/direct/index.html Greetings, Mark On Sunday 16 September 2007, Xuyun Fu wrote: Mark Hall-6 wrote: You can use

Re: [iText-questions] How can I insert a Rtf document to another Rtf document's table?

2007-09-15 Thread Mark Hall
On Saturday 15 September 2007, Xuyun Fu wrote: Using iText's RtfWriter2's |importRtfDocument() ../../../../com/lowagie/text/rtf/RtfWriter2.html#importRtfDocument%28java. io.Reader%29|, we can adds the complete RTF document to the current RTF document being generated (From Api). I want to know

Re: [iText-questions] RTF trautofit

2007-09-15 Thread Mark Hall
On Thursday 13 September 2007, [EMAIL PROTECTED] wrote: is there a reason why trautofit has been removed from the library? I am evaluating iText for RTF generation, our tables need trautofit, because we dont have cell width informations. If you could point me to the release where trautofit was

Re: [iText-questions] 2.0.5 RtfTableOfContents not produced ?

2007-09-12 Thread Mark Hall
On Wednesday 12 September 2007 10:32:45 Helmut Denk wrote: RtfTableOfContents seems to work with 2.0.4 but shows no toc with 2.0.5 The bug has been fixed in the SVN repository and will be in the 2.0.6 release. Mark - This

Re: [iText-questions] [RTF] page numbering in RtfHeaderFooter : iText 2.0.5 breaks existing code ?

2007-09-11 Thread Mark Hall
I'm currently in the process of moving, and work is taking up most of my time, but I'll try and look into what is causing this as soon as possible. Greetings, Mark On Monday 10 September 2007, Alexis Pigeon wrote: Hi again, On 10/09/2007, Alexis Pigeon [EMAIL PROTECTED] wrote: Hi all,

Re: [iText-questions] rtf header itext 1.4.8

2007-09-04 Thread Mark Hall
On Tuesday 04 September 2007, Pop Cristian wrote: in version 1.4.8. It works in 1.3.6. Should I change some settings?Or is a bug? Try upgrading to the latest release (2.0.4), with which it works for me. Greetings, Mark -- Excellent day to have a rotten day. My GPG public key is available

[iText-questions] Paragraph indentation

2007-08-29 Thread Mark Hall
Hi, I've run into a little problem with PDF generation and paragraph indentation. My document consists of a series of Paragraphs, and all of them have their left indentation set to 30. The problem is that the indentation of each paragraph is not the same from page to page. On some it seems to

Re: [iText-questions] Paragraph indentation

2007-08-29 Thread Mark Hall
On Wednesday 29 August 2007 15:01:34 Bruno Lowagie (iText) wrote: Mark M. Hall wrote: The SVN changes have reduced the number of mis-indentations, but I still have one page where it happens. I can confirm that setSpacingAfter is a probable culprit, as commenting it out makes the bug go

Re: [iText-questions] Paragraph indentation

2007-08-29 Thread Mark Hall
On Wednesday 29 August 2007 15:30:44 Bruno Lowagie (iText) wrote: Mark Hall wrote: On the other hand, I've run into a new problem. setSpacingAfter and setKeepTogether interfere with each other as well. If I use the following code: paragraph.setSpacingAfter(18

Re: [iText-questions] Bug? PDFSmartCopy importing duplicate pages

2007-08-24 Thread Mark Hall
Is there a person I can send them to directly so I don't have to cleanse the names and addresses? If not I will work on changing the population of the forms. Thanks for your help, Mark - This SF.net email is sponsored by:

Re: [iText-questions] Bug? PDFSmartCopy importing duplicate pages

2007-08-24 Thread Mark Hall
Thanks for checking it out and for all of your hard work on the project. Cheers, Mark Hall - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events

[iText-questions] Bug? PDFSmartCopy importing duplicate pages

2007-08-23 Thread Mark Hall
http://itext.ugent.be/library/com/lowagie/examples/general/copystamp/Con catenate.java Using that sample code above ported to c#. Using iTextSharp. When appending a form made with a pdf form template to another form that already has a completed from made with the same template the concatenate

[iText-questions] PDFSmartCopy with MemoryStream input

2007-08-22 Thread Mark Hall
I have a list of forms to write to disk. They are grouped by an ID and each ID might have 1 or more forms in its group. The forms can come from 100 different templates. So I have a memory stream array that I place the completed and flattened forms into and on ID break I pass the array to a

Re: [iText-questions] How to Output an rtf Code

2007-08-14 Thread Mark Hall
On Tuesday 14 August 2007 15:42:00 Steve-O wrote: I'm creating an rtf document and need to insert a symbol that is represented by the rtf code \u9472\'2d You want to use the RtfDirectContent object. Greetings, Mark - This

Re: [iText-questions] RTF -- setFirstLineIndent and setIndentationLeft are not working

2007-08-03 Thread Mark Hall
On Friday 03 August 2007 14:25:41 Steve-O wrote: I create a Paragraph object then call setFirstLineIndent and setIndentationLeft, but these methods have no effect on the rtf output. Is there anything else I need to do? Following is the code I use: Paragraph p = new Paragraph(lineText,

Re: [iText-questions] Extra Paragraph Symbols Inserted

2007-08-03 Thread Mark Hall
On Friday 03 August 2007 14:35:01 Steve-O wrote: I read the Javadoc for the Table class, which says: Normally a newline is added before you add a Table object. This newline uses the current leading. If you want to control the space between the table and the previous element yourself, you have

Re: [iText-questions] [RTF] which is the better rtf viewer for itext

2007-07-06 Thread Mark Hall
in MS Word setBackgroundColor doesn't work and setRowspan works fine; but in OpenOffice setBackgroundColor works and setRowspan doesn`t. How can I solve this problem? Which rtf viewer must i use for itext? I tested this example with itext releases 1.3 and 2.0, MS Word 97 and 2000 and

Re: [iText-questions] PDF RTF rendering bug using Table, List

2007-06-29 Thread Mark Hall
On Friday 29 June 2007, Dhruba Bandopadhyay wrote: Mark, sorry just to clarify do you mean nested tables are not supported by the RTF format or by the RTF implementation of itext? They are not supported by the RTF implementation of iText. Greetings, Mark -- My GPG public key is available at:

Re: [iText-questions] PDF RTF rendering bug using Table, List

2007-06-27 Thread Mark Hall
I've looked at your example and for the RTF output the problem is as follows: * Nested Tables are not supported. Not even if they are not directly nested, but contained in a List. Greetings, Mark On Monday 25 June 2007, Dhruba Bandopadhyay wrote: Hi there, First of all I want to thank you

Re: [iText-questions] Line Spacing in RTF

2007-06-27 Thread Mark Hall
On Tuesday 26 June 2007, Edward Smith wrote: Paragraph.setLeading(1.5f); But I don't get any line spacing. I don't see what effect this does at all? That is because the setLeading method expects a fixed leading. Try it with setLeading(18) for some nicer results. Greetings, Mark -- FORTUNE

Re: [iText-questions] RTF vs. PDF image scaling

2007-06-27 Thread Mark Hall
On Monday 25 June 2007, Chad Loder wrote: I have attached a test case to this email. I realize now after developing this case that the problem lies with differences in how tables are rendered between PDF and RTF. The PDF table cells are wide enough to show the image, while the RTF table is

Re: [iText-questions] RTF vs. PDF image scaling

2007-06-22 Thread Mark Hall
On Wednesday 20 June 2007, Chad Loder wrote: I am confused with the way image scaling works in PDF vs. RTF. I have read the May 15th thread between Thomas Bickel and Mark Hall where this is discussed: If you are using the last release, then image should be displayed at 72dpi in both PDF

Re: [iText-questions] Images in RTF Files

2007-06-15 Thread Mark Hall
On Friday 15 June 2007, Javier Martinez wrote: I have tried with the writeContent method and I get the same result. If you could send me a small self-contained example that I could run, then I could have a look at it. Greetings, Mark -- You will be given a post of trust and responsibility. My

Re: [iText-questions] Images in RTF Files

2007-06-14 Thread Mark Hall
On Thursday 14 June 2007, Javier Martinez wrote: In my project, we use Jasperreports to design reports, and it uses iText-1.3.1.jar library. If I make this with this iText Library version, I can insert the image properly (the only problem is that the image is align to the text). If I use the

Re: [iText-questions] RTF List: Spacing and Bullet Symbol

2007-06-14 Thread Mark Hall
On Wednesday 13 June 2007, Hombergs, Tom wrote: However, as soon as I use List.setListSymbol() to set the symbol to a symbol different from the default, the text after the bullet is indented too much. Has the symbolIndent perhaps been ignored by the change? Or am I doing something wrong? I

Re: [iText-questions] RTF List: Spacing and Bullet Symbol

2007-06-13 Thread Mark Hall
On Wednesday 13 June 2007, Hombergs, Tom wrote: However, as soon as I use List.setListSymbol() to set the symbol to a symbol different from the default, the text after the bullet is indented too much. Has the symbolIndent perhaps been ignored by the change? Or am I doing something wrong?

Re: [iText-questions] RtfWriter: How to set font size of paragraph rendered from NewPage()

2007-06-06 Thread Mark Hall
On Monday 04 June 2007, Stewart Meyers wrote: Whenever NewPage() is called for RtfWriter, it places a paragraph with a NewPage (/page) marker in the document. The problem is that the paragraph which contains the new page takes up some height in the document. Is there a way to set the font of

Re: [iText-questions] questions about iText and RTF

2007-06-05 Thread Mark Hall
On Tuesday 05 June 2007, Попов Дима wrote: Will it be possible for RTF to set the Cell Height and remove the space before Table? Or may be it already is? I suppose Table.setOffset(0) isn't working because the setSpaceBefore() method Is not implemented for Table and RtfTable. I really

Re: [iText-questions] absolute position in RTF

2007-05-30 Thread Mark Hall
Hi, I'll reply to the original e-mail. Yes, in theory it is possible, but iText does not support this. The only way would be to read the RTF specification and add the required RTF codes directly via the RtfDirectContent class. Greetings, Mark On Wednesday 30 May 2007, Ruskin Dantra wrote: Hi

Re: [iText-questions] Fixed height for RTFCell

2007-05-28 Thread Mark Hall
Hi, currently table cells generated with iText behave the way you described, expanding to fit the content. But within the RTF specification, it should be possbile to set at least a minimum height. I'm not sure if it is possible to reduce the height to less than the content height. I've never

Re: [iText-questions] RTF List: Spacing and Bullet Symbol

2007-05-28 Thread Mark Hall
Hi Felix, brilliant :-). I hope I will have time to look at your patch and then integrate it into the iText codebase this week. I'll let you know when I have done so. Greetings, Mark On Monday 28 May 2007, Felix Satyaputra wrote: Hi Mark, I've attached the patched txt file as well as copy

Re: [iText-questions] Table class [RTF]

2007-05-23 Thread Mark Hall
On Wednesday 23 May 2007, Paulo Soares wrote: Document document = new Document(); RtfWriter2.getInstance(document, new FileOutputStream(HelloWorld.rtf)); document.open(); Table table = new Table(1); document.add(table); document.close(); now the output is table with 2 rows. I

Re: [iText-questions] Difference between extraParagraphSpace andspaceBefore/spaceAfter

2007-05-23 Thread Mark Hall
On Wednesday 23 May 2007, Paulo Soares wrote: Consider a Paragraph with newlines inside. spaceBefore/spaceAfter will only happen once but extraParagraphSpace will happen with each newline. Thanks for the info. Greetings, Mark -- You will pioneer the first Martian colony. My GPG public key is

[iText-questions] RtfWriter2 Update

2007-05-23 Thread Mark Hall
Hi A major update to the RtfWriter2 (and all its helper classes) has been provided by Thomas Bickel. It is primarily a performance related update. In theory (and in our tests) there were no errors introduced by this change and the outward behaviour shouldn't change either. With the exception

[iText-questions] Difference between extraParagraphSpace and spaceBefore/spaceAfter

2007-05-22 Thread Mark Hall
Hi, what's the difference between extraParagraphSpace and the spaceBefore/spaceAfter methods? Greetings, Mark -- Q: Why should you always serve a Southern Carolina football man soup in a plate? A: 'Cause if you give him a bowl, he'll throw it away. My GPG public key is

  1   2   3   4   5   6   >