Urgent -- Problem when try to create multiple rtf document
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   saumil_shah
Posted On:   Friday, June 20, 2003 07:15 AM

Hi,
I am trying to generate multiple rtf document(file) from one rtf doc. loaded in JTextPane.
but when i am trying generate document using following method


RTFEditorkit.write(new OutputStream("1.rtf"),m_doc,0,100);


the result should be rtf file with content of text from 0-100, but i get the whole document just as i am passing m_doc.getlength() instead of 100.
pl. help me.
Thanx

About | Sitemap | Contact