20#ifndef INCLUDED_UNOTOOLS_MEDIADESCRIPTOR_HXX
21#define INCLUDED_UNOTOOLS_MEDIADESCRIPTOR_HXX
29#include <rtl/ustring.hxx>
35namespace comphelper {
class IDocPasswordVerifier; }
60 static constexpr OUStringLiteral PROP_ABORTED =
u"Aborted";
61 static constexpr OUStringLiteral PROP_ASTEMPLATE =
u"AsTemplate";
62 static constexpr OUStringLiteral PROP_COMPONENTDATA =
u"ComponentData";
63 static constexpr OUStringLiteral PROP_DOCUMENTSERVICE =
u"DocumentService";
64 static constexpr OUStringLiteral PROP_ENCRYPTIONDATA =
u"EncryptionData";
66 static constexpr OUStringLiteral PROP_FILTERNAME =
u"FilterName";
67 static constexpr OUStringLiteral PROP_FILTERPROVIDER =
u"FilterProvider";
68 static constexpr OUStringLiteral PROP_FILTEROPTIONS =
u"FilterOptions";
69 static constexpr OUStringLiteral PROP_FRAME =
u"Frame";
70 static constexpr OUStringLiteral PROP_FRAMENAME =
u"FrameName";
71 static constexpr OUStringLiteral PROP_HIDDEN =
u"Hidden";
72 static constexpr OUStringLiteral PROP_INPUTSTREAM =
u"InputStream";
73 static constexpr OUStringLiteral PROP_INTERACTIONHANDLER =
u"InteractionHandler";
74 static constexpr OUStringLiteral PROP_AUTHENTICATIONHANDLER =
u"AuthenticationHandler";
75 static constexpr OUStringLiteral PROP_JUMPMARK =
u"JumpMark";
76 static constexpr OUStringLiteral PROP_MACROEXECUTIONMODE =
u"MacroExecutionMode";
77 static constexpr OUStringLiteral PROP_MEDIATYPE =
u"MediaType";
78 static constexpr OUStringLiteral PROP_MINIMIZED =
u"Minimized";
79 static constexpr OUStringLiteral PROP_NOAUTOSAVE =
u"NoAutoSave";
80 static constexpr OUStringLiteral PROP_OPENNEWVIEW =
u"OpenNewView";
81 static constexpr OUStringLiteral PROP_OUTPUTSTREAM =
u"OutputStream";
82 static constexpr OUStringLiteral PROP_PASSWORD =
u"Password";
83 static constexpr OUStringLiteral PROP_POSTDATA =
u"PostData";
84 static constexpr OUStringLiteral PROP_PREVIEW =
u"Preview";
85 static constexpr OUStringLiteral PROP_READONLY =
u"ReadOnly";
86 static constexpr OUStringLiteral PROP_REFERRER =
u"Referer";
87 static constexpr OUStringLiteral PROP_REPLACEABLE =
u"Replaceable";
88 static constexpr OUStringLiteral PROP_SALVAGEDFILE =
u"SalvagedFile";
89 static constexpr OUStringLiteral PROP_SILENT =
u"Silent";
91 static constexpr OUStringLiteral PROP_STREAM =
u"Stream";
92 static constexpr OUStringLiteral PROP_STREAMFOROUTPUT =
u"StreamForOutput";
93 static constexpr OUStringLiteral PROP_TEMPLATENAME =
u"TemplateName";
95 static constexpr OUStringLiteral PROP_TYPENAME =
u"TypeName";
96 static constexpr OUStringLiteral PROP_UCBCONTENT =
u"UCBContent";
97 static constexpr OUStringLiteral PROP_UPDATEDOCMODE =
u"UpdateDocMode";
98 static constexpr OUStringLiteral PROP_URL =
u"URL";
99 static constexpr OUStringLiteral PROP_VERSION =
u"Version";
100 static constexpr OUStringLiteral PROP_DOCUMENTTITLE =
u"DocumentTitle";
101 static constexpr OUStringLiteral PROP_MODEL =
u"Model";
102 static constexpr OUStringLiteral PROP_VIEWONLY =
u"ViewOnly";
103 static constexpr OUStringLiteral PROP_DOCUMENTBASEURL =
u"DocumentBaseURL";
104 static constexpr OUStringLiteral PROP_SUGGESTEDSAVEASNAME =
u"SuggestedSaveAsName";
105 static constexpr OUStringLiteral PROP_AUTOSAVEEVENT =
u"AutoSaveEvent";
117 MediaDescriptor(
const css::uno::Sequence< css::beans::PropertyValue >& lSource);
134 bool addInputStream();
152 bool addInputStreamOwnLock();
171 bool isStreamReadOnly()
const;
184 css::uno::Any getComponentDataEntry(
185 const OUString& rName )
const;
202 void setComponentDataEntry(
203 const OUString& rName,
204 const css::uno::Any& rValue );
217 void clearComponentDataEntry(
218 const OUString& rName );
260 css::uno::Sequence< css::beans::NamedValue > requestAndVerifyDocPassword(
263 const ::std::vector< OUString >* pDefaultPasswords );
287 SAL_DLLPRIVATE
bool impl_openStreamWithPostData(
288 const css::uno::Reference< css::io::XInputStream >& _rxPostData
312 SAL_DLLPRIVATE
bool impl_openStreamWithURL(
313 const OUString& sURL,
333 SAL_DLLPRIVATE
bool impl_addInputStream(
bool bLockFile );
constexpr OUStringLiteral PROP_STATUSINDICATOR
constexpr OUStringLiteral PROP_FILENAME(u"filename")