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
23e16b91
Kaydet (Commit)
23e16b91
authored
Ock 31, 2015
tarafından
Tsutomu Uchino
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#i114416# use default service name for scroll bar if failed to detect the control-implementation
üst
459c1d18
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
elementimport.cxx
xmloff/source/forms/elementimport.cxx
+8
-1
elementimport.hxx
xmloff/source/forms/elementimport.hxx
+1
-1
No files found.
xmloff/source/forms/elementimport.cxx
Dosyayı görüntüle @
23e16b91
...
...
@@ -190,7 +190,7 @@ namespace xmloff
}
if
(
!
m_sServiceName
.
getLength
()
)
determineDefaultServiceName
();
m_sServiceName
=
determineDefaultServiceName
();
// create the object *now*. This allows setting properties in the various handleAttribute methods.
// (Though currently not all code is migrated to this pattern, most attributes are still handled
...
...
@@ -712,6 +712,7 @@ namespace xmloff
case
OControlElement
:
:
IMAGE_FRAME
:
pServiceName
=
"com.sun.star.form.component.DatabaseImageControl"
;
break
;
case
OControlElement
:
:
HIDDEN
:
pServiceName
=
"com.sun.star.form.component.HiddenControl"
;
break
;
case
OControlElement
:
:
GRID
:
pServiceName
=
"com.sun.star.form.component.GridControl"
;
break
;
case
OControlElement
:
:
VALUERANGE
:
pServiceName
=
"com.sun.star.form.component.ScrollBar"
;
break
;
case
OControlElement
:
:
TIME
:
pServiceName
=
"com.sun.star.form.component.DateField"
;
break
;
case
OControlElement
:
:
DATE
:
pServiceName
=
"com.sun.star.form.component.TimeField"
;
break
;
default
:
break
;
...
...
@@ -2221,6 +2222,12 @@ namespace xmloff
}
}
//---------------------------------------------------------------------
::
rtl
::
OUString
OFormImport
::
determineDefaultServiceName
()
const
{
return
::
rtl
::
OUString
::
createFromAscii
(
"com.sun.star.form.component.Form"
);
}
//.........................................................................
}
// namespace xmloff
//.........................................................................
...
...
xmloff/source/forms/elementimport.hxx
Dosyayı görüntüle @
23e16b91
...
...
@@ -740,7 +740,7 @@ namespace xmloff
sal_uInt16
_nPrefix
,
const
::
rtl
::
OUString
&
_rLocalName
,
OControlElement
::
ElementType
_eType
);
virtual
::
rtl
::
OUString
determineDefaultServiceName
()
const
;
void
implTranslateStringListProperty
(
const
::
rtl
::
OUString
&
_rPropertyName
,
const
::
rtl
::
OUString
&
_rValue
);
};
...
...
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