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
b5061f82
Kaydet (Commit)
b5061f82
authored
Mar 07, 2001
tarafından
Daniel Boelzle
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
added step, tag
üst
b6601ce5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
55 additions
and
24 deletions
+55
-24
dialog.dtd
xmlscript/dtd/dialog.dtd
+7
-2
xmldlg_export.cxx
xmlscript/source/xmldlg_imexp/xmldlg_export.cxx
+0
-0
xmldlg_impmodels.cxx
xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx
+30
-17
xmldlg_import.cxx
xmlscript/source/xmldlg_imexp/xmldlg_import.cxx
+18
-5
No files found.
xmlscript/dtd/dialog.dtd
Dosyayı görüntüle @
b5061f82
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Id: dialog.dtd,v 1.
6 2001-03-01 13:14:50
dbo Exp $
$Id: dialog.dtd,v 1.
7 2001-03-07 14:57:38
dbo Exp $
The Contents of this file are made available subject to the terms of
either of the following licenses
...
...
@@ -66,6 +66,8 @@
dialog:tab-index %numeric; #IMPLIED
dialog:disabled %boolean; #IMPLIED
dialog:printable %boolean; #IMPLIED
dialog:page %numeric; #IMPLIED
dialog:tag CDATA #IMPLIED
">
<!ENTITY % control "(dialog:bulletinboard|
...
...
@@ -95,7 +97,10 @@
dialog:top %numeric; #IMPLIED
dialog:width %numeric; #IMPLIED
dialog:height %numeric; #IMPLIED
dialog:title CDATA #IMPLIED>
dialog:title CDATA #IMPLIED
dialog:page %numeric; #IMPLIED
dialog:tag CDATA #IMPLIED
>
<!ELEMENT dialog:styles (dialog:style+)>
...
...
xmlscript/source/xmldlg_imexp/xmldlg_export.cxx
Dosyayı görüntüle @
b5061f82
This diff is collapsed.
Click to expand it.
xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx
Dosyayı görüntüle @
b5061f82
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: xmldlg_impmodels.cxx,v $
*
* $Revision: 1.
9
$
* $Revision: 1.
10
$
*
* last change: $Author:
ab $ $Date: 2001-03-02 15:56:4
8 $
* last change: $Author:
dbo $ $Date: 2001-03-07 14:57:3
8 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -1528,37 +1528,50 @@ void WindowElement::endElement()
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Title"
)
),
makeAny
(
aValue
)
);
}
aValue
=
_xAttributes
->
getValueByUidName
(
XMLNS_DIALOGS_UID
,
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"left"
)
)
);
if
(
aValue
.
getLength
())
sal_Int32
nLong
;
if
(
getLongAttr
(
&
nLong
,
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"left"
)
),
_xAttributes
))
{
xProps
->
setPropertyValue
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"PositionX"
)
),
makeAny
(
aValue
.
toInt32
()
)
);
makeAny
(
nLong
)
);
}
aValue
=
_xAttributes
->
getValueByUidName
(
XMLNS_DIALOGS_UID
,
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"top"
)
)
);
if
(
aValue
.
getLength
())
if
(
getLongAttr
(
&
nLong
,
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"top"
)
),
_xAttributes
))
{
xProps
->
setPropertyValue
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"PositionY"
)
),
makeAny
(
aValue
.
toInt32
()
)
);
makeAny
(
nLong
)
);
}
aValue
=
_xAttributes
->
getValueByUidName
(
XMLNS_DIALOGS_UID
,
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"width"
)
)
);
if
(
aValue
.
getLength
())
if
(
getLongAttr
(
&
nLong
,
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"width"
)
),
_xAttributes
))
{
xProps
->
setPropertyValue
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Width"
)
),
makeAny
(
aValue
.
toInt32
()
)
);
makeAny
(
nLong
)
);
}
if
(
getLongAttr
(
&
nLong
,
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"height"
)
),
_xAttributes
))
{
xProps
->
setPropertyValue
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Height"
)
),
makeAny
(
nLong
)
);
}
if
(
!
getLongAttr
(
&
nLong
,
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"page"
)
),
_xAttributes
))
{
nLong
=
0
;
}
xProps
->
setPropertyValue
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Step"
)
),
makeAny
(
nLong
)
);
aValue
=
_xAttributes
->
getValueByUidName
(
XMLNS_DIALOGS_UID
,
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"
height
"
)
)
);
XMLNS_DIALOGS_UID
,
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"
tag
"
)
)
);
if
(
aValue
.
getLength
())
{
xProps
->
setPropertyValue
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"
Height
"
)
),
makeAny
(
aValue
.
toInt32
()
)
);
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"
Tag
"
)
),
makeAny
(
aValue
)
);
}
}
...
...
xmlscript/source/xmldlg_imexp/xmldlg_import.cxx
Dosyayı görüntüle @
b5061f82
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: xmldlg_import.cxx,v $
*
* $Revision: 1.
8
$
* $Revision: 1.
9
$
*
* last change: $Author: dbo $ $Date: 2001-03-0
1 13:14:51
$
* last change: $Author: dbo $ $Date: 2001-03-0
7 14:57:38
$
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -820,9 +820,9 @@ void ControlImportContext::importDefaults(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Name"
)
),
makeAny
(
_aId
)
);
import
Long
Property
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"TabIndex"
)
),
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"tab-index"
)
),
xAttributes
);
import
Short
Property
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"TabIndex"
)
),
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"tab-index"
)
),
xAttributes
);
sal_Bool
bDisable
;
if
(
getBoolAttr
(
&
bDisable
,
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"disabled"
)
),
xAttributes
)
&&
...
...
@@ -855,6 +855,19 @@ void ControlImportContext::importDefaults(
importBooleanProperty
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Printable"
)
),
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"printable"
)
),
xAttributes
);
sal_Int32
nLong
;
if
(
!
getLongAttr
(
&
nLong
,
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"page"
)
),
xAttributes
))
{
nLong
=
0
;
}
_xControlModel
->
setPropertyValue
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Step"
)
),
makeAny
(
nLong
)
);
importStringProperty
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Tag"
)
),
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"tag"
)
),
xAttributes
);
}
//__________________________________________________________________________________________________
void
ControlImportContext
::
importEvents
(
...
...
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