LibreOffice Module sw (master) 1
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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
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 .
18 */
19#pragma once
21#include <tools/long.hxx>
22#include "tblenum.hxx"
23#include "swdllapi.h"
24#include <unotools/resmgr.hxx>
26#include <string_view>
28class SwRect;
29class Size;
30class SwViewShell;
31class SwDocShell;
33extern void ScrollMDI(SwViewShell const * pVwSh, const SwRect &, sal_uInt16 nRangeX, sal_uInt16 nRangeY);
34extern bool IsScrollMDI(SwViewShell const * pVwSh, const SwRect &);
35extern void SizeNotify(SwViewShell const * pVwSh, const Size &);
37// Update of status bar during an action.
38extern void PageNumNotify(SwViewShell const * pVwSh);
41extern void FrameNotify( SwViewShell* pVwSh, FlyMode eMode = FLY_DRAG );
43SW_DLLPUBLIC void StartProgress(TranslateId pMessId, tools::Long nStartVal, tools::Long nEndVal, SwDocShell *pDocSh = nullptr);
44SW_DLLPUBLIC void EndProgress ( SwDocShell const *pDocSh );
45SW_DLLPUBLIC void SetProgressState ( tools::Long nPosition, SwDocShell const *pDocShell );
46void RescheduleProgress( SwDocShell const *pDocShell );
48void RepaintPagePreview( SwViewShell const * pVwSh, const SwRect& rRect );
50// Read ChgMode for tables from configuration.
53bool JumpToSwMark( SwViewShell const * pVwSh, std::u16string_view rMark );
55/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Of course Writer needs its own rectangles.
Definition: swrect.hxx:35
SW_DLLPUBLIC void SetProgressState(tools::Long nPosition, SwDocShell const *pDocShell)
Definition: mainwn.cxx:82
void FrameNotify(SwViewShell *pVwSh, FlyMode eMode=FLY_DRAG)
Definition: edtwin3.cxx:78
TableChgMode GetTableChgDefaultMode()
Definition: edtwin3.cxx:103
void RescheduleProgress(SwDocShell const *pDocShell)
Definition: mainwn.cxx:123
Definition: mdiexp.hxx:40
Definition: mdiexp.hxx:40
Definition: mdiexp.hxx:40
Definition: mdiexp.hxx:40
void PageNumNotify(SwViewShell const *pVwSh)
Definition: edtwin3.cxx:67
SW_DLLPUBLIC void EndProgress(SwDocShell const *pDocSh)
Definition: mainwn.cxx:92
bool JumpToSwMark(SwViewShell const *pVwSh, std::u16string_view rMark)
Definition: edtwin3.cxx:117
void SizeNotify(SwViewShell const *pVwSh, const Size &)
Definition: edtwin3.cxx:56
bool IsScrollMDI(SwViewShell const *pVwSh, const SwRect &)
Definition: edtwin3.cxx:45
void ScrollMDI(SwViewShell const *pVwSh, const SwRect &, sal_uInt16 nRangeX, sal_uInt16 nRangeY)
Definition: edtwin3.cxx:35
void RepaintPagePreview(SwViewShell const *pVwSh, const SwRect &rRect)
Definition: edtwin3.cxx:109
SW_DLLPUBLIC void StartProgress(TranslateId pMessId, tools::Long nStartVal, tools::Long nEndVal, SwDocShell *pDocSh=nullptr)
Definition: mainwn.cxx:52
long Long
Definition: swdllapi.h:28
Definition: tblenum.hxx:48