LibreOffice Module sw (master) 1
idxmrk.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 <idxmrk.hxx>
21#include <wrtsh.hxx>
22#include <cmdid.h>
23
25
27 sal_uInt16 nId,
28 SfxBindings* pBindings,
29 SfxChildWinInfo* pInfo ) :
30 SfxChildWindow(pParentWindow, nId)
31{
33 m_xAbstDlg = pFact->CreateIndexMarkFloatDlg(pBindings, this, pParentWindow->GetFrameWeld(), pInfo);
34 SetController(m_xAbstDlg->GetController());
35}
36
38{
40
41 return aInfo;
42}
43
45{
46 m_xAbstDlg->ReInitDlg(rWrtShell);
47}
48
50
52 sal_uInt16 nId,
53 SfxBindings* pBindings,
54 SfxChildWinInfo* pInfo ) :
55 SfxChildWindow(pParentWindow, nId)
56{
58 m_xAbstDlg = pFact->CreateAuthMarkFloatDlg(pBindings, this, pParentWindow->GetFrameWeld(), pInfo);
59 SetController(m_xAbstDlg->GetController());
60}
61
63{
65 return aInfo;
66}
67
69{
70 m_xAbstDlg->ReInitDlg(rWrtShell);
71}
72
73/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual SfxChildWinInfo GetInfo() const
virtual VclPtr< AbstractMarkFloatDlg > CreateAuthMarkFloatDlg(SfxBindings *pBindings, SfxChildWindow *pChild, weld::Window *pParent, SfxChildWinInfo *pInfo)=0
virtual VclPtr< AbstractMarkFloatDlg > CreateIndexMarkFloatDlg(SfxBindings *pBindings, SfxChildWindow *pChild, weld::Window *pParent, SfxChildWinInfo *pInfo)=0
static SwAbstractDialogFactory * Create()
Definition: swabstdlg.cxx:36
ScopedVclPtr< AbstractMarkFloatDlg > m_xAbstDlg
Definition: idxmrk.hxx:45
void ReInitDlg(SwWrtShell &rWrtShell)
Definition: idxmrk.cxx:68
ScopedVclPtr< AbstractMarkFloatDlg > m_xAbstDlg
Definition: idxmrk.hxx:30
void ReInitDlg(SwWrtShell &rWrtShell)
Definition: idxmrk.cxx:44
Used by the UI to modify the document model.
Definition: wrtsh.hxx:97
#define FN_INSERT_IDX_ENTRY_DLG
Definition: cmdid.h:240
#define FN_INSERT_AUTH_ENTRY_DLG
Definition: cmdid.h:304
SFX_IMPL_CHILDWINDOW_WITHID(SearchResultsDlgWrapper, SID_SEARCH_RESULTS_DIALOG)