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
7a3bfca5
Kaydet (Commit)
7a3bfca5
authored
Kas 13, 2012
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Broadcast and re-paint when the XML import is complete.
Change-Id: I8bf7a3331a24d39ce327264cd43ccb5910ce1251
üst
78ac5e85
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
xmlsourcedlg.cxx
sc/source/ui/xmlsource/xmlsourcedlg.cxx
+12
-0
No files found.
sc/source/ui/xmlsource/xmlsourcedlg.cxx
Dosyayı görüntüle @
7a3bfca5
...
@@ -15,10 +15,12 @@
...
@@ -15,10 +15,12 @@
#include "orcusfilters.hxx"
#include "orcusfilters.hxx"
#include "filter.hxx"
#include "filter.hxx"
#include "reffact.hxx"
#include "reffact.hxx"
#include "tabvwsh.hxx"
#include "unotools/pathoptions.hxx"
#include "unotools/pathoptions.hxx"
#include "tools/urlobj.hxx"
#include "tools/urlobj.hxx"
#include "svtools/svlbitm.hxx"
#include "svtools/svlbitm.hxx"
#include "sfx2/objsh.hxx"
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/ui/dialogs/XFilePicker.hpp>
#include <com/sun/star/ui/dialogs/XFilePicker.hpp>
...
@@ -485,12 +487,22 @@ void ScXMLSourceDlg::OkPressed()
...
@@ -485,12 +487,22 @@ void ScXMLSourceDlg::OkPressed()
}
}
}
}
// Now do the import.
ScOrcusFilters
*
pOrcus
=
ScFormatFilter
::
Get
().
GetOrcusFilters
();
ScOrcusFilters
*
pOrcus
=
ScFormatFilter
::
Get
().
GetOrcusFilters
();
if
(
!
pOrcus
)
if
(
!
pOrcus
)
return
;
return
;
pOrcus
->
importXML
(
*
mpDoc
,
maSrcPath
,
aParam
);
pOrcus
->
importXML
(
*
mpDoc
,
maSrcPath
,
aParam
);
// Don't forget to broadcast the change.
SfxObjectShell
*
pShell
=
mpDoc
->
GetDocumentShell
();
pShell
->
Broadcast
(
SfxSimpleHint
(
FID_DATACHANGED
));
// Repaint the grid to force repaint the cell values.
ScTabViewShell
*
pViewShell
=
ScTabViewShell
::
GetActiveViewShell
();
if
(
pViewShell
)
pViewShell
->
PaintGrid
();
Close
();
Close
();
}
}
...
...
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