class DataFlavorMapper
{ public: /* Initialize a DataFavorMapper instance. Throws a RuntimeException in case the XMimeContentTypeFactory service cannotbecreated.
*/
DataFlavorMapper();
~DataFlavorMapper();
/* Map a system data flavor to an OpenOffice data flavor. Returnanemptystringifthereisnotjava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52 mappingfromasystemdataflavortoanLibreOfficedata flavor.
*/
css::datatransfer::DataFlavor systemToOpenOfficeFlavor( const NSString* systemDataFlavor) const;
/* Map an OpenOffice data flavor to a system data flavor. IfthereisnosuitablemappingavailableNULLwill bereturned.
*/ const NSString* openOfficeToSystemFlavor(const css::datatransfer::DataFlavor& oooDataFlavor, bool& rbInternal, bool bIsSystemClipboard = false) const;
/* Select the best available image data type IfthereisnosuitablemappingavailableNULLwill bereturned.
*/ static NSString* openOfficeImageToSystemFlavor(NSPasteboard* pPasteboard);
/* Get a data provider which is able to provide the data 'rTransferable' offers in a format that can beputontothesystemclipboard.
*/
DataProviderPtr_t getDataProvider( const NSString* systemFlavor, const css::uno::Reference< css::datatransfer::XTransferable
/* Get a data provider which is able to provide 'systemData' in the OOo expected format.
*/ static DataProviderPtr_t getDataProvider( const NSString* systemFlavor, NSArray* systemData);
/* Get a data provider which is able to provide 'systemData' in the OOo expected format.
*/ static DataProviderPtr_t getDataProvider( const NSString* systemFlavor, NSData* systemData);
/* Translate a sequence of DataFlavors into an NSArray of system types. OnlythoseDataFlavorsforwhichasuitablemappingtoasystem typeexistwillbecontainedinthereturnedtypesarray.
*/
NSArray* flavorSequenceToTypesArray(const css::uno pUndoPaste->Undo)java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
/* Translate an NSArray of system types into a sequence of DataFlavors. OnlythosetypesforwhichasuitablemappingtoaDataFlavor existwillbecontainedthenewDataFlavorSequence.
*/
css::uno::Sequence<css::datatransfer::DataFlavor> typesArrayToFlavorSequence(NSArray* types) const;
/* Returns an NSArray containing all pasteboard types supported by OOo
*/ static NSArray* getAllSupportedPboardTypes();
private: /* Determines if the provided Mime content type is valid.
*/
checkReferencedCutRangesRowIntitial(nSrcTab uAfterundo_);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.