converter.hxx (f8e07b45) | converter.hxx (5758ad8c) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 60 unchanged lines hidden (view full) --- 69 // Seq<beans.NamedValue> <=> Seq<beans.PropertyValue> 70 static css::uno::Sequence< css::beans::PropertyValue > convert_seqNamedVal2seqPropVal ( const css::uno::Sequence< css::beans::NamedValue >& lSource ); 71 static css::uno::Sequence< css::beans::NamedValue > convert_seqPropVal2seqNamedVal ( const css::uno::Sequence< css::beans::PropertyValue >& lSource ); 72 73 // Seq<String> => Vector<String> 74 static OUStringList convert_seqOUString2OUStringList( const css::uno::Sequence< ::rtl::OUString >& lSource ); 75 static css::uno::Sequence< ::rtl::OUString > convert_OUStringList2seqOUString( const OUStringList& lSource ); 76 | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 60 unchanged lines hidden (view full) --- 69 // Seq<beans.NamedValue> <=> Seq<beans.PropertyValue> 70 static css::uno::Sequence< css::beans::PropertyValue > convert_seqNamedVal2seqPropVal ( const css::uno::Sequence< css::beans::NamedValue >& lSource ); 71 static css::uno::Sequence< css::beans::NamedValue > convert_seqPropVal2seqNamedVal ( const css::uno::Sequence< css::beans::PropertyValue >& lSource ); 72 73 // Seq<String> => Vector<String> 74 static OUStringList convert_seqOUString2OUStringList( const css::uno::Sequence< ::rtl::OUString >& lSource ); 75 static css::uno::Sequence< ::rtl::OUString > convert_OUStringList2seqOUString( const OUStringList& lSource ); 76 |
77 static css::uno::Sequence< css::beans::PropertyValue > convert_OUStringHash2seqProp ( const OUStringHash& lSource ); 78 static OUStringHash convert_seqProp2OUStringHash ( const css::uno::Sequence< css::beans::PropertyValue >& lSource ); | 77 static css::uno::Sequence< css::beans::PropertyValue > convert_OUStringHash2seqProp ( const OUStringHashMap& lSource ); 78 static OUStringHashMap convert_seqProp2OUStringHash ( const css::uno::Sequence< css::beans::PropertyValue >& lSource ); |
79 80 // String <=> tools.DateTime 81 static DateTime convert_String2DateTime ( const ::rtl::OUString& sSource ); 82 static ::rtl::OUString convert_DateTime2String ( const DateTime& aSource ); 83 static ::rtl::OUString convert_DateTime2ISO8601 ( const DateTime& aSource ); 84}; 85 86} // namespace framework 87 88#endif // #ifndef __FRAMEWORK_CLASSES_CONVERTER_HXX_ | 79 80 // String <=> tools.DateTime 81 static DateTime convert_String2DateTime ( const ::rtl::OUString& sSource ); 82 static ::rtl::OUString convert_DateTime2String ( const DateTime& aSource ); 83 static ::rtl::OUString convert_DateTime2ISO8601 ( const DateTime& aSource ); 84}; 85 86} // namespace framework 87 88#endif // #ifndef __FRAMEWORK_CLASSES_CONVERTER_HXX_ |