LibreOffice Module sw (master)
1
sw
source
core
layout
unusedf.cxx
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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
* This file incorporates work covered by the following license notice:
10
*
11
* Licensed to the Apache Software Foundation (ASF) under one or more
12
* contributor license agreements. See the NOTICE file distributed
13
* with this work for additional information regarding copyright
14
* ownership. The ASF licenses this file to you under the Apache
15
* License, Version 2.0 (the "License"); you may not use this file
16
* except in compliance with the License. You may obtain a copy of
17
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
18
*/
19
20
#include <
rootfrm.hxx
>
21
#include <
cntfrm.hxx
>
22
#include <
flyfrm.hxx
>
23
#include <osl/diagnose.h>
24
25
void
SwFrame::Format
(
vcl::RenderContext
*
/*pRenderContext*/
,
const
SwBorderAttrs
* )
26
{
27
OSL_FAIL(
"Format() of the base class called."
);
28
}
29
30
void
SwFrame::PaintSwFrame
(
vcl::RenderContext
&,
SwRect
const
&,
SwPrintData
const
*
const
)
const
31
{
32
OSL_FAIL(
"PaintSwFrame() of the base class called."
);
33
}
34
35
bool
SwContentFrame::WouldFit
(
SwTwips
&,
bool
&,
bool
,
bool
)
36
{
37
OSL_FAIL(
"WouldFit of ContentFrame called."
);
38
return
false
;
39
}
40
41
bool
SwFrame::FillSelection
(
SwSelectionList
& ,
const
SwRect
& )
const
42
{
43
OSL_FAIL(
"Don't call this function at the base class!"
);
44
return
false
;
45
}
46
47
bool
SwFrame::GetModelPositionForViewPoint
(
SwPosition
*,
Point
&,
SwCursorMoveState
*,
bool
)
const
48
{
49
OSL_FAIL(
"GetModelPositionForViewPoint of the base class, hi!"
);
50
return
false
;
51
}
52
53
#ifdef DBG_UTIL
54
55
void
SwRootFrame::Cut
()
56
{
57
OSL_FAIL(
"Cut() of RootFrame called."
);
58
}
59
60
void
SwRootFrame::Paste
(
SwFrame
*,
SwFrame
* )
61
{
62
OSL_FAIL(
"Paste() of RootFrame called."
);
63
}
64
65
void
SwFlyFrame::Paste
(
SwFrame
*,
SwFrame
* )
66
{
67
OSL_FAIL(
"Paste() of FlyFrame called."
);
68
}
69
70
#endif
71
72
bool
SwFrame::GetCharRect
(
SwRect
&,
const
SwPosition
&,
73
SwCursorMoveState
*,
bool
)
const
74
{
75
OSL_FAIL(
"GetCharRect() of the base called."
);
76
return
false
;
77
}
78
79
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
OutputDevice
Point
SwBorderAttrs
Definition:
frmtool.hxx:309
SwContentFrame::WouldFit
virtual bool WouldFit(SwTwips &nMaxHeight, bool &bSplit, bool bTst, bool)
Definition:
unusedf.cxx:35
SwFlyFrame::Paste
virtual void Paste(SwFrame *pParent, SwFrame *pSibling=nullptr) override
Definition:
unusedf.cxx:65
SwFrame
Base class of the Writer layout elements.
Definition:
frame.hxx:315
SwFrame::FillSelection
virtual bool FillSelection(SwSelectionList &rList, const SwRect &rRect) const
Definition:
unusedf.cxx:41
SwFrame::GetModelPositionForViewPoint
virtual bool GetModelPositionForViewPoint(SwPosition *, Point &, SwCursorMoveState *=nullptr, bool bTestBackground=false) const
Definition:
unusedf.cxx:47
SwFrame::Format
virtual void Format(vcl::RenderContext *pRenderContext, const SwBorderAttrs *pAttrs=nullptr)
Calculates the frame area size and the print area, in case they are invalid.
Definition:
unusedf.cxx:25
SwFrame::PaintSwFrame
virtual void PaintSwFrame(vcl::RenderContext &rRenderContext, SwRect const &, SwPrintData const *const pPrintData=nullptr) const
Definition:
unusedf.cxx:30
SwFrame::GetCharRect
virtual bool GetCharRect(SwRect &, const SwPosition &, SwCursorMoveState *=nullptr, bool bAllowFarAway=true) const
Definition:
unusedf.cxx:72
SwPrintData
Definition:
printdata.hxx:53
SwRect
Of course Writer needs its own rectangles.
Definition:
swrect.hxx:35
SwRootFrame::Paste
virtual void Paste(SwFrame *pParent, SwFrame *pSibling=nullptr) override
Definition:
unusedf.cxx:60
SwRootFrame::Cut
virtual void Cut() override
Definition:
unusedf.cxx:55
SwSelectionList
This class is used as parameter for creation of a block cursor selection.
Definition:
swselectionlist.hxx:41
cntfrm.hxx
flyfrm.hxx
rootfrm.hxx
SwCursorMoveState
Definition:
crstate.hxx:133
SwPosition
Marks a position in the document model.
Definition:
pam.hxx:38
SwTwips
tools::Long SwTwips
Definition:
swtypes.hxx:51
Generated on Sun Jul 30 2023 04:28:46 for LibreOffice Module sw (master) by
1.9.3