xref: /AOO41X/main/dbaccess/source/filter/xml/xmlAutoStyle.hxx (revision 2e2212a7c22e96cf6f6fab0dd042c34a45a64bd6)
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 DBA_XMLAUTOSTYLE_HXX
24 #define DBA_XMLAUTOSTYLE_HXX
25 #ifndef _XMLOFF_PROPMAPPINGTYPES_HXX
26 #include <xmloff/maptype.hxx>
27 #endif
28 #ifndef _XMLOFF_XMLASTPLP_HXX
29 #include <xmloff/xmlaustp.hxx>
30 #endif
31 #ifndef _XMLOFF_XMLTYPES_HXX
32 #include <xmloff/xmltypes.hxx>
33 #endif
34 #ifndef _XMLOFF_PROPERTYSETMAPPER_HXX
35 #include <xmloff/xmlprmap.hxx>
36 #endif
37 
38 namespace dbaxml
39 {
40     class ODBExport;
41     class OXMLAutoStylePoolP : public SvXMLAutoStylePoolP
42     {
43         ODBExport& rODBExport;
44 
45         virtual void exportStyleAttributes(
46                 SvXMLAttributeList& rAttrList,
47                 sal_Int32 nFamily,
48                 const ::std::vector< XMLPropertyState >& rProperties,
49                 const SvXMLExportPropertyMapper& rPropExp,
50                 const SvXMLUnitConverter& rUnitConverter,
51                 const SvXMLNamespaceMap& rNamespaceMap
52                 ) const;
53 
54     public:
55         OXMLAutoStylePoolP(ODBExport& rXMLExport);
56         virtual ~OXMLAutoStylePoolP();
57     };
58 // -----------------------------------------------------------------------------
59 } // dbaxml
60 // -----------------------------------------------------------------------------
61 #endif // DBA_XMLAUTOSTYLE_HXX
62 
63