1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
23 // ScPaintHint - info what has to be repainted
25 ScPaintHint::ScPaintHint( const ScRange
& rRng
, PaintPartFlags nPaint
, tools::Long nMaxWidthAffectedHint
) :
28 nWidthAffectedHint(nMaxWidthAffectedHint
)
32 ScPaintHint::~ScPaintHint()
36 // ScUpdateRefHint - update references
38 ScUpdateRefHint::ScUpdateRefHint( UpdateRefMode eMode
, const ScRange
& rR
,
39 SCCOL nX
, SCROW nY
, SCTAB nZ
) :
40 eUpdateRefMode( eMode
),
48 ScUpdateRefHint::~ScUpdateRefHint()
52 // ScLinkRefreshedHint - a link has been refreshed
54 ScLinkRefreshedHint::ScLinkRefreshedHint() :
55 nLinkType( ScLinkRefType::NONE
)
59 ScLinkRefreshedHint::~ScLinkRefreshedHint()
63 void ScLinkRefreshedHint::SetSheetLink( const OUString
& rSourceUrl
)
65 nLinkType
= ScLinkRefType::SHEET
;
69 void ScLinkRefreshedHint::SetDdeLink(
70 const OUString
& rA
, const OUString
& rT
, const OUString
& rI
)
72 nLinkType
= ScLinkRefType::DDE
;
78 void ScLinkRefreshedHint::SetAreaLink( const ScAddress
& rPos
)
80 nLinkType
= ScLinkRefType::AREA
;
84 // ScAutoStyleHint - STYLE() function has been called
86 ScAutoStyleHint::ScAutoStyleHint( const ScRange
& rR
, OUString aSt1
,
87 sal_uLong nT
, OUString aSt2
) :
89 aStyle1(std::move( aSt1
)),
90 aStyle2(std::move( aSt2
)),
95 ScAutoStyleHint::~ScAutoStyleHint()
99 ScDBRangeRefreshedHint::ScDBRangeRefreshedHint( const ScImportParam
& rP
)
103 ScDBRangeRefreshedHint::~ScDBRangeRefreshedHint()
107 ScDataPilotModifiedHint::ScDataPilotModifiedHint( OUString aName
)
108 : maName(std::move(aName
))
111 ScDataPilotModifiedHint::~ScDataPilotModifiedHint()
115 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */