Lines Matching refs:OUString
118 typedef std::vector<std::vector<std::pair<const char*, ::rtl::OUString> > >
139 virtual ::rtl::OUString SAL_CALL getImplementationName()
142 const ::rtl::OUString & ServiceName) throw (css::uno::RuntimeException);
143 virtual css::uno::Sequence< ::rtl::OUString > SAL_CALL
150 virtual ::rtl::OUString SAL_CALL getAuthor()
152 virtual void SAL_CALL setAuthor(const ::rtl::OUString & the_value)
154 virtual ::rtl::OUString SAL_CALL getGenerator()
156 virtual void SAL_CALL setGenerator(const ::rtl::OUString & the_value)
162 virtual ::rtl::OUString SAL_CALL getTitle()
164 virtual void SAL_CALL setTitle(const ::rtl::OUString & the_value)
166 virtual ::rtl::OUString SAL_CALL getSubject()
168 virtual void SAL_CALL setSubject(const ::rtl::OUString & the_value)
170 virtual ::rtl::OUString SAL_CALL getDescription()
172 virtual void SAL_CALL setDescription(const ::rtl::OUString & the_value)
174 virtual css::uno::Sequence< ::rtl::OUString > SAL_CALL getKeywords()
177 const css::uno::Sequence< ::rtl::OUString > & the_value)
183 virtual ::rtl::OUString SAL_CALL getModifiedBy()
185 virtual void SAL_CALL setModifiedBy(const ::rtl::OUString & the_value)
192 virtual ::rtl::OUString SAL_CALL getPrintedBy()
194 virtual void SAL_CALL setPrintedBy(const ::rtl::OUString & the_value)
200 virtual ::rtl::OUString SAL_CALL getTemplateName()
202 virtual void SAL_CALL setTemplateName(const ::rtl::OUString & the_value)
204 virtual ::rtl::OUString SAL_CALL getTemplateURL()
206 virtual void SAL_CALL setTemplateURL(const ::rtl::OUString & the_value)
212 virtual ::rtl::OUString SAL_CALL getAutoloadURL()
214 virtual void SAL_CALL setAutoloadURL(const ::rtl::OUString & the_value)
220 virtual ::rtl::OUString SAL_CALL getDefaultTarget()
222 virtual void SAL_CALL setDefaultTarget(const ::rtl::OUString & the_value)
237 virtual void SAL_CALL resetUserData(const ::rtl::OUString & the_value)
247 virtual void SAL_CALL loadFromMedium(const ::rtl::OUString & URL,
257 virtual void SAL_CALL storeToMedium(const ::rtl::OUString & URL,
310 std::map< ::rtl::OUString, css::uno::Reference<css::xml::dom::XNode> >
313 std::map< ::rtl::OUString,
319 ::rtl::OUString m_TemplateName;
320 ::rtl::OUString m_TemplateURL;
322 ::rtl::OUString m_AutoloadURL;
324 ::rtl::OUString m_DefaultTarget;
335 std::vector<std::pair<const char *, ::rtl::OUString> >* i_pAttrs = 0);
345 ::rtl::OUString SAL_CALL getMetaText(const char* i_name) const;
349 const ::rtl::OUString & i_rValue);
353 const ::rtl::OUString & i_rValue);
356 ::rtl::OUString SAL_CALL getMetaAttr(const char* i_name,
360 css::uno::Sequence< ::rtl::OUString > SAL_CALL getMetaList(
365 const css::uno::Sequence< ::rtl::OUString > & i_rValue,
471 std::pair< ::rtl::OUString, ::rtl::OUString > SAL_CALL
473 ::rtl::OUString nm = ::rtl::OUString::createFromAscii(i_name); in getQualifier()
476 return std::make_pair(::rtl::OUString(), nm); in getQualifier()
484 ::rtl::OUString SAL_CALL getNameSpace(const char* i_qname) throw () in getNameSpace()
488 ::rtl::OUString n = getQualifier(i_qname).first; in getNameSpace()
494 return ::rtl::OUString::createFromAscii(ns); in getNameSpace()
499 bool & o_rIsDateTime, ::rtl::OUString i_text) throw () in textToDateOrDateTime()
513 textToDateTime(css::util::DateTime & io_rdt, ::rtl::OUString i_text) throw () in textToDateTime()
526 textToDateTimeDefault(::rtl::OUString i_text) throw () in textToDateTimeDefault()
535 ::rtl::OUString SAL_CALL
543 return ::rtl::OUString(); in dateToText()
549 ::rtl::OUString SAL_CALL
557 return ::rtl::OUString(); in dateTimeToText()
563 textToDuration(css::util::Duration& io_rDur, ::rtl::OUString const& i_rText) in textToDuration()
575 sal_Int32 textToDuration(::rtl::OUString const& i_rText) throw () in textToDuration()
589 ::rtl::OUString durationToText(css::util::Duration const& i_rDur) throw () in durationToText()
597 ::rtl::OUString SAL_CALL durationToText(sal_Int32 i_value) throw () in durationToText()
616 xMsf->createInstanceWithContext(::rtl::OUString::createFromAscii( in getURLProperties()
620 ::rtl::OUString dburl = in getURLProperties()
621 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("DocumentBaseURL")); in getURLProperties()
622 ::rtl::OUString hdn = in getURLProperties()
623 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("HierarchicalDocumentName")); in getURLProperties()
627 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("BaseURI")), in getURLProperties()
632 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("StreamRelPath")), in getURLProperties()
637 xPropArg->addProperty(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("StreamName")), in getURLProperties()
639 css::uno::makeAny(::rtl::OUString::createFromAscii(s_metaXml))); in getURLProperties()
649 ::rtl::OUString SAL_CALL
654 ::rtl::OUString::createFromAscii( in getNodeText()
663 return ::rtl::OUString(); in getNodeText()
667 return ::rtl::OUString(); in getNodeText()
670 ::rtl::OUString SAL_CALL
676 const ::rtl::OUString name( ::rtl::OUString::createFromAscii(i_name) ); in getMetaText()
680 return (xNode.is()) ? getNodeText(xNode) : ::rtl::OUString(); in getMetaText()
685 const ::rtl::OUString & i_rValue) in setMetaText()
690 const ::rtl::OUString name( ::rtl::OUString::createFromAscii(i_name) ); in setMetaText()
734 ::rtl::OUString::createFromAscii( in setMetaText()
742 const ::rtl::OUString & i_rValue) in setMetaTextAndNotify()
752 ::rtl::OUString SAL_CALL
757 ::rtl::OUString name = ::rtl::OUString::createFromAscii(i_name); in getMetaAttr()
767 return ::rtl::OUString(); in getMetaAttr()
771 css::uno::Sequence< ::rtl::OUString> SAL_CALL
776 ::rtl::OUString name = ::rtl::OUString::createFromAscii(i_name); in getMetaList()
781 css::uno::Sequence< ::rtl::OUString> ret(vec.size()); in getMetaList()
790 const css::uno::Sequence< ::rtl::OUString> & i_rValue, in setMetaList()
800 ::rtl::OUString name = ::rtl::OUString::createFromAscii(i_name); in setMetaList()
814 ::rtl::OUString val = getNodeText(xNode); in setMetaList()
855 for (std::vector<std::pair<const char*, ::rtl::OUString> > in setMetaList()
859 ::rtl::OUString::createFromAscii(it->first), in setMetaList()
872 ::rtl::OUString::createFromAscii( in setMetaList()
879 std::pair<css::uno::Sequence< ::rtl::OUString>, AttrVector> SAL_CALL
882 ::comphelper::SequenceAsVector< ::rtl::OUString > values; in propsToStrings()
893 const ::rtl::OUString name = props[i].Name; in propsToStrings()
901 std::vector<std::pair<const char*, ::rtl::OUString> > as; in propsToStrings()
914 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("boolean")))); in propsToStrings()
915 } else if (type == ::cppu::UnoType< ::rtl::OUString>::get()) { in propsToStrings()
916 ::rtl::OUString s; in propsToStrings()
926 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("string")))); in propsToStrings()
933 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("date")))); in propsToStrings()
939 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("date")))); in propsToStrings()
952 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("time")))); in propsToStrings()
958 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("time")))); in propsToStrings()
967 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("float")))); in propsToStrings()
983 std::vector<std::pair<const char *, ::rtl::OUString> >* i_pAttrs) in updateElement()
985 ::rtl::OUString name = ::rtl::OUString::createFromAscii(i_name); in updateElement()
1001 for (std::vector<std::pair<const char *, ::rtl::OUString> > in updateElement()
1005 ::rtl::OUString::createFromAscii(it->first), it->second); in updateElement()
1013 ::rtl::OUString::createFromAscii( in updateElement()
1025 const std::pair<css::uno::Sequence< ::rtl::OUString>, AttrVector> in updateUserDefinedAndAttributes()
1031 std::vector<std::pair<const char *, ::rtl::OUString> > attributes; in updateUserDefinedAndAttributes()
1036 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("simple")))); in updateUserDefinedAndAttributes()
1039 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("onRequest")))); in updateUserDefinedAndAttributes()
1076 ::rtl::OUString::createFromAscii(show))); in updateUserDefinedAndAttributes()
1091 xMsf->createInstanceWithContext(::rtl::OUString::createFromAscii( in createDOM()
1095 ::rtl::OUString::createFromAscii("SfxDocumentMetaData::createDOM: " in createDOM()
1101 ::rtl::OUString::createFromAscii("SfxDocumentMetaData::createDOM: " in createDOM()
1111 throw css::uno::RuntimeException(::rtl::OUString::createFromAscii( in checkInit()
1126 ::rtl::OUString::createFromAscii( in init()
1132 xMsf->createInstanceWithContext(::rtl::OUString::createFromAscii( in init()
1136 ::rtl::OUString::createFromAscii("SfxDocumentMetaData::init:" in init()
1143 xPath->registerNS(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("xlink")), in init()
1144 ::rtl::OUString::createFromAscii(s_nsXLink)); in init()
1145 xPath->registerNS(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("dc")), in init()
1146 ::rtl::OUString::createFromAscii(s_nsDC)); in init()
1147 xPath->registerNS(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("office")), in init()
1148 ::rtl::OUString::createFromAscii(s_nsODF)); in init()
1149 xPath->registerNS(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("meta")), in init()
1150 ::rtl::OUString::createFromAscii(s_nsODFMeta)); in init()
1154 ::rtl::OUString prefix = ::rtl::OUString::createFromAscii( in init()
1196 ::rtl::OUString::createFromAscii(s_nsODF), in init()
1197 ::rtl::OUString::createFromAscii("office:document-meta")); in init()
1202 xRElem->setAttributeNS(::rtl::OUString::createFromAscii(s_nsODF), in init()
1203 ::rtl::OUString::createFromAscii("office:version"), in init()
1204 ::rtl::OUString::createFromAscii("1.0")); in init()
1208 ::rtl::OUString::createFromAscii(s_nsODF), in init()
1209 ::rtl::OUString::createFromAscii("office:meta")), in init()
1216 ::rtl::OUString::createFromAscii( in init()
1225 ::rtl::OUString name = ::rtl::OUString::createFromAscii(*pName); in init()
1234 ::rtl::OUString::createFromAscii("child::") + name); in init()
1242 ::rtl::OUString name = ::rtl::OUString::createFromAscii(*pName); in init()
1245 ::rtl::OUString::createFromAscii("child::") + name); in init()
1266 m_metaList[::rtl::OUString::createFromAscii("meta:user-defined")]; in init()
1279 ::rtl::OUString name = xElem->getAttributeNS( in init()
1280 ::rtl::OUString::createFromAscii(s_nsODFMeta), in init()
1281 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("name"))); in init()
1282 ::rtl::OUString type = xElem->getAttributeNS( in init()
1283 ::rtl::OUString::createFromAscii(s_nsODFMeta), in init()
1284 ::rtl::OUString::createFromAscii("value-type")); in init()
1285 ::rtl::OUString text = getNodeText(*it); in init()
1371 ::rtl::OUString SAL_CALL
1378 SfxDocumentMetaData::supportsService(::rtl::OUString const & serviceName) in supportsService()
1381 css::uno::Sequence< ::rtl::OUString > serviceNames = in supportsService()
1390 css::uno::Sequence< ::rtl::OUString > SAL_CALL
1418 ::rtl::OUString SAL_CALL
1425 void SAL_CALL SfxDocumentMetaData::setAuthor(const ::rtl::OUString & the_value) in setAuthor()
1432 ::rtl::OUString SAL_CALL
1440 SfxDocumentMetaData::setGenerator(const ::rtl::OUString & the_value) in setGenerator()
1460 ::rtl::OUString SAL_CALL
1467 void SAL_CALL SfxDocumentMetaData::setTitle(const ::rtl::OUString & the_value) in setTitle()
1473 ::rtl::OUString SAL_CALL
1481 SfxDocumentMetaData::setSubject(const ::rtl::OUString & the_value) in setSubject()
1487 ::rtl::OUString SAL_CALL
1495 SfxDocumentMetaData::setDescription(const ::rtl::OUString & the_value) in setDescription()
1501 css::uno::Sequence< ::rtl::OUString >
1510 const css::uno::Sequence< ::rtl::OUString > & the_value) in setKeywords()
1525 ::rtl::OUString text = getMetaText("dc:language"); in getLanguage()
1540 ::rtl::OUString text = the_value.Language; in setLanguage()
1542 text += ::rtl::OUString::createFromAscii("-").concat(the_value.Country); in setLanguage()
1547 ::rtl::OUString SAL_CALL
1555 SfxDocumentMetaData::setModifiedBy(const ::rtl::OUString & the_value) in setModifiedBy()
1575 ::rtl::OUString SAL_CALL
1583 SfxDocumentMetaData::setPrintedBy(const ::rtl::OUString & the_value) in setPrintedBy()
1603 ::rtl::OUString SAL_CALL
1612 SfxDocumentMetaData::setTemplateName(const ::rtl::OUString & the_value) in setTemplateName()
1624 ::rtl::OUString SAL_CALL
1633 SfxDocumentMetaData::setTemplateURL(const ::rtl::OUString & the_value) in setTemplateURL()
1666 ::rtl::OUString SAL_CALL
1675 SfxDocumentMetaData::setAutoloadURL(const ::rtl::OUString & the_value) in setAutoloadURL()
1700 ::rtl::OUString::createFromAscii( in setAutoloadSecs()
1712 ::rtl::OUString SAL_CALL
1721 SfxDocumentMetaData::setDefaultTarget(const ::rtl::OUString & the_value) in setDefaultTarget()
1741 ::rtl::OUString text = getMetaAttr("meta:document-statistic", aName); in getDocumentStatistics()
1744 stat.Name = ::rtl::OUString::createFromAscii(s_stdStats[i]); in getDocumentStatistics()
1768 std::vector<std::pair<const char *, ::rtl::OUString> > attributes; in setDocumentStatistics()
1770 const ::rtl::OUString name = the_value[i].Name; in setDocumentStatistics()
1799 ::rtl::OUString text = getMetaText("meta:editing-cycles"); in getEditingCycles()
1814 ::rtl::OUString::createFromAscii( in setEditingCycles()
1834 ::rtl::OUString::createFromAscii( in setEditingDuration()
1841 SfxDocumentMetaData::resetUserData(const ::rtl::OUString & the_value) in resetUserData()
1852 bModified |= setMetaText("dc:creator", ::rtl::OUString()); in resetUserData()
1853 bModified |= setMetaText("meta:printed-by", ::rtl::OUString()); in resetUserData()
1859 ::rtl::OUString::createFromAscii("1")); in resetUserData()
1888 ::rtl::OUString::createFromAscii("SfxDocumentMetaData::loadFromStorage:" in loadFromStorage()
1895 ::rtl::OUString::createFromAscii(s_metaXml), in loadFromStorage()
1906 xMsf->createInstanceWithContext(::rtl::OUString::createFromAscii( in loadFromStorage()
1910 ::rtl::OUString::createFromAscii("SfxDocumentMetaData::loadFromStorage:" in loadFromStorage()
1926 xPropArg->getPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("BaseURI"))) in loadFromStorage()
1928 input.sSystemId += ::rtl::OUString::createFromAscii("/").concat( in loadFromStorage()
1929 ::rtl::OUString::createFromAscii(s_metaXml)); in loadFromStorage()
1931 input.sSystemId = ::rtl::OUString::createFromAscii(s_metaXml); in loadFromStorage()
1938 ::rtl::OUString::createFromAscii(pServiceName), args, m_xContext), in loadFromStorage()
1941 ::rtl::OUString::createFromAscii("SfxDocumentMetaData::loadFromStorage:" in loadFromStorage()
1950 throw css::io::WrongFormatException(::rtl::OUString::createFromAscii( in loadFromStorage()
1967 ::rtl::OUString::createFromAscii("SfxDocumentMetaData::storeToStorage:" in storeToStorage()
1977 xStorage->openStreamElement(::rtl::OUString::createFromAscii(s_metaXml), in storeToStorage()
1984 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("MediaType")), in storeToStorage()
1985 css::uno::makeAny(::rtl::OUString::createFromAscii("text/xml"))); in storeToStorage()
1987 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Compressed")), in storeToStorage()
1990 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("UseCommonStoragePasswordEncryption")), in storeToStorage()
1998 xMsf->createInstanceWithContext(::rtl::OUString::createFromAscii( in storeToStorage()
2021 ::rtl::OUString::createFromAscii(pServiceName), args, m_xContext), in storeToStorage()
2033 throw css::io::IOException(::rtl::OUString::createFromAscii( in storeToStorage()
2039 SfxDocumentMetaData::loadFromMedium(const ::rtl::OUString & URL, in loadFromMedium()
2070 ::rtl::OUString::createFromAscii( in loadFromMedium()
2076 throw css::uno::RuntimeException(::rtl::OUString::createFromAscii( in loadFromMedium()
2084 SfxDocumentMetaData::storeToMedium(const ::rtl::OUString & URL, in storeToMedium()
2099 throw css::uno::RuntimeException(::rtl::OUString::createFromAscii( in storeToMedium()
2124 throw css::task::ErrorCodeIOException( ::rtl::OUString(), in storeToMedium()
2149 ::rtl::OUString::createFromAscii("SfxDocumentMetaData::" in initialize()
2155 ::rtl::OUString::createFromAscii("SfxDocumentMetaData::" in initialize()
2195 ::rtl::OUString::createFromAscii( in createClone()
2301 types[1] = ::cppu::UnoType< ::rtl::OUString>::get(); in createUserDefined()
2314 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("AllowedTypes")), in createUserDefined()
2317 args[1] <<= css::beans::NamedValue( ::rtl::OUString( in createUserDefined()
2325 ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in createUserDefined()
2357 ::rtl::OUString SAL_CALL _getImplementationName() { in _getImplementationName()
2358 return ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in _getImplementationName()
2362 css::uno::Sequence< ::rtl::OUString > SAL_CALL _getSupportedServiceNames() in _getSupportedServiceNames()
2364 css::uno::Sequence< ::rtl::OUString > s(1); in _getSupportedServiceNames()
2365 s[0] = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( in _getSupportedServiceNames()