summaryrefslogtreecommitdiff
path: root/sc/source/filter/xml/XMLEmptyContext.hxx
blob: e7029612f2d2e3eff95b55bf493c27ec038c8444 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */
#ifndef INCLUDED_SC_SOURCE_FILTER_XML_XMLEMPTYCONTEXT_HXX
#define INCLUDED_SC_SOURCE_FILTER_XML_XMLEMPTYCONTEXT_HXX

#include <xmloff/xmlictxt.hxx>
#include "xmlimprt.hxx"


class ScXMLEmptyContext : public SvXMLImportContext
{
    const ScXMLImport& GetScImport() const { return static_cast<const ScXMLImport&>(GetImport()); }
    ScXMLImport& GetScImport() { return static_cast<ScXMLImport&>(GetImport()); }

public:

    ScXMLEmptyContext( ScXMLImport& rImport, sal_uInt16 nPrfx,
                        const OUString& rLName);

    virtual ~ScXMLEmptyContext() override;

    virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
                                     const OUString& rLocalName,
                                     const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList ) override;

    virtual void EndElement() override;
};

#endif

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
property on StyleCédric Bosdonnat3-36/+29 2012-12-03drop unnecessary resource idsCaolán McNamara6-39/+18 2012-12-03convert outline numbering numbering tab over fullyCaolán McNamara7-311/+105 2012-12-03convert outline numbering position tab over fullyCaolán McNamara6-503/+232 2012-12-03Make it localTakeshi Abe1-3/+3 2012-12-03sal_Bool to boolTakeshi Abe6-66/+66 2012-12-03API CHANGE: remove com.sun.star.util.XArchiverMichael Stahl1-1/+0 2012-12-01Resolves: fdo#56549 crash in format->autocorrect->apply and edit changesCaolán McNamara1-4/+4 2012-12-01sw: remove unused UNO wrapper around old internal RTF importMiklos Vajna3-191/+0 2012-11-30Hidden styles: ODF import/exportCédric Bosdonnat1-29/+26 2012-11-30API CHANGE: Added XStyle::isHidden() and XStyle::setHidden()Cédric Bosdonnat1-0/+35 2012-11-30API CHANGE: remove service com.sun.star.text.PrintPreviewSettingsMichael Stahl1-2/+1 2012-11-30API CHANGE: remove com.sun.star.text.XTextEmbeddedObjectMichael Stahl1-1/+0 2012-11-30Fixed style iterators filters to show only hidden styles when requiredCédric Bosdonnat1-2/+15 2012-11-30Styles & Formatting: added SFXSTYLEBIT_ALL_VISIBLE and show hidden stylesCédric Bosdonnat2-11/+17 2012-11-30Allow to hide styles in the "Styles & Formating" dialogCédric Bosdonnat6-55/+222 2012-11-30Revert "fdo#43869 use the old rtf importer for paste"Miklos Vajna1-6/+0 2012-11-30migrate 'Insert Bookmark' dialog to .ui fileJack Leigh9-142/+65 2012-11-30migrate 'Insert Footnote' dialog to .ui fileJack Leigh5-252/+78 2012-11-30c++ API: use css alias in generated headers, adds global css declThorsten Behrens10-24/+0 2012-11-30fdo#46808, use service constructor for i18n::CollatorNoel Grandin4-10/+5 2012-11-30wrtw8sty.cxx: convert anachronistic SvArray callsMichael Stahl1-2/+2 2012-11-30re-base on ALv2 code. Includes:Michael Meeks1202-27924/+17464 2012-11-30Revert "i#116420, fdo#33477: Implemented VertOrient on Writer table cell..."Michael Meeks2-30/+0 2012-11-30masterfix OOO340: #i117701# prevent warning in xmlitem.cxxKurt Zenker1-1/+1 2012-11-30sal_Bool to boolTakeshi Abe8-88/+87 2012-11-29Pass pointer to view data entry to Paint() instead of its raw flag value.Kohei Yoshida4-16/+20 2012-11-29sw: fix RTF export of text frames anchored to empty paragraphsMiklos Vajna1-2/+9 2012-11-29