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
4159310a
Kaydet (Commit)
4159310a
authored
Eyl 05, 2013
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sc: fix exports of scqahelper library
Change-Id: I36d853e9f98ee5ed15d086f6b0fcec5bf3f6f54b
üst
5cfa3d91
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
11 deletions
+19
-11
Library_scqahelper.mk
sc/Library_scqahelper.mk
+1
-1
qahelper.hxx
sc/qa/unit/helper/qahelper.hxx
+18
-10
No files found.
sc/Library_scqahelper.mk
Dosyayı görüntüle @
4159310a
...
@@ -24,7 +24,7 @@ $(eval $(call gb_Library_use_externals,scqahelper, \
...
@@ -24,7 +24,7 @@ $(eval $(call gb_Library_use_externals,scqahelper, \
))
))
$(eval $(call gb_Library_add_defs,scqahelper,\
$(eval $(call gb_Library_add_defs,scqahelper,\
-DSC_DLLIMPLEMENTATION \
-DSC
QAHELPER
_DLLIMPLEMENTATION \
))
))
$(eval $(call gb_Library_use_sdk_api,scqahelper))
$(eval $(call gb_Library_use_sdk_api,scqahelper))
...
...
sc/qa/unit/helper/qahelper.hxx
Dosyayı görüntüle @
4159310a
...
@@ -29,6 +29,14 @@
...
@@ -29,6 +29,14 @@
#include <string>
#include <string>
#include <sstream>
#include <sstream>
#include "sal/types.h"
#if defined(SCQAHELPER_DLLIMPLEMENTATION)
#define SCQAHELPER_DLLPUBLIC SAL_DLLPUBLIC_EXPORT
#else
#define SCQAHELPER_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
#endif
#define ODS_FORMAT_TYPE 50331943
#define ODS_FORMAT_TYPE 50331943
#define XLS_FORMAT_TYPE 318767171
#define XLS_FORMAT_TYPE 318767171
#define XLSX_FORMAT_TYPE 268959811
#define XLSX_FORMAT_TYPE 268959811
...
@@ -49,7 +57,7 @@
...
@@ -49,7 +57,7 @@
enum
StringType
{
PureString
,
FormulaValue
,
StringValue
};
enum
StringType
{
PureString
,
FormulaValue
,
StringValue
};
SC_DLLPUBLIC
bool
testEqualsWithTolerance
(
long
nVal1
,
long
nVal2
,
long
nTol
);
SC
QAHELPER
_DLLPUBLIC
bool
testEqualsWithTolerance
(
long
nVal1
,
long
nVal2
,
long
nTol
);
#define CHECK_OPTIMAL 0x1
#define CHECK_OPTIMAL 0x1
...
@@ -95,25 +103,25 @@ std::ostream& operator<<(std::ostream& rStrm, const ScRangeList& rList);
...
@@ -95,25 +103,25 @@ std::ostream& operator<<(std::ostream& rStrm, const ScRangeList& rList);
// eventually perhaps iOS) special cases here, too)? Please move this to osl,
// eventually perhaps iOS) special cases here, too)? Please move this to osl,
// it sure looks gemerally useful. Or am I missing something?
// it sure looks gemerally useful. Or am I missing something?
SC_DLLPUBLIC
void
loadFile
(
const
OUString
&
aFileName
,
std
::
string
&
aContent
);
SC
QAHELPER
_DLLPUBLIC
void
loadFile
(
const
OUString
&
aFileName
,
std
::
string
&
aContent
);
SC_DLLPUBLIC
void
testFile
(
OUString
&
aFileName
,
ScDocument
*
pDoc
,
SCTAB
nTab
,
StringType
aStringFormat
=
StringValue
);
SC
QAHELPER
_DLLPUBLIC
void
testFile
(
OUString
&
aFileName
,
ScDocument
*
pDoc
,
SCTAB
nTab
,
StringType
aStringFormat
=
StringValue
);
//need own handler because conditional formatting strings must be generated
//need own handler because conditional formatting strings must be generated
SC_DLLPUBLIC
void
testCondFile
(
OUString
&
aFileName
,
ScDocument
*
pDoc
,
SCTAB
nTab
);
SC
QAHELPER
_DLLPUBLIC
void
testCondFile
(
OUString
&
aFileName
,
ScDocument
*
pDoc
,
SCTAB
nTab
);
SC_DLLPUBLIC
const
SdrOle2Obj
*
getSingleChartObject
(
ScDocument
&
rDoc
,
sal_uInt16
nPage
);
SC
QAHELPER
_DLLPUBLIC
const
SdrOle2Obj
*
getSingleChartObject
(
ScDocument
&
rDoc
,
sal_uInt16
nPage
);
SC_DLLPUBLIC
std
::
vector
<
OUString
>
getChartRangeRepresentations
(
const
SdrOle2Obj
&
rChartObj
);
SC
QAHELPER
_DLLPUBLIC
std
::
vector
<
OUString
>
getChartRangeRepresentations
(
const
SdrOle2Obj
&
rChartObj
);
SC_DLLPUBLIC
ScRangeList
getChartRanges
(
ScDocument
&
rDoc
,
const
SdrOle2Obj
&
rChartObj
);
SC
QAHELPER
_DLLPUBLIC
ScRangeList
getChartRanges
(
ScDocument
&
rDoc
,
const
SdrOle2Obj
&
rChartObj
);
SC_DLLPUBLIC
bool
checkFormula
(
ScDocument
&
rDoc
,
const
ScAddress
&
rPos
,
const
char
*
pExpected
);
SC
QAHELPER
_DLLPUBLIC
bool
checkFormula
(
ScDocument
&
rDoc
,
const
ScAddress
&
rPos
,
const
char
*
pExpected
);
/**
/**
* Convert formula token array to a formula string.
* Convert formula token array to a formula string.
*/
*/
SC_DLLPUBLIC
OUString
toString
(
SC
QAHELPER
_DLLPUBLIC
OUString
toString
(
ScDocument
&
rDoc
,
const
ScAddress
&
rPos
,
ScTokenArray
&
rArray
,
ScDocument
&
rDoc
,
const
ScAddress
&
rPos
,
ScTokenArray
&
rArray
,
formula
::
FormulaGrammar
::
Grammar
eGram
=
formula
::
FormulaGrammar
::
GRAM_NATIVE
);
formula
::
FormulaGrammar
::
Grammar
eGram
=
formula
::
FormulaGrammar
::
GRAM_NATIVE
);
...
@@ -150,7 +158,7 @@ struct assertion_traits<ScRange>
...
@@ -150,7 +158,7 @@ struct assertion_traits<ScRange>
class
ScDocShellRef
;
class
ScDocShellRef
;
class
ScDocShell
;
class
ScDocShell
;
class
SC_DLLPUBLIC
ScBootstrapFixture
:
public
test
::
BootstrapFixture
class
SC
QAHELPER
_DLLPUBLIC
ScBootstrapFixture
:
public
test
::
BootstrapFixture
{
{
protected
:
protected
:
OUString
m_aBaseString
;
OUString
m_aBaseString
;
...
...
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