Is there a 'no-break' tag in rtf?

General TRichView support forum. Please post your questions here
Post Reply
csterg
Posts: 306
Joined: Fri Nov 25, 2005 9:09 pm

Is there a 'no-break' tag in rtf?

Post by csterg »

I need to have some words 'not break'/wrap: is there such a tag in rtf that i can use?
An html equiv would be: "<nobr>not-breaking-in-hyphens</nobr>"
Thanks,
Costas
Sergey Tkachenko
Site Admin
Posts: 17569
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

I do not know such flag.
RTF is basically an MS Word format. I am not aware about no-wrap command in MS Word.
csterg
Posts: 306
Joined: Fri Nov 25, 2005 9:09 pm

Post by csterg »

me neither :(

Is there something like that in RV?
Costas
Sergey Tkachenko
Site Admin
Posts: 17569
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

1) NoWarp property for the whole TRichView
2) rvpaoNoWrap in Options property of paragraph style. In RichViewAction, this option can be applied using TrvActionWordWrap action. Like any other properties of styles, it can be stored and loaded in RVF files.
csterg
Posts: 306
Joined: Fri Nov 25, 2005 9:09 pm

Post by csterg »

Well, this is different; i was looking for a 'non-break' option on the item level (so a word is not broken up when wrapped).
Thanks anyway,
Costas
Sergey Tkachenko
Site Admin
Posts: 17569
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Sorry, there are no such property. No-wrap can be set only on paragraph level. You can consider using TRVLabelItemInfo.
Post Reply