To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=98539
                 Issue #|98539
                 Summary|standard dialog "Save as" and loadComponentFromUrl
               Component|Word processor
                 Version|OOo 3.0.1
                Platform|Unknown
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|programming
             Assigned to|writerneedsconfirm
             Reported by|herbk52





------- Additional comments from herb...@openoffice.org Tue Jan 27 20:11:30 
+0000 2009 -------
The Writer application always opens a new document inside a new window.
In order to get a dokument opened in an existing window I wrote the following 
macro:

sub OpenHere
objDokument = GlobalScope.ThisComponent
StarDesktop.ActiveFrame.Name=StarDesktop.ActiveFrame.Title
Dim myFileProp(0) as New com.sun.star.beans.PropertyValue
objDokument1
=StarDesktop.LoadComponentFromURL("private:factory/swriter",StarDesktop.ActiveFrame.Name,23,myFileProp())
end sub

Running this macro I had the following observation for modified documents:
- in case of no "default-template" has been assigned in OpenOffice
  the OpenOffice standard-dialogs are displayed
  -- a popup appears: document has been modified: "save?" "do'nt save?" "cancel"
  -- in case of clicking "save" the OpenOffice standard-dialog "save as" is
     displayed in order to select the documentname
- in case of a "default-template" has been created this dialogs are not 
displayed

Additional info: I had this observations in Writer of OpenOffice 3.0.0 and also
3.0.1. I work in a german environmnet on a W2K-system.

It would be very helpful for me to have the standard-dialog "save as" also in
case of a default-template has been created.

---------------------------------------------------------------------
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: issues-unsubscr...@sw.openoffice.org
For additional commands, e-mail: issues-h...@sw.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to