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
10461da7
Kaydet (Commit)
10461da7
authored
Şub 08, 2013
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Removal of more obsolete stuff...
Change-Id: Idad9121270ae89c504577f4e8d70ca4c4ed2e64b
üst
821521f7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
58 deletions
+1
-58
xmlcelli.cxx
sc/source/filter/xml/xmlcelli.cxx
+1
-56
xmlcelli.hxx
sc/source/filter/xml/xmlcelli.hxx
+0
-2
No files found.
sc/source/filter/xml/xmlcelli.cxx
Dosyayı görüntüle @
10461da7
...
@@ -120,7 +120,6 @@ ScXMLTableRowCellContext::ScXMLTableRowCellContext( ScXMLImport& rImport,
...
@@ -120,7 +120,6 @@ ScXMLTableRowCellContext::ScXMLTableRowCellContext( ScXMLImport& rImport,
bIsMatrix
(
false
),
bIsMatrix
(
false
),
bIsCovered
(
bTempIsCovered
),
bIsCovered
(
bTempIsCovered
),
bIsEmpty
(
true
),
bIsEmpty
(
true
),
bHasTextImport
(
false
),
bIsFirstTextImport
(
false
),
bIsFirstTextImport
(
false
),
bSolarMutexLocked
(
false
),
bSolarMutexLocked
(
false
),
bFormulaTextResult
(
false
),
bFormulaTextResult
(
false
),
...
@@ -306,42 +305,6 @@ void ScXMLTableRowCellContext::PushParagraph(const OUString& rPara)
...
@@ -306,42 +305,6 @@ void ScXMLTableRowCellContext::PushParagraph(const OUString& rPara)
maParagraphs
.
push_back
(
rPara
);
maParagraphs
.
push_back
(
rPara
);
}
}
void
ScXMLTableRowCellContext
::
SetCursorOnTextImport
(
const
rtl
::
OUString
&
rOUTempText
)
{
ScAddress
aCellPos
=
rXMLImport
.
GetTables
().
GetCurrentCellPos
();
if
(
cellExists
(
aCellPos
))
{
sal_Int32
nCol
=
static_cast
<
sal_Int32
>
(
aCellPos
.
Col
()
);
sal_Int32
nRow
=
static_cast
<
sal_Int32
>
(
aCellPos
.
Row
()
);
uno
::
Reference
<
table
::
XCellRange
>
xCellRange
(
rXMLImport
.
GetTables
().
GetCurrentXCellRange
());
if
(
xCellRange
.
is
())
{
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
table
::
XCell
>
xBaseCell
(
xCellRange
->
getCellByPosition
(
nCol
,
nRow
)
);
if
(
xBaseCell
.
is
())
{
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
document
::
XActionLockable
>
xLockable
(
xBaseCell
,
uno
::
UNO_QUERY
);
if
(
xLockable
.
is
())
xLockable
->
addActionLock
();
uno
::
Reference
<
text
::
XText
>
xText
(
xBaseCell
,
uno
::
UNO_QUERY
);
if
(
xText
.
is
())
{
uno
::
Reference
<
text
::
XTextCursor
>
xTextCursor
(
xText
->
createTextCursor
());
if
(
xTextCursor
.
is
())
{
xTextCursor
->
setString
(
rOUTempText
);
xTextCursor
->
gotoEnd
(
false
);
rXMLImport
.
GetTextImport
()
->
SetCursor
(
xTextCursor
);
}
}
}
}
}
else
{
OSL_FAIL
(
"this method should only be called for a existing cell"
);
}
}
SvXMLImportContext
*
ScXMLTableRowCellContext
::
CreateChildContext
(
sal_uInt16
nPrefix
,
SvXMLImportContext
*
ScXMLTableRowCellContext
::
CreateChildContext
(
sal_uInt16
nPrefix
,
const
::
rtl
::
OUString
&
rLName
,
const
::
rtl
::
OUString
&
rLName
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
const
::
com
::
sun
::
star
::
uno
::
Reference
<
...
@@ -777,7 +740,7 @@ void ScXMLTableRowCellContext::PutTextCell( const ScAddress& rCurrentPos,
...
@@ -777,7 +740,7 @@ void ScXMLTableRowCellContext::PutTextCell( const ScAddress& rCurrentPos,
// so ProgressBarIncrement must be called with bEditCell = FALSE.
// so ProgressBarIncrement must be called with bEditCell = FALSE.
// Formatted text that is put into the cell by the child context
// Formatted text that is put into the cell by the child context
// is handled in AddCellsToTable() (bIsEmpty is true then).
// is handled in AddCellsToTable() (bIsEmpty is true then).
if
(
bDoIncrement
||
bHasTextImport
)
if
(
bDoIncrement
)
rXMLImport
.
ProgressBarIncrement
(
false
);
rXMLImport
.
ProgressBarIncrement
(
false
);
}
}
...
@@ -901,11 +864,6 @@ void ScXMLTableRowCellContext::AddTextAndValueCells( const ScAddress& rCellPos,
...
@@ -901,11 +864,6 @@ void ScXMLTableRowCellContext::AddTextAndValueCells( const ScAddress& rCellPos,
}
}
else
else
{
{
// #i56027# If the child context put formatted text into the cell,
// bIsEmpty is true and ProgressBarIncrement has to be called
// with bEditCell = TRUE.
if
(
bHasTextImport
)
rXMLImport
.
ProgressBarIncrement
(
true
);
if
((
i
==
0
)
&&
(
rCellPos
.
Col
()
==
0
))
if
((
i
==
0
)
&&
(
rCellPos
.
Col
()
==
0
))
{
{
for
(
sal_Int32
j
=
1
;
j
<
nRepeatedRows
;
++
j
)
for
(
sal_Int32
j
=
1
;
j
<
nRepeatedRows
;
++
j
)
...
@@ -1144,19 +1102,6 @@ bool ScXMLTableRowCellContext::IsPossibleErrorString() const
...
@@ -1144,19 +1102,6 @@ bool ScXMLTableRowCellContext::IsPossibleErrorString() const
void
ScXMLTableRowCellContext
::
EndElement
()
void
ScXMLTableRowCellContext
::
EndElement
()
{
{
if
(
bHasTextImport
&&
rXMLImport
.
GetRemoveLastChar
()
)
{
UniReference
<
XMLTextImportHelper
>
aTextImport
=
rXMLImport
.
GetTextImport
();
if
(
aTextImport
->
GetCursor
().
is
()
)
{
if
(
aTextImport
->
GetCursor
()
->
goLeft
(
1
,
true
)
)
{
aTextImport
->
GetText
()
->
insertString
(
aTextImport
->
GetCursorAsRange
(),
rtl
::
OUString
(),
true
);
}
aTextImport
->
ResetCursor
();
}
}
HasSpecialCaseFormulaText
();
HasSpecialCaseFormulaText
();
if
(
bFormulaTextResult
&&
(
mbPossibleErrorCell
||
mbCheckWithCompilerForError
)
)
if
(
bFormulaTextResult
&&
(
mbPossibleErrorCell
||
mbCheckWithCompilerForError
)
)
{
{
...
...
sc/source/filter/xml/xmlcelli.hxx
Dosyayı görüntüle @
10461da7
...
@@ -55,7 +55,6 @@ class ScXMLTableRowCellContext : public SvXMLImportContext
...
@@ -55,7 +55,6 @@ class ScXMLTableRowCellContext : public SvXMLImportContext
bool
bIsMatrix
;
bool
bIsMatrix
;
bool
bIsCovered
;
bool
bIsCovered
;
bool
bIsEmpty
;
bool
bIsEmpty
;
bool
bHasTextImport
;
bool
bIsFirstTextImport
;
bool
bIsFirstTextImport
;
bool
bSolarMutexLocked
;
bool
bSolarMutexLocked
;
bool
bFormulaTextResult
;
bool
bFormulaTextResult
;
...
@@ -108,7 +107,6 @@ public:
...
@@ -108,7 +107,6 @@ public:
::
com
::
sun
::
star
::
xml
::
sax
::
XAttributeList
>&
xAttrList
);
::
com
::
sun
::
star
::
xml
::
sax
::
XAttributeList
>&
xAttrList
);
void
PushParagraph
(
const
OUString
&
rPara
);
void
PushParagraph
(
const
OUString
&
rPara
);
void
SetCursorOnTextImport
(
const
rtl
::
OUString
&
rOUTempText
);
void
SetAnnotation
(
const
ScAddress
&
rPosition
);
void
SetAnnotation
(
const
ScAddress
&
rPosition
);
void
SetDetectiveObj
(
const
ScAddress
&
rPosition
);
void
SetDetectiveObj
(
const
ScAddress
&
rPosition
);
...
...
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