LibreOffice Module sw (master) 1
paminit.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 <pam.hxx>
21#include <pamtyp.hxx>
22#include <cshtyp.hxx>
23
25 /* fnNd */ &GoNext,
26 /* fnNds */ &GoNextNds,
27 /* fnDoc */ &GoEndDoc,
28 /* fnSections */ &GoEndSection,
29 /* fnCmpOp */ &SwPosition::operator<,
30 /* fnGetHint */ &GetFrwrdTextHint,
31 /* fnSearch */ &utl::TextSearch::SearchForward,
32 /* fnSection */ &SwNodes::GoStartOfSection
33};
34
36 /* fnNd */ &GoPrevious,
37 /* fnNds */ &GoPreviousNds,
38 /* fnDoc */ &GoStartDoc,
39 /* fnSections */ &GoStartSection,
40 /* fnCmpOp */ &SwPosition::operator>,
41 /* fnGetHint */ &GetBkwrdTextHint,
42 /* fnSearch */ &utl::TextSearch::SearchBackward,
43 /* fnSection */ &SwNodes::GoEndOfSection
44};
45
48
51
54
57
60
61/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
static void GoEndOfSection(SwNodeIndex *)
Definition: nodes.cxx:1294
static void GoStartOfSection(SwNodeIndex *)
Definition: nodes.cxx:1276
bool SearchForward(const OUString &rStr, sal_Int32 *pStart, sal_Int32 *pEnd, css::util::SearchResult *pRes=nullptr)
bool SearchBackward(const OUString &rStr, sal_Int32 *pStart, sal_Int32 *pEnd, css::util::SearchResult *pRes=nullptr)
const SwTextAttr * GetBkwrdTextHint(const SwpHints &rHtsArr, size_t &rPos, sal_Int32 nContentPos)
Definition: findattr.cxx:89
const SwTextAttr * GetFrwrdTextHint(const SwpHints &rHtsArr, size_t &rPos, sal_Int32 nContentPos)
Definition: findattr.cxx:76
bool GoPrevious(SwNode *pNd, SwIndex *pIdx, sal_uInt16 nMode)
Definition: pam.cxx:297
SwContentNode * GoNextNds(SwNodeIndex *pIdx, bool bChk)
Definition: pam.cxx:304
void GoStartSection(SwPosition *pPos)
Definition: pam.cxx:945
void GoStartDoc(SwPosition *pPos)
Definition: pam.cxx:926
SwContentNode * GoPreviousNds(SwNodeIndex *pIdx, bool bChk)
Definition: pam.cxx:319
void GoEndDoc(SwPosition *pPos)
Definition: pam.cxx:936
bool GoNext(SwNode *pNd, SwIndex *pIdx, sal_uInt16 nMode)
Definition: pam.cxx:290
void GoEndSection(SwPosition *pPos)
go to the end of the current base section
Definition: pam.cxx:959
SwMoveFnCollection const & fnParaStart
Definition: paminit.cxx:46
SwMoveFnCollection const & fnRegionEnd
Definition: paminit.cxx:56
SwMoveFnCollection const & fnTableEnd
Definition: paminit.cxx:53
const SwMoveFnCollection aFwrd
Definition: paminit.cxx:24
SwMoveFnCollection const & fnSectionEnd
Definition: paminit.cxx:50
SwMoveFnCollection const & fnParaEnd
Definition: paminit.cxx:47
SwMoveFnCollection const & fnTableStart
Definition: paminit.cxx:52
SwMoveFnCollection const & fnRegionStart
Definition: paminit.cxx:55
SwMoveFnCollection const & fnMoveBackward
Definition: paminit.cxx:58
SwMoveFnCollection const & fnMoveForward
SwPam::Move()/Find() default argument.
Definition: paminit.cxx:59
SwMoveFnCollection const & fnSectionStart
Definition: paminit.cxx:49
const SwMoveFnCollection aBwrd
Definition: paminit.cxx:35