25#include <com/sun/star/frame/status/ClipboardFormats.hpp>
30 std::vector<SotClipboardFormatId>
aFmtIds;
56 css::frame::status::ClipboardFormats aClipFormats;
58 aClipFormats.Identifiers.realloc(
nCount );
59 auto pIdentifiers = aClipFormats.Identifiers.getArray();
60 aClipFormats.Names.realloc(
nCount );
61 auto pNames = aClipFormats.Names.getArray();
68 rVal <<= aClipFormats;
74 css::frame::status::ClipboardFormats aClipFormats;
75 if ( rVal >>= aClipFormats )
77 sal_uInt16
nCount = sal_uInt16( aClipFormats.Identifiers.getLength() );
79 pImpl->aFmtIds.clear();
80 pImpl->aFmtNms.clear();
92 if (!SfxPoolItem::operator==(rComp))
95 if(rCmp.
pImpl->aFmtNms.size() !=
pImpl->aFmtNms.size())
99 for( sal_uInt16
n = 0, nEnd = rCmp.
pImpl->aFmtNms.size();
n < nEnd; ++
n )
121 pImpl->aFmtNms.insert(
pImpl->aFmtNms.begin() +
nPos, OUString());
137 return pImpl->aFmtIds.size();