LibreOffice Module vcl (master) 1
textfilter.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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/.
8 */
9#ifndef INCLUDED_VCL_TEXTFILTER_HXX
10#define INCLUDED_VCL_TEXTFILTER_HXX
11
12#include <vcl/dllapi.h>
13#include <rtl/ustring.hxx>
14
16{
17private:
19
20public:
21 void SetForbiddenChars(const OUString& rSet) { sForbiddenChars = rSet; }
22
23 virtual OUString filter(const OUString& rText);
24
25 TextFilter(OUString aForbiddenChars = OUString(" "));
26 virtual ~TextFilter();
27};
28
29#endif // INCLUDED_VCL_TEXTFILTER_HXX
30
31/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
OUString sForbiddenChars
Definition: textfilter.hxx:18
void SetForbiddenChars(const OUString &rSet)
Definition: textfilter.hxx:21
#define VCL_DLLPUBLIC
Definition: dllapi.h:29
static SfxItemSet & rSet