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
56f84749
Kaydet (Commit)
56f84749
authored
Eki 12, 2016
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
de-src CustomPropertiesTypeBox widgetry
Change-Id: If98c76ec38708b73158456f4a2c93b5afbe825cd
üst
f8897e4e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
9 deletions
+14
-9
dinfdlg.cxx
sfx2/source/dialog/dinfdlg.cxx
+11
-1
dinfdlg.src
sfx2/source/dialog/dinfdlg.src
+2
-7
sfxlocal.hrc
sfx2/source/inc/sfxlocal.hrc
+1
-1
No files found.
sfx2/source/dialog/dinfdlg.cxx
Dosyayı görüntüle @
56f84749
...
@@ -20,6 +20,7 @@
...
@@ -20,6 +20,7 @@
#include <svl/eitem.hxx>
#include <svl/eitem.hxx>
#include <svl/urihelper.hxx>
#include <svl/urihelper.hxx>
#include <tools/datetime.hxx>
#include <tools/datetime.hxx>
#include <tools/resary.hxx>
#include <tools/urlobj.hxx>
#include <tools/urlobj.hxx>
#include <tools/StringListResource.hxx>
#include <tools/StringListResource.hxx>
#include <vcl/layout.hxx>
#include <vcl/layout.hxx>
...
@@ -1421,9 +1422,18 @@ namespace
...
@@ -1421,9 +1422,18 @@ namespace
}
}
CustomPropertiesTypeBox
::
CustomPropertiesTypeBox
(
vcl
::
Window
*
pParent
,
CustomPropertyLine
*
pLine
)
CustomPropertiesTypeBox
::
CustomPropertiesTypeBox
(
vcl
::
Window
*
pParent
,
CustomPropertyLine
*
pLine
)
:
ListBox
(
pParent
,
SfxResId
(
SFX_LB_PROPERTY_TYPE
)
)
:
ListBox
(
pParent
,
WB_BORDER
|
WB_DROPDOWN
)
,
m_pLine
(
pLine
)
,
m_pLine
(
pLine
)
{
{
SetPosSizePixel
(
LogicToPixel
(
Point
(
63
,
2
),
MapUnit
::
MapAppFont
),
LogicToPixel
(
Size
(
60
,
80
),
MapUnit
::
MapAppFont
));
ResStringArray
aStrArr
(
SfxResId
(
SFX_LB_PROPERTY_STRINGARRAY
));
for
(
sal_uInt32
i
=
0
;
i
<
aStrArr
.
Count
();
++
i
)
{
InsertEntry
(
aStrArr
.
GetString
(
i
));
SetEntryData
(
i
,
reinterpret_cast
<
void
*>
(
aStrArr
.
GetValue
(
i
)));
}
SelectEntryPos
(
0
);
}
}
// struct CustomPropertyLine ---------------------------------------------
// struct CustomPropertyLine ---------------------------------------------
...
...
sfx2/source/dialog/dinfdlg.src
Dosyayı görüntüle @
56f84749
...
@@ -152,14 +152,9 @@ Resource RID_STR_TYPE_CONST
...
@@ -152,14 +152,9 @@ Resource RID_STR_TYPE_CONST
};
};
};
};
ListBox SFX_LB_PROPERTY_TYPE
StringArray SFX_LB_PROPERTY_STRINGARRAY
{
{
Pos = MAP_APPFONT ( 63 , 2 ) ;
ItemList [ en-US ] =
Size = MAP_APPFONT ( 60 , 80 ) ;
DropDown = TRUE;
Border = TRUE;
CurPos = 0;
StringList [ en-US ] =
{
{
< "Text" ; CUSTOM_TYPE_TEXT ; > ;
< "Text" ; CUSTOM_TYPE_TEXT ; > ;
< "DateTime" ; CUSTOM_TYPE_DATETIME ; > ;
< "DateTime" ; CUSTOM_TYPE_DATETIME ; > ;
...
...
sfx2/source/inc/sfxlocal.hrc
Dosyayı görüntüle @
56f84749
...
@@ -35,9 +35,9 @@
...
@@ -35,9 +35,9 @@
#define STR_SFX_DOCK (RID_SFX_SFXLOCAL_START + 7)
#define STR_SFX_DOCK (RID_SFX_SFXLOCAL_START + 7)
#define STR_SFX_UNDOCK (RID_SFX_SFXLOCAL_START + 8)
#define STR_SFX_UNDOCK (RID_SFX_SFXLOCAL_START + 8)
#define STR_SFX_QUERY_WRONG_TYPE (RID_SFX_SFXLOCAL_START + 11)
#define STR_SFX_QUERY_WRONG_TYPE (RID_SFX_SFXLOCAL_START + 11)
#define SFX_LB_PROPERTY_STRINGARRAY (RID_SFX_SFXLOCAL_START + 12)
// Controls --------------------------------------------------------------
// Controls --------------------------------------------------------------
#define SFX_LB_PROPERTY_TYPE (RID_SFX_SFXLOCAL_START + 4)
#define SFX_WIN_PROPERTY_YESNO (RID_SFX_SFXLOCAL_START + 6)
#define SFX_WIN_PROPERTY_YESNO (RID_SFX_SFXLOCAL_START + 6)
#define SFX_ST_DURATION_FORMAT (RID_SFX_SFXLOCAL_START + 13)
#define SFX_ST_DURATION_FORMAT (RID_SFX_SFXLOCAL_START + 13)
...
...
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