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
6ddd4276
Kaydet (Commit)
6ddd4276
authored
Mar 20, 2013
tarafından
Javier Fernandez
Kaydeden (comit)
Michael Meeks
Mar 25, 2013
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Init: Relative paths and missing imports
Change-Id: I2196567e0c9b90a9a56aa1db769f6efc9e56e74f
üst
b7b49273
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
22 additions
and
15 deletions
+22
-15
StylePreview.py
wizards/com/sun/star/wizards/web/StylePreview.py
+6
-1
CGArgument.py
wizards/com/sun/star/wizards/web/data/CGArgument.py
+1
-1
CGContent.py
wizards/com/sun/star/wizards/web/data/CGContent.py
+4
-3
CGDesign.py
wizards/com/sun/star/wizards/web/data/CGDesign.py
+1
-1
CGFilter.py
wizards/com/sun/star/wizards/web/data/CGFilter.py
+1
-1
CGGeneralInfo.py
wizards/com/sun/star/wizards/web/data/CGGeneralInfo.py
+2
-1
CGIconSet.py
wizards/com/sun/star/wizards/web/data/CGIconSet.py
+1
-1
CGImage.py
wizards/com/sun/star/wizards/web/data/CGImage.py
+1
-1
CGLayout.py
wizards/com/sun/star/wizards/web/data/CGLayout.py
+3
-3
CGSessionName.py
wizards/com/sun/star/wizards/web/data/CGSessionName.py
+1
-1
CGStyle.py
wizards/com/sun/star/wizards/web/data/CGStyle.py
+1
-1
No files found.
wizards/com/sun/star/wizards/web/StylePreview.py
Dosyayı görüntüle @
6ddd4276
...
...
@@ -15,9 +15,10 @@
# except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
from
common.FileAccess
import
FileAccess
import
traceback
from
..common.FileAccess
import
FileAccess
'''
@author rpiterman
the style preview, which is a OOo Document Preview in
...
...
@@ -46,7 +47,9 @@ class StylePreview(object):
self
.
cssFilename
=
FileAccess
.
connectURLs
(
self
.
tempDir
,
"style.css"
)
self
.
backgroundFilename
=
FileAccess
.
connectURLs
(
self
.
tempDir
,
"images/background.gif"
)
self
.
wwRoot
=
wwRoot_
print
(
"WARNING !!! StylePreview init (review) - source, target: "
,
self
.
wwRoot
,
self
.
htmlFilename
)
self
.
fileAccess
.
copy
(
FileAccess
.
connectURLs
(
self
.
wwRoot
,
"preview.html"
),
self
.
htmlFilename
)
...
...
@@ -68,9 +71,11 @@ class StylePreview(object):
# a solaris bug workaround
# TODO
#copy the background image to the temp directory.
print
(
"WARNING !!! refresh (background) - source, target: "
,
background
,
self
.
backgroundFilename
)
self
.
fileAccess
.
copy
(
background
,
self
.
backgroundFilename
)
#copy the actual css to the temp directory
print
(
"WARNING !!! refresh (css) - source, target: "
,
css
,
self
.
tempDir
)
self
.
fileAccess
.
copy
(
css
,
self
.
cssFilename
)
def
cleanup
(
self
):
...
...
wizards/com/sun/star/wizards/web/data/CGArgument.py
Dosyayı görüntüle @
6ddd4276
...
...
@@ -15,7 +15,7 @@
# except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
from
common.ConfigGroup
import
ConfigGroup
from
...
common.ConfigGroup
import
ConfigGroup
class
CGArgument
(
ConfigGroup
):
cp_Value
=
str
()
wizards/com/sun/star/wizards/web/data/CGContent.py
Dosyayı görüntüle @
6ddd4276
...
...
@@ -15,9 +15,10 @@
# except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
from
common.ConfigGroup
import
ConfigGroup
from
common.ConfigSet
import
ConfigSet
from
CGDocument
import
CGDocument
from
...common.ConfigGroup
import
ConfigGroup
from
...common.ConfigSet
import
ConfigSet
from
...common.XMLHelper
import
XMLHelper
from
.CGDocument
import
CGDocument
class
CGContent
(
ConfigGroup
):
...
...
wizards/com/sun/star/wizards/web/data/CGDesign.py
Dosyayı görüntüle @
6ddd4276
...
...
@@ -15,7 +15,7 @@
# except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
from
common.ConfigGroup
import
ConfigGroup
from
...
common.ConfigGroup
import
ConfigGroup
class
CGDesign
(
ConfigGroup
):
...
...
wizards/com/sun/star/wizards/web/data/CGFilter.py
Dosyayı görüntüle @
6ddd4276
...
...
@@ -15,7 +15,7 @@
# except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
from
common.ConfigGroup
import
ConfigGroup
from
...
common.ConfigGroup
import
ConfigGroup
class
CGFilter
(
ConfigGroup
):
cp_Index
=
-
1
...
...
wizards/com/sun/star/wizards/web/data/CGGeneralInfo.py
Dosyayı görüntüle @
6ddd4276
...
...
@@ -15,7 +15,8 @@
# except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
from
common.ConfigGroup
import
ConfigGroup
from
...common.ConfigGroup
import
ConfigGroup
from
...common.XMLHelper
import
XMLHelper
class
CGGeneralInfo
(
ConfigGroup
):
...
...
wizards/com/sun/star/wizards/web/data/CGIconSet.py
Dosyayı görüntüle @
6ddd4276
...
...
@@ -15,7 +15,7 @@
# except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
from
common.ConfigGroup
import
ConfigGroup
from
...
common.ConfigGroup
import
ConfigGroup
class
CGIconSet
(
ConfigGroup
):
cp_Index
=
-
1
...
...
wizards/com/sun/star/wizards/web/data/CGImage.py
Dosyayı görüntüle @
6ddd4276
...
...
@@ -15,7 +15,7 @@
# except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
from
common.ConfigGroup
import
ConfigGroup
from
...
common.ConfigGroup
import
ConfigGroup
class
CGImage
(
ConfigGroup
):
cp_Href
=
str
()
wizards/com/sun/star/wizards/web/data/CGLayout.py
Dosyayı görüntüle @
6ddd4276
...
...
@@ -15,8 +15,8 @@
# except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
from
common.ConfigGroup
import
ConfigGroup
from
ui.UIConsts
import
RID_IMG_WEB
from
...
common.ConfigGroup
import
ConfigGroup
from
...ui.UIConsts
import
UIConsts
class
CGLayout
(
ConfigGroup
):
...
...
@@ -42,7 +42,7 @@ class CGLayout(ConfigGroup):
def
getImageUrls
(
self
):
sRetUrls
=
range
(
1
)
ResId
=
RID_IMG_WEB
+
(
self
.
cp_Index
*
2
)
ResId
=
UIConsts
.
RID_IMG_WEB
+
(
self
.
cp_Index
*
2
)
return
[
ResId
,
ResId
+
1
]
def
getTemplates
(
self
,
xmsf
):
...
...
wizards/com/sun/star/wizards/web/data/CGSessionName.py
Dosyayı görüntüle @
6ddd4276
...
...
@@ -15,7 +15,7 @@
# except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
from
common.ConfigGroup
import
ConfigGroup
from
...
common.ConfigGroup
import
ConfigGroup
class
CGSessionName
(
ConfigGroup
):
cp_Index
=
-
1
...
...
wizards/com/sun/star/wizards/web/data/CGStyle.py
Dosyayı görüntüle @
6ddd4276
...
...
@@ -15,7 +15,7 @@
# except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
from
common.ConfigGroup
import
ConfigGroup
from
...
common.ConfigGroup
import
ConfigGroup
class
CGStyle
(
ConfigGroup
):
cp_Index
=
-
1
...
...
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