hi friends ,
please solve my problem regarding the RTF .
I want to insert a table in my existing code .
I am providing the code and highliting the section which has to be in table.
table needed is of 2 coloumns and 4 rows....
--------------------------------------------------------------------------------
public class BOrderAckDocumentGen
{
//RTF Document Object
RTFDocument doc=new RTFDocument(new RTFPage(RTFPage.PAGE_A4));
public String populateOrderAckDoc(String slOfferNumber,String
slSelLanguage,HashMap hmaplOrderAckFields, String saStore ,Connection
conaConnection) throws Exception {
String slOurProposal = " ";
/** To hold YOUR P.O. document label*/
String slYourPO = " ";
/** To hold DATED document label*/
String slDated = " ";
/** To hold JOB document label*/
String slJob = " ";
String slFlorence = null;
==============================================================================
the code in these dashed line has to be put in table...
like the first doc.insertText(slOurProposal+" : "+slOfferNumber+"
"+"-"+slEcallNo+" "+"TO: "+slBuyerName,normal_text);
in such a way that in row one column one of the table -slOurProposal+" :
"+slOfferNumber+" "+"-"+slEcallNo+" -the value of this string should appear and
in row one column two "TO: "+slBuyerName,normal_text) -- the value of this
string should come. Like wise for rest of the other three lines shown below.
-------------------------------------------------------------------------------
doc.insertText(slOurProposal+" : "+slOfferNumber+" "+"-"+slEcallNo+"
"+"TO: "+slBuyerName,normal_text);
doc.insertText(slYourPO+" : "+slPONumber+"
"+slCustomerDetails,normal_text);
// doc.insertText(slDated+" : "+slPoDate ,normal_text);
doc.insertText(slJob+" : "+slJobNumber+"
"+slCustomerCountry,normal_text);
doc.insertText(slFlorence+slEcallDate+"
"+"COPY TO: "+slCopyTo,normal_text);
================================================================================
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions