[Libreoffice-bugs] [Bug 125060] New: Do not add files opened via "private:stream" to recent document list
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Wed May 1 11:44:29 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=125060
Bug ID: 125060
Summary: Do not add files opened via "private:stream" to recent
document list
Product: LibreOffice
Version: Inherited From OOo
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: UI
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: oliver.brinzing at gmx.de
files opened via "private:stream" should not be added to the recent document
files list, cause it's not possible to load it again:
steps to reproduce:
- run macro:
Sub CSVFromStream
aBytes = Array(72,9,69,9,76,9,76,9,79)
oIStream =
com.sun.star.io.SequenceInputStream.createStreamFromSequence(aBytes)
Dim oMediaDesc(2) as new com.sun.star.beans.PropertyValue
oMediaDesc(0).Name = "InputStream"
oMediaDesc(0).Value = oIStream
oMediaDesc(1).Name = "FilterName"
oMediaDesc(1).Value = "Text - txt - csv (StarCalc)"
oMediaDesc(2).Name = "FilterOptions"
oMediaDesc(2).Value = "9,0,0,1"
Dim doc
doc =
StarDesktop.loadComponentFromURL("private:stream","_blank",0,oMediaDesc)
End Sub
- close file without saving
- an entry "private:stream" is added to recent document list
<item
oor:path="/org.openoffice.Office.Histories/Histories/org.openoffice.Office.Histories:HistoryInfo['PickList']/ItemList">
<node oor:name="private:stream" oor:op="replace">
<prop oor:name="Title" oor:op="fuse">
<value>private:stream</value>
</prop>
<prop oor:name="Filter" oor:op="fuse">
<value>Text - txt - csv (StarCalc)</value>
</prop>
<prop oor:name="Password" oor:op="fuse">
<value/>
</prop>
<prop oor:name="Thumbnail" oor:op="fuse">
<value></value>
</prop>
</node>
</item>
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190501/44ddf64f/attachment-0001.html>
More information about the Libreoffice-bugs
mailing list