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
a80bfcb3
Kaydet (Commit)
a80bfcb3
authored
Haz 27, 2016
tarafından
Katarina Behrens
Kaydeden (comit)
Thorsten Behrens
Agu 18, 2016
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
screenshots: open more sc modal dialogs, part 2
Change-Id: Ia5a1bbc00acff10405aa5205b9fd5a930deb5fc9
üst
495224ac
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
2 deletions
+32
-2
screenshots.cxx
sc/qa/unit/screenshots/screenshots.cxx
+28
-0
protectiondlg.hxx
sc/source/ui/inc/protectiondlg.hxx
+3
-1
sharedocdlg.hxx
sc/source/ui/inc/sharedocdlg.hxx
+1
-1
No files found.
sc/qa/unit/screenshots/screenshots.cxx
Dosyayı görüntüle @
a80bfcb3
...
@@ -27,13 +27,17 @@
...
@@ -27,13 +27,17 @@
#include <tabvwsh.hxx>
#include <tabvwsh.hxx>
#include <docsh.hxx>
#include <docsh.hxx>
#include <document.hxx>
#include <document.hxx>
#include <sharedocdlg.hxx>
#include <protectiondlg.hxx>
#include <docuno.hxx>
#include <docuno.hxx>
#include <scabstdlg.hxx>
#include <scabstdlg.hxx>
#include <reffact.hxx>
#include <reffact.hxx>
#include <scui_def.hxx>
#include <scui_def.hxx>
#include <impex.hxx>
#include <sc.hrc>
#include <sc.hrc>
#include <scresid.hxx>
#include <scresid.hxx>
#include <scitems.hxx>
using
namespace
css
;
using
namespace
css
;
...
@@ -201,6 +205,30 @@ void ScScreenshotTest::testOpeningSomeDialog()
...
@@ -201,6 +205,30 @@ void ScScreenshotTest::testOpeningSomeDialog()
CPPUNIT_ASSERT
(
pDlg12
!=
nullptr
);
CPPUNIT_ASSERT
(
pDlg12
!=
nullptr
);
pDlg12
->
Execute
();
pDlg12
->
Execute
();
const
OUString
aCsv
(
"some, strings, here, separated, by, commas"
);
ScImportStringStream
aStream
(
aCsv
);
std
::
unique_ptr
<
AbstractScImportAsciiDlg
>
pDlg13
(
pFact
->
CreateScImportAsciiDlg
(
OUString
(),
&
aStream
,
SC_PASTETEXT
));
CPPUNIT_ASSERT
(
pDlg13
!=
nullptr
);
pDlg13
->
Execute
();
ScopedVclPtrInstance
<
ScShareDocumentDlg
>
pDlg14
(
pViewShell
->
GetDialogParent
(),
&
rViewData
);
CPPUNIT_ASSERT
(
pDlg14
!=
nullptr
);
pDlg14
->
Execute
();
std
::
unique_ptr
<
AbstractScMoveTableDlg
>
pDlg15
(
pFact
->
CreateScMoveTableDlg
(
pViewShell
->
GetDialogParent
(),
aDefaultSheetName
));
CPPUNIT_ASSERT
(
pDlg15
!=
nullptr
);
pDlg15
->
Execute
();
ScopedVclPtrInstance
<
ScTableProtectionDlg
>
pDlg16
(
pViewShell
->
GetDialogParent
());
CPPUNIT_ASSERT
(
pDlg16
!=
nullptr
);
pDlg16
->
Execute
();
}
}
#endif
#endif
...
...
sc/source/ui/inc/protectiondlg.hxx
Dosyayı görüntüle @
a80bfcb3
...
@@ -27,6 +27,8 @@
...
@@ -27,6 +27,8 @@
#include <vcl/layout.hxx>
#include <vcl/layout.hxx>
#include <svx/checklbx.hxx>
#include <svx/checklbx.hxx>
#include "scdllapi.h"
namespace
vcl
{
class
Window
;
}
namespace
vcl
{
class
Window
;
}
class
ScTableProtection
;
class
ScTableProtection
;
...
@@ -34,7 +36,7 @@ class ScTableProtectionDlg : public ModalDialog
...
@@ -34,7 +36,7 @@ class ScTableProtectionDlg : public ModalDialog
{
{
public
:
public
:
ScTableProtectionDlg
()
=
delete
;
ScTableProtectionDlg
()
=
delete
;
explicit
ScTableProtectionDlg
(
vcl
::
Window
*
pParent
);
explicit
S
C_DLLPUBLIC
S
cTableProtectionDlg
(
vcl
::
Window
*
pParent
);
virtual
~
ScTableProtectionDlg
();
virtual
~
ScTableProtectionDlg
();
virtual
void
dispose
()
override
;
virtual
void
dispose
()
override
;
...
...
sc/source/ui/inc/sharedocdlg.hxx
Dosyayı görüntüle @
a80bfcb3
...
@@ -47,7 +47,7 @@ private:
...
@@ -47,7 +47,7 @@ private:
DECL_LINK_TYPED
(
ToggleHandle
,
CheckBox
&
,
void
);
DECL_LINK_TYPED
(
ToggleHandle
,
CheckBox
&
,
void
);
public
:
public
:
ScShareDocumentDlg
(
vcl
::
Window
*
pParent
,
ScViewData
*
pViewData
);
SC_DLLPUBLIC
ScShareDocumentDlg
(
vcl
::
Window
*
pParent
,
ScViewData
*
pViewData
);
virtual
~
ScShareDocumentDlg
();
virtual
~
ScShareDocumentDlg
();
virtual
void
dispose
()
override
;
virtual
void
dispose
()
override
;
...
...
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