xref: /trunk/main/xmloff/inc/xmloff/xformsexport.hxx (revision ecfe53c5)
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
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 #ifndef _XMLOFF_XFORMSEXPORT_HXX
24 #define _XMLOFF_XFORMSEXPORT_HXX
25 
26 #include "xmloff/dllapi.h"
27 
28 class SvXMLExport;
29 namespace com { namespace sun { namespace star {
30     namespace uno { template<typename T> class Reference; }
31     namespace uno { template<typename T> class Sequence; }
32     namespace frame { class XModel; }
33     namespace beans { class XPropertySet; struct PropertyValue; }
34     namespace container { class XNameAccess; }
35 } } }
36 namespace rtl { class OUString; }
37 
38 
39 /** export an XForms model. */
40 void SAL_DLLPRIVATE exportXForms( SvXMLExport& );
41 
42 rtl::OUString SAL_DLLPRIVATE getXFormsBindName( const com::sun::star::uno::Reference<com::sun::star::beans::XPropertySet>& xBinding );
43 
44 rtl::OUString SAL_DLLPRIVATE getXFormsListBindName( const com::sun::star::uno::Reference<com::sun::star::beans::XPropertySet>& xBinding );
45 
46 rtl::OUString SAL_DLLPRIVATE getXFormsSubmissionName( const com::sun::star::uno::Reference<com::sun::star::beans::XPropertySet>& xBinding );
47 
48 
49 /** returns the settings of the given XForms container, to be exported as document specific settings
50 */
51 void XMLOFF_DLLPUBLIC getXFormsSettings(
52         const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >& _rXForms,
53               ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& _out_rSettings
54     );
55 
56 #endif
57