To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=98023 Issue #|98023 Summary|DOCX cant be imported from stream if private:stream UR |L is used Component|Word processor Version|OOo 3.0 Platform|All URL| OS/Version|All Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P2 Subcomponent|open-import Assigned to|os Reported by|as
------- Additional comments from [email protected] Tue Jan 13 09:14:42 +0000 2009 ------- OOo supports the feature to load documents directly from a stream. In such case the provided URL is a special one (private:stream) because most often no real URL is available (e.g. if data comes from a data base). But the new DOCX detection service dont use the outside provided stream ... it uses the URL instead. But OStorageHelper.GetStorageFromURL () (used in writerfilter\source\filter\WriterFilterDetection.cxx:124) wont be able to create needed storage for the given URL "private:stream" .-) Solution: OStorageHelper.GetStorageFromInputStream () should be used instead ... Of course situations where no input stream ... but an URL is provided must be handled too. So at least a combination of both methods should be used. --------------------------------------------------------------------- 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]
