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 .
|
|
|
|
*/
|
2000-09-18 23:08:29 +00:00
|
|
|
|
2006-09-16 20:24:57 +00:00
|
|
|
|
2000-09-18 23:08:29 +00:00
|
|
|
#include "rootfrm.hxx"
|
|
|
|
#include "cntfrm.hxx"
|
|
|
|
#include "flyfrm.hxx"
|
|
|
|
|
|
|
|
|
|
|
|
void SwFrm::Format( const SwBorderAttrs * )
|
|
|
|
{
|
2012-02-13 11:37:54 +01:00
|
|
|
OSL_FAIL( "Format() of the base class called." );
|
2000-09-18 23:08:29 +00:00
|
|
|
}
|
|
|
|
|
2010-09-30 16:03:07 +02:00
|
|
|
void SwFrm::Paint(SwRect const&, SwPrintData const*const) const
|
2000-09-18 23:08:29 +00:00
|
|
|
{
|
2012-02-13 11:37:54 +01:00
|
|
|
OSL_FAIL( "Paint() of the base class called." );
|
2000-09-18 23:08:29 +00:00
|
|
|
}
|
|
|
|
|
2003-09-25 09:49:33 +00:00
|
|
|
sal_Bool SwCntntFrm::WouldFit( SwTwips &, sal_Bool&, sal_Bool )
|
2000-09-18 23:08:29 +00:00
|
|
|
{
|
2012-02-13 11:37:54 +01:00
|
|
|
OSL_FAIL( "WouldFit of CntntFrm called." );
|
2011-01-17 15:06:54 +01:00
|
|
|
return sal_False;
|
2000-09-18 23:08:29 +00:00
|
|
|
}
|
|
|
|
|
2007-11-22 14:38:05 +00:00
|
|
|
bool SwFrm::FillSelection( SwSelectionList& , const SwRect& ) const
|
|
|
|
{
|
2011-03-12 11:51:35 +01:00
|
|
|
OSL_FAIL( "Don't call this function at the base class!" );
|
2007-11-22 14:38:05 +00:00
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
2012-11-23 17:51:16 +01:00
|
|
|
sal_Bool SwFrm::GetCrsrOfst( SwPosition *, Point&, SwCrsrMoveState*, bool ) const
|
2000-09-18 23:08:29 +00:00
|
|
|
{
|
2012-02-13 11:37:54 +01:00
|
|
|
OSL_FAIL( "GetCrsrOfst of the base class, hi!" );
|
2011-01-17 15:06:54 +01:00
|
|
|
return sal_False;
|
2000-09-18 23:08:29 +00:00
|
|
|
}
|
|
|
|
|
2011-11-24 00:52:00 +01:00
|
|
|
#ifdef DBG_UTIL
|
2000-09-18 23:08:29 +00:00
|
|
|
|
|
|
|
void SwRootFrm::Cut()
|
|
|
|
{
|
2012-02-13 11:37:54 +01:00
|
|
|
OSL_FAIL( "Cut() of RootFrm called." );
|
2000-09-18 23:08:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void SwRootFrm::Paste( SwFrm *, SwFrm * )
|
|
|
|
{
|
2012-02-13 11:37:54 +01:00
|
|
|
OSL_FAIL( "Paste() of RootFrm called." );
|
2000-09-18 23:08:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void SwFlyFrm::Paste( SwFrm *, SwFrm * )
|
|
|
|
{
|
2012-02-13 11:37:54 +01:00
|
|
|
OSL_FAIL( "Paste() of FlyFrm called." );
|
2000-09-18 23:08:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
2011-01-17 15:06:54 +01:00
|
|
|
sal_Bool SwFrm::GetCharRect( SwRect&, const SwPosition&,
|
2000-09-18 23:08:29 +00:00
|
|
|
SwCrsrMoveState* ) const
|
|
|
|
{
|
2012-02-13 11:37:54 +01:00
|
|
|
OSL_FAIL( "GetCharRect() of the base called." );
|
2011-01-17 15:06:54 +01:00
|
|
|
return sal_False;
|
2000-09-18 23:08:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-10-14 08:30:41 +02:00
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|