summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/bibliography/datman.cxx3
-rw-r--r--extensions/uiconfig/sbibliography/ui/mappingdialog.ui24
2 files changed, 25 insertions, 2 deletions
diff --git a/extensions/source/bibliography/datman.cxx b/extensions/source/bibliography/datman.cxx
index 875938b7924f..e53d2b0392b9 100644
--- a/extensions/source/bibliography/datman.cxx
+++ b/extensions/source/bibliography/datman.cxx
@@ -219,6 +219,7 @@ class MappingDialog_Impl : public weld::GenericDialogController
std::unique_ptr<weld::ComboBox> m_xCustom3LB;
std::unique_ptr<weld::ComboBox> m_xCustom4LB;
std::unique_ptr<weld::ComboBox> m_xCustom5LB;
+ std::unique_ptr<weld::ComboBox> m_xLocalURLLB;
weld::ComboBox* aListBoxes[COLUMN_COUNT];
DECL_LINK(OkHdl, weld::Button&, void);
@@ -278,6 +279,7 @@ MappingDialog_Impl::MappingDialog_Impl(weld::Window* pParent, BibDataManager* pM
, m_xCustom3LB(m_xBuilder->weld_combo_box("custom3Combobox"))
, m_xCustom4LB(m_xBuilder->weld_combo_box("custom4Combobox"))
, m_xCustom5LB(m_xBuilder->weld_combo_box("custom5Combobox"))
+ , m_xLocalURLLB(m_xBuilder->weld_combo_box("LocalURLCombobox"))
{
m_xOKBT->connect_clicked(LINK(this, MappingDialog_Impl, OkHdl));
OUString sTitle = m_xDialog->get_title();
@@ -315,6 +317,7 @@ MappingDialog_Impl::MappingDialog_Impl(weld::Window* pParent, BibDataManager* pM
aListBoxes[28] = m_xCustom3LB.get();
aListBoxes[29] = m_xCustom4LB.get();
aListBoxes[30] = m_xCustom5LB.get();
+ aListBoxes[31] = m_xLocalURLLB.get();
aListBoxes[0]->append_text(sNone);
Reference< XNameAccess > xFields = getColumns( pDatMan->getForm() );
diff --git a/extensions/uiconfig/sbibliography/ui/mappingdialog.ui b/extensions/uiconfig/sbibliography/ui/mappingdialog.ui
index 2dca5ddf11e0..b4053eeb7741 100644
--- a/extensions/uiconfig/sbibliography/ui/mappingdialog.ui
+++ b/extensions/uiconfig/sbibliography/ui/mappingdialog.ui
@@ -948,10 +948,30 @@
</packing>
</child>
<child>
- <placeholder/>
+ <object class="GtkLabel" id="label33">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="halign">end</property>
+ <property name="label" translatable="yes" context="mappingdialog|label33">Local copy</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">LocalURLCombobox</property>
+ </object>
+ <packing>
+ <property name="left_attach">4</property>
+ <property name="top_attach">14</property>
+ </packing>
</child>
<child>
- <placeholder/>
+ <object class="GtkComboBoxText" id="LocalURLCombobox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="valign">center</property>
+ <property name="hexpand">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">5</property>
+ <property name="top_attach">14</property>
+ </packing>
</child>
<child>
<placeholder/>