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 .
24 const SwMoveFnCollection aFwrd
= {
26 /* fnNds */ &GoNextNds
,
27 /* fnPos */ &GoNextPos
,
28 /* fnDoc */ &GoEndDoc
,
29 /* fnSections */ &GoEndSection
,
30 /* fnCmpOp */ &SwPosition::operator<,
31 /* fnGetHint */ &GetFrwrdTextHint
,
32 /* fnSearch */ &utl::TextSearch::SearchForward
,
33 /* fnSection */ &GoStartOfSection
36 const SwMoveFnCollection aBwrd
= {
37 /* fnNd */ &GoPrevious
,
38 /* fnNds */ &GoPreviousNds
,
39 /* fnPos */ &GoPreviousPos
,
40 /* fnDoc */ &GoStartDoc
,
41 /* fnSections */ &GoStartSection
,
42 /* fnCmpOp */ &SwPosition::operator>,
43 /* fnGetHint */ &GetBkwrdTextHint
,
44 /* fnSearch */ &utl::TextSearch::SearchBackward
,
45 /* fnSection */ &GoEndOfSection
48 SwMoveFnCollection
const & fnParaStart
= aFwrd
;
49 SwMoveFnCollection
const & fnParaEnd
= aBwrd
;
51 SwMoveFnCollection
const & fnSectionStart
= aFwrd
;
52 SwMoveFnCollection
const & fnSectionEnd
= aBwrd
;
54 SwMoveFnCollection
const & fnTableStart
= aFwrd
;
55 SwMoveFnCollection
const & fnTableEnd
= aBwrd
;
57 SwMoveFnCollection
const & fnRegionStart
= aFwrd
;
58 SwMoveFnCollection
const & fnRegionEnd
= aBwrd
;
60 SwMoveFnCollection
const & fnMoveBackward
= aBwrd
;
61 SwMoveFnCollection
const & fnMoveForward
= aFwrd
;
63 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */