Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /* This Source Code Form is subject to the terms of the Mozilla Public
3 : * License, v. 2.0. If a copy of the MPL was not distributed with this
4 : * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 :
6 : #ifndef TRANSFRMX_TEXT_HANDLER_H
7 : #define TRANSFRMX_TEXT_HANDLER_H
8 :
9 : #include "txXMLEventHandler.h"
10 : #include "nsString.h"
11 :
12 0 : class txTextHandler : public txAXMLEventHandler
13 : {
14 : public:
15 : explicit txTextHandler(bool aOnlyText);
16 :
17 : TX_DECL_TXAXMLEVENTHANDLER
18 :
19 : nsString mValue;
20 :
21 : private:
22 : uint32_t mLevel;
23 : bool mOnlyText;
24 : };
25 :
26 : #endif
|