54#include <com/sun/star/beans/Property.hpp>
55#include <com/sun/star/beans/PropertyAttribute.hpp>
56#include <com/sun/star/beans/PropertyValue.hpp>
57#include <com/sun/star/embed/XStorage.hpp>
58#include <com/sun/star/frame/XModel.hpp>
59#include <com/sun/star/ucb/CommandInfo.hpp>
60#include <com/sun/star/ucb/OpenCommandArgument2.hpp>
61#include <com/sun/star/ucb/TransferInfo.hpp>
62#include <com/sun/star/util/DateTime.hpp>
63#include <osl/diagnose.h>
78#define MAKEPROPSEQUENCE( a ) \
79 uno::Sequence< beans::Property >( a, SAL_N_ELEMENTS(a) )
81#define MAKECMDSEQUENCE( a ) \
82 uno::Sequence< ucb::CommandInfo >( a, SAL_N_ELEMENTS(a) )
90uno::Sequence< beans::Property > Content::getProperties(
91 const uno::Reference< ucb::XCommandEnvironment > & )
93 osl::Guard< osl::Mutex > aGuard(
m_aMutex );
102 static const beans::Property aStreamPropertyInfoTable[] =
111 beans::PropertyAttribute::BOUND
112 | beans::PropertyAttribute::READONLY
118 beans::PropertyAttribute::BOUND
119 | beans::PropertyAttribute::READONLY
125 beans::PropertyAttribute::BOUND
126 | beans::PropertyAttribute::READONLY
132 beans::PropertyAttribute::BOUND
138 "CreatableContentsInfo",
141 beans::PropertyAttribute::BOUND
142 | beans::PropertyAttribute::READONLY
148 beans::PropertyAttribute::BOUND
149 | beans::PropertyAttribute::READONLY
164 static const beans::Property aFolderPropertyInfoTable[] =
173 beans::PropertyAttribute::BOUND
174 | beans::PropertyAttribute::READONLY
180 beans::PropertyAttribute::BOUND
181 | beans::PropertyAttribute::READONLY
187 beans::PropertyAttribute::BOUND
188 | beans::PropertyAttribute::READONLY
194 beans::PropertyAttribute::BOUND
200 "CreatableContentsInfo",
203 beans::PropertyAttribute::BOUND
204 | beans::PropertyAttribute::READONLY
213 beans::PropertyAttribute::BOUND
214 | beans::PropertyAttribute::READONLY
226 static const beans::Property aDocPropertyInfoTable[] =
235 beans::PropertyAttribute::BOUND
236 | beans::PropertyAttribute::READONLY
242 beans::PropertyAttribute::BOUND
243 | beans::PropertyAttribute::READONLY
249 beans::PropertyAttribute::BOUND
250 | beans::PropertyAttribute::READONLY
256 beans::PropertyAttribute::BOUND
257 | beans::PropertyAttribute::READONLY
263 "CreatableContentsInfo",
266 beans::PropertyAttribute::BOUND
267 | beans::PropertyAttribute::READONLY
276 beans::PropertyAttribute::BOUND
277 | beans::PropertyAttribute::READONLY
291 static const beans::Property aRootPropertyInfoTable[] =
300 beans::PropertyAttribute::BOUND
301 | beans::PropertyAttribute::READONLY
307 beans::PropertyAttribute::BOUND
308 | beans::PropertyAttribute::READONLY
314 beans::PropertyAttribute::BOUND
315 | beans::PropertyAttribute::READONLY
321 beans::PropertyAttribute::BOUND
322 | beans::PropertyAttribute::READONLY
328 "CreatableContentsInfo",
331 beans::PropertyAttribute::BOUND
332 | beans::PropertyAttribute::READONLY
345 const uno::Reference< ucb::XCommandEnvironment > & )
347 osl::Guard< osl::Mutex > aGuard(
m_aMutex );
352 Uri aParentUri( aUri.getParentUri() );
354 if ( aParentUri.isDocument() )
361 static const ucb::CommandInfo aStreamCommandInfoTable1[] =
372 "getPropertySetInfo",
410 static const ucb::CommandInfo aStreamCommandInfoTable[] =
421 "getPropertySetInfo",
466 static const ucb::CommandInfo aFolderCommandInfoTable[] =
477 "getPropertySetInfo",
532 static const ucb::CommandInfo aDocCommandInfoTable[] =
543 "getPropertySetInfo",
590 static const ucb::CommandInfo aRootCommandInfoTable[] =
601 "getPropertySetInfo",
ContentType getType() const
virtual css::uno::Sequence< css::ucb::CommandInfo > getCommands(const css::uno::Reference< css::ucb::XCommandEnvironment > &xEnv) override
ContentProperties m_aProps
css::uno::Reference< css::ucb::XContentIdentifier > m_xIdentifier
#define MAKECMDSEQUENCE(a)
#define MAKEPROPSEQUENCE(a)