Lines Matching refs:rtl

167 …::rtl::OUString SAL_CALL FormComponentPropertyHandler::getImplementationName_static(  ) throw (Run…  in IMPLEMENT_FORWARD_XINTERFACE2()
169 …return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.comp.extensions.FormComponentPr… in IMPLEMENT_FORWARD_XINTERFACE2()
173 …Sequence< ::rtl::OUString > SAL_CALL FormComponentPropertyHandler::getSupportedServiceNames_static… in getSupportedServiceNames_static()
175 Sequence< ::rtl::OUString > aSupported( 1 ); in getSupportedServiceNames_static()
176 …aSupported[0] = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.form.inspection.FormCo… in getSupportedServiceNames_static()
201 bool lcl_isLanguageDependentProperty( ::rtl::OUString aName ) in lcl_isLanguageDependentProperty()
219 ( Reference< XPropertySet > _xComponent, const ::rtl::OUString& _rPropertyName, in lcl_getStringResourceResolverForProperty()
227 …static const ::rtl::OUString s_sResourceResolverPropName(RTL_CONSTASCII_USTRINGPARAM("ResourceReso… in lcl_getStringResourceResolverForProperty()
250 …Any FormComponentPropertyHandler::impl_getPropertyValue_throw( const ::rtl::OUString& _rPropertyNa… in impl_getPropertyValue_throw()
263 ::rtl::OUString aPropStr; in impl_getPropertyValue_throw()
267 ::rtl::OUString aPureIdStr = aPropStr.copy( 1 ); in impl_getPropertyValue_throw()
270 ::rtl::OUString aResourceStr = xStringResourceResolver->resolveString( aPureIdStr ); in impl_getPropertyValue_throw()
278 Sequence< ::rtl::OUString > aStrings; in impl_getPropertyValue_throw()
281 const ::rtl::OUString* pStrings = aStrings.getConstArray(); in impl_getPropertyValue_throw()
284 Sequence< ::rtl::OUString > aResolvedStrings; in impl_getPropertyValue_throw()
286 ::rtl::OUString* pResolvedStrings = aResolvedStrings.getArray(); in impl_getPropertyValue_throw()
291 ::rtl::OUString aIdStr = pStrings[i]; in impl_getPropertyValue_throw()
292 ::rtl::OUString aPureIdStr = aIdStr.copy( 1 ); in impl_getPropertyValue_throw()
311 …Any SAL_CALL FormComponentPropertyHandler::getPropertyValue( const ::rtl::OUString& _rPropertyName… in getPropertyValue()
321 …void SAL_CALL FormComponentPropertyHandler::setPropertyValue( const ::rtl::OUString& _rPropertyNam… in setPropertyValue()
336 rtl::OUString sObjectID( RTL_CONSTASCII_USTRINGPARAM( GRAPHOBJ_URLPREFIX ) ); in setPropertyValue()
366 ::rtl::OUString aPropStr; in setPropertyValue()
370 ::rtl::OUString aPureIdStr = aPropStr.copy( 1 ); in setPropertyValue()
371 ::rtl::OUString aValueStr; in setPropertyValue()
380 static ::rtl::OUString aDot = ::rtl::OUString::createFromAscii( "." ); in setPropertyValue()
381 static ::rtl::OUString aEsc = ::rtl::OUString::createFromAscii( "&" ); in setPropertyValue()
384 Sequence< ::rtl::OUString > aNewStrings; in setPropertyValue()
387 const ::rtl::OUString* pNewStrings = aNewStrings.getConstArray(); in setPropertyValue()
391 ::rtl::OUString* pNewPureIds = new ::rtl::OUString[nNewCount]; in setPropertyValue()
392 ::rtl::OUString aIdStrBase = aDot; in setPropertyValue()
394 ::rtl::OUString sControlName; in setPropertyValue()
400 ::rtl::OUString aDummyStr; in setPropertyValue()
404 ::rtl::OUString aPureIdStr = ::rtl::OUString::valueOf( nUniqueId ); in setPropertyValue()
415 Sequence< ::rtl::OUString > aOldIdStrings; in setPropertyValue()
419 const ::rtl::OUString* pOldIdStrings = aOldIdStrings.getConstArray(); in setPropertyValue()
423 ::rtl::OUString aOldIdStr; in setPropertyValue()
424 ::rtl::OUString aOldPureIdStr; in setPropertyValue()
430 ::rtl::OUString aNewPureIdStr = pNewPureIds[i]; in setPropertyValue()
436 ::rtl::OUString aResourceStr; in setPropertyValue()
455 Sequence< ::rtl::OUString > aNewIdStrings; in setPropertyValue()
457 ::rtl::OUString* pNewIdStrings = aNewIdStrings.getArray(); in setPropertyValue()
460 ::rtl::OUString aPureIdStr = pNewPureIds[i]; in setPropertyValue()
461 ::rtl::OUString aStr = pNewStrings[i]; in setPropertyValue()
464 ::rtl::OUString aIdStr = aEsc; in setPropertyValue()
471 const ::rtl::OUString* pOldIdStrings = aOldIdStrings.getConstArray(); in setPropertyValue()
475 ::rtl::OUString aIdStr = pOldIdStrings[i]; in setPropertyValue()
476 ::rtl::OUString aPureIdStr = aIdStr.copy( 1 ); in setPropertyValue()
498 …Any SAL_CALL FormComponentPropertyHandler::convertToPropertyValue( const ::rtl::OUString& _rProper… in convertToPropertyValue()
518 ::rtl::OUString sStringValue; in convertToPropertyValue()
531 ::rtl::OUString sControlValue; in convertToPropertyValue()
537 … m_aContext.createComponent( (::rtl::OUString)SERVICE_DATABASE_CONTEXT, xDatabaseContext ); in convertToPropertyValue()
541 … aPropertyValue <<= ::rtl::OUString( aTransformer.get( ::svt::OFileNotation::N_URL ) ); in convertToPropertyValue()
552 ::rtl::OUString sControlValue; in convertToPropertyValue()
555 ::std::vector< ::rtl::OUString > aListEntries; in convertToPropertyValue()
567 ::rtl::OUString sControlValue; in convertToPropertyValue()
575 …aPropertyValue <<= (::rtl::OUString)URIHelper::SmartRel2Abs( aDocURL, sControlValue, Link(), false… in convertToPropertyValue()
634 …Any SAL_CALL FormComponentPropertyHandler::convertToControlValue( const ::rtl::OUString& _rPropert… in convertToControlValue()
661 ::std::vector< ::rtl::OUString > aListEntries; in convertToControlValue()
667 ::rtl::OUString sControlValue = ::comphelper::getBOOL( _rPropertyValue ) in convertToControlValue()
681 ::rtl::OUString sDataSource; in convertToControlValue()
695 ::rtl::OUString sControlValue; in convertToControlValue()
704 ::rtl::OUStringBuffer aValue; in convertToControlValue()
706 ::rtl::OUString sLabel; in convertToControlValue()
765 ::rtl::OUStringBuffer displayName; in convertToControlValue()
815 …PropertyState SAL_CALL FormComponentPropertyHandler::getPropertyState( const ::rtl::OUString& _rPr… in getPropertyState()
829 m_xComponent->addPropertyChangeListener( ::rtl::OUString(), _rxListener ); in addPropertyChangeListener()
837 m_xComponent->removePropertyChangeListener( ::rtl::OUString(), _rxListener ); in removePropertyChangeListener()
869 ::rtl::OUString sDisplayName; in doDescribeSupportedProperties()
934 …Sequence< ::rtl::OUString > SAL_CALL FormComponentPropertyHandler::getSupersededProperties( ) thro… in getSupersededProperties()
936 return Sequence< ::rtl::OUString >( ); in getSupersededProperties()
940 …Sequence< ::rtl::OUString > SAL_CALL FormComponentPropertyHandler::getActuatingProperties( ) throw… in getActuatingProperties()
943 ::std::vector< ::rtl::OUString > aInterestingProperties; in getActuatingProperties()
966 …return Sequence< ::rtl::OUString >( &(*aInterestingProperties.begin()), aInterestingProperties.siz… in getActuatingProperties()
970 …LineDescriptor SAL_CALL FormComponentPropertyHandler::describePropertyLine( const ::rtl::OUString&… in describePropertyLine()
1022 aDescriptor.PrimaryButtonId = rtl::OUString::createFromAscii(UID_PROP_DLG_SELECTION); in describePropertyLine()
1026 aDescriptor.PrimaryButtonId = rtl::OUString::createFromAscii(UID_PROP_DLG_FILTER); in describePropertyLine()
1030 aDescriptor.PrimaryButtonId = rtl::OUString::createFromAscii(UID_PROP_DLG_ORDER); in describePropertyLine()
1036 … aDescriptor.PrimaryButtonId = rtl::OUString::createFromAscii(UID_PROP_DLG_FORMLINKFIELDS); in describePropertyLine()
1040 aDescriptor.PrimaryButtonId = rtl::OUString::createFromAscii(UID_PROP_DLG_SQLCOMMAND); in describePropertyLine()
1047 aDescriptor.PrimaryButtonId = rtl::OUString::createFromAscii(UID_PROP_DLG_TABINDEX); in describePropertyLine()
1054 aDescriptor.PrimaryButtonId = rtl::OUString::createFromAscii(UID_PROP_DLG_FONT_TYPE); in describePropertyLine()
1062 … aDescriptor.PrimaryButtonId = rtl::OUString::createFromAscii(( PROPERTY_ID_TARGET_URL == nPropId ) in describePropertyLine()
1080 … aDescriptor.PrimaryButtonId = rtl::OUString::createFromAscii(UID_PROP_DLG_BACKGROUNDCOLOR); break; in describePropertyLine()
1082 … aDescriptor.PrimaryButtonId = rtl::OUString::createFromAscii(UID_PROP_DLG_FILLCOLOR); break; in describePropertyLine()
1084 … aDescriptor.PrimaryButtonId = rtl::OUString::createFromAscii(UID_PROP_DLG_SYMBOLCOLOR); break; in describePropertyLine()
1086 … aDescriptor.PrimaryButtonId = rtl::OUString::createFromAscii(UID_PROP_DLG_BORDERCOLOR); break; in describePropertyLine()
1110 aDescriptor.PrimaryButtonId = rtl::OUString::createFromAscii(UID_PROP_DLG_CONTROLLABEL); in describePropertyLine()
1140 … aDescriptor.PrimaryButtonId = rtl::OUString::createFromAscii(UID_PROP_DLG_NUMBER_FORMAT); in describePropertyLine()
1263 ::std::vector< ::rtl::OUString > aListEntries; in describePropertyLine()
1275 …::std::vector< ::rtl::OUString > aEnumValues = m_pInfoService->getPropertyEnumRepresentations( nPr… in describePropertyLine()
1276 ::std::vector< ::rtl::OUString >::const_iterator pStart = aEnumValues.begin(); in describePropertyLine()
1277 ::std::vector< ::rtl::OUString >::const_iterator pEnd = aEnumValues.end(); in describePropertyLine()
1302 ::std::vector< ::rtl::OUString > aListEntries( pEnd - pStart ); in describePropertyLine()
1365 … aDescriptor.PrimaryButtonId = rtl::OUString::createFromAscii(UID_PROP_DLG_ATTR_DATASOURCE); in describePropertyLine()
1367 ::std::vector< ::rtl::OUString > aListEntries; in describePropertyLine()
1370 … m_aContext.createComponent( (rtl::OUString)SERVICE_DATABASE_CONTEXT, xDatabaseContext ); in describePropertyLine()
1373 Sequence< ::rtl::OUString > aDatasources = xDatabaseContext->getElementNames(); in describePropertyLine()
1385 ::std::vector< ::rtl::OUString > aFieldNames; in describePropertyLine()
1421 … aDescriptor.Category = ::rtl::OUString::createFromAscii( bIsDataProperty ? "Data" : "General" ); in describePropertyLine()
1426 …CALL FormComponentPropertyHandler::onInteractivePropertySelection( const ::rtl::OUString& _rProper… in onInteractivePropertySelection()
1446 ::rtl::OUString sClause; in onInteractivePropertySelection()
1524 _rxHandler->setPropertyValue( PROPERTY_COMMAND, makeAny( ::rtl::OUString() ) ); in lcl_rebuildAndResetCommand()
1529 …void SAL_CALL FormComponentPropertyHandler::actuatingPropertyChanged( const ::rtl::OUString& _rAct… in actuatingPropertyChanged()
1603 ::rtl::OUString sControlSource; in actuatingPropertyChanged()
1676 ::rtl::OUString sImageURL; in actuatingPropertyChanged()
1721 …::rtl::OUString aAffectedProps[] = { PROPERTY_VALUE, PROPERTY_DEFAULT_VALUE, PROPERTY_VALUEMIN, PR… in actuatingPropertyChanged()
1766 ::rtl::OUString aFormattedPropertyControls[] = { in actuatingPropertyChanged()
1826 ::rtl::OUString sListSource; in impl_updateDependentProperty_nothrow()
1828 Sequence< ::rtl::OUString > aListSource; in impl_updateDependentProperty_nothrow()
1849 ::rtl::OUString sControlSource; in impl_updateDependentProperty_nothrow()
1867 ::rtl::OUString sControlSource; in impl_updateDependentProperty_nothrow()
1871 ::rtl::OUString sImageURL; in impl_updateDependentProperty_nothrow()
1883 ::rtl::OUString sControlSource; in impl_updateDependentProperty_nothrow()
1906 Sequence< ::rtl::OUString > aEntries; in impl_updateDependentProperty_nothrow()
1924 ::rtl::OUString sTargetURL; in impl_updateDependentProperty_nothrow()
2168 … ::rtl::OUString sServiceName( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.awt." ) ); in impl_classifyControlModel_throw()
2169 … sServiceName += ::rtl::OUString::createFromAscii( aControlModelServiceNames[ i ] ); in impl_classifyControlModel_throw()
2353 …void FormComponentPropertyHandler::impl_initFieldList_nothrow( ::std::vector< ::rtl::OUString >& _… in impl_initFieldList_nothrow()
2367 ::rtl::OUString sObjectName; in impl_initFieldList_nothrow()
2372 ::rtl::OUString aDatabaseName; in impl_initFieldList_nothrow()
2377 …Sequence< ::rtl::OUString > aFields( ::dbtools::getFieldNamesByCommandDescriptor( m_xRowSetConnect… in impl_initFieldList_nothrow()
2379 const ::rtl::OUString* pFields = aFields.getConstArray(); in impl_initFieldList_nothrow()
2433 ::rtl::OUString sDataSourceName; in impl_ensureRowsetConnection_nothrow()
2470 … _out_rProperty.PrimaryButtonId = rtl::OUString::createFromAscii(UID_PROP_DLG_SQLCOMMAND); in impl_describeCursorSource_nothrow()
2481 ::std::vector< ::rtl::OUString > aNames; in impl_describeCursorSource_nothrow()
2505 …void FormComponentPropertyHandler::impl_fillTableNames_throw( ::std::vector< ::rtl::OUString >& _o… in impl_fillTableNames_throw()
2518 Sequence< ::rtl::OUString> aTableNames = xTableNames->getElementNames(); in impl_fillTableNames_throw()
2520 const ::rtl::OUString* pTableNames = aTableNames.getConstArray(); in impl_fillTableNames_throw()
2527 …void FormComponentPropertyHandler::impl_fillQueryNames_throw( ::std::vector< ::rtl::OUString >& _o… in impl_fillQueryNames_throw()
2541 …Reference< XNameAccess >& _xQueryNames,::std::vector< ::rtl::OUString >& _out_rNames,const ::rtl::… in impl_fillQueryNames_throw()
2547 Sequence< ::rtl::OUString> aQueryNames = _xQueryNames->getElementNames(); in impl_fillQueryNames_throw()
2549 const ::rtl::OUString* pQueryNames = aQueryNames.getConstArray(); in impl_fillQueryNames_throw()
2554 ::rtl::OUStringBuffer sTemp; in impl_fillQueryNames_throw()
2596 ::std::vector< ::rtl::OUString > aListEntries; in impl_describeListSourceUI_throw()
2616 …bool FormComponentPropertyHandler::impl_dialogListSelection_nothrow( const ::rtl::OUString& _rProp… in impl_dialogListSelection_nothrow()
2627 …bool FormComponentPropertyHandler::impl_dialogFilterOrSort_nothrow( bool _bFilter, ::rtl::OUString… in impl_dialogFilterOrSort_nothrow()
2632 _out_rSelectedClause = ::rtl::OUString(); in impl_dialogFilterOrSort_nothrow()
2646 …::rtl::OUString sPropertyUIName( m_pInfoService->getPropertyTranslation( _bFilter ? PROPERTY_ID_FI… in impl_dialogFilterOrSort_nothrow()
2654 …ShowServiceNotAvailableError( impl_getDefaultDialogParent_nothrow(), ::rtl::OUString::createFromAs… in impl_dialogFilterOrSort_nothrow()
2660 …xDialogProps->setPropertyValue( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "QueryComposer" ) ),… in impl_dialogFilterOrSort_nothrow()
2661 …xDialogProps->setPropertyValue( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "RowSet" ) ), … in impl_dialogFilterOrSort_nothrow()
2662 …xDialogProps->setPropertyValue( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "ParentWindow" ) ), … in impl_dialogFilterOrSort_nothrow()
2663 …xDialogProps->setPropertyValue( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Title" ) ), … in impl_dialogFilterOrSort_nothrow()
2776 ::rtl::OUString aStrTrans = m_pInfoService->getPropertyTranslation( PROPERTY_ID_IMAGE_URL ); in impl_browseForImage_nothrow()
2797 ::rtl::OUString sCurValue; in impl_browseForImage_nothrow()
2826 _out_rNewValue <<= (::rtl::OUString)aFileDlg.GetPath(); in impl_browseForImage_nothrow()
2836 ::rtl::OUString sURL; in impl_browseForTargetURL_nothrow()
2848 _out_rNewValue <<= (::rtl::OUString)aFileDlg.GetPath(); in impl_browseForTargetURL_nothrow()
2890 ::rtl::OUString sDataSource; in impl_browseForDatabaseDocument_throw()
2911 _out_rNewValue <<= (::rtl::OUString)aFileDlg.GetPath(); in impl_browseForDatabaseDocument_throw()
2983 virtual ::rtl::OUString* getPropertiesToDisable() = 0;
3030 virtual ::rtl::OUString getSQLCommand() const;
3032 virtual void setSQLCommand( const ::rtl::OUString& _rCommand ) const;
3036 virtual ::rtl::OUString* getPropertiesToDisable();
3049 ::rtl::OUString FormSQLCommandUI::getSQLCommand() const in getSQLCommand()
3051 ::rtl::OUString sCommand; in getSQLCommand()
3065 void FormSQLCommandUI::setSQLCommand( const ::rtl::OUString& _rCommand ) const in setSQLCommand()
3077 ::rtl::OUString* FormSQLCommandUI::getPropertiesToDisable() in getPropertiesToDisable()
3079 static ::rtl::OUString s_aCommandProps[] = { in getPropertiesToDisable()
3084 ::rtl::OUString() in getPropertiesToDisable()
3097 virtual ::rtl::OUString getSQLCommand() const;
3099 virtual void setSQLCommand( const ::rtl::OUString& _rCommand ) const;
3103 virtual ::rtl::OUString* getPropertiesToDisable();
3119 ::rtl::OUString ValueListCommandUI::getSQLCommand() const in getSQLCommand()
3121 ::rtl::OUString sValue; in getSQLCommand()
3129 Sequence< ::rtl::OUString > aValueList; in getSQLCommand()
3153 void ValueListCommandUI::setSQLCommand( const ::rtl::OUString& _rCommand ) const in setSQLCommand()
3157 aValue <<= Sequence< ::rtl::OUString >( &_rCommand, 1 ); in setSQLCommand()
3171 ::rtl::OUString* ValueListCommandUI::getPropertiesToDisable() in getPropertiesToDisable()
3173 static ::rtl::OUString s_aListSourceProps[] = { in getPropertiesToDisable()
3176 ::rtl::OUString() in getPropertiesToDisable()
3203 ::rtl::Reference< ISQLCommandPropertyUI > xCommandUI; in impl_doDesignSQLCommand_nothrow()
3224 const ::rtl::OUString* pToDisable = xCommandUI->getPropertiesToDisable(); in impl_doDesignSQLCommand_nothrow()
3231 … ::rtl::OUString sPropertyName( impl_getPropertyNameFromId_nothrow( _nDesignForProperty ) ); in impl_doDesignSQLCommand_nothrow()
3250 ::rtl::Reference< ISQLCommandPropertyUI > xCommandUI(
3255 const ::rtl::OUString* pToEnable = xCommandUI->getPropertiesToDisable();
3278 ::rtl::OUString sPropertyValue; in impl_hasValidDataSourceSignature_nothrow()
3300 ::rtl::OUString FormComponentPropertyHandler::impl_getDocumentURL_nothrow() const in impl_getDocumentURL_nothrow()
3302 ::rtl::OUString sURL; in impl_getDocumentURL_nothrow()