1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/.
10 #ifndef INCLUDED_EDITENG_FIELDUPDATER_HXX
11 #define INCLUDED_EDITENG_FIELDUPDATER_HXX
13 #include <editeng/editengdllapi.h>
19 class FieldUpdaterImpl
;
22 * Wrapper for EditTextObject to handle updating of fields without exposing
23 * the internals of EditTextObject structure.
25 class EDITENG_DLLPUBLIC FieldUpdater
27 FieldUpdaterImpl
* mpImpl
;
29 FieldUpdater(); // disabled
31 FieldUpdater(EditTextObject
& rObj
);
32 FieldUpdater(const FieldUpdater
& r
);
36 * Set a new table ID to all table fields.
38 * @param nTab new table ID
40 void updateTableFields(int nTab
);
47 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */