[Libreoffice-commits] core.git: sfx2/inc sfx2/source sfx2/uiconfig sfx2/UI_sfx.mk
Caolán McNamara
caolanm at redhat.com
Wed Mar 13 07:52:37 PDT 2013
sfx2/UI_sfx.mk | 1
sfx2/inc/sfx2/mgetempl.hxx | 36 +---
sfx2/source/dialog/mgetempl.cxx | 206 +++++++++++----------------
sfx2/uiconfig/ui/managestylepage.ui | 268 ++++++++++++++++++++++++++++++++++++
4 files changed, 366 insertions(+), 145 deletions(-)
New commits:
commit c3d3b0220b322072c0fd731fe685587a46eef2d2
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Mar 13 13:47:38 2013 +0000
convert manage style page to .ui
Change-Id: I42d08439c7aaf90ba2090012757c2ece88ba023c
diff --git a/sfx2/UI_sfx.mk b/sfx2/UI_sfx.mk
index 4b6466d..f037060 100644
--- a/sfx2/UI_sfx.mk
+++ b/sfx2/UI_sfx.mk
@@ -16,6 +16,7 @@ $(eval $(call gb_UI_add_uifiles,sfx,\
sfx2/uiconfig/ui/documentinfopage \
sfx2/uiconfig/ui/documentpropertiesdialog \
sfx2/uiconfig/ui/internetinfopage \
+ sfx2/uiconfig/ui/managestylepage \
sfx2/uiconfig/ui/optprintpage \
sfx2/uiconfig/ui/password \
sfx2/uiconfig/ui/printeroptionsdialog \
diff --git a/sfx2/inc/sfx2/mgetempl.hxx b/sfx2/inc/sfx2/mgetempl.hxx
index 6fce1f4..553c5bd 100644
--- a/sfx2/inc/sfx2/mgetempl.hxx
+++ b/sfx2/inc/sfx2/mgetempl.hxx
@@ -22,13 +22,9 @@
#include <vcl/edit.hxx>
#include <vcl/fixed.hxx>
#include <vcl/lstbox.hxx>
-#include <svtools/stdctrl.hxx>
-#include <svtools/svmedit.hxx>
-
+#include <vcl/vclmedit.hxx>
#include <sfx2/tabdlg.hxx>
-#include <svtools/svmedit2.hxx>
-
/* expected:
SID_TEMPLATE_NAME : In: StringItem, Name of Template
SID_TEMPLATE_FAMILY : In: Family of Template
@@ -38,29 +34,23 @@ class SfxStyleFamilies;
class SfxStyleFamilyItem;
class SfxStyleSheetBase;
-#ifdef _SFXDLG_HXX
-#define FixedInfo FixedText
-#endif
-
class SfxManageStyleSheetPage : public SfxTabPage
{
- FixedText aNameFt;
- Edit aNameEd;
- ExtMultiLineEdit aNameMLE;
+ VclMultiLineEdit* m_pNameRo;
+ Edit* m_pNameRw;
- CheckBox aAutoCB;
+ CheckBox* m_pAutoCB;
- FixedText aFollowFt;
- ListBox aFollowLb;
+ FixedText* m_pFollowFt;
+ ListBox* m_pFollowLb;
- FixedText aBaseFt;
- ListBox aBaseLb;
+ FixedText* m_pBaseFt;
+ ListBox* m_pBaseLb;
- FixedText aFilterFt;
- ListBox aFilterLb;
+ FixedText* m_pFilterFt;
+ ListBox* m_pFilterLb;
- FixedLine aDescGb;
- FixedInfo aDescFt;
+ FixedText *m_pDescFt;
SfxStyleSheetBase *pStyle;
SfxStyleFamilies *pFamilies;
@@ -98,10 +88,6 @@ protected:
virtual int DeactivatePage(SfxItemSet * = 0);
};
-#ifdef FixedInfo
-#undef FixedInfo
-#endif
-
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sfx2/source/dialog/mgetempl.cxx b/sfx2/source/dialog/mgetempl.cxx
index d252b6e..8477c0c 100644
--- a/sfx2/source/dialog/mgetempl.cxx
+++ b/sfx2/source/dialog/mgetempl.cxx
@@ -39,50 +39,30 @@
#include <svl/style.hrc>
-// SfxManageStyleSheetPage -----------------------------------------------
-
-SfxManageStyleSheetPage::SfxManageStyleSheetPage( Window* pParent, const SfxItemSet& rAttrSet ) :
-
- SfxTabPage( pParent, SfxResId( TP_MANAGE_STYLES ), rAttrSet ),
-
- aNameFt ( this, SfxResId( FT_NAME ) ),
- aNameEd ( this, SfxResId( ED_NAME ) ),
- aNameMLE ( this, SfxResId( MLE_NAME ) ),
- aAutoCB ( this, SfxResId( CB_AUTO ) ),
-
- aFollowFt ( this, SfxResId( FT_NEXT ) ),
- aFollowLb ( this, SfxResId( LB_NEXT ) ),
-
- aBaseFt ( this, SfxResId( FT_BASE ) ),
- aBaseLb ( this, SfxResId( LB_BASE ) ),
-
- aFilterFt ( this, SfxResId( FT_REGION ) ),
- aFilterLb ( this, SfxResId( LB_REGION ) ),
-
- aDescGb ( this, SfxResId( GB_DESC ) ),
- aDescFt ( this, SfxResId( FT_DESC ) ),
-
- pStyle( &( (SfxStyleDialog*)GetParentDialog() )->GetStyleSheet() ),
-
- pItem ( 0 ),
- bModified ( sal_False ),
- aName ( pStyle->GetName() ),
- aFollow ( pStyle->GetFollow() ),
- aParent ( pStyle->GetParent() ),
- nFlags ( pStyle->GetMask() )
-
-/* [Description]
-
- Constructor, initializes the list box with the templates
-*/
-
+/* SfxManageStyleSheetPage Constructor
+ *
+ * initializes the list box with the templates
+ */
+SfxManageStyleSheetPage::SfxManageStyleSheetPage(Window* pParent, const SfxItemSet& rAttrSet)
+ : SfxTabPage(pParent, "ManageStylePage", "sfx/ui/managestylepage.ui", rAttrSet)
+ , pStyle(&((SfxStyleDialog*)GetParentDialog())->GetStyleSheet())
+ , pItem(0)
+ , bModified(false)
+ , aName(pStyle->GetName())
+ , aFollow(pStyle->GetFollow())
+ , aParent(pStyle->GetParent())
+ , nFlags(pStyle->GetMask())
{
- FreeResource();
-
- FixedInfo* pInfo = new FixedInfo( this );
- delete pInfo;
-
- aDescFt.Show();
+ get(m_pNameRo, "namero");
+ get(m_pNameRw, "namerw");
+ get(m_pAutoCB, "autoupdate");
+ get(m_pFollowFt, "nextstyleft");
+ get(m_pFollowLb, "nextstyle");
+ get(m_pBaseFt, "linkedwithft");
+ get(m_pBaseLb, "linkedwith");
+ get(m_pFilterFt, "categoryft");
+ get(m_pFilterLb, "category");
+ get(m_pDescFt, "desc");
// this Page needs ExchangeSupport
SetExchangeSupport();
@@ -122,18 +102,15 @@ SfxManageStyleSheetPage::SfxManageStyleSheetPage( Window* pParent, const SfxItem
aFollow = pStyle->GetFollow();
aParent = pStyle->GetParent();
}
- aNameEd.SetText(pStyle->GetName());
+ m_pNameRw->SetText(pStyle->GetName());
// Set the field read-only if it is NOT an user-defined style
// but allow selecting and copying
- if ( !pStyle->IsUserDefined() ) {
- aNameEd.SetReadOnly();
- aNameEd.Hide();
-
- aNameMLE.SetControlBackground( GetSettings().GetStyleSettings().GetDialogColor() );
- aNameMLE.SetText( pStyle->GetName() );
- aNameMLE.EnableCursor( sal_False );
- aNameMLE.Show();
+ if (!pStyle->IsUserDefined())
+ {
+ m_pNameRo->SetText(m_pNameRw->GetText());
+ m_pNameRo->Show();
+ m_pNameRw->Hide();
}
if ( pStyle->HasFollowSupport() && pPool )
@@ -142,31 +119,25 @@ SfxManageStyleSheetPage::SfxManageStyleSheetPage( Window* pParent, const SfxItem
while ( pPoolStyle )
{
- aFollowLb.InsertEntry( pPoolStyle->GetName() );
+ m_pFollowLb->InsertEntry( pPoolStyle->GetName() );
pPoolStyle = pPool->Next();
}
- // A new Template is not jet in the Pool
- if ( LISTBOX_ENTRY_NOTFOUND == aFollowLb.GetEntryPos( pStyle->GetName() ) )
- aFollowLb.InsertEntry( pStyle->GetName() );
+ // A new Template is not yet in the Pool
+ if ( LISTBOX_ENTRY_NOTFOUND == m_pFollowLb->GetEntryPos( pStyle->GetName() ) )
+ m_pFollowLb->InsertEntry( pStyle->GetName() );
}
else
{
- aFollowFt.Hide();
- aFollowLb.Hide();
-
- aFilterFt.SetPosPixel( aBaseFt.GetPosPixel() );
- aFilterLb.SetPosPixel( aBaseLb.GetPosPixel() );
-
- aBaseFt.SetPosPixel( aFollowFt.GetPosPixel() );
- aBaseLb.SetPosPixel( aFollowLb.GetPosPixel() );
+ m_pFollowFt->Hide();
+ m_pFollowLb->Hide();
}
if ( pStyle->HasParentSupport() && pPool )
{
if ( pStyle->HasClearParentSupport() )
// the base template can be set to NULL
- aBaseLb.InsertEntry( SfxResId(STR_NONE).toString() );
+ m_pBaseLb->InsertEntry( SfxResId(STR_NONE).toString() );
SfxStyleSheetBase* pPoolStyle = pPool->First();
@@ -175,14 +146,14 @@ SfxManageStyleSheetPage::SfxManageStyleSheetPage( Window* pParent, const SfxItem
const String aStr( pPoolStyle->GetName() );
// own name as base template
if ( aStr != aName )
- aBaseLb.InsertEntry( aStr );
+ m_pBaseLb->InsertEntry( aStr );
pPoolStyle = pPool->Next();
}
}
else
{
- aBaseFt.Disable();
- aBaseLb.Disable();
+ m_pBaseFt->Disable();
+ m_pBaseLb->Disable();
}
size_t nCount = pFamilies->size();
@@ -215,8 +186,8 @@ SfxManageStyleSheetPage::SfxManageStyleSheetPage( Window* pParent, const SfxItem
pTupel->nFlags != SFXSTYLEBIT_USED &&
pTupel->nFlags != SFXSTYLEBIT_ALL )
{
- aFilterLb.InsertEntry( pTupel->aName, nIdx );
- aFilterLb.SetEntryData(nIdx, (void*)(long)i);
+ m_pFilterLb->InsertEntry( pTupel->aName, nIdx );
+ m_pFilterLb->SetEntryData(nIdx, (void*)(long)i);
if ( ( pTupel->nFlags & nMask ) == nMask )
nStyleFilterIdx = nIdx;
@@ -225,34 +196,29 @@ SfxManageStyleSheetPage::SfxManageStyleSheetPage( Window* pParent, const SfxItem
}
if ( nStyleFilterIdx != 0xFFFF )
- aFilterLb.SelectEntryPos( nStyleFilterIdx );
+ m_pFilterLb->SelectEntryPos( nStyleFilterIdx );
}
- if ( !aFilterLb.GetEntryCount() || !pStyle->IsUserDefined() )
+ if ( !m_pFilterLb->GetEntryCount() || !pStyle->IsUserDefined() )
{
pItem = 0;
- aFilterFt.Disable();
- aFilterLb.Disable();
+ m_pFilterFt->Disable();
+ m_pFilterLb->Disable();
}
else
- aFilterLb.SaveValue();
+ m_pFilterLb->SaveValue();
SetDescriptionText_Impl();
- if ( aFollowLb.IsEnabled() || aBaseLb.IsEnabled() )
+ if ( m_pFollowLb->IsEnabled() || m_pBaseLb->IsEnabled() )
{
- aNameEd.SetGetFocusHdl(
+ m_pNameRw->SetGetFocusHdl(
LINK( this, SfxManageStyleSheetPage, GetFocusHdl ) );
- aNameEd.SetLoseFocusHdl(
+ m_pNameRw->SetLoseFocusHdl(
LINK( this, SfxManageStyleSheetPage, LoseFocusHdl ) );
}
// It is a style with auto update? (SW only)
if(SFX_ITEM_SET == rAttrSet.GetItemState(SID_ATTR_AUTO_STYLE_UPDATE))
- {
- Size aSize = aNameEd.GetSizePixel();
- aSize.Width() /= 2;
- aNameEd.SetSizePixel(aSize);
- aAutoCB.Show();
- }
+ m_pAutoCB->Show();
}
//-------------------------------------------------------------------------
@@ -265,8 +231,8 @@ SfxManageStyleSheetPage::~SfxManageStyleSheetPage()
*/
{
- aNameEd.SetGetFocusHdl( Link() );
- aNameEd.SetLoseFocusHdl( Link() );
+ m_pNameRw->SetGetFocusHdl( Link() );
+ m_pNameRw->SetLoseFocusHdl( Link() );
delete pFamilies;
pItem = 0;
pStyle = 0;
@@ -336,7 +302,7 @@ void SfxManageStyleSheetPage::SetDescriptionText_Impl()
default:
OSL_FAIL( "non supported field unit" );
}
- aDescFt.SetText( pStyle->GetDescription( eUnit ) );
+ m_pDescFt->SetText( pStyle->GetDescription( eUnit ) );
}
//-------------------------------------------------------------------------
@@ -370,7 +336,7 @@ IMPL_LINK_INLINE_START( SfxManageStyleSheetPage, LoseFocusHdl, Edit *, pEdit )
pEdit->SetText( aStr );
// Update the Listbox of the base template if possible
if ( aStr != aBuf )
- UpdateName_Impl( &aFollowLb, aStr );
+ UpdateName_Impl(m_pFollowLb, aStr);
return 0;
}
IMPL_LINK_INLINE_END( SfxManageStyleSheetPage, LoseFocusHdl, Edit *, pEdit )
@@ -399,24 +365,24 @@ sal_Bool SfxManageStyleSheetPage::FillItemSet( SfxItemSet& rSet )
*/
{
- const sal_uInt16 nFilterIdx = aFilterLb.GetSelectEntryPos();
+ const sal_uInt16 nFilterIdx = m_pFilterLb->GetSelectEntryPos();
// Set Filter
if ( LISTBOX_ENTRY_NOTFOUND != nFilterIdx &&
- nFilterIdx != aFilterLb.GetSavedValue() &&
- aFilterLb.IsEnabled() )
+ nFilterIdx != m_pFilterLb->GetSavedValue() &&
+ m_pFilterLb->IsEnabled() )
{
bModified = sal_True;
OSL_ENSURE( pItem, "No Item" );
// is only possibly for user templates
- sal_uInt16 nMask = pItem->GetFilterList()[ (size_t)aFilterLb.GetEntryData( nFilterIdx ) ]->nFlags | SFXSTYLEBIT_USERDEF;
+ sal_uInt16 nMask = pItem->GetFilterList()[ (size_t)m_pFilterLb->GetEntryData( nFilterIdx ) ]->nFlags | SFXSTYLEBIT_USERDEF;
pStyle->SetMask( nMask );
}
- if(aAutoCB.IsVisible() &&
- aAutoCB.IsChecked() != aAutoCB.GetSavedValue())
+ if(m_pAutoCB->IsVisible() &&
+ m_pAutoCB->IsChecked() != m_pAutoCB->GetSavedValue())
{
- rSet.Put(SfxBoolItem(SID_ATTR_AUTO_STYLE_UPDATE, aAutoCB.IsChecked()));
+ rSet.Put(SfxBoolItem(SID_ATTR_AUTO_STYLE_UPDATE, m_pAutoCB->IsChecked()));
}
return bModified;
@@ -445,9 +411,9 @@ void SfxManageStyleSheetPage::Reset( const SfxItemSet& /*rAttrSet*/ )
if ( sCmp != aName )
pStyle->SetName( aName );
- aNameEd.SetText( aName );
+ m_pNameRw->SetText( aName );
- if ( aFollowLb.IsEnabled() )
+ if ( m_pFollowLb->IsEnabled() )
{
sCmp = pStyle->GetFollow();
@@ -455,12 +421,12 @@ void SfxManageStyleSheetPage::Reset( const SfxItemSet& /*rAttrSet*/ )
pStyle->SetFollow( aFollow );
if ( !aFollow.Len() )
- aFollowLb.SelectEntry( aName );
+ m_pFollowLb->SelectEntry( aName );
else
- aFollowLb.SelectEntry( aFollow );
+ m_pFollowLb->SelectEntry( aFollow );
}
- if ( aBaseLb.IsEnabled() )
+ if ( m_pBaseLb->IsEnabled() )
{
sCmp = pStyle->GetParent();
@@ -468,25 +434,25 @@ void SfxManageStyleSheetPage::Reset( const SfxItemSet& /*rAttrSet*/ )
pStyle->SetParent( aParent );
if ( !aParent.Len() )
- aBaseLb.SelectEntry( SfxResId(STR_NONE).toString() );
+ m_pBaseLb->SelectEntry( SfxResId(STR_NONE).toString() );
else
- aBaseLb.SelectEntry( aParent );
+ m_pBaseLb->SelectEntry( aParent );
if ( SfxResId(STR_STANDARD).toString().equals(aName) )
{
// the default template can not be linked
- aBaseFt.Disable();
- aBaseLb.Disable();
+ m_pBaseFt->Disable();
+ m_pBaseLb->Disable();
}
}
- if ( aFilterLb.IsEnabled() )
+ if ( m_pFilterLb->IsEnabled() )
{
sal_uInt16 nCmp = pStyle->GetMask();
if ( nCmp != nFlags )
pStyle->SetMask( nFlags );
- aFilterLb.SelectEntryPos( aFilterLb.GetSavedValue() );
+ m_pFilterLb->SelectEntryPos( m_pFilterLb->GetSavedValue() );
}
}
@@ -535,8 +501,8 @@ void SfxManageStyleSheetPage::ActivatePage( const SfxItemSet& rSet)
if ( SFX_ITEM_SET ==
rSet.GetItemState( SID_ATTR_AUTO_STYLE_UPDATE, sal_False, &pPoolItem ) )
- aAutoCB.Check( ( (const SfxBoolItem*)pPoolItem )->GetValue() );
- aAutoCB.SaveValue();
+ m_pAutoCB->Check( ( (const SfxBoolItem*)pPoolItem )->GetValue() );
+ m_pAutoCB->SaveValue();
}
//-------------------------------------------------------------------------
@@ -560,26 +526,26 @@ int SfxManageStyleSheetPage::DeactivatePage( SfxItemSet* pItemSet )
{
int nRet = SfxTabPage::LEAVE_PAGE;
- if ( aNameEd.IsModified() )
+ if ( m_pNameRw->IsModified() )
{
// By pressing <Enter> LoseFocus() is not trigged through StarView
- if ( aNameEd.HasFocus() )
- LoseFocusHdl( &aNameEd );
+ if ( m_pNameRw->HasFocus() )
+ LoseFocusHdl( m_pNameRw );
- if (!pStyle->SetName(comphelper::string::stripStart(aNameEd.GetText(), ' ')))
+ if (!pStyle->SetName(comphelper::string::stripStart(m_pNameRw->GetText(), ' ')))
{
InfoBox aBox( this, SfxResId( MSG_TABPAGE_INVALIDNAME ) );
aBox.Execute();
- aNameEd.GrabFocus();
- aNameEd.SetSelection( Selection( SELECTION_MIN, SELECTION_MAX ) );
+ m_pNameRw->GrabFocus();
+ m_pNameRw->SetSelection( Selection( SELECTION_MIN, SELECTION_MAX ) );
return SfxTabPage::KEEP_PAGE;
}
bModified = sal_True;
}
- if ( pStyle->HasFollowSupport() && aFollowLb.IsEnabled() )
+ if ( pStyle->HasFollowSupport() && m_pFollowLb->IsEnabled() )
{
- const OUString aFollowEntry( aFollowLb.GetSelectEntry() );
+ const OUString aFollowEntry( m_pFollowLb->GetSelectEntry() );
if ( pStyle->GetFollow() != aFollowEntry )
{
@@ -587,16 +553,16 @@ int SfxManageStyleSheetPage::DeactivatePage( SfxItemSet* pItemSet )
{
InfoBox aBox( this, SfxResId( MSG_TABPAGE_INVALIDSTYLE ) );
aBox.Execute();
- aFollowLb.GrabFocus();
+ m_pFollowLb->GrabFocus();
return SfxTabPage::KEEP_PAGE;
}
bModified = sal_True;
}
}
- if ( aBaseLb.IsEnabled() )
+ if ( m_pBaseLb->IsEnabled() )
{
- OUString aParentEntry( aBaseLb.GetSelectEntry() );
+ OUString aParentEntry( m_pBaseLb->GetSelectEntry() );
if ( SfxResId(STR_NONE).toString().equals(aParentEntry) || aParentEntry == pStyle->GetName() )
aParentEntry = OUString();
@@ -607,7 +573,7 @@ int SfxManageStyleSheetPage::DeactivatePage( SfxItemSet* pItemSet )
{
InfoBox aBox( this, SfxResId( MSG_TABPAGE_INVALIDPARENT ) );
aBox.Execute();
- aBaseLb.GrabFocus();
+ m_pBaseLb->GrabFocus();
return SfxTabPage::KEEP_PAGE;
}
bModified = sal_True;
diff --git a/sfx2/uiconfig/ui/managestylepage.ui b/sfx2/uiconfig/ui/managestylepage.ui
new file mode 100644
index 0000000..b166db6
--- /dev/null
+++ b/sfx2/uiconfig/ui/managestylepage.ui
@@ -0,0 +1,268 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <!-- interface-requires gtk+ 3.0 -->
+ <object class="GtkBox" id="ManageStylePage">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="border_width">6</property>
+ <property name="orientation">vertical</property>
+ <property name="spacing">12</property>
+ <child>
+ <object class="GtkFrame" id="frame1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="label_xalign">0</property>
+ <property name="shadow_type">none</property>
+ <child>
+ <object class="GtkAlignment" id="alignment1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="top_padding">6</property>
+ <property name="left_padding">12</property>
+ <child>
+ <object class="GtkGrid" id="grid1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="row_spacing">6</property>
+ <property name="column_spacing">12</property>
+ <property name="row_homogeneous">True</property>
+ <child>
+ <object class="GtkLabel" id="label3">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">_Name</property>
+ <property name="use_underline">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">0</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="nextstyleft">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">Ne_xt Style</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">nextstyle</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">1</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="linkedwithft">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">Linked with</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">linkedwith</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">2</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="categoryft">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">_Category</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">category</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">3</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkComboBoxText" id="nextstyle">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="valign">center</property>
+ <property name="hexpand">True</property>
+ <property name="entry_text_column">0</property>
+ <property name="id_column">1</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="top_attach">1</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkComboBoxText" id="linkedwith">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="valign">center</property>
+ <property name="hexpand">True</property>
+ <property name="entry_text_column">0</property>
+ <property name="id_column">1</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="top_attach">2</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkComboBoxText" id="category">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="valign">center</property>
+ <property name="hexpand">True</property>
+ <property name="entry_text_column">0</property>
+ <property name="id_column">1</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="top_attach">3</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkGrid" id="grid2">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="column_spacing">12</property>
+ <child>
+ <object class="GtkCheckButton" id="autoupdate">
+ <property name="label" translatable="yes">_AutoUpdate</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="no_show_all">True</property>
+ <property name="use_underline">True</property>
+ <property name="xalign">0</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">2</property>
+ <property name="top_attach">0</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkTextView" id="namero">
+ <property name="can_focus">True</property>
+ <property name="no_show_all">True</property>
+ <property name="valign">center</property>
+ <property name="hexpand">True</property>
+ <property name="editable">False</property>
+ <property name="cursor_visible">False</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">0</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEntry" id="namerw">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="valign">center</property>
+ <property name="hexpand">True</property>
+ <property name="invisible_char">â</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="top_attach">0</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="top_attach">0</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child type="label">
+ <object class="GtkLabel" id="label1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Style</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkFrame" id="frame2">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label_xalign">0</property>
+ <property name="shadow_type">none</property>
+ <child>
+ <object class="GtkAlignment" id="alignment2">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="top_padding">6</property>
+ <property name="left_padding">12</property>
+ <child>
+ <object class="GtkLabel" id="desc">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="yalign">0</property>
+ <property name="wrap">True</property>
+ <property name="max_width_chars">52</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child type="label">
+ <object class="GtkLabel" id="label2">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Contains</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+</interface>
More information about the Libreoffice-commits
mailing list