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
ee5403b9
Kaydet (Commit)
ee5403b9
authored
Eyl 18, 2012
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
officecfg: generate header for Impress-sdremote, handle "-" in xcs name
Change-Id: I3f965a293cb6cbd5cafe42e1a05565282f2e10c7
üst
0d38f7fe
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
12 deletions
+15
-12
cppheader.xsl
officecfg/registry/cppheader.xsl
+9
-9
files.mk
officecfg/registry/files.mk
+2
-1
Server.cxx
sd/source/ui/remotecontrol/Server.cxx
+4
-2
No files found.
officecfg/registry/cppheader.xsl
Dosyayı görüntüle @
ee5403b9
...
...
@@ -65,29 +65,29 @@
<xsl:param
name=
"path"
/>
<xsl:text>
#ifndef INCLUDED_OFFICECFG_
</xsl:text>
<xsl:value-of
select=
"translate($ns1, 'abcdefghijklmnopqrstuvwxyz
', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ
')"
/>
select=
"translate($ns1, 'abcdefghijklmnopqrstuvwxyz
-', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_
')"
/>
<xsl:if
test=
"$ns2"
>
<xsl:text>
_
</xsl:text>
<xsl:value-of
select=
"translate($ns2, 'abcdefghijklmnopqrstuvwxyz
', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ
')"
/>
select=
"translate($ns2, 'abcdefghijklmnopqrstuvwxyz
-', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_
')"
/>
<xsl:if
test=
"$ns3"
>
<xsl:text>
_
</xsl:text>
<xsl:value-of
select=
"translate($ns3, 'abcdefghijklmnopqrstuvwxyz
', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ
')"
/>
select=
"translate($ns3, 'abcdefghijklmnopqrstuvwxyz
-', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_
')"
/>
</xsl:if>
</xsl:if>
<xsl:text>
_HXX


</xsl:text>
<xsl:text>
#define INCLUDED_OFFICECFG_
</xsl:text>
<xsl:value-of
select=
"translate($ns1, 'abcdefghijklmnopqrstuvwxyz
', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ
')"
/>
select=
"translate($ns1, 'abcdefghijklmnopqrstuvwxyz
-', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_
')"
/>
<xsl:if
test=
"$ns2"
>
<xsl:text>
_
</xsl:text>
<xsl:value-of
select=
"translate($ns2, 'abcdefghijklmnopqrstuvwxyz
', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ
')"
/>
select=
"translate($ns2, 'abcdefghijklmnopqrstuvwxyz
-', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_
')"
/>
<xsl:if
test=
"$ns3"
>
<xsl:text>
_
</xsl:text>
<xsl:value-of
select=
"translate($ns3, 'abcdefghijklmnopqrstuvwxyz
', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ
')"
/>
select=
"translate($ns3, 'abcdefghijklmnopqrstuvwxyz
-', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_
')"
/>
</xsl:if>
</xsl:if>
<xsl:text>
_HXX


</xsl:text>
...
...
@@ -113,13 +113,13 @@
<xsl:text>
#include "comphelper/configuration.hxx"


</xsl:text>
<xsl:text>


</xsl:text>
<xsl:text>
namespace officecfg { namespace
</xsl:text>
<xsl:value-of
select=
"
$ns1
"
/>
<xsl:value-of
select=
"
translate($ns1, '-', '_')
"
/>
<xsl:if
test=
"$ns2"
>
<xsl:text>
{ namespace
</xsl:text>
<xsl:value-of
select=
"
$ns2
"
/>
<xsl:value-of
select=
"
translate($ns2, '-', '_')
"
/>
<xsl:if
test=
"$ns3"
>
<xsl:text>
{ namespace
</xsl:text>
<xsl:value-of
select=
"
$ns3
"
/>
<xsl:value-of
select=
"
translate($ns3, '-', '_')
"
/>
</xsl:if>
</xsl:if>
<xsl:text>
{


</xsl:text>
...
...
officecfg/registry/files.mk
Dosyayı görüntüle @
ee5403b9
officecfg_FILES = \
officecfg_FILES
:
= \
FirstStartWizard \
Inet \
Interaction \
...
...
@@ -22,6 +22,7 @@ officecfg_FILES = \
Office/FormWizard \
Office/Histories \
Office/Impress \
$(if $(filter YES,$(ENABLE_SDREMOTE)),Office/Impress-sdremote) \
Office/Java \
Office/Jobs \
Office/Labels \
...
...
sd/source/ui/remotecontrol/Server.cxx
Dosyayı görüntüle @
ee5403b9
...
...
@@ -125,7 +125,8 @@ void RemoteServer::execute()
while
(
aLine
.
getLength
()
>
0
);
// Check if we already have this server.
Reference
<
XNameAccess
>
xConfig
=
officecfg
::
Office
::
Impress
-
sdremote
::
Content
::
AuthorisedRemotes
::
get
();
Reference
<
XNameAccess
>
const
xConfig
=
officecfg
::
Office
::
Impress_sdremote
::
Content
::
AuthorisedRemotes
::
get
();
Sequence
<
OUString
>
aNames
=
xConfig
->
getElementNames
();
bool
aFound
=
false
;
for
(
int
i
=
0
;
i
<
aNames
.
getLength
();
i
++
)
...
...
@@ -232,7 +233,8 @@ sal_Bool RemoteServer::connectClient( ClientInfo* pClient, rtl::OUString aPin )
{
// Save in settings first
boost
::
shared_ptr
<
ConfigurationChanges
>
aChanges
=
ConfigurationChanges
::
create
();
Reference
<
XNameContainer
>
xConfig
=
officecfg
::
Office
::
Impress
-
sdremote
::
Content
::
AuthorisedRemotes
::
get
(
aChanges
);
Reference
<
XNameContainer
>
const
xConfig
=
officecfg
::
Office
::
Impress_sdremote
::
Content
::
AuthorisedRemotes
::
get
(
aChanges
);
Reference
<
XSingleServiceFactory
>
xChildFactory
(
xConfig
,
UNO_QUERY
);
...
...
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