To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=95702
                 Issue #|95702
                 Summary|wizards: sfx2: DocumentProperties broken
               Component|Installation
                 Version|OOo 3.0
                Platform|All
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|is
             Reported by|cmc





------- Additional comments from [EMAIL PROTECTED] Fri Oct 31 14:03:23 +0000 
2008 -------
So wizards was *partially* converted from
com.sun.star.document.StandaloneDocumentInfo
to 
com.sun.star.document.DocumentProperties

i.e. 
wizards/source/importwizard/FilesModul.xba:
wizards/source/euro/AutoPilotRun.xba
and some other java files reference it.

In the basic code of
wizards/source/euro/AutoPilotRun.xba

we have various...

oDocInfo.Read(sFileName)

problem a)
oDocInfo is sometimes a com.sun.star.document.DocumentProperties and sometimes a
com.sun.star.document.StandaloneDocumentInfo 

problem b)
neither of them I think has a "Read" method according to 
http://api.openoffice.org/docs/common/ref/com/sun/star/document/XDocumentProperties.html
and
http://api.openoffice.org/docs/common/ref/com/sun/star/document/XStandaloneDocumentInfo.html

problem c)
The code uses oDocInfo.Title, oDocInfo.MIMEType, oDocInfo.Description. If we
e.g. revert the code back to all using
com.sun.star.document.StandaloneDocumentInfo then the new implementation of
com.sun.star.document.StandaloneDocumentInfo has lost the MIMEType property so
there is no true legacy compatibility with anything using those properties

i.e. sfx2/source/doc/objuno.cxx
        case WID_CONTENT_TYPE :
// FIXME this is not available anymore
            aValue <<= ::rtl::OUString();
            break;

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