bump product version to 4.1.6.2
[LibreOffice.git] / xmloff / source / chart / SchXMLTextListContext.hxx
blob27089c0000405abf0b0a6c0ec2135fc3287c8d85
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef _SCH_XMLTEXTLISTCONTEXT_HXX_
20 #define _SCH_XMLTEXTLISTCONTEXT_HXX_
22 #include <xmloff/xmlictxt.hxx>
23 #include "rtl/ustring.hxx"
24 #include <vector>
26 namespace com { namespace sun { namespace star { namespace xml { namespace sax {
27 class XAttributeList;
28 }}}}}
30 class SchXMLTextListContext : public SvXMLImportContext
32 public:
33 SchXMLTextListContext( SvXMLImport& rImport,
34 const OUString& rLocalName,
35 ::com::sun::star::uno::Sequence< OUString>& rTextList );
36 virtual ~SchXMLTextListContext();
37 virtual void StartElement( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList );
38 virtual void EndElement();
40 virtual SvXMLImportContext* CreateChildContext(
41 sal_uInt16 nPrefix,
42 const OUString& rLocalName,
43 const com::sun::star::uno::Reference< com::sun::star::xml::sax::XAttributeList >& xAttrList );
45 private:
46 ::com::sun::star::uno::Sequence< OUString>& m_rTextList;
47 std::vector< OUString> m_aTextVector;
50 #endif // _SCH_XMLTEXTLISTCONTEXT_HXX_
52 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */