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 /* fnPos */ &GoNextPos,
28 /* fnDoc */ &GoEndDoc,
29 /* fnSections */ &GoEndSection,
30 /* fnCmpOp */ &SwPosition::operator<,
31 /* fnGetHint */ &GetFrwrdTextHint,
32 /* fnSearch */ &utl::TextSearch::SearchForward,
33 /* fnSection */ &GoStartOfSection
34};
35
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
46};
47
50
53
56
59
62
63/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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
void GoEndOfSection(SwPosition *pPos)
Definition: pam.cxx:1151
SwContentNode * GoNextNds(SwNodeIndex *pIdx, bool bChk)
Definition: pam.cxx:394
SwContentNode * GoPreviousPos(SwPosition *pIdx, bool bChk)
Definition: pam.cxx:439
void GoStartSection(SwPosition *pPos)
Definition: pam.cxx:1116
void GoStartDoc(SwPosition *pPos)
Definition: pam.cxx:1099
bool GoNext(SwNode *pNd, SwContentIndex *pIdx, SwCursorSkipMode nMode)
Definition: pam.cxx:380
void GoStartOfSection(SwPosition *pPos)
Definition: pam.cxx:1129
SwContentNode * GoPreviousNds(SwNodeIndex *pIdx, bool bChk)
Definition: pam.cxx:409
bool GoPrevious(SwNode *pNd, SwContentIndex *pIdx, SwCursorSkipMode nMode)
Definition: pam.cxx:387
void GoEndDoc(SwPosition *pPos)
Definition: pam.cxx:1107
void GoEndSection(SwPosition *pPos)
go to the end of the current base section
Definition: pam.cxx:1137
SwContentNode * GoNextPos(SwPosition *pIdx, bool bChk)
Definition: pam.cxx:424
SwMoveFnCollection const & fnParaStart
Definition: paminit.cxx:48
SwMoveFnCollection const & fnRegionEnd
Definition: paminit.cxx:58
SwMoveFnCollection const & fnTableEnd
Definition: paminit.cxx:55
const SwMoveFnCollection aFwrd
Definition: paminit.cxx:24
SwMoveFnCollection const & fnSectionEnd
Definition: paminit.cxx:52
SwMoveFnCollection const & fnParaEnd
Definition: paminit.cxx:49
SwMoveFnCollection const & fnTableStart
Definition: paminit.cxx:54
SwMoveFnCollection const & fnRegionStart
Definition: paminit.cxx:57
SwMoveFnCollection const & fnMoveBackward
Definition: paminit.cxx:60
SwMoveFnCollection const & fnMoveForward
SwPam::Move()/Find() default argument.
Definition: paminit.cxx:61
SwMoveFnCollection const & fnSectionStart
Definition: paminit.cxx:51
const SwMoveFnCollection aBwrd
Definition: paminit.cxx:36