[iText-questions] line spacing not working

2012-07-29 Thread navin_162
Hi All,

I have a document which contains a table, wit cell containing data. The data
can also contain arabic text.

We are using the below the below code:
cell = new PdfPCell(new Paragraph(rs1.getString(6),
font));
cell.setColspan(3);
cell.setPaddingRight(15f);
cell.setBorder(PdfPCell.NO_BORDER);
if (rs1.getString(13).equalsIgnoreCase(1)) {
cell.setRunDirection(PdfWriter.RUN_DIRECTION_RTL);
}
table.addCell(cell);

We wanted to increase the spacing between the lines, so we replaced the
first line with the below line, but the spacing did not change.

  cell = new PdfPCell(new Paragraph(20f, rs1.getString(6),
font));

When we changed the code to below, the line spacing is working but the
arabic text is not displaying RTL.
  Paragraph para= new Paragraph(15f,rs1.getString(6), font);
  cell = new PdfPCell();
  cell.addElement(para);
  cell.setColspan(3);
  cell.setPaddingRight(15f);
  cell.setBorder(PdfPCell.NO_BORDER);
  if (rs1.getString(13).equalsIgnoreCase(1)) {
 cell.setRunDirection(PdfWriter.RUN_DIRECTION_RTL);
  }
  table.addCell(cell);


How do I resolve the issue with the line spacing and also the text
direction.

Thanks in advance.

Navin






--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/line-spacing-not-working-tp4655725.html
Sent from the iText - General mailing list archive at Nabble.com.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php


Re: [iText-questions] line spacing not working

2012-07-29 Thread info
On Sun, 29 Jul 2012 04:47:17 -0700 (PDT), navin_162 navin_...@yahoo.com
wrote:
 Hi All,
 
 I have a document which contains a table, wit cell containing data. The
 data
 can also contain arabic text.
 
 We are using the below the below code:
 cell = new PdfPCell(new Paragraph(rs1.getString(6),
 font));

This means you're working in text mode, not in composite mode.

 We wanted to increase the spacing between the lines, so we replaced the
 first line with the below line, but the spacing did not change.
 
   cell = new PdfPCell(new Paragraph(20f,
rs1.getString(6),
 font));

You're changing the leading as if you were working in composite mode.
As described in the documentation and as repeatedly answered: please don't
mix text mode and composite mode!

In text mode, you set the leading at the cell-level (using
cell.setLeading(leading)); all the leadings of the content will be ignored.
In composite mode, the leading set at the cell-level will be ignored in
favor of the leading of the elements added to the cell.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php


[iText-questions] Line spacing

2012-04-02 Thread Stefanescu Gabi




Hello, Could you please give me a little help for my problem? I am using the 
FreeTextBox to create a html text that later I want to export to pdf. I am 
using iText# and the HTMLWorker. This is my code: private byte[] 
RanderHTMLtoPDF(string html)
{
byte[] doc = null;iTextSharp.text.Document idocument = new 
iTextSharp.text.Document(iTextSharp.text.PageSize.A4, 32, 32, 50, 50);
using (MemoryStream m = new MemoryStream())
{
iTextSharp.text.pdf.PdfWriter.GetInstance(idocument, m);
idocument.Open();using (TextReader sReader = new 
StreamReader(new MemoryStream(System.Text.Encoding.Default.GetBytes(html)), 
Encoding.Default))
{
iTextSharp.text.html.simpleparser.HTMLWorker worker = new 
iTextSharp.text.html.simpleparser.HTMLWorker(idocument);
worker.StartDocument();
worker.Parse(sReader);
worker.EndDocument();
}
idocument.Close();doc = m.ToArray();
}
return doc;
} the problem is that in PDF, the line spacing is too big and the client 
wants it smaller. and I couldn't find a solution to do that.  Thanks, Gabriel   
 --
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Re: [iText-questions] Line spacing

2012-04-02 Thread Alexis Pigeon
Hi Gabriel,

2012/4/2 Stefanescu Gabi sb...@hotmail.com

  Hello,

 Could you please give me a little help for my problem? I am using the
 FreeTextBox to create a html text that later I want to export to pdf. I am
 using iText# and the HTMLWorker. This is my code:


HTMLWorker has been discontinued in favor of XML Worker.
See http://demo.itextsupport.com/xmlworker/
http://demo.itextsupport.com/xmlworker/
http://sourceforge.net/projects/itextsharp/files/xmlworker/

Cheers,
alexis
--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Re: [iText-questions] Line spacing

2012-04-02 Thread Stefanescu Gabi




Hi,yes, I know it has beed discontinued in favor of XML Worker. I had a problem 
before with the hr tag I think, and I got the same answer, but I couldn't 
change it with XML Worker. I tried to use xml worker instead, couldn't. The guy 
who wrote this before left and I had to take over. I didn't have enough time to 
do this so I just replaced programatically the hr tag with string.empty as I 
didn't need it.but now I got this new problem and I really cannot work it out. 
is there a way I can use the html worker so I don't have to change the whole 
thing, and make the line spacing in the html I receive smaller? thanks  Hi 
Gabriel,

2012/4/2 Stefanescu Gabi sbiga@...

  Hello,

 Could you please give me a little help for my problem? I am using the
 FreeTextBox to create a html text that later I want to export to pdf. I am
 using iText# and the HTMLWorker. This is my code:


HTMLWorker has been discontinued in favor of XML Worker.
See http://demo.itextsupport.com/xmlworker/
http://demo.itextsupport.com/xmlworker/
http://sourceforge.net/projects/itextsharp/files/xmlworker/

Cheers,
alexis
  --
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Re: [iText-questions] Line spacing

2012-04-02 Thread Stefanescu Gabi

ok,  thanks a lot for your reply. Gabriel
 From: pigeon.ale...@gmail.com
Date: Mon, 2 Apr 2012 15:37:45 +0200
To: itext-questions@lists.sourceforge.net
Subject: Re: [iText-questions] Line spacing

Hi Gabriel,

2012/4/2 Stefanescu Gabi sb...@hotmail.com









Hi,
yes, I know it has beed discontinued in favor of XML Worker. I had a problem 
before with the hr tag I think, and I got the same answer, but I couldn't 
change it with XML Worker. I tried to use xml worker instead, couldn't. The guy 
who wrote this before left and I had to take over. I didn't have enough time to 
do this so I just replaced programatically the hr tag with string.empty as I 
didn't need it.


but now I got this new problem and I really cannot work it out. is there a way 
I can use the html worker so I don't have to change the whole thing, and make 
the line spacing in the html I receive smaller?



Unfortunately, free support on this mailing-list is only given for the latest 
versions of iText. If you are lucky, some other subscriber might have solved 
the same problem and provide you with an answer, but that I can't assure.


If keeping HTMLWorker is that critical for you, you might consider contacting 
the sales department and inquire for premium technical support

 http://itextpdf.com/support.php#premium 



Please note that I'm not affiliated in any way with the iText companies, so I 
might be wrong in assuming that support for deprecated products might be 
purchased. But I would say that it's your best shot.



HTH,
alexis


--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php   --
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

[iText-questions] Line spacing changes on repeater page

2010-10-12 Thread kaladoti

I am experiencing a problem whereby the line spacing seems to be
automagically changing when the content  overflows to a new page. Here's the
code I've been using:


ByteArrayOutputStream ba = new ByteArrayOutputStream();

Document document = new Document();
PdfWriter writer = PdfWriter.getInstance(document, ba);
document.setPageSize(pageSize);

PdfPageEventWImage pdfEvent = 
   new PdfPageEventWImage(
   BaseFont.createFont(baseFontPlainFileName,
BaseFont.IDENTITY_H, BaseFont.NOT_EMBEDDED),
   BaseFont.createFont(baseFontBoldFileName,
BaseFont.IDENTITY_H, BaseFont.NOT_EMBEDDED),
   contentLabel, contentLabelOverflow, 
   footerText, 
   headerImage, headerImgHeight, headerImgWidth, 
   pageOffset);

writer.setPageEvent(pdfEvent);
document.open();

Paragraph para1 = new Paragraph();
para1.setLeading(10f);
para1.add(
new Chunk(
getStringContent(content),
FontFactory.getFont(
Arial, 10, Font.NORMAL)));

document.add(para1);
pageOffset += pdfEvent.getRelativePage();
document.close();
stream.write(ba.toByteArray());
return pageOffset;


As you can see, I tried using setLeading() but it only seems to set the
spacing on the first page. Once it overflows to the second page it seems to
revert back to some default. I have implemented a custom PdfPageEvent
(PdfPageEventWImage) and also tried setting the leading value in there on
different events, but to no avail. Any suggestions would be greatly
appreciated.

Thanks so much.

-- 
View this message in context: 
http://itext-general.2136553.n4.nabble.com/Line-spacing-changes-on-repeater-page-tp2992533p2992533.html
Sent from the iText - General mailing list archive at Nabble.com.

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php


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 PROVIDES QUESTIONS FOR THE GREAT ANSWERS: #15
A:  The Royal Canadian Mounted Police.
Q:  What was the greatest achievement in taxidermy?

My GPG public key is available at:
http://www.edu.uni-klu.ac.at/~mhall/data/security/MarkHall.asc


pgpyPjwV2o0U3.pgp
Description: PGP signature
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/


[iText-questions] Line spacing in IText

2007-02-09 Thread magesh rathnam

Hi,

 How can line spacing be set in Itext? In MSWord, we have an option of
setting 1.5 line spacing which will space the 2 lines 1.5 lines instead of
the normal 1 line. I'm looking for something similar. I was going through
the manuals and it suggested using 'setLeading' command but that does also
zoom the text which is not what I wanted. Can someone point me at the
correct method for doing the line spacing. I'm programming in Java. Let me
know if you have any questions. Appreciate your help!

--
Thanks  Regards,
Magesh
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/


Re: [iText-questions] Line spacing in IText

2007-02-09 Thread Paulo Soares

- Original Message - 
From: magesh rathnam [EMAIL PROTECTED]
To: itext-questions@lists.sourceforge.net
Sent: Friday, February 09, 2007 10:22 PM
Subject: [iText-questions] Line spacing in IText


 Hi,

  How can line spacing be set in Itext? In MSWord, we have an option of
 setting 1.5 line spacing which will space the 2 lines 1.5 lines instead of
 the normal 1 line. I'm looking for something similar. I was going through
 the manuals and it suggested using 'setLeading' command but that does also
 zoom the text which is not what I wanted. Can someone point me at the
 correct method for doing the line spacing. I'm programming in Java. Let me
 know if you have any questions. Appreciate your help!

setLeading() will work. I don't know where you've pulled that zoom thing 
from.

Paulo 


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/


Re: [iText-questions] Line spacing in IText

2007-02-09 Thread Mark Hall

On 09.02.2007, at 22:22, magesh rathnam wrote:

   How can line spacing be set in Itext? In MSWord, we have an  
 option of setting 1.5 line spacing which will space the 2 lines 1.5  
 lines instead of the normal 1 line. I'm looking for something  
 similar. I was going through the manuals and it suggested using  
 'setLeading' command but that does also zoom the text which is not  
 what I wanted. Can someone point me at the correct method for doing  
 the line spacing. I'm programming in Java. Let me know if you have  
 any questions. Appreciate your help!
setLeading is what you want.

I don't know what you mean by text zooming, so I can't comment on  
that. If you provide a clear description of what is happening and  
what you want and also a runnable example, then further help can be  
provided.

Greetings,
Mark


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/


Re: [iText-questions] Line spacing in IText

2007-02-09 Thread porcupine

leading (line spacing) comes in two forms, Fixed and Multiplied.  Multiplied
basically means, the larger the font, the larger the leading.  Fixed means
the same leading for any font size.

Usually (eg MS Word) Multiplied leading is 1.2f and fixed leading would be
0f, that would be eg (C#):-
paragraph.SetLeading(0f, 1.2f);

if you want fixed leading, then you want eg:-
paragraph.SetLeading(5.0f, 1.0f);




magesh rathnam wrote:
 
 Hi,
 
   How can line spacing be set in Itext? In MSWord, we have an option of
 setting 1.5 line spacing which will space the 2 lines 1.5 lines instead of
 the normal 1 line. I'm looking for something similar. I was going through
 the manuals and it suggested using 'setLeading' command but that does also
 zoom the text which is not what I wanted. Can someone point me at the
 correct method for doing the line spacing. I'm programming in Java. Let me
 know if you have any questions. Appreciate your help!
 
 -- 
 Thanks  Regards,
 Magesh
 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier.
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 iText-questions mailing list
 iText-questions@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/itext-questions
 Buy the iText book: http://itext.ugent.be/itext-in-action/
 
 

-- 
View this message in context: 
http://www.nabble.com/Line-spacing-in-IText-tf3203178.html#a8895832
Sent from the iText - General mailing list archive at Nabble.com.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/


[iText-questions] Line Spacing

2005-08-08 Thread Nandu
Hi,

How do I control the space between two lines in a PDF document ? I want to
reduce the space so that more text (more number of lines) fit into a given page
in the PDF document.

Thanks,
Nandu



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] line spacing in paragraph

2005-06-09 Thread Ilja Livenson

Hello,

have been trying to find the apropriate method for 10 minutes but in 
vain. Perhaps it is known under another name? That is how one changes 
the line spacing in a text?


Thanks,
Ilja


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20

___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] line spacing in paragraph

2005-06-09 Thread Bruno Lowagie

Ilja Livenson wrote:


Hello,

have been trying to find the apropriate method for 10 minutes but in 
vain. Perhaps it is known under another name? That is how one changes 
the line spacing in a text? 


setLeading
br,
Bruno


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20

___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] line spacing in paragraph

2005-06-09 Thread Renaud MICHEL
Le jeudi 9 Juin 2005 16:02, Ilja Livenson a écrit :
 have been trying to find the apropriate method for 10 minutes but in
 vain. Perhaps it is known under another name? That is how one changes
 the line spacing in a text?

It is the leading.

-- 
Renaud MICHEL
Programmeur
IMmedia S.A.
Parc Crealys
Rue Camille Hubert, 15
5032 GEMBLOUX
http://www.immedia.be
Tél: 081/72.01.06
Fax: 081/72.01.99



---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r 
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] Line Spacing in text files

2004-12-16 Thread Steve Appling
You control the spacing between lines by setting the leading.  For the 
paragraph in your example,
that would be something like:
Paragraph myParagraph = new Paragraph(12, aSourceString,new Font(Font.COURIER, 
10));

I find that about 1.2* the font size is a good leading - I think the default is 
1.5 * font size.

Good luck!
- Original Message - 
From: Scott Tyriver [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, December 16, 2004 4:26 PM
Subject: [iText-questions] Line Spacing in text files


 We are using iText 1.1.

 When we convert text documents to pdf we are seeing in
 the converted pdf slightly larger line spacing than in
 the original document. Here is an example of a
 original and converted document and the code snippet
 we are using to perform the conversion. Is there any
 way to tighten up the line spacing in the converted
 document?

 Document myDocument = new
 Document(PageSize.A4,5.0f,5.0f,40.0f,40.0f);
 PdfWriter myPdfWriter =
 PdfWriter.getInstance(myDocument, aOutputStream);
 myDocument.open();
 Paragraph myParagraph = new
 Paragraph(aSourceString,new Font(Font.COURIER, 10));
 myDocument.add(myParagraph);
 myDocument.close();

 Thanks for any help



 __
 Do you Yahoo!?
 Yahoo! Mail - now with 250MB free storage. Learn more.
 http://info.mail.yahoo.com/mail_250





  
 
 *** TEST CREDIT REPORT ***

DATE ORDERED:12/01/04 ACCOUNT #: 9FNMA ORDER #: 
 500448
REPORT PRICE: $00.00   REQUESTED BY:
   PREPARED FOR: FANNIE MAE TESTING - 
 BUREAU SIMUL
LOAN #:
 WASHINGTON, DC 20016

BORROWER:  HOMEOWNER,JOHN  SSN: 
 300405000
PRESENT ADDRESS:  175 13TH STREET
  WASHINGTON, DC 20013
SPOUSE:   HOMEOWNER,MARY  SSN: 
 500222000
   
 --

  AMTPYMT
   DATE   HIGH   DATECURTERM/ PAST   HISTCURRENT
ECOA   OPENCRVER BALPYMT  DUE  30-60-90  STATUS
   
 --

1)  CHASE
58652333
 U   05/01 12547   07/045000 60/257.440,0,0 I-1
2)  SALLIE MAE
950254520
 S   09/94  5000   07/042500180/49.24 0,0,0 I-1
3)  SALLIE MAE
950752340
 U   09/95  2500   07/041100180/24.63 0,0,0 I-1
4)  TOYOTA CREDIT
3210989098
 S   05/02 24371   07/04   15838 60/500.030,0,0 I-1
5)  UNIVERSAL VISA
6011785239
 I   04/91 1   07/04 950   /25.00 0,0,0 R-1

**  PUBLIC RECORDS  
 **

THE FOLLOWING ARE PUBLIC RECORDS OBTAINED FROM THE REPOSITORY SOURCES
FOUND BELOW:

***  END OF PUBLIC RECORDS  
 **


INQUIRIES FOR THE PAST  12 MONTHS:


  
  *   CREDIT BUREAU SCORES   *

BEACON Score for JOHN EQUIFAX 00760
BEACON Score for MARY EQUIFAX 00783
EMPIRICA Score for JOHN  TU 00779
EMPIRICA Score for MARY  TU 00768
FICO II Score for JOHNEXPERIAN 00785
FICO II Score for MARYEXPERIAN 00771


 ERROR/WARNINGS REPORTED BY REPOSITORIES AND/OR CREDIT AGENCY 
 

*** END OF ERROR/WARNINGS 
 

 *

 NOTE:  THIS CREDIT REPORT IS PROVIDED FOR TRAINING
 PURPOSES ONLY IN CONJUNCTION WITH DESKTOP ORIGINATOR
 AND DESKTOP UNDERWRITER.  IT IS NOT A RESIDENTIAL
 MORTGAGE CREDIT REPORT BUT IS A REPLICATION OF A
 3-IN-FILE MERGED REPORT.  IT MAY NOT MEET THE
 STANDARDS SET FORTH BY FANNIE MAE, FHA, OR VA  FOR
 REAL ESTATE TRANSACTIONS AND IT MAY NOT
 REPRESENT THE MINIMUM REQUIREMENTS FOR AN
 IN-FILE CREDIT REPORT.

 THE BORROWERS USED FOR DU TESTING AND TRAINING
 PURPOSES ARE FICTITIOUS AND DO NOT RELATE TO
 REAL PEOPLE.  THE NAMES, ADDRESSES AND SOCIAL
 SECURITY NUMBERS WERE CREATED AT RANDOM, AND
 ANY SIMILARITY WITH REAL INDIVIDUALS IS UNINTENTIONAL

Re: [iText-questions] Line Spacing in text files

2004-12-16 Thread Paulo Soares
myParagraph.setLeading(10);

- Original Message - 
From: Scott Tyriver [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, December 16, 2004 9:26 PM
Subject: [iText-questions] Line Spacing in text files


 We are using iText 1.1.

 When we convert text documents to pdf we are seeing in
 the converted pdf slightly larger line spacing than in
 the original document. Here is an example of a
 original and converted document and the code snippet
 we are using to perform the conversion. Is there any
 way to tighten up the line spacing in the converted
 document?

 Document myDocument = new
 Document(PageSize.A4,5.0f,5.0f,40.0f,40.0f);
 PdfWriter myPdfWriter =
 PdfWriter.getInstance(myDocument, aOutputStream);
 myDocument.open();
 Paragraph myParagraph = new
 Paragraph(aSourceString,new Font(Font.COURIER, 10));
 myDocument.add(myParagraph);
 myDocument.close();

 Thanks for any help



 __
 Do you Yahoo!?
 Yahoo! Mail - now with 250MB free storage. Learn more.
 http://info.mail.yahoo.com/mail_250






  -
---
 *** TEST CREDIT REPORT ***

DATE ORDERED:12/01/04 ACCOUNT #: 9FNMA ORDER #:
500448
REPORT PRICE: $00.00   REQUESTED BY:
   PREPARED FOR: FANNIE MAE TESTING -
BUREAU SIMUL
LOAN #:
 WASHINGTON, DC 20016

BORROWER:  HOMEOWNER,JOHN  SSN:
300405000
PRESENT ADDRESS:  175 13TH STREET
  WASHINGTON, DC 20013
SPOUSE:   HOMEOWNER,MARY  SSN:
500222000
   
--

  AMTPYMT
   DATE   HIGH   DATECURTERM/ PAST   HISTCURRENT
ECOA   OPENCRVER BALPYMT  DUE  30-60-90  STATUS
   
--

1)  CHASE
58652333
 U   05/01 12547   07/045000 60/257.440,0,0 I-1
2)  SALLIE MAE
950254520
 S   09/94  5000   07/042500180/49.24 0,0,0 I-1
3)  SALLIE MAE
950752340
 U   09/95  2500   07/041100180/24.63 0,0,0 I-1
4)  TOYOTA CREDIT
3210989098
 S   05/02 24371   07/04   15838 60/500.030,0,0 I-1
5)  UNIVERSAL VISA
6011785239
 I   04/91 1   07/04 950   /25.00 0,0,0 R-1

**  PUBLIC RECORDS
**

THE FOLLOWING ARE PUBLIC RECORDS OBTAINED FROM THE REPOSITORY
SOURCES
FOUND BELOW:

***  END OF PUBLIC RECORDS
**


INQUIRIES FOR THE PAST  12 MONTHS:


  
  *   CREDIT BUREAU SCORES   *

BEACON Score for JOHN EQUIFAX 00760
BEACON Score for MARY EQUIFAX 00783
EMPIRICA Score for JOHN  TU 00779
EMPIRICA Score for MARY  TU 00768
FICO II Score for JOHNEXPERIAN 00785
FICO II Score for MARYEXPERIAN 00771


 ERROR/WARNINGS REPORTED BY REPOSITORIES AND/OR CREDIT
AGENCY 

*** END OF ERROR/WARNINGS


 *

 NOTE:  THIS CREDIT REPORT IS PROVIDED FOR TRAINING
 PURPOSES ONLY IN CONJUNCTION WITH DESKTOP ORIGINATOR
 AND DESKTOP UNDERWRITER.  IT IS NOT A RESIDENTIAL
 MORTGAGE CREDIT REPORT BUT IS A REPLICATION OF A
 3-IN-FILE MERGED REPORT.  IT MAY NOT MEET THE
 STANDARDS SET FORTH BY FANNIE MAE, FHA, OR VA  FOR
 REAL ESTATE TRANSACTIONS AND IT MAY NOT
 REPRESENT THE MINIMUM REQUIREMENTS FOR AN
 IN-FILE CREDIT REPORT.

 THE BORROWERS USED FOR DU TESTING AND TRAINING
 PURPOSES ARE FICTITIOUS AND DO NOT RELATE TO
 REAL PEOPLE.  THE NAMES, ADDRESSES AND SOCIAL
 SECURITY NUMBERS WERE CREATED AT RANDOM, AND
 ANY SIMILARITY WITH REAL INDIVIDUALS IS UNINTENTIONAL.

 *




---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com

Re: [iText-questions] Line spacing iText 1.1

2004-12-16 Thread Steve Appling
I am currently looking into a problem that happens only if you are using a cell 
spacing  0.  In
that case, the actual location of the cell contents is offset slightly down on 
each successive line.
This is very apparent if you are using borders (because the contents eventually 
are not inside the
borders).  I'm not sure if this is your problem.  One other change is that some 
types of content now
use their own leading instead of the default leading for the cell.  See if 
setting the leading on
the content before adding it helps.  If not, please post some SIMPLE sample 
code demonstrating the
problem.

Good Luck.
- Original Message - 
From: Andrea Schwob [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, December 13, 2004 2:38 AM
Subject: [iText-questions] Line spacing iText 1.1


 Hi
 I've created a PDF with iText-1.02b, and it looked as I wanted. Now I
 updated my Library to iText-1.1 and the line spacing is much bigger as
 before (see attachments). I used iText-Tables to create this PDF, is
 there any change in the iText-Table that could be responsable for this?

 Thanks for your help
 Andrea





---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] Line spacing iText 1.1

2004-12-16 Thread Bruno Lowagie
Andrea Schwob wrote:
Hi
I've created a PDF with iText-1.02b, and it looked as I wanted. Now I 
updated my Library to iText-1.1 and the line spacing is much bigger as 
before (see attachments). I used iText-Tables to create this PDF, is 
there any change in the iText-Table that could be responsable for this?
This was already reported to the mailing-list.
I think Steve Appling is working on it (or he has solved it already).
br,
Bruno
---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] Line Spacing in text files

2004-12-16 Thread Scott Tyriver
We are using iText 1.1.

When we convert text documents to pdf we are seeing in
the converted pdf slightly larger line spacing than in
the original document. Here is an example of a
original and converted document and the code snippet
we are using to perform the conversion. Is there any
way to tighten up the line spacing in the converted
document?

Document myDocument = new
Document(PageSize.A4,5.0f,5.0f,40.0f,40.0f);
PdfWriter myPdfWriter =
PdfWriter.getInstance(myDocument, aOutputStream);
myDocument.open();
Paragraph myParagraph = new
Paragraph(aSourceString,new Font(Font.COURIER, 10));
myDocument.add(myParagraph);
myDocument.close();

Thanks for any help



__ 
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250 

*** TEST CREDIT REPORT ***

   DATE ORDERED:12/01/04 ACCOUNT #: 9FNMA ORDER #: 
500448
   REPORT PRICE: $00.00   REQUESTED BY:
  PREPARED FOR: FANNIE MAE TESTING - BUREAU 
SIMUL
   LOAN #:
WASHINGTON, DC 20016

   BORROWER:  HOMEOWNER,JOHN  SSN: 300405000
   PRESENT ADDRESS:  175 13TH STREET
 WASHINGTON, DC 20013
   SPOUSE:   HOMEOWNER,MARY  SSN: 500222000
  
--

 AMTPYMT
  DATE   HIGH   DATECURTERM/ PAST   HISTCURRENT
   ECOA   OPENCRVER BALPYMT  DUE  30-60-90  STATUS
  
--

   1)  CHASE
   58652333
U   05/01 12547   07/045000 60/257.440,0,0 I-1
   2)  SALLIE MAE
   950254520
S   09/94  5000   07/042500180/49.24 0,0,0 I-1
   3)  SALLIE MAE
   950752340
U   09/95  2500   07/041100180/24.63 0,0,0 I-1
   4)  TOYOTA CREDIT
   3210989098
S   05/02 24371   07/04   15838 60/500.030,0,0 I-1
   5)  UNIVERSAL VISA
   6011785239
I   04/91 1   07/04 950   /25.00 0,0,0 R-1

   **  PUBLIC RECORDS  
**

   THE FOLLOWING ARE PUBLIC RECORDS OBTAINED FROM THE REPOSITORY SOURCES
   FOUND BELOW:

   ***  END OF PUBLIC RECORDS  
**


   INQUIRIES FOR THE PAST  12 MONTHS:


 
 *   CREDIT BUREAU SCORES   *

   BEACON   Score for JOHN EQUIFAX  00760
   BEACON   Score for MARY EQUIFAX  00783
   EMPIRICA Score for JOHN  TU  00779
   EMPIRICA Score for MARY  TU  00768
   FICO II  Score for JOHNEXPERIAN  00785
   FICO II  Score for MARYEXPERIAN  00771


    ERROR/WARNINGS REPORTED BY REPOSITORIES AND/OR CREDIT AGENCY 


   *** END OF ERROR/WARNINGS 


*

NOTE:  THIS CREDIT REPORT IS PROVIDED FOR TRAINING
PURPOSES ONLY IN CONJUNCTION WITH DESKTOP ORIGINATOR
AND DESKTOP UNDERWRITER.  IT IS NOT A RESIDENTIAL
MORTGAGE CREDIT REPORT BUT IS A REPLICATION OF A
3-IN-FILE MERGED REPORT.  IT MAY NOT MEET THE
STANDARDS SET FORTH BY FANNIE MAE, FHA, OR VA  FOR
REAL ESTATE TRANSACTIONS AND IT MAY NOT
REPRESENT THE MINIMUM REQUIREMENTS FOR AN
IN-FILE CREDIT REPORT.

THE BORROWERS USED FOR DU TESTING AND TRAINING
PURPOSES ARE FICTITIOUS AND DO NOT RELATE TO
REAL PEOPLE.  THE NAMES, ADDRESSES AND SOCIAL
SECURITY NUMBERS WERE CREATED AT RANDOM, AND
ANY SIMILARITY WITH REAL INDIVIDUALS IS UNINTENTIONAL.

*


DuCredit.pdf
Description: DuCredit.pdf


[iText-questions] Line spacing iText 1.1

2004-12-14 Thread Andrea Schwob


Hi 
I've created a PDF withiText-1.02b, and it looked as I wanted. Now I updated my Library to iText-1.1 and the line spacing is much bigger as before (see attachments). I used iText-Tables to create this PDF, is there any change in the iText-Table that could be responsable for this?

Thanks for your help
Andrea


iText-1.1.pdf
Description: Adobe PDF document


iText-1.0.2b.pdf
Description: Adobe PDF document


[iText-questions] Line spacing in a Cell

2004-04-23 Thread Penmatcha, Raju V.
Hi,

I am using iText's xml interface.

When text in a table cell wraps over, the line spacing between the two lines
in my cell is too high.
How can I reduce this line spacing when automatic wrapping occurs in a cell?

Can this be specified in the xml?

Thanks
Raju


---
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] Line spacing within one paragraph

2004-03-18 Thread Annie Yang

Hi,

In the PDF file I created by using iText, the line spacing in a paragraph
looks like 'double spacing' no matter what type of font used.

Is there a way to adjust the line spacing within a paragraph?

Thanks a lot in advance!

Cheers,
Annie



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] Line spacing

2004-03-09 Thread Ben Rometsch
Hi There,

Is it possible to change the spacing between two paragraphs or after a 
line break?

For example, if my code reads:

   Cell fundName = new Cell();
   fundName.setBorderWidth(0);
   Font font = new Font(verdana, 14);
   Phrase phrase = new Phrase(BT WHOLESALE BALANCED 
RETURNS\n, font);
   fundName.add(phrase);
   font = new Font(verdana, 10);
   phrase = new Phrase(PERSONAL SUPER AND CORPORATE 
SUPER, font);
   fundName.add(phrase);

   mainTable.addCell(fundName);

Can I change the vertical space between BT WHOLESALE BALANCED RETURNS 
and PERSONAL SUPER AND CORPORATE SUPER ?

Thanks,
Ben
--
== Solid State Group ==
Web www.solidstategroup.com
Email   [EMAIL PROTECTED]
MSN [EMAIL PROTECTED]


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] Line spacing

2004-03-09 Thread Bruno
Quoting Ben Rometsch [EMAIL PROTECTED]:

 Hi There,
 
 Is it possible to change the spacing between two paragraphs or after a 
 line break?

That spacing is called 'leading' and it can be changed with setLeading(int);
br,
Bruno


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] line spacing

2002-11-06 Thread lihui
Hi all,

How do I set the line space inside a paragraph? Don't see that attribute.

Lihui Zhao


---
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power  Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



Re: [iText-questions] line spacing

2002-11-06 Thread Matt Benson
You are probably looking for Paragraph.setLeading().

-Matt

--- lihui [EMAIL PROTECTED] wrote:
 Hi all,
 
 How do I set the line space inside a paragraph?
 Don't see that attribute.
 
 Lihui Zhao
 
 

---
 This sf.net email is sponsored by: See the NEW Palm 
 Tungsten T handheld. Power  Color in a compact
 size!

http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
 ___
 iText-questions mailing list
 [EMAIL PROTECTED]

https://lists.sourceforge.net/lists/listinfo/itext-questions


__
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/


---
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power  Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



Re: [iText-questions] line spacing

2002-11-06 Thread Paulo Soares
It's called leading.

Best Regards,
Paulo Soares

--- lihui [EMAIL PROTECTED] wrote:
 Hi all,
 
 How do I set the line space inside a paragraph?
 Don't see that attribute.
 
 Lihui Zhao
 
 

---
 This sf.net email is sponsored by: See the NEW Palm 
 Tungsten T handheld. Power  Color in a compact
 size!

http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
 ___
 iText-questions mailing list
 [EMAIL PROTECTED]

https://lists.sourceforge.net/lists/listinfo/itext-questions


__
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/


---
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power  Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions