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 <hintids.hxx>
21 #include <svl/stritem.hxx>
22 #include <sfx2/dispatch.hxx>
23 #include <svl/eitem.hxx>
25 #include <svl/itemset.hxx>
26 #include <editeng/langitem.hxx>
27 #include <swtypes.hxx>
28 #include <idxmrk.hxx>
29 #include <txttxmrk.hxx>
30 #include <wrtsh.hxx>
31 #include <view.hxx>
32 #include <multmrk.hxx>
33 #include <swundo.hxx>
34 #include <cmdid.h>
35 #include <swmodule.hxx>
36 #include <fldmgr.hxx>
37 #include <fldbas.hxx>
38 #include <swcont.hxx>
39 #include <svl/cjkoptions.hxx>
40 #include <ndtxt.hxx>
41 #include <breakit.hxx>
42 
44 
46  sal_uInt16 nId,
47  SfxBindings* pBindings,
48  SfxChildWinInfo* pInfo ) :
49  SfxChildWindow(pParentWindow, nId)
50 {
52  xAbstDlg = pFact->CreateIndexMarkFloatDlg(pBindings, this, pParentWindow->GetFrameWeld(), pInfo);
53  SetController(xAbstDlg->GetController());
54 }
55 
57 {
59 
60  return aInfo;
61 }
62 
64 {
65  xAbstDlg->ReInitDlg(rWrtShell);
66 }
67 
69 
71  sal_uInt16 nId,
72  SfxBindings* pBindings,
73  SfxChildWinInfo* pInfo ) :
74  SfxChildWindow(pParentWindow, nId)
75 {
77  xAbstDlg = pFact->CreateAuthMarkFloatDlg(pBindings, this, pParentWindow->GetFrameWeld(), pInfo);
78  SetController(xAbstDlg->GetController());
79 }
80 
82 {
84  return aInfo;
85 }
86 
88 {
89  xAbstDlg->ReInitDlg(rWrtShell);
90 }
91 
92 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual VclPtr< AbstractMarkFloatDlg > CreateIndexMarkFloatDlg(SfxBindings *pBindings, SfxChildWindow *pChild, weld::Window *pParent, SfxChildWinInfo *pInfo)=0
#define FN_INSERT_AUTH_ENTRY_DLG
Definition: cmdid.h:274
void ReInitDlg(SwWrtShell &rWrtShell)
Definition: idxmrk.cxx:63
Used by the UI to modify the document model.
Definition: wrtsh.hxx:88
void ReInitDlg(SwWrtShell &rWrtShell)
Definition: idxmrk.cxx:87
#define FN_INSERT_IDX_ENTRY_DLG
Definition: cmdid.h:213
virtual VclPtr< AbstractMarkFloatDlg > CreateAuthMarkFloatDlg(SfxBindings *pBindings, SfxChildWindow *pChild, weld::Window *pParent, SfxChildWinInfo *pInfo)=0
ScopedVclPtr< AbstractMarkFloatDlg > xAbstDlg
Definition: idxmrk.hxx:45
SFX_IMPL_CHILDWINDOW_WITHID(SearchResultsDlgWrapper, SID_SEARCH_RESULTS_DIALOG)
static SwAbstractDialogFactory * Create()
Definition: swabstdlg.cxx:36
virtual SfxChildWinInfo GetInfo() const
ScopedVclPtr< AbstractMarkFloatDlg > xAbstDlg
Definition: idxmrk.hxx:30