Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
41d498c8
Kaydet (Commit)
41d498c8
authored
May 30, 2013
tarafından
Cao Cuong Ngo
Kaydeden (comit)
Cédric Bosdonnat
Eyl 02, 2013
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
CMIS properties dialog initialize
Change-Id: I1bdc2a9e8d2ee916fa37f836baf750385c820da4
üst
0025012c
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
143 additions
and
0 deletions
+143
-0
dinfdlg.hxx
include/sfx2/dinfdlg.hxx
+19
-0
UIConfig_sfx.mk
sfx2/UIConfig_sfx.mk
+1
-0
dinfdlg.cxx
sfx2/source/dialog/dinfdlg.cxx
+31
-0
cmisinfopage.ui
sfx2/uiconfig/ui/cmisinfopage.ui
+78
-0
documentpropertiesdialog.ui
sfx2/uiconfig/ui/documentpropertiesdialog.ui
+14
-0
No files found.
include/sfx2/dinfdlg.hxx
Dosyayı görüntüle @
41d498c8
...
...
@@ -502,6 +502,25 @@ public:
static
SfxTabPage
*
Create
(
Window
*
pParent
,
const
SfxItemSet
&
);
};
// class SfxCmisPropertiesPage -------------------------------------------------
class
SfxCmisPropertiesPage
:
public
SfxTabPage
{
private
:
using
TabPage
::
DeactivatePage
;
protected
:
SfxCmisPropertiesPage
(
Window
*
pParent
,
const
SfxItemSet
&
);
virtual
sal_Bool
FillItemSet
(
SfxItemSet
&
);
virtual
void
Reset
(
const
SfxItemSet
&
);
virtual
int
DeactivatePage
(
SfxItemSet
*
pSet
=
NULL
);
public
:
static
SfxTabPage
*
Create
(
Window
*
pParent
,
const
SfxItemSet
&
);
};
#endif // #ifndef _SFX_DINFDLG_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sfx2/UIConfig_sfx.mk
Dosyayı görüntüle @
41d498c8
...
...
@@ -28,6 +28,7 @@ $(eval $(call gb_UIConfig_add_uifiles,sfx,\
sfx2/uiconfig/ui/versionsofdialog \
sfx2/uiconfig/ui/versioncommentdialog \
sfx2/uiconfig/ui/startcenter \
sfx2/uiconfig/ui/cmisinfopage \
))
# vim: set noet sw=4 ts=4:
sfx2/source/dialog/dinfdlg.cxx
Dosyayı görüntüle @
41d498c8
...
...
@@ -1150,6 +1150,7 @@ SfxDocumentInfoDialog::SfxDocumentInfoDialog( Window* pParent,
AddTabPage
(
"description"
,
SfxDocumentDescPage
::
Create
,
0
);
AddTabPage
(
"customprops"
,
SfxCustomPropertiesPage
::
Create
,
0
);
AddTabPage
(
"security"
,
SfxSecurityPage
::
Create
,
0
);
AddTabPage
(
"cmisprops"
,
SfxCmisPropertiesPage
::
Create
,
0
);
}
// -----------------------------------------------------------------------
...
...
@@ -2117,4 +2118,34 @@ SfxTabPage* SfxCustomPropertiesPage::Create( Window* pParent, const SfxItemSet&
return
new
SfxCustomPropertiesPage
(
pParent
,
rItemSet
);
}
// class SfxCmisPropertiesPage -----------------------------------------
SfxCmisPropertiesPage
::
SfxCmisPropertiesPage
(
Window
*
pParent
,
const
SfxItemSet
&
rItemSet
)
:
SfxTabPage
(
pParent
,
"CmisInfoPage"
,
"sfx/ui/cmisinfopage.ui"
,
rItemSet
)
{
}
sal_Bool
SfxCmisPropertiesPage
::
FillItemSet
(
SfxItemSet
&
/*rSet*/
)
{
sal_Bool
bModified
=
sal_False
;
return
bModified
;
}
void
SfxCmisPropertiesPage
::
Reset
(
const
SfxItemSet
&
/*rItemSet*/
)
{
}
int
SfxCmisPropertiesPage
::
DeactivatePage
(
SfxItemSet
*
/*pSet*/
)
{
int
nRet
=
LEAVE_PAGE
;
return
nRet
;
}
SfxTabPage
*
SfxCmisPropertiesPage
::
Create
(
Window
*
pParent
,
const
SfxItemSet
&
rItemSet
)
{
return
new
SfxCmisPropertiesPage
(
pParent
,
rItemSet
);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sfx2/uiconfig/ui/cmisinfopage.ui
0 → 100644
Dosyayı görüntüle @
41d498c8
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
<object
class=
"GtkGrid"
id=
"CmisInfoPage"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"hexpand"
>
True
</property>
<property
name=
"vexpand"
>
True
</property>
<property
name=
"border_width"
>
6
</property>
<property
name=
"row_spacing"
>
12
</property>
<child>
<object
class=
"GtkLabel"
id=
"label56"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"halign"
>
start
</property>
<property
name=
"label"
translatable=
"yes"
>
_CMIS Properties
</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=
"GtkBox"
id=
"box1"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"no_show_all"
>
True
</property>
<property
name=
"hexpand"
>
True
</property>
<property
name=
"spacing"
>
12
</property>
<property
name=
"homogeneous"
>
True
</property>
<child>
<object
class=
"GtkLabel"
id=
"name"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
>
Name
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkLabel"
id=
"type"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
>
Type
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkLabel"
id=
"value"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
>
Value
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
2
</property>
</packing>
</child>
</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>
</object>
</interface>
sfx2/uiconfig/ui/documentpropertiesdialog.ui
Dosyayı görüntüle @
41d498c8
...
...
@@ -140,6 +140,20 @@
<property
name=
"tab_fill"
>
False
</property>
</packing>
</child>
<child>
<placeholder/>
</child>
<child
type=
"tab"
>
<object
class=
"GtkLabel"
id=
"cmisprops"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
>
CMIS Properties
</property>
</object>
<packing>
<property
name=
"position"
>
4
</property>
<property
name=
"tab_fill"
>
False
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"expand"
>
True
</property>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment