To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=73427
                 Issue #|73427
                 Summary|problems with setting new line into XText.setString
               Component|api
                 Version|OOo 2.1
                Platform|All
                     URL|
              OS/Version|Windows XP
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|jsc
             Reported by|rpavelic





------- Additional comments from [EMAIL PROTECTED] Fri Jan 12 10:55:19 -0800 
2007 -------
Using OO2.1 with .NET and C# while setting string value to XText

XText text = (XText)xCell;
text.setString(value);

if value contains Environment.NewLine OO displays two lines instead of one.

Workaround is to use value.Replace(Environment.NewLine, "\n")

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
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]

Reply via email to