Lines Matching refs:OUString

49 ::rtl::OUString MimeConfigurationHelper::GetStringClassIDRepresentation( const uno::Sequence< sal_I…  in GetStringClassIDRepresentation()
51 ::rtl::OUString aResult; in GetStringClassIDRepresentation()
58 aResult += ::rtl::OUString::createFromAscii( "-" ); in GetStringClassIDRepresentation()
62 aResult += ::rtl::OUString::valueOf( nDigit1, 16 ); in GetStringClassIDRepresentation()
63 aResult += ::rtl::OUString::valueOf( nDigit2, 16 ); in GetStringClassIDRepresentation()
84 …Int8 > MimeConfigurationHelper::GetSequenceClassIDRepresentation( const ::rtl::OUString& aClassID ) in GetSequenceClassIDRepresentation()
120 …iner::XNameAccess > MimeConfigurationHelper::GetConfigurationByPath( const ::rtl::OUString& aPath ) in GetConfigurationByPath()
131 … ::rtl::OUString::createFromAscii( "com.sun.star.configuration.ConfigurationProvider" ) ), in GetConfigurationByPath()
136 aPathProp.Name = ::rtl::OUString::createFromAscii( "nodepath" ); in GetConfigurationByPath()
142 … ::rtl::OUString::createFromAscii( "com.sun.star.configuration.ConfigurationAccess" ), in GetConfigurationByPath()
159 … ::rtl::OUString::createFromAscii( "/org.openoffice.Office.Embedding/Objects" ) ); in GetObjConfiguration()
171 … ::rtl::OUString::createFromAscii( "/org.openoffice.Office.Embedding/Verbs" ) ); in GetVerbsConfiguration()
183 … ::rtl::OUString::createFromAscii( "/org.openoffice.Office.Embedding/MimeTypeClassIDRelations" ) ); in GetMediaTypeConfiguration()
195 …m_xFactory->createInstance( ::rtl::OUString::createFromAscii( "com.sun.star.document.FilterFactory… in GetFilterFactory()
202 sal_Int32 MimeConfigurationHelper::GetFilterFlags( const ::rtl::OUString& aFilterName ) in GetFilterFlags()
218 …nFlags = aFilterHM.getUnpackedValueOrDefault( ::rtl::OUString::createFromAscii( "Flags" ), (sal_In… in GetFilterFlags()
228 ::rtl::OUString MimeConfigurationHelper::GetDocServiceNameFromFilter( const ::rtl::OUString& aFilte… in GetDocServiceNameFromFilter()
230 ::rtl::OUString aDocServiceName; in GetDocServiceNameFromFilter()
254 ::rtl::OUString MimeConfigurationHelper::GetDocServiceNameFromMediaType( const ::rtl::OUString& aMe… in GetDocServiceNameFromMediaType()
258 ::rtl::OUString::createFromAscii( "com.sun.star.document.TypeDetection" ) ), in GetDocServiceNameFromMediaType()
267 aSeq[0].Name = ::rtl::OUString::createFromAscii( "MediaType" ); in GetDocServiceNameFromMediaType()
278 ::rtl::OUString aFilterName; in GetDocServiceNameFromMediaType()
282 … ::rtl::OUString aDocumentName = GetDocServiceNameFromFilter( aFilterName ); in GetDocServiceNameFromMediaType()
294 return ::rtl::OUString(); in GetDocServiceNameFromMediaType()
298 sal_Bool MimeConfigurationHelper::GetVerbByShortcut( const ::rtl::OUString& aVerbShortcut, in GetVerbByShortcut()
310 …if ( ( xVerbsProps->getByName( ::rtl::OUString::createFromAscii( "VerbID" ) ) >>= aTempDescr.VerbI… in GetVerbByShortcut()
311 …&& ( xVerbsProps->getByName( ::rtl::OUString::createFromAscii( "VerbUIName" ) ) >>= aTempDescr.Ver… in GetVerbByShortcut()
312 …&& ( xVerbsProps->getByName( ::rtl::OUString::createFromAscii( "VerbFlags" ) ) >>= aTempDescr.Verb… in GetVerbByShortcut()
313 …&& ( xVerbsProps->getByName( ::rtl::OUString::createFromAscii( "VerbAttributes" ) ) >>= aTempDescr… in GetVerbByShortcut()
338 uno::Sequence< ::rtl::OUString > aObjPropNames = xObjectProps->getElementNames(); in GetObjPropsFromConfigEntry()
341 aResult[0].Name = ::rtl::OUString::createFromAscii( "ClassID" ); in GetObjPropsFromConfigEntry()
350 uno::Sequence< ::rtl::OUString > aVerbShortcuts; in GetObjPropsFromConfigEntry()
377 ::rtl::OUString MimeConfigurationHelper::GetExplicitlyRegisteredObjClassID( const ::rtl::OUString& … in GetExplicitlyRegisteredObjClassID()
379 ::rtl::OUString aStringClassID; in GetExplicitlyRegisteredObjClassID()
397 … const ::rtl::OUString& aStringClassID ) in GetObjectPropsByStringClassID()
405 aObjProps[0].Name = ::rtl::OUString::createFromAscii("ObjectFactory"); in GetObjectPropsByStringClassID()
406 …aObjProps[0].Value <<= ::rtl::OUString::createFromAscii("com.sun.star.embed.OOoSpecialEmbeddedObje… in GetObjectPropsByStringClassID()
407 aObjProps[1].Name = ::rtl::OUString::createFromAscii("ClassID"); in GetObjectPropsByStringClassID()
438 aObjProps[0].Name = ::rtl::OUString::createFromAscii("ObjectFactory"); in GetObjectPropsByClassID()
439 …aObjProps[0].Value <<= ::rtl::OUString::createFromAscii("com.sun.star.embed.OOoSpecialEmbeddedObje… in GetObjectPropsByClassID()
440 aObjProps[1].Name = ::rtl::OUString::createFromAscii("ClassID"); in GetObjectPropsByClassID()
444 ::rtl::OUString aStringClassID = GetStringClassIDRepresentation( aClassID ); in GetObjectPropsByClassID()
463 …amedValue > MimeConfigurationHelper::GetObjectPropsByMediaType( const ::rtl::OUString& aMediaType ) in GetObjectPropsByMediaType()
470 ::rtl::OUString aDocumentName = GetDocServiceNameFromMediaType( aMediaType ); in GetObjectPropsByMediaType()
478 …:NamedValue > MimeConfigurationHelper::GetObjectPropsByFilter( const ::rtl::OUString& aFilterName ) in GetObjectPropsByFilter()
480 ::rtl::OUString aDocumentName = GetDocServiceNameFromFilter( aFilterName ); in GetObjectPropsByFilter()
488 …medValue > MimeConfigurationHelper::GetObjectPropsByDocumentName( const ::rtl::OUString& aDocName ) in GetObjectPropsByDocumentName()
497 uno::Sequence< ::rtl::OUString > aClassIDs = xObjConfig->getElementNames(); in GetObjectPropsByDocumentName()
501 ::rtl::OUString aEntryDocName; in GetObjectPropsByDocumentName()
505 … ::rtl::OUString::createFromAscii( "ObjectDocumentServiceName" ) ) >>= aEntryDocName ) in GetObjectPropsByDocumentName()
522 ::rtl::OUString MimeConfigurationHelper::GetFactoryNameByClassID( const uno::Sequence< sal_Int8 >& … in GetFactoryNameByClassID()
528 ::rtl::OUString MimeConfigurationHelper::GetFactoryNameByStringClassID( const ::rtl::OUString& aStr… in GetFactoryNameByStringClassID()
530 ::rtl::OUString aResult; in GetFactoryNameByStringClassID()
539 … xObjectProps->getByName( ::rtl::OUString::createFromAscii( "ObjectFactory" ) ) >>= aResult; in GetFactoryNameByStringClassID()
545 … return ::rtl::OUString::createFromAscii("com.sun.star.embed.OOoSpecialEmbeddedObjectFactory"); in GetFactoryNameByStringClassID()
553 ::rtl::OUString MimeConfigurationHelper::GetFactoryNameByDocumentName( const ::rtl::OUString& aDocN… in GetFactoryNameByDocumentName()
555 ::rtl::OUString aResult; in GetFactoryNameByDocumentName()
564 uno::Sequence< ::rtl::OUString > aClassIDs = xObjConfig->getElementNames(); in GetFactoryNameByDocumentName()
568 ::rtl::OUString aEntryDocName; in GetFactoryNameByDocumentName()
572 … ::rtl::OUString::createFromAscii( "ObjectDocumentServiceName" ) ) >>= aEntryDocName ) in GetFactoryNameByDocumentName()
575 … xObjectProps->getByName( ::rtl::OUString::createFromAscii( "ObjectFactory" ) ) >>= aResult; in GetFactoryNameByDocumentName()
590 ::rtl::OUString MimeConfigurationHelper::GetFactoryNameByMediaType( const ::rtl::OUString& aMediaTy… in GetFactoryNameByMediaType()
592 …::rtl::OUString aResult = GetFactoryNameByStringClassID( GetExplicitlyRegisteredObjClassID( aMedia… in GetFactoryNameByMediaType()
596 ::rtl::OUString aDocumentName = GetDocServiceNameFromMediaType( aMediaType ); in GetFactoryNameByMediaType()
605 ::rtl::OUString MimeConfigurationHelper::UpdateMediaDescriptorWithFilterName( in UpdateMediaDescriptorWithFilterName()
609 ::rtl::OUString aFilterName; in UpdateMediaDescriptorWithFilterName()
620 …m_xFactory->createInstance( ::rtl::OUString::createFromAscii( "com.sun.star.document.TypeDetection… in UpdateMediaDescriptorWithFilterName()
630 ::rtl::OUString aTypeName = xTypeDetection->queryTypeByDescriptor( aTempMD, sal_True ); in UpdateMediaDescriptorWithFilterName()
641 aMediaDescr[nOldLen].Name = ::rtl::OUString::createFromAscii( "FilterName" ); in UpdateMediaDescriptorWithFilterName()
658 … aMediaDescr[nOldLen].Name = ::rtl::OUString::createFromAscii( "FilterName" ); in UpdateMediaDescriptorWithFilterName()
670 ::rtl::OUString MimeConfigurationHelper::UpdateMediaDescriptorWithFilterName( in UpdateMediaDescriptorWithFilterName()
674 ::rtl::OUString aDocName; in UpdateMediaDescriptorWithFilterName()
698 aMediaDescr[nOldLen].Name = ::rtl::OUString::createFromAscii( "DocumentService" ); in UpdateMediaDescriptorWithFilterName()
710 ::rtl::OUString aFilterName = UpdateMediaDescriptorWithFilterName( aMediaDescr, sal_False ); in AddFilterNameCheckOwnFile()
722 ::rtl::OUString MimeConfigurationHelper::GetDefaultFilterFromServiceName( const ::rtl::OUString& aS… in GetDefaultFilterFromServiceName()
724 rtl::OUString aResult; in GetDefaultFilterFromServiceName()
734 aSearchRequest[0].Name = ::rtl::OUString::createFromAscii( "DocumentService" ); in GetDefaultFilterFromServiceName()
736 aSearchRequest[1].Name = ::rtl::OUString::createFromAscii( "FileFormatVersion" ); in GetDefaultFilterFromServiceName()
751 …sal_Int32 nFlags = aPropsHM.getUnpackedValueOrDefault( ::rtl::OUString::createFromAscii( "Flags" ), in GetDefaultFilterFromServiceName()
761 … aResult = aPropsHM.getUnpackedValueOrDefault( ::rtl::OUString::createFromAscii( "Name" ), in GetDefaultFilterFromServiceName()
762 ::rtl::OUString() ); in GetDefaultFilterFromServiceName()
776 ::rtl::OUString MimeConfigurationHelper::GetExportFilterFromImportFilter( const ::rtl::OUString& aI… in GetExportFilterFromImportFilter()
778 ::rtl::OUString aExportFilterName; in GetExportFilterFromImportFilter()
793 …sal_Int32 nFlags = aImpFilterHM.getUnpackedValueOrDefault( ::rtl::OUString::createFromAscii( "Flag… in GetExportFilterFromImportFilter()
808 …rtl::OUString aDocumentServiceName = aImpFilterHM.getUnpackedValueOrDefault( ::rtl::OUString::crea… in GetExportFilterFromImportFilter()
809 …::rtl::OUString aTypeName = aImpFilterHM.getUnpackedValueOrDefault( ::rtl::OUString::createFromAsc… in GetExportFilterFromImportFilter()
815 aSearchRequest[0].Name = ::rtl::OUString::createFromAscii( "Type" ); in GetExportFilterFromImportFilter()
817 … aSearchRequest[1].Name = ::rtl::OUString::createFromAscii( "DocumentService" ); in GetExportFilterFromImportFilter()
829 …e = aExpPropsHM.getUnpackedValueOrDefault( ::rtl::OUString::createFromAscii( "Name" ), ::rtl::OUSt… in GetExportFilterFromImportFilter()
864 …sal_Int32 nFlags = aPropsHM.getUnpackedValueOrDefault( ::rtl::OUString::createFromAscii( "Flags" ), in SearchForFilter()
924 …t8> MimeConfigurationHelper::GetSequenceClassIDFromObjectName(const ::rtl::OUString& _sObjectName) in GetSequenceClassIDFromObjectName()
927 …uno::Reference< container::XNameAccess > xObjectNames = GetConfigurationByPath(::rtl::OUString(RTL… in GetSequenceClassIDFromObjectName()
931 ::rtl::OUString sValue; in GetSequenceClassIDFromObjectName()
932 xProps->getByName(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ClassID"))) >>= sValue; in GetSequenceClassIDFromObjectName()