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
de02d221
Kaydet (Commit)
de02d221
authored
May 21, 2007
tarafından
Oliver Specht
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
printfs in comments
üst
d57944d2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
16 deletions
+20
-16
DomainMapper.cxx
writerfilter/source/dmapper/DomainMapper.cxx
+4
-4
FontTable.cxx
writerfilter/source/dmapper/FontTable.cxx
+8
-6
StyleSheetTable.cxx
writerfilter/source/dmapper/StyleSheetTable.cxx
+8
-6
No files found.
writerfilter/source/dmapper/DomainMapper.cxx
Dosyayı görüntüle @
de02d221
...
@@ -4,9 +4,9 @@
...
@@ -4,9 +4,9 @@
*
*
* $RCSfile: DomainMapper.cxx,v $
* $RCSfile: DomainMapper.cxx,v $
*
*
* $Revision: 1.5
0
$
* $Revision: 1.5
1
$
*
*
* last change: $Author:
fridrich_strba $ $Date: 2007-05-18 15:44:4
3 $
* last change: $Author:
os $ $Date: 2007-05-21 14:20:3
3 $
*
*
* The Contents of this file are made available subject to
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
* the terms of GNU Lesser General Public License Version 2.1.
...
@@ -178,7 +178,7 @@ void DomainMapper::attribute(doctok::Id nName, doctok::Value & val)
...
@@ -178,7 +178,7 @@ void DomainMapper::attribute(doctok::Id nName, doctok::Value & val)
sal_Int32
nIntValue
=
val
.
getInt
();
sal_Int32
nIntValue
=
val
.
getInt
();
rtl
::
OUString
sStringValue
=
val
.
getString
();
rtl
::
OUString
sStringValue
=
val
.
getString
();
printf
(
"DomainMapper::attribute(0x%.4x, 0x%.4x) [%s]
\n
"
,
(
unsigned
int
)
nName
,
(
unsigned
int
)
nIntValue
,
::
rtl
::
OUStringToOString
(
sStringValue
,
RTL_TEXTENCODING_DONTKNOW
).
getStr
());
//
printf ( "DomainMapper::attribute(0x%.4x, 0x%.4x) [%s]\n", (unsigned int)nName, (unsigned int)nIntValue, ::rtl::OUStringToOString(sStringValue, RTL_TEXTENCODING_DONTKNOW).getStr());
if
(
nName
>=
NS_rtf
::
LN_WIDENT
&&
nName
<=
NS_rtf
::
LN_LCBSTTBFUSSR
)
if
(
nName
>=
NS_rtf
::
LN_WIDENT
&&
nName
<=
NS_rtf
::
LN_LCBSTTBFUSSR
)
m_pImpl
->
GetFIB
().
SetData
(
nName
,
nIntValue
);
m_pImpl
->
GetFIB
().
SetData
(
nName
,
nIntValue
);
else
else
...
@@ -1741,7 +1741,7 @@ void DomainMapper::sprm( doctok::Sprm& sprm_, PropertyMapPtr rContext, SprmType
...
@@ -1741,7 +1741,7 @@ void DomainMapper::sprm( doctok::Sprm& sprm_, PropertyMapPtr rContext, SprmType
doctok
::
Value
::
Pointer_t
pValue
=
sprm_
.
getValue
();
doctok
::
Value
::
Pointer_t
pValue
=
sprm_
.
getValue
();
sal_Int32
nIntValue
=
pValue
->
getInt
();
sal_Int32
nIntValue
=
pValue
->
getInt
();
rtl
::
OUString
sStringValue
=
pValue
->
getString
();
rtl
::
OUString
sStringValue
=
pValue
->
getString
();
printf
(
"DomainMapper::sprm(0x%.4x, 0x%.4x) [%s]
\n
"
,
(
unsigned
int
)
nId
,
(
unsigned
int
)
nIntValue
,
::
rtl
::
OUStringToOString
(
sStringValue
,
RTL_TEXTENCODING_DONTKNOW
).
getStr
());
//
printf ( "DomainMapper::sprm(0x%.4x, 0x%.4x) [%s]\n", (unsigned int)nId, (unsigned int)nIntValue, ::rtl::OUStringToOString(sStringValue, RTL_TEXTENCODING_DONTKNOW).getStr());
/* WRITERFILTERSTATUS: table: sprmdata */
/* WRITERFILTERSTATUS: table: sprmdata */
switch
(
nId
)
switch
(
nId
)
...
...
writerfilter/source/dmapper/FontTable.cxx
Dosyayı görüntüle @
de02d221
...
@@ -4,9 +4,9 @@
...
@@ -4,9 +4,9 @@
*
*
* $RCSfile: FontTable.cxx,v $
* $RCSfile: FontTable.cxx,v $
*
*
* $Revision: 1.
4
$
* $Revision: 1.
5
$
*
*
* last change: $Author:
fridrich_strba $ $Date: 2007-05-11 14:52:44
$
* last change: $Author:
os $ $Date: 2007-05-21 14:24:10
$
*
*
* The Contents of this file are made available subject to
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
* the terms of GNU Lesser General Public License Version 2.1.
...
@@ -78,7 +78,7 @@ void FontTable::attribute(doctok::Id Name, doctok::Value & val)
...
@@ -78,7 +78,7 @@ void FontTable::attribute(doctok::Id Name, doctok::Value & val)
return
;
return
;
int
nIntValue
=
val
.
getInt
();
int
nIntValue
=
val
.
getInt
();
::
rtl
::
OUString
sValue
=
val
.
getString
();
::
rtl
::
OUString
sValue
=
val
.
getString
();
printf
(
"FontTable::attribute(0x%.4x, 0x%.4x) [%s]
\n
"
,
(
unsigned
int
)
Name
,
(
unsigned
int
)
nIntValue
,
::
rtl
::
OUStringToOString
(
sValue
,
RTL_TEXTENCODING_DONTKNOW
).
getStr
());
//
printf ( "FontTable::attribute(0x%.4x, 0x%.4x) [%s]\n", (unsigned int)Name, (unsigned int)nIntValue, ::rtl::OUStringToOString(sValue, RTL_TEXTENCODING_DONTKNOW).getStr());
switch
(
Name
)
switch
(
Name
)
{
{
// case NS_rtf::LN_ISTD: break;
// case NS_rtf::LN_ISTD: break;
...
@@ -535,21 +535,23 @@ void FontTable::sprm(doctok::Sprm& sprm_)
...
@@ -535,21 +535,23 @@ void FontTable::sprm(doctok::Sprm& sprm_)
if
(
!
m_pImpl
->
pCurrentEntry
)
if
(
!
m_pImpl
->
pCurrentEntry
)
return
;
return
;
sal_uInt32
nId
=
sprm_
.
getId
();
sal_uInt32
nId
=
sprm_
.
getId
();
(
void
)
nId
;
doctok
::
Value
::
Pointer_t
pValue
=
sprm_
.
getValue
();
doctok
::
Value
::
Pointer_t
pValue
=
sprm_
.
getValue
();
sal_Int32
nIntValue
=
pValue
->
getInt
();
sal_Int32
nIntValue
=
pValue
->
getInt
();
(
void
)
nIntValue
;
rtl
::
OUString
sStringValue
=
pValue
->
getString
();
rtl
::
OUString
sStringValue
=
pValue
->
getString
();
printf
(
"FontTable::sprm(0x%.4x, 0x%.4x) [%s]
\n
"
,
(
unsigned
int
)
nId
,
(
unsigned
int
)
nIntValue
,
::
rtl
::
OUStringToOString
(
sStringValue
,
RTL_TEXTENCODING_DONTKNOW
).
getStr
());
//
printf ( "FontTable::sprm(0x%.4x, 0x%.4x) [%s]\n", (unsigned int)nId, (unsigned int)nIntValue, ::rtl::OUStringToOString(sStringValue, RTL_TEXTENCODING_DONTKNOW).getStr());
switch
(
nId
)
/*
switch(nId)
{
{
default:
default:
{
{
OSL_ASSERT("FontTable::sprm()"); //
OSL_ASSERT("FontTable::sprm()"); //
//doctok::Value::Pointer_t pValue_ = sprm_.getValue();
//doctok::Value::Pointer_t pValue_ = sprm_.getValue();
}
}
}
}
*/
}
}
/*-- 19.06.2006 12:04:33---------------------------------------------------
/*-- 19.06.2006 12:04:33---------------------------------------------------
...
...
writerfilter/source/dmapper/StyleSheetTable.cxx
Dosyayı görüntüle @
de02d221
...
@@ -4,9 +4,9 @@
...
@@ -4,9 +4,9 @@
*
*
* $RCSfile: StyleSheetTable.cxx,v $
* $RCSfile: StyleSheetTable.cxx,v $
*
*
* $Revision: 1.1
5
$
* $Revision: 1.1
6
$
*
*
* last change: $Author:
fridrich_strba $ $Date: 2007-05-16 14:35:30
$
* last change: $Author:
os $ $Date: 2007-05-21 14:25:03
$
*
*
* The Contents of this file are made available subject to
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
* the terms of GNU Lesser General Public License Version 2.1.
...
@@ -133,8 +133,9 @@ void StyleSheetTable::attribute(doctok::Id Name, doctok::Value & val)
...
@@ -133,8 +133,9 @@ void StyleSheetTable::attribute(doctok::Id Name, doctok::Value & val)
if
(
!
m_pImpl
->
m_pCurrentEntry
)
if
(
!
m_pImpl
->
m_pCurrentEntry
)
return
;
return
;
int
nIntValue
=
val
.
getInt
();
int
nIntValue
=
val
.
getInt
();
(
void
)
nIntValue
;
::
rtl
::
OUString
sValue
=
val
.
getString
();
::
rtl
::
OUString
sValue
=
val
.
getString
();
printf
(
"StyleSheetTable::attribute(0x%.4x, 0x%.4x) [%s]
\n
"
,
(
unsigned
int
)
Name
,
(
unsigned
int
)
nIntValue
,
::
rtl
::
OUStringToOString
(
sValue
,
RTL_TEXTENCODING_DONTKNOW
).
getStr
());
//
printf ( "StyleSheetTable::attribute(0x%.4x, 0x%.4x) [%s]\n", (unsigned int)Name, (unsigned int)nIntValue, ::rtl::OUStringToOString(sValue, RTL_TEXTENCODING_DONTKNOW).getStr());
switch
(
Name
)
switch
(
Name
)
{
{
case
NS_rtf
:
:
LN_ISTD
:
case
NS_rtf
:
:
LN_ISTD
:
...
@@ -594,8 +595,9 @@ void StyleSheetTable::sprm(doctok::Sprm & sprm_)
...
@@ -594,8 +595,9 @@ void StyleSheetTable::sprm(doctok::Sprm & sprm_)
sal_uInt32
nId
=
sprm_
.
getId
();
sal_uInt32
nId
=
sprm_
.
getId
();
doctok
::
Value
::
Pointer_t
pValue
=
sprm_
.
getValue
();
doctok
::
Value
::
Pointer_t
pValue
=
sprm_
.
getValue
();
sal_Int32
nIntValue
=
pValue
.
get
()
?
pValue
->
getInt
()
:
0
;
sal_Int32
nIntValue
=
pValue
.
get
()
?
pValue
->
getInt
()
:
0
;
(
void
)
nIntValue
;
rtl
::
OUString
sStringValue
=
pValue
.
get
()
?
pValue
->
getString
()
:
rtl
::
OUString
();
rtl
::
OUString
sStringValue
=
pValue
.
get
()
?
pValue
->
getString
()
:
rtl
::
OUString
();
printf
(
"StyleSheetTable::sprm(0x%.4x, 0x%.4x) [%s]
\n
"
,
(
unsigned
int
)
nId
,
(
unsigned
int
)
nIntValue
,
::
rtl
::
OUStringToOString
(
sStringValue
,
RTL_TEXTENCODING_DONTKNOW
).
getStr
());
//
printf ( "StyleSheetTable::sprm(0x%.4x, 0x%.4x) [%s]\n", (unsigned int)nId, (unsigned int)nIntValue, ::rtl::OUStringToOString(sStringValue, RTL_TEXTENCODING_DONTKNOW).getStr());
switch
(
nId
)
switch
(
nId
)
{
{
...
@@ -658,8 +660,8 @@ void StyleSheetTable::sprm(doctok::Sprm & sprm_)
...
@@ -658,8 +660,8 @@ void StyleSheetTable::sprm(doctok::Sprm & sprm_)
-----------------------------------------------------------------------*/
-----------------------------------------------------------------------*/
void
StyleSheetTable
::
entry
(
int
/*pos*/
,
doctok
::
Reference
<
Properties
>::
Pointer_t
ref
)
void
StyleSheetTable
::
entry
(
int
/*pos*/
,
doctok
::
Reference
<
Properties
>::
Pointer_t
ref
)
{
{
printf
(
"StyleSheetTable::entry(...)
\n
"
);
//create a new style entry
//create a new font entry
// printf("StyleSheetTable::entry(...)\n");
OSL_ENSURE
(
!
m_pImpl
->
m_pCurrentEntry
,
"current entry has to be NULL here"
);
OSL_ENSURE
(
!
m_pImpl
->
m_pCurrentEntry
,
"current entry has to be NULL here"
);
m_pImpl
->
m_pCurrentEntry
=
new
StyleSheetEntry
;
m_pImpl
->
m_pCurrentEntry
=
new
StyleSheetEntry
;
ref
->
resolve
(
*
this
);
ref
->
resolve
(
*
this
);
...
...
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