[api-issues] [Issue 49551] drafts.com.sun.star.frame.XLayoutManager.setVisible defects

2005-05-24 Thread cd
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=49551


User cd changed the following:

  What|Old value |New value

Status|NEW   |STARTED





--- Additional comments from [EMAIL PROTECTED] Tue May 24 06:56:14 -0700 
2005 ---
cd: Accepted. setVisible should correctly hide the status bar, so we have to fix
this. I will choose a proper target when I have a fix for this.

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



[api-issues] [Issue 49551] drafts.com.sun.star.frame.XLayoutManager.setVisible defects

2005-05-24 Thread sw
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=49551


User sw changed the following:

  What|Old value |New value

   Assigned to|sw|cd

Ever confirmed|  |1

Status|UNCONFIRMED   |NEW

  Target milestone|---   |OOo Later





--- Additional comments from [EMAIL PROTECTED] Tue May 24 06:37:10 -0700 
2005 ---
sw->cd: seems the statusbar is repainted at the position where the office
remembers it to be ... the macro

xFrame = ThisComponent.currentController.Frame
xLayoutManager = xFrame.LayoutManager
xLayoutManager.setVisible(false)

attached to a document reproduces the behaviour

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



[api-issues] [Issue 49551] drafts.com.sun.star.frame.XLayoutManager.setVisible defects

2005-05-23 Thread liaoyu7879
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=49551





--- Additional comments from [EMAIL PROTECTED] Mon May 23 19:27:00 -0700 
2005 ---
Here's the corresponding piece of code:
 ..
try {

oInterface = (XInterface) oMSF.createInstance
( "com.sun.star.frame.Desktop" );
oDesktop = ( XDesktop ) UnoRuntime.queryInterface( XDesktop.class, 
oInterface );
oCLoader = ( XComponentLoader ) UnoRuntime.queryInterface( 
XComponentLoader.class, oDesktop );
PropertyValue [] szEmptyArgs = new PropertyValue [0];
String doc = "private:factory/swriter";
aDoc = oCLoader.loadComponentFromURL(doc, "_blank", 0, 
szEmptyArgs );
oDoc = (XTextDocument) UnoRuntime.queryInterface
(XTextDocument.class, aDoc);

XFrame xFrame=(XFrame)oDesktop.getCurrentFrame();
  try {
com.sun.star.beans.XPropertySet xPropSet =
(com.sun.star.beans.XPropertySet) UnoRuntime.queryInterface
(com.sun.star.beans.XPropertySet.class, xFrame );

Object aLayoutManager =xPropSet.getPropertyValue
( "LayoutManager" );
XLayoutManager xLayoutManager =(XLayoutManager) UnoRuntime.queryInterface
(drafts.com.sun.star.frame.XLayoutManager.class, aLayoutManager );
xLayoutManager.setVisible( false );
}
   catch (  com.sun.star.beans.UnknownPropertyException aExc )
{
}
catch (  com.sun.star.lang.WrappedTargetException aExc )
{
}

} // end of try

catch(Exception e){

System.out.println(" Exception " + e);

} // end of catch
 ...

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



[api-issues] [Issue 49551] drafts.com.sun.star.frame.XLayoutManager.setVisible defects

2005-05-23 Thread sw
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=49551


User sw changed the following:

  What|Old value |New value

  Priority|P1|P3





--- Additional comments from [EMAIL PROTECTED] Mon May 23 01:08:25 -0700 
2005 ---
The drafts module doesn't exist in the current version, have you tried if the
behavious you describe persists there ? If so, could you provide sample code
that shows the behaviour ?

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