Page 1 of 1

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

Posted: Wed Dec 16, 2009 10:20 am
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

Posted: Wed Dec 16, 2009 6:02 pm
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.

Posted: Wed Dec 16, 2009 7:25 pm
by csterg
me neither :(

Is there something like that in RV?
Costas

Posted: Thu Dec 17, 2009 8:57 am
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.

Posted: Thu Dec 17, 2009 8:59 am
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

Posted: Thu Dec 17, 2009 9:01 am
by Sergey Tkachenko
Sorry, there are no such property. No-wrap can be set only on paragraph level. You can consider using TRVLabelItemInfo.