LibreOffice Module sw (master)
1
|
#include <comphelper/string.hxx>
#include <editeng/frmdiritem.hxx>
#include <svl/urlbmk.hxx>
#include <osl/thread.h>
#include <sal/log.hxx>
#include <tools/urlobj.hxx>
#include <sfx2/docfile.hxx>
#include <sfx2/dispatch.hxx>
#include <sfx2/event.hxx>
#include <sfx2/viewfrm.hxx>
#include <o3tl/enumrange.hxx>
#include <o3tl/sorted_vector.hxx>
#include <vcl/commandevent.hxx>
#include <vcl/weldutils.hxx>
#include <sot/formats.hxx>
#include <o3tl/string_view.hxx>
#include <uiitems.hxx>
#include <fmtanchr.hxx>
#include <fmtinfmt.hxx>
#include <txtinet.hxx>
#include <fmtfld.hxx>
#include <swmodule.hxx>
#include <wrtsh.hxx>
#include <view.hxx>
#include <docsh.hxx>
#include <drawdoc.hxx>
#include <content.hxx>
#include <frmatr.hxx>
#include <frmfmt.hxx>
#include <fldbas.hxx>
#include <IMark.hxx>
#include <section.hxx>
#include <tox.hxx>
#include <navipi.hxx>
#include <navicont.hxx>
#include <navicfg.hxx>
#include <edtwin.hxx>
#include <doc.hxx>
#include <IDocumentSettingAccess.hxx>
#include <IDocumentDrawModelAccess.hxx>
#include <IDocumentOutlineNodes.hxx>
#include <unotxvw.hxx>
#include <cmdid.h>
#include <helpids.h>
#include <strings.hrc>
#include <com/sun/star/text/XTextSectionsSupplier.hpp>
#include <com/sun/star/text/XTextGraphicObjectsSupplier.hpp>
#include <com/sun/star/text/XTextTablesSupplier.hpp>
#include <com/sun/star/text/XDocumentIndexesSupplier.hpp>
#include <com/sun/star/text/XDocumentIndex.hpp>
#include <com/sun/star/text/XBookmarksSupplier.hpp>
#include <com/sun/star/text/XTextEmbeddedObjectsSupplier.hpp>
#include <com/sun/star/text/XTextFramesSupplier.hpp>
#include <svx/svdpage.hxx>
#include <svx/svdview.hxx>
#include <SwRewriter.hxx>
#include <hints.hxx>
#include <numrule.hxx>
#include <swundo.hxx>
#include <ndtxt.hxx>
#include <PostItMgr.hxx>
#include <postithelper.hxx>
#include <swabstdlg.hxx>
#include <bitmaps.hlst>
#include <AnnotationWin.hxx>
#include <memory>
#include <fmtcntnt.hxx>
#include <docstat.hxx>
#include <viewopt.hxx>
#include <IDocumentFieldsAccess.hxx>
#include <txtfld.hxx>
#include <fldmgr.hxx>
#include <frameformats.hxx>
#include <ftnidx.hxx>
#include <txtftn.hxx>
#include <fmtftn.hxx>
Go to the source code of this file.
Classes | |
class | SwContentArr |
Macros | |
#define | CTYPE_CNT 0 |
#define | CTYPE_CTT 1 |
Enumerations | |
enum | STR_CONTEXT_IDX |
Variables | |
const TranslateId | STR_CONTENT_TYPE_ARY [] |
const TranslateId | STR_CONTENT_TYPE_SINGLE_ARY [] |
const TranslateId | STR_CONTEXT_ARY [] |
#define CTYPE_CNT 0 |
Definition at line 104 of file content.cxx.
#define CTYPE_CTT 1 |
Definition at line 105 of file content.cxx.
enum STR_CONTEXT_IDX |
Definition at line 1001 of file content.cxx.
IMPL_LINK | ( | SwContentTree | , |
DragBeginHdl | , | ||
bool & | , | ||
rUnsetDragIcon | , | ||
bool | |||
) |
Definition at line 1108 of file content.cxx.
References DND_ACTION_COPYMOVE, DND_ACTION_LINK, m_xTreeView, and OUTLINE.
IMPL_LINK | ( | SwContentTree | , |
CommandHdl | , | ||
const CommandEvent & | , | ||
rCEvt | , | ||
bool | |||
) |
Definition at line 1457 of file content.cxx.
References BOOKMARK, bVisible, Application::CreateBuilder(), DRAWOBJECT, ENDNOTE, FOOTNOTE, FRAME, GetActiveView(), SwView::GetDocShell(), SwModule::GetFirstView(), GetName(), SwModule::GetNextView(), SwContentType::GetSortType(), SfxObjectShell::GetTitle(), SwContentType::GetType(), GRAPHIC, SwPostItHelper::HIDDEN, i, INDEX, SwContentType::IsDeletable(), SwContentType::IsEditable(), SwTOXBase::IsTOXBaseInReadonly(), SwEditShell::IsTOXBaseReadonly(), lcl_InsertExpandCollapseAllItem(), lcl_SetOutlineContentEntriesSensitivities(), m_xTreeView, MAXLEVEL, nId, OLE, OUTLINE, POSTIT, PROTECT_BOOKMARKS, REFERENCE, REGION, SwResId(), TABLE, TEXTFIELD, and URLFIELD.
IMPL_LINK | ( | SwContentTree | , |
ExpandHdl | , | ||
const weld::TreeIter & | , | ||
rParent | , | ||
bool | |||
) |
Definition at line 2132 of file content.cxx.
References Expand.
IMPL_LINK | ( | SwContentTree | , |
CollapseHdl | , | ||
const weld::TreeIter & | , | ||
rParent | , | ||
bool | |||
) |
Definition at line 2138 of file content.cxx.
References SwViewShell::getIDocumentOutlineNodesAccess(), IDocumentOutlineNodes::getOutlineNode(), SwContentType::GetType(), SwPostItHelper::HIDDEN, m_xTreeView, and nPos.
IMPL_LINK | ( | SwContentTree | , |
KeyInputHdl | , | ||
const KeyEvent & | , | ||
rEvent | , | ||
bool | |||
) |
Definition at line 4072 of file content.cxx.
References DELETE, DRAWOBJECT, vcl::KeyCode::GetCode(), SwDrawModel::GetDoc(), IDocumentDrawModelAccess::GetDrawModel(), SwView::GetEditWin(), SwDoc::getIDocumentDrawModelAccess(), vcl::KeyCode::GetModifier(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), SdrObject::GetObjIdentifier(), SdrModel::GetPage(), SwContent::GetParent(), SdrPaintView::GetSdrPageView(), SwContentType::GetType(), SwEditWin::GetView(), SwPostItHelper::HIDDEN, i, vcl::KeyCode::IsMod1(), SdrMarkView::IsObjMarked(), vcl::KeyCode::IsShift(), KEY_C, KEY_DELETE, KEY_DOWN, KEY_ESCAPE, KEY_LEFT, KEY_MOD1, KEY_MOD2, KEY_MULTIPLY, KEY_RETURN, KEY_RIGHT, KEY_SPACE, KEY_UP, KeyInput, m_xTreeView, SdrMarkView::MarkObj(), nCount, OUTLINE, pObject, and SdrObjEditView::SdrEndTextEdit().
IMPL_LINK | ( | SwContentTree | , |
QueryTooltipHdl | , | ||
const weld::TreeIter & | , | ||
rEntry | , | ||
OUString | |||
) |
Definition at line 4254 of file content.cxx.
References SwDoc::CountWords(), ENDNOTE, SwNode::EndOfSectionNode(), FOOTNOTE, SwFormat::GetContent(), SwFormatContent::GetContentIdx(), SwTextAttr::GetFootnote(), GetName(), SwNodeIndex::GetNode(), SwNode::GetNodes(), SwSectionFormat::GetSection(), SwSection::GetSectionName(), GetURL(), GRAPHIC, SwNodes::IsDocNodes(), SwFormatFootnote::IsEndNote(), m_xTreeView, n, SwDocStat::nChar, nType, SwDocStat::nWord, OUTLINE, POSTIT, REGION, SwVectorModifyBase< Value >::size(), SwResId(), and URLFIELD.
IMPL_LINK_NOARG | ( | SwContentTree | , |
ContentDoubleClickHdl | , | ||
weld::TreeView & | , | ||
bool | |||
) |
Definition at line 2182 of file content.cxx.
References SwPostItHelper::HIDDEN, m_xTreeView, and OUTLINE.
IMPL_LINK_NOARG | ( | SwContentTree | , |
TimerUpdate | , | ||
Timer * | , | ||
void | |||
) |
No idle with focus or while dragging.
Definition at line 3563 of file content.cxx.
References SwViewShell::ActionPend(), SwViewShell::GetWin(), SwView::GetWrtShellPtr(), vcl::Window::HasFocus(), and m_xTreeView.
IMPL_LINK_NOARG | ( | SwContentTree | , |
FocusInHdl | , | ||
weld::Widget & | , | ||
void | |||
) |
Definition at line 4046 of file content.cxx.
References SwView::GetWrtShellPtr().
IMPL_LINK_NOARG | ( | SwContentTree | , |
SelectHdl | , | ||
weld::TreeView & | , | ||
void | |||
) |
Definition at line 4711 of file content.cxx.
References m_xTreeView, and Select.
|
static |
Definition at line 5044 of file content.cxx.
References SwWrtShell::DrawSelChanged(), SwFEShell::EndTextEdit(), SwWrtShell::EnterStdMode(), SwViewShell::GetDrawView(), SwWrtShell::GetView(), SwFEShell::IsObjSelected(), SwWrtShell::IsSelFrameMode(), SdrObjEditView::IsTextEdit(), SwViewShell::IsViewLocked(), SwView::LeaveDrawCreate(), SwWrtShell::LeaveSelFrameMode(), SwViewShell::LockView(), SwView::StopShellTimer(), and SwWrtShell::UnSelectFrame().
Referenced by SwContentTree::CopyOutlineSelections(), and SwContentTree::GotoContent().
|
static |
Definition at line 1199 of file content.cxx.
References SwViewShell::getIDocumentOutlineNodesAccess(), IDocumentOutlineNodes::getOutlineNode(), SwOutlineContent::GetOutlinePos(), SwContentTree::GetWrtShell(), and nPos.
Referenced by SwContentTree::ExecuteDrop().
|
static |
Definition at line 1327 of file content.cxx.
References weld::TreeView::get_children_on_demand(), weld::TreeView::iter_has_child(), weld::Menu::set_label(), and SwResId().
Referenced by IMPL_LINK().
|
static |
Definition at line 3403 of file content.cxx.
References weld::TreeView::count_selected_rows(), ENDNOTE, weld::TreeView::expand_row(), FOOTNOTE, weld::TreeView::get_id(), weld::TreeView::get_iter_first(), weld::TreeView::get_selected(), SwFormatField::GetField(), SwTextFieldContent::GetFormatField(), SwURLFieldContent::GetINetAttr(), SwPostItContent::GetPostIt(), SwTextFootnoteContent::GetTextFootnote(), weld::TreeView::iter_compare(), weld::TreeView::iter_next(), weld::TreeView::iter_next_sibling(), weld::TreeView::make_iterator(), p, POSTIT, SwContentTree::Select(), weld::TreeView::set_cursor(), TEXTFIELD, and URLFIELD.
Referenced by SwContentTree::UpdateTracking().
|
static |
Definition at line 3497 of file content.cxx.
References weld::TreeView::count_selected_rows(), weld::TreeView::expand_row(), weld::TreeView::get_iter_first(), weld::TreeView::get_selected(), weld::TreeView::get_text(), weld::TreeView::iter_compare(), weld::TreeView::iter_next(), weld::TreeView::iter_next_sibling(), weld::TreeView::make_iterator(), SwContentTree::Select(), and weld::TreeView::set_cursor().
Referenced by SwContentTree::UpdateTracking().
|
static |
Definition at line 3533 of file content.cxx.
References weld::TreeView::expand_row(), weld::TreeView::get_iter_first(), weld::TreeView::get_text(), weld::TreeView::is_selected(), weld::TreeView::iter_next(), weld::TreeView::iter_next_sibling(), weld::TreeView::make_iterator(), weld::TreeView::scroll_to_row(), weld::TreeView::select(), and SwResId().
Referenced by SwContentTree::UpdateTracking().
|
static |
Definition at line 1337 of file content.cxx.
References SwNodeIndex::Assign(), o3tl::sorted_vector< Value, Compare, Find, class >::back(), weld::TreeView::count_selected_rows(), weld::TreeView::get_children_on_demand(), weld::GetAbsPos(), SwContentTree::GetActiveWrtShell(), SwNodes::GetEndOfContent(), SwViewShell::getIDocumentOutlineNodesAccess(), SwViewShell::GetNodes(), IDocumentOutlineNodes::getOutlineLevel(), SwNodes::GetOutLineNds(), SwViewShell::GetViewOptions(), SwContentTree::GetWrtShell(), SwNodes::GoNext(), SwWrtShell::IsOutlineContentVisible(), SwViewOption::IsTreatSubOutlineLevelsAsContent(), weld::TreeView::iter_has_child(), nPos, weld::Menu::set_sensitive(), and o3tl::sorted_vector< Value, Compare, Find, class >::size().
Referenced by IMPL_LINK().
const TranslateId STR_CONTENT_TYPE_ARY[] |
Definition at line 230 of file content.cxx.
const TranslateId STR_CONTENT_TYPE_SINGLE_ARY[] |
Definition at line 249 of file content.cxx.
const TranslateId STR_CONTEXT_ARY[] |
Definition at line 1024 of file content.cxx.