red1.org Forum Index red1.org
Nihili est - in vita priore ego imperator romanus fui
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Multiline in Print Format text field

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    red1.org Forum Index -> Strictly Technical
View previous topic :: View next topic  
Author Message
SergeyV



Joined: 31 Aug 2004
Posts: 8
Location: Latvia

PostPosted: Mon Jul 04, 2005 4:09 pm    Post subject: Multiline in Print Format text field Reply with quote

Hi red1 & Co. Smile

Please help me in my problem Rolling Eyes

I try to insert long text into my report. In result, text is inserted as a single line. How can i change it into multilined text? What option should i use to transform it into multilined text?

Tnx in advance
S.

P.S. This field is a part of the Print Format (Text) - the same text for all agreements.
Back to top
View user's profile Send private message Visit poster's website
red1
Site Admin


Joined: 06 Jul 2004
Posts: 1756
Location: Kuala Lumpur, Malaysia

PostPosted: Sat Nov 05, 2005 8:58 am    Post subject: Reply with quote

The PrintFormat shuld allow multilines cos there is a checkbox to say sumtin like 'print single line only'. Perhaps u need to embed carriage return codes inside. Try putting \n to make it go to new line inside your text.
To do that programmitically is tricky cos it means having a routine inside PrintFormat to count the numberof characters vs the width of the print field and automatically insert the \n code. But this is possible by a java programmer.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    red1.org Forum Index -> Strictly Technical All times are GMT + 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group