|
Packit |
443c7d |
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
|
|
Packit |
443c7d |
/* libwpd
|
|
Packit |
443c7d |
* Version: MPL 2.0 / LGPLv2.1+
|
|
Packit |
443c7d |
*
|
|
Packit |
443c7d |
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
Packit |
443c7d |
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
Packit |
443c7d |
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
Packit |
443c7d |
*
|
|
Packit |
443c7d |
* Major Contributor(s):
|
|
Packit |
443c7d |
* Copyright (C) 2006 Fridrich Strba (fridrich.strba@bluewin.ch)
|
|
Packit |
443c7d |
*
|
|
Packit |
443c7d |
* For minor contributions see the git repository.
|
|
Packit |
443c7d |
*
|
|
Packit |
443c7d |
* Alternatively, the contents of this file may be used under the terms
|
|
Packit |
443c7d |
* of the GNU Lesser General Public License Version 2.1 or later
|
|
Packit |
443c7d |
* (LGPLv2.1+), in which case the provisions of the LGPLv2.1+ are
|
|
Packit |
443c7d |
* applicable instead of those above.
|
|
Packit |
443c7d |
*
|
|
Packit |
443c7d |
* For further information visit http://libwpd.sourceforge.net
|
|
Packit |
443c7d |
*/
|
|
Packit |
443c7d |
|
|
Packit |
443c7d |
/* "This product is not manufactured, approved, or supported by
|
|
Packit |
443c7d |
* Corel Corporation or Corel Corporation Limited."
|
|
Packit |
443c7d |
*/
|
|
Packit |
443c7d |
|
|
Packit |
443c7d |
#include "libwpd_internal.h"
|
|
Packit |
443c7d |
#include "WP1CenterTextGroup.h"
|
|
Packit |
443c7d |
|
|
Packit |
443c7d |
WP1CenterTextGroup::WP1CenterTextGroup(librevenge::RVNGInputStream *input, WPXEncryption *encryption, unsigned char group) :
|
|
Packit |
443c7d |
WP1FixedLengthGroup(group)
|
|
Packit |
443c7d |
{
|
|
Packit |
443c7d |
_read(input, encryption);
|
|
Packit |
443c7d |
}
|
|
Packit |
443c7d |
|
|
Packit |
443c7d |
WP1CenterTextGroup::~WP1CenterTextGroup()
|
|
Packit |
443c7d |
{
|
|
Packit |
443c7d |
}
|
|
Packit |
443c7d |
|
|
Packit |
443c7d |
void WP1CenterTextGroup::parse(WP1Listener *listener)
|
|
Packit |
443c7d |
{
|
|
Packit |
443c7d |
WPD_DEBUG_MSG(("WordPerfect: handling the Center Text group\n"));
|
|
Packit |
443c7d |
listener->centerOn();
|
|
Packit |
443c7d |
}
|
|
Packit |
443c7d |
/* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
|