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
158b5076
Kaydet (Commit)
158b5076
authored
May 19, 2015
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
use XL_A1 as ref string syntax for excel produced documents
Change-Id: Ieed3521674ef713d9c09313cd41d1edd6ba3dcc5
üst
c43a25a7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
1 deletion
+21
-1
document.hxx
sc/inc/document.hxx
+1
-1
workbookhelper.cxx
sc/source/filter/oox/workbookhelper.cxx
+20
-0
No files found.
sc/inc/document.hxx
Dosyayı görüntüle @
158b5076
...
...
@@ -2160,7 +2160,7 @@ public:
SC_DLLPUBLIC
void
DumpAreaBroadcasters
()
const
;
#endif
void
SetCalcConfig
(
const
ScCalcConfig
&
rConfig
);
SC_DLLPUBLIC
void
SetCalcConfig
(
const
ScCalcConfig
&
rConfig
);
const
ScCalcConfig
&
GetCalcConfig
()
const
{
return
maCalcConfig
;
}
void
ConvertFormulaToValue
(
const
ScRange
&
rRange
,
sc
::
TableValues
*
pUndo
);
...
...
sc/source/filter/oox/workbookhelper.cxx
Dosyayı görüntüle @
158b5076
...
...
@@ -34,6 +34,8 @@
#include <com/sun/star/style/XStyleFamiliesSupplier.hpp>
#include <com/sun/star/table/CellAddress.hpp>
#include <com/sun/star/container/XNamed.hpp>
#include <com/sun/star/document/XDocumentProperties.hpp>
#include <com/sun/star/document/XDocumentPropertiesSupplier.hpp>
#include <osl/thread.h>
#include <oox/helper/progressbar.hxx>
#include <oox/helper/propertyset.hxx>
...
...
@@ -521,6 +523,18 @@ void WorkbookGlobals::useInternalChartDataTable( bool bInternal )
// private --------------------------------------------------------------------
namespace
{
formula
::
FormulaGrammar
::
AddressConvention
getConvention
(
css
::
uno
::
Reference
<
XDocumentProperties
>
xDocProps
)
{
if
(
xDocProps
->
getGenerator
().
startsWithIgnoreAsciiCase
(
"Microsoft"
))
return
formula
::
FormulaGrammar
::
CONV_XL_A1
;
return
formula
::
FormulaGrammar
::
CONV_OOO
;
}
}
void
WorkbookGlobals
::
initialize
(
bool
bWorkbookFile
)
{
maCellStyles
=
"CellStyles"
;
...
...
@@ -548,6 +562,12 @@ void WorkbookGlobals::initialize( bool bWorkbookFile )
if
(
!
mpDoc
)
throw
RuntimeException
(
"Workbookhelper::getScDocument(): Failed to access ScDocument from model"
);
Reference
<
XDocumentPropertiesSupplier
>
xPropSupplier
(
mxDoc
,
UNO_QUERY
);
Reference
<
XDocumentProperties
>
xDocProps
=
xPropSupplier
->
getDocumentProperties
();
ScCalcConfig
aCalcConfig
=
mpDoc
->
GetCalcConfig
();
aCalcConfig
.
meStringRefAddressSyntax
=
getConvention
(
xDocProps
);
mpDoc
->
SetCalcConfig
(
aCalcConfig
);
mxDocImport
.
reset
(
new
ScDocumentImport
(
*
mpDoc
));
mxFormulaBuffer
.
reset
(
new
FormulaBuffer
(
*
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