LibreOffice Module vcl (master)
1
include
vcl
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
15
class
VCL_DLLPUBLIC
TextFilter
16
{
17
private
:
18
OUString
sForbiddenChars
;
19
20
public
:
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: */
TextFilter
Definition:
textfilter.hxx:16
TextFilter::sForbiddenChars
OUString sForbiddenChars
Definition:
textfilter.hxx:18
TextFilter::SetForbiddenChars
void SetForbiddenChars(const OUString &rSet)
Definition:
textfilter.hxx:21
dllapi.h
VCL_DLLPUBLIC
#define VCL_DLLPUBLIC
Definition:
dllapi.h:29
filter
rSet
static SfxItemSet & rSet
Generated on Sun Jul 30 2023 04:34:53 for LibreOffice Module vcl (master) by
1.9.3