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
201788d3
Kaydet (Commit)
201788d3
authored
Eki 15, 2012
tarafından
Xisco Fauli
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
pyletter: Make call the wizard remotely possible
Change-Id: I6cf58bb25cc44118b086fbe1339aae2c4069416b
üst
b617e842
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
11 deletions
+12
-11
LetterWizardDialogImpl.py
...rds/com/sun/star/wizards/letter/LetterWizardDialogImpl.py
+12
-11
No files found.
wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py
Dosyayı görüntüle @
201788d3
...
@@ -66,19 +66,20 @@ class LetterWizardDialogImpl(LetterWizardDialog):
...
@@ -66,19 +66,20 @@ class LetterWizardDialogImpl(LetterWizardDialog):
self
.
NormPaths
=
[]
self
.
NormPaths
=
[]
@classmethod
@classmethod
def
main
(
self
,
args
):
def
main
(
self
):
ConnectStr
=
\
#Call the wizard remotely(see README)
"uno:socket,host=localhost,port=2002;urp;StarOffice.ComponentContext"
xLocMSF
=
None
try
:
try
:
ConnectStr
=
\
"uno:socket,host=localhost,port=2002;urp;StarOffice.ComponentContext"
xLocMSF
=
Desktop
.
connect
(
ConnectStr
)
xLocMSF
=
Desktop
.
connect
(
ConnectStr
)
except
Exception
,
e
:
lw
=
LetterWizardDialogImpl
(
xLocMSF
)
traceback
.
print_exc
()
lw
.
startWizard
(
xLocMSF
)
except
Exception
as
e
:
lw
=
LetterWizardDialogImpl
(
xLocMSF
)
print
(
"Wizard failure exception "
+
str
(
type
(
e
))
+
lw
.
startWizard
(
xLocMSF
,
None
)
" message "
+
str
(
e
)
+
" args "
+
str
(
e
.
args
)
+
traceback
.
format_exc
())
def
startWizard
(
self
,
xMSF
,
CurPropertyValue
):
def
startWizard
(
self
,
xMSF
):
self
.
running
=
True
self
.
running
=
True
try
:
try
:
#Number of steps on WizardDialog
#Number of steps on WizardDialog
...
...
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