To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=72033





------- Additional comments from [EMAIL PROTECTED] Thu Nov 30 02:16:17 -0800 
2006 -------
sorry, i've found a workaround for this issue but i'dont know the right way to
tell...

there is a not "pure" workaround for the issue:
if the document is opened as visible and after we set the containerWindow as not
visible, splitRange dont fail..
I think this is also an indication for lokking for bug.
It's not pure because document can flicker an instant before coming invisible...

In macro code...

change 

mProp(0).Name = "Hidden"
mProp(0).Value = true
oDoc = StarDesktop.loadComponentFromURL( "private:factory/swriter", "_blank", 1,
mProp())

with
mProp(0).Name = "Hidden"
mProp(0).Value = false
oDoc = StarDesktop.loadComponentFromURL( "private:factory/swriter", "_blank", 1,
mProp())
oDoc.currentController.frame.containerWindow.setVisible(false)  

Gasparri Simone

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