summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cui/AllLangResTarget_cui.mk1
-rw-r--r--cui/UIConfig_cui.mk1
-rw-r--r--cui/source/dialogs/cuires.src10
-rw-r--r--cui/source/dialogs/hlmarkwn.cxx90
-rw-r--r--cui/source/dialogs/hlmarkwn.hrc25
-rw-r--r--cui/source/dialogs/hlmarkwn.src77
-rw-r--r--cui/source/inc/helpid.hrc4
-rw-r--r--cui/source/inc/hlmarkwn.hxx16
-rw-r--r--cui/uiconfig/ui/hyperlinkmarkdialog.ui89
-rw-r--r--extras/source/glade/libreoffice-catalog.xml.in3
10 files changed, 161 insertions, 155 deletions
diff --git a/cui/AllLangResTarget_cui.mk b/cui/AllLangResTarget_cui.mk
index ebc0ce4d0bcd..c6cea1e11b28 100644
--- a/cui/AllLangResTarget_cui.mk
+++ b/cui/AllLangResTarget_cui.mk
@@ -31,7 +31,6 @@ $(eval $(call gb_SrsTarget_add_files,cui/res,\
cui/source/dialogs/cuires.src \
cui/source/dialogs/gallery.src \
cui/source/dialogs/hangulhanjadlg.src \
- cui/source/dialogs/hlmarkwn.src \
cui/source/dialogs/hyperdlg.src \
cui/source/dialogs/iconcdlg.src \
cui/source/dialogs/multipat.src \
diff --git a/cui/UIConfig_cui.mk b/cui/UIConfig_cui.mk
index 8fb96577865a..d150fb6dd467 100644
--- a/cui/UIConfig_cui.mk
+++ b/cui/UIConfig_cui.mk
@@ -70,6 +70,7 @@ $(eval $(call gb_UIConfig_add_uifiles,cui,\
cui/uiconfig/ui/hangulhanjaadddialog \
cui/uiconfig/ui/hangulhanjaoptdialog \
cui/uiconfig/ui/hatchpage \
+ cui/uiconfig/ui/hyperlinkmarkdialog \
cui/uiconfig/ui/hyphenate \
cui/uiconfig/ui/insertfloatingframe \
cui/uiconfig/ui/insertoleobject \
diff --git a/cui/source/dialogs/cuires.src b/cui/source/dialogs/cuires.src
index ac1a0c39a00a..fa223cf5f5d6 100644
--- a/cui/source/dialogs/cuires.src
+++ b/cui/source/dialogs/cuires.src
@@ -107,4 +107,14 @@ String RID_SVXSTR_FILTERNAME_CFG
Text [ en-US ] = "Configuration (*.cfg)" ;
};
+String RID_SVXSTR_HYPDLG_ERR_LERR_NOENTRIES
+{
+ Text [ en-US ] = "Targets do not exist in the document." ;
+};
+
+String RID_SVXSTR_HYPDLG_ERR_LERR_DOCNOTOPEN
+{
+ Text [ en-US ] = "Couldn't open the document." ;
+};
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/dialogs/hlmarkwn.cxx b/cui/source/dialogs/hlmarkwn.cxx
index 2e15476f9c64..0f45021c63fc 100644
--- a/cui/source/dialogs/hlmarkwn.cxx
+++ b/cui/source/dialogs/hlmarkwn.cxx
@@ -38,7 +38,6 @@
#include "svtools/treelistentry.hxx"
#include <cuires.hrc>
-#include "hlmarkwn.hrc"
#include "hlmarkwn.hxx"
#include "hltpbase.hxx"
@@ -64,23 +63,33 @@ struct TargetData
}
};
-
-
//# #
//# Tree-Window #
//# #
+SvxHlmarkTreeLBox::SvxHlmarkTreeLBox(Window* pParent, WinBits nStyle)
+ : SvTreeListBox(pParent, nStyle)
+ , mpParentWnd(NULL)
+{
+ SetNodeDefaultImages();
+}
+extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeSvxHlmarkTreeLBox(Window *pParent, VclBuilder::stringmap &rMap)
+{
+ WinBits nWinStyle = WB_TABSTOP;
+ OString sBorder = VclBuilder::extractCustomProperty(rMap);
+ if (!sBorder.isEmpty())
+ nWinStyle |= WB_BORDER;
+ return new SvxHlmarkTreeLBox(pParent, nWinStyle);
+}
-SvxHlmarkTreeLBox::SvxHlmarkTreeLBox( Window* pParent, const ResId& rResId )
-: SvTreeListBox ( pParent, rResId ),
- mpParentWnd ( (SvxHlinkDlgMarkWnd*) pParent )
+Size SvxHlmarkTreeLBox::GetOptimalSize() const
{
- SetNodeDefaultImages();
+ return LogicToPixel(Size(103, 162), MAP_APPFONT);
}
void SvxHlmarkTreeLBox::Paint( const Rectangle& rRect )
{
- if( mpParentWnd->mnError == LERR_NOERROR )
+ if (!mpParentWnd || mpParentWnd->mnError == LERR_NOERROR)
{
SvTreeListBox::Paint(rRect);
}
@@ -118,28 +127,26 @@ void SvxHlmarkTreeLBox::Paint( const Rectangle& rRect )
|* Contructor / Destructor
|*
|************************************************************************/
-
SvxHlinkDlgMarkWnd::SvxHlinkDlgMarkWnd( SvxHyperlinkTabPageBase *pParent )
-: ModalDialog( (Window*)pParent, CUI_RES ( RID_SVXFLOAT_HYPERLINK_MARKWND ) ),
- maBtApply( this, CUI_RES (BT_APPLY) ),
- maBtClose( this, CUI_RES (BT_CLOSE) ),
- maLbTree ( this, CUI_RES (TLB_MARK) ),
- mbUserMoved ( false ),
- mpParent ( pParent ),
- mnError ( LERR_NOERROR )
+ : ModalDialog(pParent, "HyperlinkMark",
+ "cui/ui/hyperlinkmarkdialog.ui")
+ , mbUserMoved(false)
+ , mpParent(pParent)
+ , mnError(LERR_NOERROR)
{
- FreeResource();
+ get(mpBtApply, "apply");
+ get(mpBtClose, "close");
+ get(mpLbTree, "TreeListBox");
+ mpLbTree->SetParentWnd(this);
- maBtApply.SetClickHdl ( LINK ( this, SvxHlinkDlgMarkWnd, ClickApplyHdl_Impl ) );
- maBtClose.SetClickHdl ( LINK ( this, SvxHlinkDlgMarkWnd, ClickCloseHdl_Impl ) );
- maLbTree.SetDoubleClickHdl ( LINK ( this, SvxHlinkDlgMarkWnd, ClickApplyHdl_Impl ) );
+ mpBtApply->SetClickHdl ( LINK ( this, SvxHlinkDlgMarkWnd, ClickApplyHdl_Impl ) );
+ mpBtClose->SetClickHdl ( LINK ( this, SvxHlinkDlgMarkWnd, ClickCloseHdl_Impl ) );
+ mpLbTree->SetDoubleClickHdl ( LINK ( this, SvxHlinkDlgMarkWnd, ClickApplyHdl_Impl ) );
// add lines to the Tree-ListBox
- maLbTree.SetStyle( maLbTree.GetStyle() | WB_TABSTOP | WB_BORDER | WB_HASLINES |
+ mpLbTree->SetStyle( mpLbTree->GetStyle() | WB_TABSTOP | WB_BORDER | WB_HASLINES |
WB_HASBUTTONS | //WB_HASLINESATROOT |
WB_HSCROLL | WB_HASBUTTONSATROOT );
-
- maLbTree.SetAccessibleName(CUI_RES(STR_MARK_TREE));
}
SvxHlinkDlgMarkWnd::~SvxHlinkDlgMarkWnd()
@@ -152,7 +159,6 @@ SvxHlinkDlgMarkWnd::~SvxHlinkDlgMarkWnd()
|* Set an errorstatus
|*
|************************************************************************/
-
sal_uInt16 SvxHlinkDlgMarkWnd::SetError( sal_uInt16 nError)
{
sal_uInt16 nOldError = mnError;
@@ -161,7 +167,7 @@ sal_uInt16 SvxHlinkDlgMarkWnd::SetError( sal_uInt16 nError)
if( mnError != LERR_NOERROR )
ClearTree();
- maLbTree.Invalidate();
+ mpLbTree->Invalidate();
return nOldError;
}
@@ -259,7 +265,7 @@ void SvxHlinkDlgMarkWnd::RestoreLastSelection()
if (!bSelectedEntry && !aLastSelectedPath.empty())
{
std::deque<OUString> aTmpSelectedPath(aLastSelectedPath);
- SelectPath(maLbTree.First(), maLbTree, aTmpSelectedPath);
+ SelectPath(mpLbTree->First(), *mpLbTree, aTmpSelectedPath);
}
}
@@ -283,7 +289,7 @@ void SvxHlinkDlgMarkWnd::RefreshTree (const OUString& aStrURL)
aUStrURL = aStrURL;
if (!RefreshFromDoc(aUStrURL))
- maLbTree.Invalidate();
+ mpLbTree->Invalidate();
bool bSelectedEntry = false;
@@ -430,7 +436,7 @@ int SvxHlinkDlgMarkWnd::FillTree( uno::Reference< container::XNameAccess > xLink
{
Image aBmp( VCLUnoHelper::GetBitmap( aXBitmap ).GetBitmap(), aMaskColor );
// insert Displayname into treelist with bitmaps
- pEntry = maLbTree.InsertEntry ( aStrDisplayname,
+ pEntry = mpLbTree->InsertEntry ( aStrDisplayname,
aBmp, aBmp,
pParentEntry,
false, TREELIST_APPEND,
@@ -440,7 +446,7 @@ int SvxHlinkDlgMarkWnd::FillTree( uno::Reference< container::XNameAccess > xLink
else
{
// insert Displayname into treelist without bitmaps
- pEntry = maLbTree.InsertEntry ( aStrDisplayname,
+ pEntry = mpLbTree->InsertEntry ( aStrDisplayname,
pParentEntry,
false, TREELIST_APPEND,
(void*)pData );
@@ -450,7 +456,7 @@ int SvxHlinkDlgMarkWnd::FillTree( uno::Reference< container::XNameAccess > xLink
catch(const com::sun::star::uno::Exception&)
{
// insert Displayname into treelist without bitmaps
- pEntry = maLbTree.InsertEntry ( aStrDisplayname,
+ pEntry = mpLbTree->InsertEntry ( aStrDisplayname,
pParentEntry,
false, TREELIST_APPEND,
(void*)pData );
@@ -478,17 +484,17 @@ int SvxHlinkDlgMarkWnd::FillTree( uno::Reference< container::XNameAccess > xLink
void SvxHlinkDlgMarkWnd::ClearTree()
{
- SvTreeListEntry* pEntry = maLbTree.First();
+ SvTreeListEntry* pEntry = mpLbTree->First();
while ( pEntry )
{
TargetData* pUserData = ( TargetData * ) pEntry->GetUserData();
delete pUserData;
- pEntry = maLbTree.Next( pEntry );
+ pEntry = mpLbTree->Next( pEntry );
}
- maLbTree.Clear();
+ mpLbTree->Clear();
}
/*************************************************************************
@@ -500,7 +506,7 @@ void SvxHlinkDlgMarkWnd::ClearTree()
SvTreeListEntry* SvxHlinkDlgMarkWnd::FindEntry (const OUString& aStrName)
{
bool bFound=false;
- SvTreeListEntry* pEntry = maLbTree.First();
+ SvTreeListEntry* pEntry = mpLbTree->First();
while ( pEntry && !bFound )
{
@@ -508,7 +514,7 @@ SvTreeListEntry* SvxHlinkDlgMarkWnd::FindEntry (const OUString& aStrName)
if (aStrName == pUserData->aUStrLinkname)
bFound = true;
else
- pEntry = maLbTree.Next( pEntry );
+ pEntry = mpLbTree->Next( pEntry );
}
return pEntry;
@@ -525,8 +531,8 @@ bool SvxHlinkDlgMarkWnd::SelectEntry(const OUString& aStrMark)
SvTreeListEntry* pEntry = FindEntry(aStrMark);
if (!pEntry)
return false;
- maLbTree.Select(pEntry);
- maLbTree.MakeVisible (pEntry);
+ mpLbTree->Select(pEntry);
+ mpLbTree->MakeVisible (pEntry);
return true;
}
@@ -538,7 +544,7 @@ bool SvxHlinkDlgMarkWnd::SelectEntry(const OUString& aStrMark)
IMPL_LINK_NOARG(SvxHlinkDlgMarkWnd, ClickApplyHdl_Impl)
{
- SvTreeListEntry* pEntry = maLbTree.GetCurEntry();
+ SvTreeListEntry* pEntry = mpLbTree->GetCurEntry();
if ( pEntry )
{
@@ -561,7 +567,7 @@ IMPL_LINK_NOARG(SvxHlinkDlgMarkWnd, ClickApplyHdl_Impl)
IMPL_LINK_NOARG(SvxHlinkDlgMarkWnd, ClickCloseHdl_Impl)
{
- SvTreeListEntry* pEntry = maLbTree.GetCurEntry();
+ SvTreeListEntry* pEntry = mpLbTree->GetCurEntry();
if ( pEntry )
{
TargetData* pUserData = (TargetData *) pEntry->GetUserData();
@@ -572,12 +578,12 @@ IMPL_LINK_NOARG(SvxHlinkDlgMarkWnd, ClickCloseHdl_Impl)
{
//If the bottommost entry is expanded but nothing
//underneath it is selected leave a dummy entry
- if (maLbTree.IsExpanded(pEntry))
+ if (mpLbTree->IsExpanded(pEntry))
aLastSelectedPath.push_front(OUString());
while (pEntry)
{
- aLastSelectedPath.push_front(maLbTree.GetEntryText(pEntry));
- pEntry = maLbTree.GetParent(pEntry);
+ aLastSelectedPath.push_front(mpLbTree->GetEntryText(pEntry));
+ pEntry = mpLbTree->GetParent(pEntry);
}
}
diff --git a/cui/source/dialogs/hlmarkwn.hrc b/cui/source/dialogs/hlmarkwn.hrc
deleted file mode 100644
index 2c4b6ac22cf7..000000000000
--- a/cui/source/dialogs/hlmarkwn.hrc
+++ /dev/null
@@ -1,25 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#define BT_APPLY 1
-#define BT_CLOSE 2
-#define TLB_MARK 3
-#define STR_MARK_TREE 5000
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/dialogs/hlmarkwn.src b/cui/source/dialogs/hlmarkwn.src
deleted file mode 100644
index 10fc781c7c47..000000000000
--- a/cui/source/dialogs/hlmarkwn.src
+++ /dev/null
@@ -1,77 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include <cuires.hrc>
-#include "helpid.hrc"
-#include "hlmarkwn.hrc"
-
-ModalDialog RID_SVXFLOAT_HYPERLINK_MARKWND
-{
- HelpID = HID_HYPERLINK_MARKWND;
- OutputSize = TRUE ;
- Moveable = TRUE ;
- Closeable = TRUE ;//?????
- Sizeable = FALSE ;
- Border = TRUE ;
- Hide = TRUE ;
- SVLook = TRUE ;
- Size = MAP_APPFONT ( 109 , 185 ) ;
- Text [ en-US ] = "Target in Document" ;
- PushButton BT_APPLY
- {
- HelpId = HID_HYPERLINK_MARKWND_APPLY;
- Pos = MAP_APPFONT ( 3 , 168 ) ;
- Size = MAP_APPFONT ( 50 , 14 ) ;
- TabStop = TRUE ;
- DefButton = TRUE ;
- Text [ en-US ] = "Apply" ;
- };
- PushButton BT_CLOSE
- {
- HelpId = HID_HYPERLINK_MARKWND_CLOSE;
- Pos = MAP_APPFONT ( 56 , 168 ) ;
- Size = MAP_APPFONT ( 50 , 14 ) ;
- Text [ en-US ] = "Close" ;
- };
- Control TLB_MARK
- {
- HelpId = HID_HYPERLINK_MARKWND_TREE;
- Border = TRUE ;
- Pos = MAP_APPFONT ( 3 , 3 ) ;
- Size = MAP_APPFONT ( 103 , 162 ) ;
- TabStop = TRUE ;
- };
-};
-
-String RID_SVXSTR_HYPDLG_ERR_LERR_NOENTRIES
-{
- Text [ en-US ] = "Targets do not exist in the document." ;
-};
-
-String RID_SVXSTR_HYPDLG_ERR_LERR_DOCNOTOPEN
-{
- Text [ en-US ] = "Couldn't open the document." ;
-};
-
-String STR_MARK_TREE
-{
- Text [ en-US ] = "Mark Tree" ;
-};
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/inc/helpid.hrc b/cui/source/inc/helpid.hrc
index deec50c6069f..4bca5bf71160 100644
--- a/cui/source/inc/helpid.hrc
+++ b/cui/source/inc/helpid.hrc
@@ -64,7 +64,6 @@
#define HID_HYPERLINK_MAIL "CUI_HID_HYPERLINK_MAIL"
#define HID_HYPERLINK_DOCUMENT "CUI_HID_HYPERLINK_DOCUMENT"
#define HID_HYPERLINK_NEWDOCUMENT "CUI_HID_HYPERLINK_NEWDOCUMENT"
-#define HID_HYPERLINK_MARKWND "CUI_HID_HYPERLINK_MARKWND"
#define HID_ICCDIALOG_RESET_BTN "CUI_HID_ICCDIALOG_RESET_BTN"
#define HID_ICCDIALOG_CHOICECTRL "CUI_HID_ICCDIALOG_CHOICECTRL"
#define HID_HYPERDLG_INET_PATH "CUI_HID_HYPERDLG_INET_PATH"
@@ -72,9 +71,6 @@
#define HID_HYPERDLG_DOC_PATH "CUI_HID_HYPERDLG_DOC_PATH"
#define HID_ICCDIALOG_OK_BTN "CUI_HID_ICCDIALOG_OK_BTN"
#define HID_ICCDIALOG_CANCEL_BTN "CUI_HID_ICCDIALOG_CANCEL_BTN"
-#define HID_HYPERLINK_MARKWND_APPLY "CUI_HID_HYPERLINK_MARKWND_APPLY"
-#define HID_HYPERLINK_MARKWND_CLOSE "CUI_HID_HYPERLINK_MARKWND_CLOSE"
-#define HID_HYPERLINK_MARKWND_TREE "CUI_HID_HYPERLINK_MARKWND_TREE"
#define HID_MACRO_HEADERTABLISTBOX "CUI_HID_MACRO_HEADERTABLISTBOX"
#define HID_HYPERLINK_DIALOG "CUI_HID_HYPERLINK_DIALOG"
diff --git a/cui/source/inc/hlmarkwn.hxx b/cui/source/inc/hlmarkwn.hxx
index 15633c3817b9..b858f51f54d9 100644
--- a/cui/source/inc/hlmarkwn.hxx
+++ b/cui/source/inc/hlmarkwn.hxx
@@ -42,25 +42,29 @@ private:
SvxHlinkDlgMarkWnd* mpParentWnd;
public:
- SvxHlmarkTreeLBox( Window* pParent, const ResId& rResId );
+ SvxHlmarkTreeLBox(Window* pParent, WinBits nStyle);
+
+ void SetParentWnd(SvxHlinkDlgMarkWnd* pParent)
+ {
+ mpParentWnd = pParent;
+ }
virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE;
+ virtual Size GetOptimalSize() const SAL_OVERRIDE;
};
//# #
//# Window-Class #
//# #
-
-
class SvxHlinkDlgMarkWnd : public ModalDialog //FloatingWindow
{
private:
friend class SvxHlmarkTreeLBox;
- PushButton maBtApply;
- PushButton maBtClose;
- SvxHlmarkTreeLBox maLbTree;
+ PushButton* mpBtApply;
+ PushButton* mpBtClose;
+ SvxHlmarkTreeLBox* mpLbTree;
bool mbUserMoved;
diff --git a/cui/uiconfig/ui/hyperlinkmarkdialog.ui b/cui/uiconfig/ui/hyperlinkmarkdialog.ui
new file mode 100644
index 000000000000..e65baf2d56d8
--- /dev/null
+++ b/cui/uiconfig/ui/hyperlinkmarkdialog.ui
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated with glade 3.16.1 -->
+<interface>
+ <requires lib="gtk+" version="3.0"/>
+ <!-- interface-requires LibreOffice 1.0 -->
+ <object class="GtkDialog" id="HyperlinkMark">
+ <property name="can_focus">False</property>
+ <property name="border_width">6</property>
+ <property name="title" translatable="yes">Target in Document</property>
+ <property name="type_hint">dialog</property>
+ <child internal-child="vbox">
+ <object class="GtkBox" id="dialog-vbox1">
+ <property name="can_focus">False</property>
+ <property name="orientation">vertical</property>
+ <property name="spacing">12</property>
+ <child internal-child="action_area">
+ <object class="GtkButtonBox" id="dialog-action_area1">
+ <property name="can_focus">False</property>
+ <property name="layout_style">end</property>
+ <child>
+ <object class="GtkButton" id="apply">
+ <property name="label" translatable="yes">_Apply</property>
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="can_default">True</property>
+ <property name="has_default">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_underline">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton" id="close">
+ <property name="label" translatable="yes">_Close</property>
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_underline">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="pack_type">end</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="cuilo-SvxHlmarkTreeLBox" id="TreeListBox:border">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="hexpand">True</property>
+ <property name="vexpand">True</property>
+ <child internal-child="selection">
+ <object class="GtkTreeSelection" id="Tree List-selection1"/>
+ </child>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="TreeListBox:border-atkobject">
+ <property name="AtkObject::accessible-name" translatable="yes">Mark Tree</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ <action-widgets>
+ <action-widget response="0">apply</action-widget>
+ <action-widget response="0">close</action-widget>
+ </action-widgets>
+ </object>
+</interface>
diff --git a/extras/source/glade/libreoffice-catalog.xml.in b/extras/source/glade/libreoffice-catalog.xml.in
index e4265857e49f..b33f32ab3661 100644
--- a/extras/source/glade/libreoffice-catalog.xml.in
+++ b/extras/source/glade/libreoffice-catalog.xml.in
@@ -504,6 +504,9 @@
<glade-widget-class title="Chart Series ListBox" name="chartcontrollerlo-SeriesListBox"
generic-name="Chart Series ListBox" parent="svtlo-SvTreeListBox"
icon-name="widget-gtk-treeview"/>
+ <glade-widget-class title="Hyperlink Tree Box" name="cuilo-SvxHlmarkTreeLBox"
+ generic-name="Hyperlink Tree Box" parent="svtlo-SvTreeListBox"
+ icon-name="widget-gtk-treeview"/>
<glade-widget-class title="Content List Box" name="sfxlo-ContentListBox"
generic-name="Content List Box" parent="svtlo-SvTreeListBox"
icon-name="widget-gtk-treeview"/>