Files
libreoffice/include/editeng/fieldupdater.hxx
Norbert Thiebaud 73a5748215 fdo#65108 inter-module includes <>
Change-Id: I82b0309c4430a8393e17b9a30a6e898f82c0f25c
2013-11-09 18:48:39 -06:00

48 lines
1.1 KiB
C++

/* -*- 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/.
*/
#ifndef INCLUDED_EDITENG_FIELDUPDATER_HXX
#define INCLUDED_EDITENG_FIELDUPDATER_HXX
#include <editeng/editengdllapi.h>
class EditTextObject;
namespace editeng {
class FieldUpdaterImpl;
/**
* Wrapper for EditTextObject to handle updating of fields without exposing
* the internals of EditTextObject structure.
*/
class EDITENG_DLLPUBLIC FieldUpdater
{
FieldUpdaterImpl* mpImpl;
FieldUpdater(); // disabled
public:
FieldUpdater(EditTextObject& rObj);
FieldUpdater(const FieldUpdater& r);
~FieldUpdater();
/**
* Set a new table ID to all table fields.
*
* @param nTab new table ID
*/
void updateTableFields(int nTab);
};
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */