Lines Matching refs:css

114 namespace css = ::com::sun::star;
122 css::lang::XServiceInfo,
123 css::document::XDocumentProperties,
124 css::lang::XInitialization,
125 css::util::XCloneable,
126 css::util::XModifiable,
127 css::xml::sax::XSAXSerializable>
136 css::uno::Reference< css::uno::XComponentContext > const & context);
140 throw (css::uno::RuntimeException);
142 const ::rtl::OUString & ServiceName) throw (css::uno::RuntimeException);
143 virtual css::uno::Sequence< ::rtl::OUString > SAL_CALL
144 getSupportedServiceNames() throw (css::uno::RuntimeException);
147 virtual void SAL_CALL dispose() throw (css::uno::RuntimeException);
151 throw (css::uno::RuntimeException);
153 throw (css::uno::RuntimeException);
155 throw (css::uno::RuntimeException);
157 throw (css::uno::RuntimeException);
158 virtual css::util::DateTime SAL_CALL getCreationDate()
159 throw (css::uno::RuntimeException);
160 virtual void SAL_CALL setCreationDate(const css::util::DateTime & the_value)
161 throw (css::uno::RuntimeException);
163 throw (css::uno::RuntimeException);
165 throw (css::uno::RuntimeException);
167 throw (css::uno::RuntimeException);
169 throw (css::uno::RuntimeException);
171 throw (css::uno::RuntimeException);
173 throw (css::uno::RuntimeException);
174 virtual css::uno::Sequence< ::rtl::OUString > SAL_CALL getKeywords()
175 throw (css::uno::RuntimeException);
177 const css::uno::Sequence< ::rtl::OUString > & the_value)
178 throw (css::uno::RuntimeException);
179 virtual css::lang::Locale SAL_CALL getLanguage()
180 throw (css::uno::RuntimeException);
181 virtual void SAL_CALL setLanguage(const css::lang::Locale & the_value)
182 throw (css::uno::RuntimeException);
184 throw (css::uno::RuntimeException);
186 throw (css::uno::RuntimeException);
187 virtual css::util::DateTime SAL_CALL getModificationDate()
188 throw (css::uno::RuntimeException);
190 const css::util::DateTime & the_value)
191 throw (css::uno::RuntimeException);
193 throw (css::uno::RuntimeException);
195 throw (css::uno::RuntimeException);
196 virtual css::util::DateTime SAL_CALL getPrintDate()
197 throw (css::uno::RuntimeException);
198 virtual void SAL_CALL setPrintDate(const css::util::DateTime & the_value)
199 throw (css::uno::RuntimeException);
201 throw (css::uno::RuntimeException);
203 throw (css::uno::RuntimeException);
205 throw (css::uno::RuntimeException);
207 throw (css::uno::RuntimeException);
208 virtual css::util::DateTime SAL_CALL getTemplateDate()
209 throw (css::uno::RuntimeException);
210 virtual void SAL_CALL setTemplateDate(const css::util::DateTime & the_value)
211 throw (css::uno::RuntimeException);
213 throw (css::uno::RuntimeException);
215 throw (css::uno::RuntimeException);
217 throw (css::uno::RuntimeException);
219 throw (css::uno::RuntimeException, css::lang::IllegalArgumentException);
221 throw (css::uno::RuntimeException);
223 throw (css::uno::RuntimeException);
224 virtual css::uno::Sequence< css::beans::NamedValue > SAL_CALL
225 getDocumentStatistics() throw (css::uno::RuntimeException);
227 const css::uno::Sequence< css::beans::NamedValue > & the_value)
228 throw (css::uno::RuntimeException);
230 throw (css::uno::RuntimeException);
232 throw (css::uno::RuntimeException, css::lang::IllegalArgumentException);
234 throw (css::uno::RuntimeException);
236 throw (css::uno::RuntimeException, css::lang::IllegalArgumentException);
238 throw (css::uno::RuntimeException);
239 virtual css::uno::Reference< css::beans::XPropertyContainer > SAL_CALL
240 getUserDefinedProperties() throw (css::uno::RuntimeException);
242 const css::uno::Reference< css::embed::XStorage > & Storage,
243 const css::uno::Sequence< css::beans::PropertyValue > & Medium)
244 throw (css::uno::RuntimeException, css::lang::IllegalArgumentException,
245 css::io::WrongFormatException,
246 css::lang::WrappedTargetException, css::io::IOException);
248 const css::uno::Sequence< css::beans::PropertyValue > & Medium)
249 throw (css::uno::RuntimeException,
250 css::io::WrongFormatException,
251 css::lang::WrappedTargetException, css::io::IOException);
253 const css::uno::Reference< css::embed::XStorage > & Storage,
254 const css::uno::Sequence< css::beans::PropertyValue > & Medium)
255 throw (css::uno::RuntimeException, css::lang::IllegalArgumentException,
256 css::lang::WrappedTargetException, css::io::IOException);
258 const css::uno::Sequence< css::beans::PropertyValue > & Medium)
259 throw (css::uno::RuntimeException,
260 css::lang::WrappedTargetException, css::io::IOException);
264 const css::uno::Sequence< css::uno::Any > & aArguments)
265 throw (css::uno::RuntimeException, css::uno::Exception);
268 virtual css::uno::Reference<css::util::XCloneable> SAL_CALL createClone()
269 throw (css::uno::RuntimeException);
273 throw (css::uno::RuntimeException);
275 throw (css::beans::PropertyVetoException, css::uno::RuntimeException);
279 const css::uno::Reference< css::util::XModifyListener > & xListener)
280 throw (css::uno::RuntimeException);
282 const css::uno::Reference< css::util::XModifyListener > & xListener)
283 throw (css::uno::RuntimeException);
287 const css::uno::Reference<css::xml::sax::XDocumentHandler>& i_xHandler,
288 const css::uno::Sequence< css::beans::StringPair >& i_rNamespaces)
289 throw (css::uno::RuntimeException, css::xml::sax::SAXException);
297 const css::uno::Reference< css::uno::XComponentContext > m_xContext;
306 css::uno::Reference< css::xml::dom::XDocument > m_xDoc;
308 css::uno::Reference< css::xml::dom::XNode> m_xParent;
310 std::map< ::rtl::OUString, css::uno::Reference<css::xml::dom::XNode> >
314 std::vector<css::uno::Reference<css::xml::dom::XNode> > > m_metaList;
316 css::uno::Reference<css::beans::XPropertyContainer> m_xUserDefined;
321 css::util::DateTime m_TemplateDate;
330 void SAL_CALL init(css::uno::Reference<css::xml::dom::XDocument> i_xDom);
339 css::uno::Reference<css::xml::dom::XDocument> SAL_CALL createDOM() const;
341 css::uno::Reference<css::beans::XPropertySet> SAL_CALL getURLProperties(
342 const css::uno::Sequence<css::beans::PropertyValue> & i_rMedium) const;
360 css::uno::Sequence< ::rtl::OUString > SAL_CALL getMetaList(
365 const css::uno::Sequence< ::rtl::OUString > & i_rValue,
373 bool operator== (const css::util::DateTime &i_rLeft, in operator ==()
374 const css::util::DateTime &i_rRight) in operator ==()
461 bool isValidDate(const css::util::Date & i_rDate) in isValidDate()
466 bool isValidDateTime(const css::util::DateTime & i_rDateTime) in isValidDateTime()
498 textToDateOrDateTime(css::util::Date & io_rd, css::util::DateTime & io_rdt, in textToDateOrDateTime()
513 textToDateTime(css::util::DateTime & io_rdt, ::rtl::OUString i_text) throw () in textToDateTime()
525 css::util::DateTime SAL_CALL
528 css::util::DateTime dt; in textToDateTimeDefault()
536 dateToText(css::util::Date const& i_rd) throw () in dateToText()
550 dateTimeToText(css::util::DateTime const& i_rdt) throw () in dateTimeToText()
563 textToDuration(css::util::Duration& io_rDur, ::rtl::OUString const& i_rText) in textToDuration()
577 css::util::Duration d; in textToDuration()
589 ::rtl::OUString durationToText(css::util::Duration const& i_rDur) throw () in durationToText()
599 css::util::Duration ud; in durationToText()
609 css::uno::Reference< css::beans::XPropertySet > SAL_CALL
611 const css::uno::Sequence< css::beans::PropertyValue > & i_rMedium) const in getURLProperties()
613 css::uno::Reference<css::lang::XMultiComponentFactory> xMsf ( in getURLProperties()
615 css::uno::Reference< css::beans::XPropertyContainer> xPropArg( in getURLProperties()
618 css::uno::UNO_QUERY_THROW); in getURLProperties()
628 css::beans::PropertyAttribute::MAYBEVOID, in getURLProperties()
633 css::beans::PropertyAttribute::MAYBEVOID, in getURLProperties()
638 css::beans::PropertyAttribute::MAYBEVOID, in getURLProperties()
639 css::uno::makeAny(::rtl::OUString::createFromAscii(s_metaXml))); in getURLProperties()
640 } catch (css::uno::Exception &) { in getURLProperties()
643 return css::uno::Reference< css::beans::XPropertySet>(xPropArg, in getURLProperties()
644 css::uno::UNO_QUERY_THROW); in getURLProperties()
650 getNodeText(css::uno::Reference<css::xml::dom::XNode> i_xNode) in getNodeText()
651 throw (css::uno::RuntimeException) in getNodeText()
653 if (!i_xNode.is()) throw css::uno::RuntimeException( in getNodeText()
656 for (css::uno::Reference<css::xml::dom::XNode> c = i_xNode->getFirstChild(); in getNodeText()
659 if (c->getNodeType() == css::xml::dom::NodeType_TEXT_NODE) { in getNodeText()
662 } catch (css::xml::dom::DOMException &) { // too big? in getNodeText()
679 css::uno::Reference<css::xml::dom::XNode> xNode = m_meta.find(name)->second; in getMetaText()
693 css::uno::Reference<css::xml::dom::XNode> xNode = m_meta.find(name)->second; in setMetaText()
707 for (css::uno::Reference<css::xml::dom::XNode> c = in setMetaText()
711 if (c->getNodeType() == css::xml::dom::NodeType_TEXT_NODE) { in setMetaText()
722 css::uno::UNO_QUERY_THROW); in setMetaText()
726 css::uno::Reference<css::xml::dom::XNode> xTextNode( in setMetaText()
727 m_xDoc->createTextNode(i_rValue), css::uno::UNO_QUERY_THROW); in setMetaText()
731 } catch (css::xml::dom::DOMException & e) { in setMetaText()
732 css::uno::Any a(e); in setMetaText()
733 throw css::lang::WrappedTargetRuntimeException( in setMetaText()
736 css::uno::Reference<css::uno::XInterface>(*this), a); in setMetaText()
760 css::uno::Reference<css::xml::dom::XNode> xNode = m_meta.find(name)->second; in getMetaAttr()
762 css::uno::Reference<css::xml::dom::XElement> xElem(xNode, in getMetaAttr()
763 css::uno::UNO_QUERY_THROW); in getMetaAttr()
771 css::uno::Sequence< ::rtl::OUString> SAL_CALL
779 std::vector<css::uno::Reference<css::xml::dom::XNode> > const & vec = in getMetaList()
781 css::uno::Sequence< ::rtl::OUString> ret(vec.size()); in getMetaList()
790 const css::uno::Sequence< ::rtl::OUString> & i_rValue, in setMetaList()
803 std::vector<css::uno::Reference<css::xml::dom::XNode> > & vec = in setMetaList()
812 css::uno::Reference<css::xml::dom::XNode> xNode(vec.at(i)); in setMetaList()
827 std::vector<css::uno::Reference<css::xml::dom::XNode> > in setMetaList()
846 css::uno::Reference<css::xml::dom::XElement> xElem( in setMetaList()
848 css::uno::UNO_QUERY_THROW); in setMetaList()
849 css::uno::Reference<css::xml::dom::XNode> xNode(xElem, in setMetaList()
850 css::uno::UNO_QUERY_THROW); in setMetaList()
851 css::uno::Reference<css::xml::dom::XNode> xTextNode( in setMetaList()
852 m_xDoc->createTextNode(i_rValue[i]), css::uno::UNO_QUERY_THROW); in setMetaList()
869 } catch (css::xml::dom::DOMException & e) { in setMetaList()
870 css::uno::Any a(e); in setMetaList()
871 throw css::lang::WrappedTargetRuntimeException( in setMetaList()
874 css::uno::Reference<css::uno::XInterface>(*this), a); in setMetaList()
879 std::pair<css::uno::Sequence< ::rtl::OUString>, AttrVector> SAL_CALL
880 propsToStrings(css::uno::Reference<css::beans::XPropertySet> const & i_xPropSet) in propsToStrings()
885 css::uno::Reference<css::beans::XPropertySetInfo> xSetInfo in propsToStrings()
887 css::uno::Sequence<css::beans::Property> props = xSetInfo->getProperties(); in propsToStrings()
890 if (props[i].Attributes & css::beans::PropertyAttribute::TRANSIENT) { in propsToStrings()
894 css::uno::Any any; in propsToStrings()
897 } catch (css::uno::Exception &) { in propsToStrings()
900 const css::uno::Type & type = any.getValueType(); in propsToStrings()
928 } else if (type == ::cppu::UnoType<css::util::DateTime>::get()) { in propsToStrings()
929 css::util::DateTime dt; in propsToStrings()
934 } else if (type == ::cppu::UnoType<css::util::Date>::get()) { in propsToStrings()
935 css::util::Date d; in propsToStrings()
940 } else if (type == ::cppu::UnoType<css::util::Time>::get()) { in propsToStrings()
943 css::util::Time ut; in propsToStrings()
945 css::util::Duration ud; in propsToStrings()
953 } else if (type == ::cppu::UnoType<css::util::Duration>::get()) { in propsToStrings()
954 css::util::Duration ud; in propsToStrings()
988 css::uno::Reference<css::xml::dom::XNode> xNode = in updateElement()
996 css::uno::Reference<css::xml::dom::XElement> xElem( in updateElement()
998 css::uno::UNO_QUERY_THROW); in updateElement()
999 xNode.set(xElem, css::uno::UNO_QUERY_THROW); in updateElement()
1010 } catch (css::xml::dom::DOMException & e) { in updateElement()
1011 css::uno::Any a(e); in updateElement()
1012 throw css::lang::WrappedTargetRuntimeException( in updateElement()
1015 css::uno::Reference<css::uno::XInterface>(*this), a); in updateElement()
1023 const css::uno::Reference<css::beans::XPropertySet> xPSet(m_xUserDefined, in updateUserDefinedAndAttributes()
1024 css::uno::UNO_QUERY_THROW); in updateUserDefinedAndAttributes()
1025 const std::pair<css::uno::Sequence< ::rtl::OUString>, AttrVector> in updateUserDefinedAndAttributes()
1085 css::uno::Reference<css::xml::dom::XDocument> SAL_CALL
1088 css::uno::Reference<css::lang::XMultiComponentFactory> xMsf ( in createDOM()
1090 css::uno::Reference<css::xml::dom::XDocumentBuilder> xBuilder( in createDOM()
1093 css::uno::UNO_QUERY_THROW ); in createDOM()
1094 if (!xBuilder.is()) throw css::uno::RuntimeException( in createDOM()
1098 css::uno::Reference<css::xml::dom::XDocument> xDoc = in createDOM()
1100 if (!xDoc.is()) throw css::uno::RuntimeException( in createDOM()
1111 throw css::uno::RuntimeException(::rtl::OUString::createFromAscii( in checkInit()
1121 css::uno::Reference<css::xml::dom::XDocument> i_xDoc) in init()
1125 if (!i_xDoc.is()) throw css::uno::RuntimeException( in init()
1129 css::uno::Reference<css::lang::XMultiComponentFactory> xMsf ( in init()
1131 css::uno::Reference<css::xml::xpath::XXPathAPI> xPath( in init()
1134 css::uno::UNO_QUERY_THROW ); in init()
1135 if (!xPath.is()) throw css::uno::RuntimeException( in init()
1156 css::uno::Reference<css::xml::dom::XNode> xDocNode( in init()
1157 m_xDoc, css::uno::UNO_QUERY_THROW); in init()
1169 css::uno::Reference<css::xml::dom::XElement> xRElem; in init()
1170 css::uno::Reference<css::xml::dom::XNode> xNode( in init()
1173 if (css::xml::dom::NodeType_ELEMENT_NODE ==xNode->getNodeType()) in init()
1178 xRElem.set(xNode, css::uno::UNO_QUERY_THROW); in init()
1198 css::uno::Reference<css::xml::dom::XNode> xRNode(xRElem, in init()
1199 css::uno::UNO_QUERY_THROW); in init()
1206 css::uno::Reference<css::xml::dom::XNode> xParent ( in init()
1210 css::uno::UNO_QUERY_THROW); in init()
1213 } catch (css::xml::dom::DOMException & e) { in init()
1214 css::uno::Any a(e); in init()
1215 throw css::lang::WrappedTargetRuntimeException( in init()
1218 css::uno::Reference<css::uno::XInterface>(*this), a); in init()
1232 css::uno::Reference<css::xml::dom::XNode> xNode = in init()
1243 css::uno::Reference<css::xml::dom::XNodeList> nodes = in init()
1246 std::vector<css::uno::Reference<css::xml::dom::XNode> > v; in init()
1265 std::vector<css::uno::Reference<css::xml::dom::XNode> > & vec = in init()
1274 for (std::vector<css::uno::Reference<css::xml::dom::XNode> >::iterator in init()
1276 css::uno::Reference<css::xml::dom::XElement> xElem(*it, in init()
1277 css::uno::UNO_QUERY_THROW); in init()
1278 css::uno::Any any; in init()
1297 css::util::Date d; in init()
1298 css::util::DateTime dt; in init()
1311 css::util::Duration ud; in init()
1333 css::beans::PropertyAttribute::REMOVEABLE, any); in init()
1334 } catch (css::beans::PropertyExistException &) { in init()
1338 } catch (css::beans::IllegalTypeException &) { in init()
1341 } catch (css::lang::IllegalArgumentException &) { in init()
1355 css::uno::Reference< css::uno::XComponentContext > const & context) in SfxDocumentMetaData()
1372 SfxDocumentMetaData::getImplementationName() throw (css::uno::RuntimeException) in getImplementationName()
1379 throw (css::uno::RuntimeException) in supportsService()
1381 css::uno::Sequence< ::rtl::OUString > serviceNames = in supportsService()
1390 css::uno::Sequence< ::rtl::OUString > SAL_CALL
1392 throw (css::uno::RuntimeException) in getSupportedServiceNames()
1399 void SAL_CALL SfxDocumentMetaData::dispose() throw (css::uno::RuntimeException) in dispose()
1406 m_NotifyListeners.disposeAndClear(css::lang::EventObject( in dispose()
1419 SfxDocumentMetaData::getAuthor() throw (css::uno::RuntimeException) in getAuthor()
1426 throw (css::uno::RuntimeException) in setAuthor()
1433 SfxDocumentMetaData::getGenerator() throw (css::uno::RuntimeException) in getGenerator()
1441 throw (css::uno::RuntimeException) in setGenerator()
1446 css::util::DateTime SAL_CALL
1447 SfxDocumentMetaData::getCreationDate() throw (css::uno::RuntimeException) in getCreationDate()
1454 SfxDocumentMetaData::setCreationDate(const css::util::DateTime & the_value) in setCreationDate()
1455 throw (css::uno::RuntimeException) in setCreationDate()
1461 SfxDocumentMetaData::getTitle() throw (css::uno::RuntimeException) in getTitle()
1468 throw (css::uno::RuntimeException) in setTitle()
1474 SfxDocumentMetaData::getSubject() throw (css::uno::RuntimeException) in getSubject()
1482 throw (css::uno::RuntimeException) in setSubject()
1488 SfxDocumentMetaData::getDescription() throw (css::uno::RuntimeException) in getDescription()
1496 throw (css::uno::RuntimeException) in setDescription()
1501 css::uno::Sequence< ::rtl::OUString >
1502 SAL_CALL SfxDocumentMetaData::getKeywords() throw (css::uno::RuntimeException) in getKeywords()
1510 const css::uno::Sequence< ::rtl::OUString > & the_value) in setKeywords()
1511 throw (css::uno::RuntimeException) in setKeywords()
1520 css::lang::Locale SAL_CALL
1521 SfxDocumentMetaData::getLanguage() throw (css::uno::RuntimeException) in getLanguage()
1524 css::lang::Locale loc; in getLanguage()
1537 SfxDocumentMetaData::setLanguage(const css::lang::Locale & the_value) in setLanguage()
1538 throw (css::uno::RuntimeException) in setLanguage()
1548 SfxDocumentMetaData::getModifiedBy() throw (css::uno::RuntimeException) in getModifiedBy()
1556 throw (css::uno::RuntimeException) in setModifiedBy()
1561 css::util::DateTime SAL_CALL
1562 SfxDocumentMetaData::getModificationDate() throw (css::uno::RuntimeException) in getModificationDate()
1569 SfxDocumentMetaData::setModificationDate(const css::util::DateTime & the_value) in setModificationDate()
1570 throw (css::uno::RuntimeException) in setModificationDate()
1576 SfxDocumentMetaData::getPrintedBy() throw (css::uno::RuntimeException) in getPrintedBy()
1584 throw (css::uno::RuntimeException) in setPrintedBy()
1589 css::util::DateTime SAL_CALL
1590 SfxDocumentMetaData::getPrintDate() throw (css::uno::RuntimeException) in getPrintDate()
1597 SfxDocumentMetaData::setPrintDate(const css::util::DateTime & the_value) in setPrintDate()
1598 throw (css::uno::RuntimeException) in setPrintDate()
1604 SfxDocumentMetaData::getTemplateName() throw (css::uno::RuntimeException) in getTemplateName()
1613 throw (css::uno::RuntimeException) in setTemplateName()
1625 SfxDocumentMetaData::getTemplateURL() throw (css::uno::RuntimeException) in getTemplateURL()
1634 throw (css::uno::RuntimeException) in setTemplateURL()
1645 css::util::DateTime SAL_CALL
1646 SfxDocumentMetaData::getTemplateDate() throw (css::uno::RuntimeException) in getTemplateDate()
1654 SfxDocumentMetaData::setTemplateDate(const css::util::DateTime & the_value) in setTemplateDate()
1655 throw (css::uno::RuntimeException) in setTemplateDate()
1667 SfxDocumentMetaData::getAutoloadURL() throw (css::uno::RuntimeException) in getAutoloadURL()
1676 throw (css::uno::RuntimeException) in setAutoloadURL()
1688 SfxDocumentMetaData::getAutoloadSecs() throw (css::uno::RuntimeException) in getAutoloadSecs()
1697 throw (css::uno::RuntimeException, css::lang::IllegalArgumentException) in setAutoloadSecs()
1699 if (the_value < 0) throw css::lang::IllegalArgumentException( in setAutoloadSecs()
1713 SfxDocumentMetaData::getDefaultTarget() throw (css::uno::RuntimeException) in getDefaultTarget()
1722 throw (css::uno::RuntimeException) in setDefaultTarget()
1733 css::uno::Sequence< css::beans::NamedValue > SAL_CALL
1734 SfxDocumentMetaData::getDocumentStatistics() throw (css::uno::RuntimeException) in getDocumentStatistics()
1738 ::comphelper::SequenceAsVector<css::beans::NamedValue> stats; in getDocumentStatistics()
1743 css::beans::NamedValue stat; in getDocumentStatistics()
1746 css::uno::Any any; in getDocumentStatistics()
1763 const css::uno::Sequence< css::beans::NamedValue > & the_value) in setDocumentStatistics()
1764 throw (css::uno::RuntimeException) in setDocumentStatistics()
1774 const css::uno::Any any = the_value[i].Value; in setDocumentStatistics()
1796 SfxDocumentMetaData::getEditingCycles() throw (css::uno::RuntimeException) in getEditingCycles()
1811 throw (css::uno::RuntimeException, css::lang::IllegalArgumentException) in setEditingCycles()
1813 if (the_value < 0) throw css::lang::IllegalArgumentException( in setEditingCycles()
1823 SfxDocumentMetaData::getEditingDuration() throw (css::uno::RuntimeException) in getEditingDuration()
1831 throw (css::uno::RuntimeException, css::lang::IllegalArgumentException) in setEditingDuration()
1833 if (the_value < 0) throw css::lang::IllegalArgumentException( in setEditingDuration()
1842 throw (css::uno::RuntimeException) in resetUserData()
1849 css::util::DateTime uDT(now.Get100Sec(), now.GetSec(), now.GetMin(), in resetUserData()
1854 bModified |= setMetaText("dc:date", dateTimeToText(css::util::DateTime())); in resetUserData()
1856 dateTimeToText(css::util::DateTime())); in resetUserData()
1868 css::uno::Reference< css::beans::XPropertyContainer > SAL_CALL
1870 throw (css::uno::RuntimeException) in getUserDefinedProperties()
1881 const css::uno::Reference< css::embed::XStorage > & xStorage, in loadFromStorage()
1882 const css::uno::Sequence< css::beans::PropertyValue > & Medium) in loadFromStorage()
1883 throw (css::uno::RuntimeException, css::lang::IllegalArgumentException, in loadFromStorage()
1884 css::io::WrongFormatException, in loadFromStorage()
1885 css::lang::WrappedTargetException, css::io::IOException) in loadFromStorage()
1887 if (!xStorage.is()) throw css::lang::IllegalArgumentException( in loadFromStorage()
1893 css::uno::Reference<css::io::XStream> xStream( in loadFromStorage()
1896 css::embed::ElementModes::READ) ); in loadFromStorage()
1897 if (!xStream.is()) throw css::uno::RuntimeException(); in loadFromStorage()
1898 css::uno::Reference<css::io::XInputStream> xInStream = in loadFromStorage()
1900 if (!xInStream.is()) throw css::uno::RuntimeException(); in loadFromStorage()
1903 css::uno::Reference<css::lang::XMultiComponentFactory> xMsf ( in loadFromStorage()
1905 css::uno::Reference<css::xml::sax::XParser> xParser ( in loadFromStorage()
1908 css::uno::UNO_QUERY_THROW); in loadFromStorage()
1909 if (!xParser.is()) throw css::uno::RuntimeException( in loadFromStorage()
1912 css::xml::sax::InputSource input; in loadFromStorage()
1923 css::uno::Reference<css::beans::XPropertySet> xPropArg = in loadFromStorage()
1930 } catch (css::uno::Exception &) { in loadFromStorage()
1933 css::uno::Sequence< css::uno::Any > args(1); in loadFromStorage()
1936 css::uno::Reference<css::xml::sax::XDocumentHandler> xDocHandler ( in loadFromStorage()
1939 css::uno::UNO_QUERY_THROW); in loadFromStorage()
1940 if (!xDocHandler.is()) throw css::uno::RuntimeException( in loadFromStorage()
1943 css::uno::Reference<css::document::XImporter> xImp (xDocHandler, in loadFromStorage()
1944 css::uno::UNO_QUERY_THROW); in loadFromStorage()
1945 xImp->setTargetDocument(css::uno::Reference<css::lang::XComponent>(this)); in loadFromStorage()
1949 } catch (css::xml::sax::SAXException &) { in loadFromStorage()
1950 throw css::io::WrongFormatException(::rtl::OUString::createFromAscii( in loadFromStorage()
1961 const css::uno::Reference< css::embed::XStorage > & xStorage, in storeToStorage()
1962 const css::uno::Sequence< css::beans::PropertyValue > & Medium) in storeToStorage()
1963 throw (css::uno::RuntimeException, css::lang::IllegalArgumentException, in storeToStorage()
1964 css::lang::WrappedTargetException, css::io::IOException) in storeToStorage()
1966 if (!xStorage.is()) throw css::lang::IllegalArgumentException( in storeToStorage()
1976 css::uno::Reference<css::io::XStream> xStream = in storeToStorage()
1978 css::embed::ElementModes::WRITE in storeToStorage()
1979 | css::embed::ElementModes::TRUNCATE); in storeToStorage()
1980 if (!xStream.is()) throw css::uno::RuntimeException(); in storeToStorage()
1981 css::uno::Reference< css::beans::XPropertySet > xStreamProps(xStream, in storeToStorage()
1982 css::uno::UNO_QUERY_THROW); in storeToStorage()
1985 css::uno::makeAny(::rtl::OUString::createFromAscii("text/xml"))); in storeToStorage()
1988 css::uno::makeAny(static_cast<sal_Bool> (sal_False))); in storeToStorage()
1991 css::uno::makeAny(static_cast<sal_Bool> (sal_False))); in storeToStorage()
1992 css::uno::Reference<css::io::XOutputStream> xOutStream = in storeToStorage()
1994 if (!xOutStream.is()) throw css::uno::RuntimeException(); in storeToStorage()
1995 css::uno::Reference<css::lang::XMultiComponentFactory> xMsf ( in storeToStorage()
1997 css::uno::Reference<css::io::XActiveDataSource> xSaxWriter( in storeToStorage()
2000 css::uno::UNO_QUERY_THROW); in storeToStorage()
2002 css::uno::Reference<css::xml::sax::XDocumentHandler> xDocHandler ( in storeToStorage()
2003 xSaxWriter, css::uno::UNO_QUERY_THROW); in storeToStorage()
2013 css::uno::Reference<css::beans::XPropertySet> xPropArg = in storeToStorage()
2015 css::uno::Sequence< css::uno::Any > args(2); in storeToStorage()
2019 css::uno::Reference<css::document::XExporter> xExp( in storeToStorage()
2022 css::uno::UNO_QUERY_THROW); in storeToStorage()
2023 xExp->setSourceDocument(css::uno::Reference<css::lang::XComponent>(this)); in storeToStorage()
2024 css::uno::Reference<css::document::XFilter> xFilter(xExp, in storeToStorage()
2025 css::uno::UNO_QUERY_THROW); in storeToStorage()
2026 if (xFilter->filter(css::uno::Sequence< css::beans::PropertyValue >())) { in storeToStorage()
2027 css::uno::Reference<css::embed::XTransactedObject> xTransaction( in storeToStorage()
2028 xStorage, css::uno::UNO_QUERY); in storeToStorage()
2033 throw css::io::IOException(::rtl::OUString::createFromAscii( in storeToStorage()
2040 const css::uno::Sequence< css::beans::PropertyValue > & Medium) in loadFromMedium()
2041 throw (css::uno::RuntimeException, css::io::WrongFormatException, in loadFromMedium()
2042 css::lang::WrappedTargetException, css::io::IOException) in loadFromMedium()
2044 css::uno::Reference<css::io::XInputStream> xIn; in loadFromMedium()
2053 css::uno::Reference<css::embed::XStorage> xStorage; in loadFromMedium()
2054 css::uno::Reference<css::lang::XMultiServiceFactory> xMsf ( in loadFromMedium()
2055 m_xContext->getServiceManager(), css::uno::UNO_QUERY_THROW); in loadFromMedium()
2062 URL, css::embed::ElementModes::READ, xMsf); in loadFromMedium()
2064 } catch (css::uno::RuntimeException &) { in loadFromMedium()
2066 } catch (css::io::IOException &) { in loadFromMedium()
2068 } catch (css::uno::Exception & e) { in loadFromMedium()
2069 throw css::lang::WrappedTargetException( in loadFromMedium()
2072 css::uno::Reference<css::uno::XInterface>(*this), in loadFromMedium()
2073 css::uno::makeAny(e)); in loadFromMedium()
2076 throw css::uno::RuntimeException(::rtl::OUString::createFromAscii( in loadFromMedium()
2085 const css::uno::Sequence< css::beans::PropertyValue > & Medium) in storeToMedium()
2086 throw (css::uno::RuntimeException, in storeToMedium()
2087 css::lang::WrappedTargetException, css::io::IOException) in storeToMedium()
2094 css::uno::Reference<css::embed::XStorage> xStorage in storeToMedium()
2099 throw css::uno::RuntimeException(::rtl::OUString::createFromAscii( in storeToMedium()
2107 css::uno::Reference< css::beans::XPropertySet > xProps(xStorage, in storeToMedium()
2108 css::uno::UNO_QUERY_THROW); in storeToMedium()
2124 throw css::task::ErrorCodeIOException( ::rtl::OUString(), in storeToMedium()
2125 css::uno::Reference< css::uno::XInterface >(), nError); in storeToMedium()
2133 const css::uno::Sequence< ::com::sun::star::uno::Any > & aArguments) in initialize()
2134 throw (css::uno::RuntimeException, css::uno::Exception) in initialize()
2142 css::uno::Reference<css::xml::dom::XDocument> xDoc; in initialize()
2145 const css::uno::Any any = aArguments[i]; in initialize()
2148 throw css::lang::IllegalArgumentException( in initialize()
2154 throw css::lang::IllegalArgumentException( in initialize()
2170 css::uno::Reference<css::util::XCloneable> SAL_CALL
2172 throw (css::uno::RuntimeException) in createClone()
2180 css::uno::Reference<css::xml::dom::XDocument> xDoc = createDOM(); in createClone()
2184 css::uno::Reference<css::xml::dom::XNode> xRoot( in createClone()
2185 m_xDoc->getDocumentElement(), css::uno::UNO_QUERY_THROW); in createClone()
2186 css::uno::Reference<css::xml::dom::XNode> xRootNew( in createClone()
2190 } catch (css::uno::RuntimeException &) { in createClone()
2192 } catch (css::uno::Exception & e) { in createClone()
2193 css::uno::Any a(e); in createClone()
2194 throw css::lang::WrappedTargetRuntimeException( in createClone()
2197 css::uno::Reference<css::uno::XInterface>(*this), a); in createClone()
2200 return css::uno::Reference<css::util::XCloneable> (pNew); in createClone()
2205 throw (css::uno::RuntimeException) in isModified()
2209 css::uno::Reference<css::util::XModifiable> xMB(m_xUserDefined, in isModified()
2210 css::uno::UNO_QUERY); in isModified()
2215 throw (css::beans::PropertyVetoException, css::uno::RuntimeException) in setModified()
2217 css::uno::Reference<css::util::XModifiable> xMB; in setModified()
2224 xMB.set(m_xUserDefined, css::uno::UNO_QUERY); in setModified()
2231 css::uno::Reference<css::uno::XInterface> xThis(*this); in setModified()
2232 css::lang::EventObject event(xThis); in setModified()
2233 m_NotifyListeners.notifyEach(&css::util::XModifyListener::modified, in setModified()
2235 } catch (css::uno::RuntimeException &) { in setModified()
2237 } catch (css::uno::Exception & e) { in setModified()
2252 const css::uno::Reference< css::util::XModifyListener > & xListener) in addModifyListener()
2253 throw (css::uno::RuntimeException) in addModifyListener()
2258 css::uno::Reference<css::util::XModifyBroadcaster> xMB(m_xUserDefined, in addModifyListener()
2259 css::uno::UNO_QUERY); in addModifyListener()
2266 const css::uno::Reference< css::util::XModifyListener > & xListener) in removeModifyListener()
2267 throw (css::uno::RuntimeException) in removeModifyListener()
2272 css::uno::Reference<css::util::XModifyBroadcaster> xMB(m_xUserDefined, in removeModifyListener()
2273 css::uno::UNO_QUERY); in removeModifyListener()
2281 const css::uno::Reference<css::xml::sax::XDocumentHandler>& i_xHandler, in serialize()
2282 const css::uno::Sequence< css::beans::StringPair >& i_rNamespaces) in serialize()
2283 throw (css::uno::RuntimeException, css::xml::sax::SAXException) in serialize()
2288 css::uno::Reference<css::xml::sax::XSAXSerializable> xSAXable(m_xDoc, in serialize()
2289 css::uno::UNO_QUERY_THROW); in serialize()
2299 css::uno::Sequence<css::uno::Type> types(11); in createUserDefined()
2302 types[2] = ::cppu::UnoType<css::util::DateTime>::get(); in createUserDefined()
2303 types[3] = ::cppu::UnoType<css::util::Date>::get(); in createUserDefined()
2304 types[4] = ::cppu::UnoType<css::util::Duration>::get(); in createUserDefined()
2311 types[10] = ::cppu::UnoType<css::util::Time>::get(); in createUserDefined()
2312 css::uno::Sequence<css::uno::Any> args(2); in createUserDefined()
2313 args[0] <<= css::beans::NamedValue( in createUserDefined()
2315 css::uno::makeAny(types)); in createUserDefined()
2317 args[1] <<= css::beans::NamedValue( ::rtl::OUString( in createUserDefined()
2319 css::uno::makeAny(sal_True)); in createUserDefined()
2321 const css::uno::Reference<css::lang::XMultiComponentFactory> xMsf( in createUserDefined()
2327 css::uno::UNO_QUERY_THROW); in createUserDefined()
2328 const css::uno::Reference<css::lang::XInitialization> xInit( in createUserDefined()
2329 m_xUserDefined, css::uno::UNO_QUERY); in createUserDefined()
2334 const css::uno::Reference<css::util::XModifyBroadcaster> xMB( in createUserDefined()
2335 m_xUserDefined, css::uno::UNO_QUERY); in createUserDefined()
2338 const css::uno::Sequence<css::uno::Reference<css::uno::XInterface> > in createUserDefined()
2340 for (css::uno::Reference< css::uno::XInterface > const * iter = in createUserDefined()
2344 css::uno::Reference< css::util::XModifyListener >(*iter, in createUserDefined()
2345 css::uno::UNO_QUERY)); in createUserDefined()
2362 css::uno::Sequence< ::rtl::OUString > SAL_CALL _getSupportedServiceNames() in _getSupportedServiceNames()
2364 css::uno::Sequence< ::rtl::OUString > s(1); in _getSupportedServiceNames()
2370 css::uno::Reference< css::uno::XInterface > SAL_CALL _create( in _create()
2371 const css::uno::Reference< css::uno::XComponentContext > & context) in _create()
2372 SAL_THROW((css::uno::Exception)) in _create()