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
2265b25e
Kaydet (Commit)
2265b25e
authored
Agu 22, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert include/sfx2/sfxhtml.hxx from String to OUString
Change-Id: I8c3ffa5add610d859091ef5f9251247a3dd0b6b7
üst
4abae946
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
17 deletions
+17
-17
sfxhtml.hxx
include/sfx2/sfxhtml.hxx
+7
-7
sfxhtml.cxx
sfx2/source/bastyp/sfxhtml.cxx
+10
-10
No files found.
include/sfx2/sfxhtml.hxx
Dosyayı görüntüle @
2265b25e
...
...
@@ -34,7 +34,7 @@ class SfxObjectShell;
class
SFX2_DLLPUBLIC
SfxHTMLParser
:
public
HTMLParser
{
String
aScriptType
;
OUString
aScriptType
;
SfxMedium
*
pMedium
;
SfxMedium
*
pDLMedium
;
// Medium for Download Files
...
...
@@ -56,18 +56,18 @@ public:
static
bool
ParseMapOptions
(
ImageMap
*
pImageMap
,
const
HTMLOptions
&
rOptions
);
bool
ParseMapOptions
(
ImageMap
*
pImageMap
)
{
return
ParseMapOptions
(
pImageMap
,
GetOptions
());
}
static
bool
ParseAreaOptions
(
ImageMap
*
pImageMap
,
const
String
&
rBaseURL
,
static
bool
ParseAreaOptions
(
ImageMap
*
pImageMap
,
const
OU
String
&
rBaseURL
,
const
HTMLOptions
&
rOptions
,
sal_uInt16
nEventMouseOver
=
0
,
sal_uInt16
nEventMouseOut
=
0
);
inline
sal_Bool
ParseAreaOptions
(
ImageMap
*
pImageMap
,
const
String
&
rBaseURL
,
inline
sal_Bool
ParseAreaOptions
(
ImageMap
*
pImageMap
,
const
OU
String
&
rBaseURL
,
sal_uInt16
nEventMouseOver
=
0
,
sal_uInt16
nEventMouseOut
=
0
);
// <TD SDVAL="..." SDNUM="...">
static
double
GetTableDataOptionsValNum
(
sal_uInt32
&
nNumForm
,
LanguageType
&
eNumLang
,
const
String
&
aValStr
,
const
String
&
aNumStr
,
SvNumberFormatter
&
rFormatter
);
LanguageType
&
eNumLang
,
const
OU
String
&
aValStr
,
const
OU
String
&
aNumStr
,
SvNumberFormatter
&
rFormatter
);
protected
:
// Start a file download. This is done asynchronously or synchronously.
...
...
@@ -95,10 +95,10 @@ protected:
// Default (without iterator) is JavaScript
ScriptType
GetScriptType
(
SvKeyValueIterator
*
)
const
;
const
String
&
GetScriptTypeString
(
SvKeyValueIterator
*
)
const
;
const
OU
String
&
GetScriptTypeString
(
SvKeyValueIterator
*
)
const
;
};
inline
sal_Bool
SfxHTMLParser
::
ParseAreaOptions
(
ImageMap
*
pImageMap
,
const
String
&
rBaseURL
,
inline
sal_Bool
SfxHTMLParser
::
ParseAreaOptions
(
ImageMap
*
pImageMap
,
const
OU
String
&
rBaseURL
,
sal_uInt16
nEventMouseOver
,
sal_uInt16
nEventMouseOut
)
{
...
...
sfx2/source/bastyp/sfxhtml.cxx
Dosyayı görüntüle @
2265b25e
...
...
@@ -107,7 +107,7 @@ bool SfxHTMLParser::ParseMapOptions(
return
aName
.
Len
()
>
0
;
}
bool
SfxHTMLParser
::
ParseAreaOptions
(
ImageMap
*
pImageMap
,
const
String
&
rBaseURL
,
bool
SfxHTMLParser
::
ParseAreaOptions
(
ImageMap
*
pImageMap
,
const
OU
String
&
rBaseURL
,
const
HTMLOptions
&
rOptions
,
sal_uInt16
nEventMouseOver
,
sal_uInt16
nEventMouseOut
)
...
...
@@ -313,35 +313,35 @@ void SfxHTMLParser::GetScriptType_Impl( SvKeyValueIterator *pHTTPHeader )
ScriptType
SfxHTMLParser
::
GetScriptType
(
SvKeyValueIterator
*
pHTTPHeader
)
const
{
if
(
!
aScriptType
.
Len
()
)
if
(
aScriptType
.
isEmpty
()
)
((
SfxHTMLParser
*
)
this
)
->
GetScriptType_Impl
(
pHTTPHeader
);
return
eScriptType
;
}
const
String
&
SfxHTMLParser
::
GetScriptTypeString
(
const
OU
String
&
SfxHTMLParser
::
GetScriptTypeString
(
SvKeyValueIterator
*
pHTTPHeader
)
const
{
if
(
!
aScriptType
.
Len
()
)
if
(
aScriptType
.
isEmpty
()
)
((
SfxHTMLParser
*
)
this
)
->
GetScriptType_Impl
(
pHTTPHeader
);
return
aScriptType
;
}
double
SfxHTMLParser
::
GetTableDataOptionsValNum
(
sal_uInt32
&
nNumForm
,
LanguageType
&
eNumLang
,
const
String
&
aValStr
,
const
String
&
aNumStr
,
LanguageType
&
eNumLang
,
const
OUString
&
aValStr
,
const
OU
String
&
aNumStr
,
SvNumberFormatter
&
rFormatter
)
{
LanguageType
eParseLang
=
(
LanguageType
)
aNumStr
.
T
oInt32
();
LanguageType
eParseLang
=
(
LanguageType
)
aNumStr
.
t
oInt32
();
sal_uInt32
nParseForm
=
rFormatter
.
GetFormatForLanguageIfBuiltIn
(
0
,
eParseLang
);
double
fVal
;
rFormatter
.
IsNumberFormat
(
aValStr
,
nParseForm
,
fVal
);
if
(
comphelper
::
string
::
getTokenCount
(
aNumStr
,
';'
)
>
2
)
{
eNumLang
=
(
LanguageType
)
aNumStr
.
GetToken
(
1
,
';'
).
T
oInt32
();
xub_StrLen
nPos
=
aNumStr
.
Search
(
';'
);
nPos
=
aNumStr
.
Search
(
';'
,
nPos
+
1
);
OUString
aFormat
(
aNumStr
.
C
opy
(
nPos
+
1
)
);
eNumLang
=
(
LanguageType
)
aNumStr
.
getToken
(
1
,
';'
).
t
oInt32
();
sal_Int32
nPos
=
aNumStr
.
indexOf
(
';'
);
nPos
=
aNumStr
.
indexOf
(
';'
,
nPos
+
1
);
OUString
aFormat
(
aNumStr
.
c
opy
(
nPos
+
1
)
);
sal_Int32
nCheckPos
;
short
nType
;
if
(
eNumLang
!=
LANGUAGE_SYSTEM
)
...
...
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