2010-10-14 08:27:31 +02:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2012-06-21 14:30:25 +01:00
|
|
|
/*
|
|
|
|
* 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/.
|
|
|
|
*
|
|
|
|
* This file incorporates work covered by the following license notice:
|
|
|
|
*
|
|
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
* contributor license agreements. See the NOTICE file distributed
|
|
|
|
* with this work for additional information regarding copyright
|
|
|
|
* ownership. The ASF licenses this file to you under the Apache
|
|
|
|
* License, Version 2.0 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy of
|
|
|
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
|
|
|
*/
|
2007-04-11 18:35:32 +00:00
|
|
|
|
2013-10-23 19:14:56 +02:00
|
|
|
#ifndef INCLUDED_SVL_STRITEM_HXX
|
|
|
|
#define INCLUDED_SVL_STRITEM_HXX
|
2007-04-11 18:35:32 +00:00
|
|
|
|
2013-11-09 15:22:49 -06:00
|
|
|
#include <svl/svldllapi.h>
|
2009-10-08 16:59:48 +02:00
|
|
|
#include <svl/custritm.hxx>
|
2007-04-11 18:35:32 +00:00
|
|
|
|
2014-02-25 19:06:16 +01:00
|
|
|
|
2009-10-08 16:48:26 +02:00
|
|
|
class SVL_DLLPUBLIC SfxStringItem: public CntUnencodedStringItem
|
2007-04-11 18:35:32 +00:00
|
|
|
{
|
|
|
|
public:
|
2014-03-26 11:54:10 +01:00
|
|
|
TYPEINFO_OVERRIDE();
|
2007-04-11 18:35:32 +00:00
|
|
|
|
2014-08-22 15:40:30 +02:00
|
|
|
SfxStringItem(sal_uInt16 which = 0): CntUnencodedStringItem(which) {}
|
2007-04-11 18:35:32 +00:00
|
|
|
|
2012-11-01 13:09:47 +00:00
|
|
|
SfxStringItem(sal_uInt16 which, const OUString & rValue):
|
2007-04-11 18:35:32 +00:00
|
|
|
CntUnencodedStringItem(which, rValue) {}
|
|
|
|
|
2010-07-29 10:56:19 +08:00
|
|
|
SfxStringItem(sal_uInt16 nWhich, SvStream & rStream);
|
2007-04-11 18:35:32 +00:00
|
|
|
|
2014-03-26 16:37:00 +01:00
|
|
|
virtual SfxPoolItem * Create(SvStream & rStream, sal_uInt16) const SAL_OVERRIDE;
|
2007-04-11 18:35:32 +00:00
|
|
|
|
2014-03-26 16:37:00 +01:00
|
|
|
virtual SvStream & Store(SvStream & rStream, sal_uInt16) const SAL_OVERRIDE;
|
2007-04-11 18:35:32 +00:00
|
|
|
|
2014-03-26 16:37:00 +01:00
|
|
|
virtual SfxPoolItem * Clone(SfxItemPool * = 0) const SAL_OVERRIDE;
|
2015-01-22 09:16:39 +01:00
|
|
|
|
2015-01-23 09:08:09 +01:00
|
|
|
void dumpAsXml(struct _xmlTextWriter* pWriter) const SAL_OVERRIDE;
|
2007-04-11 18:35:32 +00:00
|
|
|
};
|
|
|
|
|
2013-10-23 19:14:56 +02:00
|
|
|
#endif // INCLUDED_SVL_STRITEM_HXX
|
2007-04-11 18:35:32 +00:00
|
|
|
|
2010-10-14 08:27:31 +02:00
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|