Hi Armin,
Your information was very helpful, thanks very much. :-)
Best Regards,
Felix
Armin Le Grand 写道:
> Hi Felix,
>
> this is by purpose. Please have a look at
> svx/source/svdraw/svdomeas.cxx. There, the special characters
> SDRMEASUREFIELD_ROTA90BLANCS is used at the begin and end of the
> standard text string for formatting reasons (as the name says) when the
> text is rotated 90 degrees. Those fileds produce a single blank when the
> text is perpendicular to the measure object (that is: rotated). See all
> places in the file where SDRMEASUREFIELD_ROTA90BLANCS is used.
>
> HTH.
>
> Zhang Xiaofei wrote:
>
>> Hi all,
>>
>> I found a phenomenon in Draw, and I'm unsure if it is a defect:
>>
>> 1. Draw a dimensional line;
>> 2. Double click the text on dimensional line so that it gets focus;
>> 3. Press "Home" key to move the cursor to the start of the text, and the
>> display goes like below:
>>
>> ^15cm ("^" for the cursor);
>>
>> 4. Press right arrow key, ONCE.
>>
>> After the 4th step, the cursor is supposed to be located between the
>> digits and the measurement unit like:
>>
>> 15^cm
>>
>> but it does not, until "Home" is press again.
>>
>> A similar phenomenon occurs in the end of the text, too. When "Home" ->
>> "Left Arrow" key is pressed.
>>
>> Both the phenomena can be repeated.
>>
>> It seems to me that there is a pair of invisible characters in the start
>> and the end of the text. Like:
>>
>> #15cm# ("#" for the invisible chars).
>>
>> I got this conjecture because the assume-to-exist chars can be deleted
>> by "Home" -> "Delete" and "End" -> "Backspace". After these sequences
>> the phenomena disappear.
>>
>> The pair can be deleted, their font size and other formats can be
>> modified. ("Home" -> "Shift"+"Right" or "End" -> "Shift"+"Left" to
>> select them), but it seems they can not be copied and pasted.
>>
>> Could someone please tell me:
>> 1. Is this is a defect?
>> 2. If not, what's the purpose to put them there?
>> 3. Which part of source code is related to this?
>>
>> Thanks very much in advance.
>>
>> Regards,
>> Felix.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>