Hi,
with my new equation feature for charts I have the following problem:
I create a text shape with the content, e.g. "f(x) = 3.14159x + 2.71828"
using XTextRange::setString() (where the text range is the shape
itself). Then I get a couple of assertions:
Error: ImpBreakLine: Start >= End? From File
D:\chart17\SRC680\svx\source\editeng\impedit3.cxx at Line 1822
This is code that is only passed when hyphenation is on. As I never want
to hyphenate a formula, I would like to switch this off, but setting
"ParaIsHyphenation" to false at the shape before setting the string does
not help.
So my questions:
1. For cross-checking in Draw: how can I create a text shape for which I
turn on hyphenation? I tried creating a text box with a fixed width and
entered some text that wraps and the end of the box. However, it is not
hyphenated. With Text properties I see a check-box "Word wrap text in
shape" which is always disabled, even if I create the shape with
auto-growing width or if I use a rectangle shape with text. Is this
maybe broken in m235?
2. The assertion message seems to be wrong or shows a bug (however, I
didn't notice anything wrong in the output). Does there exist an issue
for that? Whom would it be for?
3. How can I switch hyphenation at a text shape off before setting the
text with setString?
Thanks,
Bjoern
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]