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
00469570
Kaydet (Commit)
00469570
authored
Ock 22, 2015
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
android: disable Impress View -> Slide Pane
Change-Id: I5a3c014894fe74781cf050f3cd2ce2bcc0395cb3
üst
718e46c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
mobile-config.py
android/mobile-config.py
+6
-0
No files found.
android/mobile-config.py
Dosyayı görüntüle @
00469570
...
...
@@ -76,6 +76,7 @@ if __name__ == '__main__':
# Don't do pointless Word -> Writer and similar conversions when we have no UI.
nsDict
=
{
"component-schema"
:
"{http://openoffice.org/2001/registry}component-schema"
,
"component-data"
:
"{http://openoffice.org/2001/registry}component-data"
,
"name"
:
"{http://openoffice.org/2001/registry}name"
,
}
microsoftImport
=
'
%
(component-schema)s[@
%(name)
s="Common"]/component/group[@
%(name)
s="Filter"]/group[@
%(name)
s="Microsoft"]/group[@
%(name)
s="Import"]/prop'
%
nsDict
...
...
@@ -93,6 +94,11 @@ if __name__ == '__main__':
for
value
in
prop
.
findall
(
"value"
):
value
.
text
=
"false"
# Disable Impress View -> Slide Pane
for
prop
in
root
.
findall
(
'
%
(component-data)s[@
%(name)
s="Impress"]/node[@
%(name)
s="MultiPaneGUI"]/node[@
%(name)
s="SlideSorterBar"]/node[@
%(name)
s="Visible"]/prop[@
%(name)
s="ImpressView"]'
%
nsDict
):
for
value
in
prop
.
findall
(
"value"
):
value
.
text
=
"false"
# The namespace prefixes xs and oor are present in attribute *values*, and namespace
# declarations for them are needed, even if no actual elements or attributes with these
# namespace prefixes are present. Fun.
...
...
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