1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
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/.
9 #ifndef INCLUDED_VCL_TEXTFILTER_HXX
10 #define INCLUDED_VCL_TEXTFILTER_HXX
12 #include <vcl/dllapi.h>
13 #include <rtl/ustring.hxx>
15 class VCL_DLLPUBLIC TextFilter
18 OUString sForbiddenChars
;
21 void SetForbiddenChars(const OUString
& rSet
) { sForbiddenChars
= rSet
; }
23 virtual OUString
filter(const OUString
& rText
);
25 TextFilter(OUString aForbiddenChars
= OUString(" "));
26 virtual ~TextFilter();
29 #endif // INCLUDED_VCL_TEXTFILTER_HXX
31 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */