2010-10-14 08:30:41 +02:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2011-03-31 10:05:04 +02: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 .
|
|
|
|
*/
|
2004-02-02 17:14:20 +00:00
|
|
|
#ifndef _FMTFOLLOWTEXTFLOW_HXX
|
|
|
|
#define _FMTFOLLOWTEXTFLOW_HXX
|
|
|
|
|
|
|
|
|
2009-10-16 00:05:16 +02:00
|
|
|
#include <svl/eitem.hxx>
|
2004-02-02 17:14:20 +00:00
|
|
|
#include <hintids.hxx>
|
|
|
|
#include <format.hxx>
|
2004-08-23 07:33:12 +00:00
|
|
|
#include "swdllapi.h"
|
2004-02-02 17:14:20 +00:00
|
|
|
|
|
|
|
class IntlWrapper;
|
|
|
|
|
2004-08-23 07:33:12 +00:00
|
|
|
class SW_DLLPUBLIC SwFmtFollowTextFlow : public SfxBoolItem
|
2004-02-02 17:14:20 +00:00
|
|
|
{
|
|
|
|
public:
|
2011-01-17 15:06:54 +01:00
|
|
|
SwFmtFollowTextFlow( sal_Bool bFlag = sal_False )
|
2004-02-02 17:14:20 +00:00
|
|
|
: SfxBoolItem( RES_FOLLOW_TEXT_FLOW, bFlag ) {}
|
|
|
|
|
|
|
|
TYPEINFO();
|
|
|
|
|
2012-09-02 09:05:03 +03:00
|
|
|
/// "pure virtual methods" of SfxPoolItem
|
2004-02-02 17:14:20 +00:00
|
|
|
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
|
|
|
|
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
|
|
|
|
SfxMapUnit eCoreMetric,
|
|
|
|
SfxMapUnit ePresMetric,
|
2013-01-23 12:41:52 +01:00
|
|
|
OUString &rText,
|
2004-02-02 17:14:20 +00:00
|
|
|
const IntlWrapper* pIntl = 0 ) const;
|
|
|
|
};
|
|
|
|
|
2011-01-17 15:06:54 +01:00
|
|
|
inline const SwFmtFollowTextFlow &SwAttrSet::GetFollowTextFlow(sal_Bool bInP) const
|
2004-02-02 17:14:20 +00:00
|
|
|
{ return (const SwFmtFollowTextFlow&)Get( RES_FOLLOW_TEXT_FLOW, bInP ); }
|
|
|
|
|
2011-01-17 15:06:54 +01:00
|
|
|
inline const SwFmtFollowTextFlow &SwFmt::GetFollowTextFlow(sal_Bool bInP) const
|
2004-02-02 17:14:20 +00:00
|
|
|
{ return aSet.GetFollowTextFlow( bInP ); }
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
2010-10-14 08:30:41 +02:00
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|