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
76f7bc12
Kaydet (Commit)
76f7bc12
authored
Agu 18, 2014
tarafından
Thomas Arnhold
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
InfoBox to String final
Change-Id: I42f97a12052f4a173b05173fdd2c3079c517f78e
üst
8807796e
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
22 additions
and
23 deletions
+22
-23
srcview.cxx
sw/source/uibase/uiview/srcview.cxx
+2
-1
uivwimp.cxx
sw/source/uibase/uiview/uivwimp.cxx
+2
-1
view.hrc
sw/source/uibase/uiview/view.hrc
+4
-7
view.src
sw/source/uibase/uiview/view.src
+8
-8
view2.cxx
sw/source/uibase/uiview/view2.cxx
+3
-2
viewprt.cxx
sw/source/uibase/uiview/viewprt.cxx
+3
-4
No files found.
sw/source/uibase/uiview/srcview.cxx
Dosyayı görüntüle @
76f7bc12
...
...
@@ -25,6 +25,7 @@
#include <comphelper/string.hxx>
#include <unotools/tempfile.hxx>
#include <tools/urlobj.hxx>
#include <vcl/layout.hxx>
#include <vcl/print.hxx>
#include <vcl/msgbox.hxx>
#include <vcl/wrkwin.hxx>
...
...
@@ -828,7 +829,7 @@ void SwSrcView::Load(SwDocShell* pDocShell)
else
{
Window
*
pTmpWindow
=
&
GetViewFrame
()
->
GetWindow
();
InfoBox
(
pTmpWindow
,
SW_RES
(
MSG_ERR_SRCSTREAM
)
).
Execute
();
MessageDialog
(
pTmpWindow
,
SW_RES
(
STR_ERR_SRCSTREAM
),
VCL_MESSAGE_INFO
).
Execute
();
}
}
else
...
...
sw/source/uibase/uiview/uivwimp.cxx
Dosyayı görüntüle @
76f7bc12
...
...
@@ -29,6 +29,7 @@
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <comphelper/processfactory.hxx>
#include <osl/mutex.hxx>
#include <vcl/layout.hxx>
#include <vcl/svapp.hxx>
#include <vcl/wrkwin.hxx>
#include <vcl/msgbox.hxx>
...
...
@@ -182,7 +183,7 @@ void SwView_Impl::ExecuteScan( SfxRequest& rReq )
if
(
!
bDone
)
{
InfoBox
(
0
,
SW_RES
(
MSG_SCAN_NOSOURCE
)
).
Execute
();
MessageDialog
(
0
,
SW_RES
(
STR_SCAN_NOSOURCE
),
VCL_MESSAGE_INFO
).
Execute
();
rReq
.
Ignore
();
}
else
...
...
sw/source/uibase/uiview/view.hrc
Dosyayı görüntüle @
76f7bc12
...
...
@@ -31,13 +31,13 @@
#define STR_EDIT_FOOTNOTE (RC_VIEW_BEGIN + 14)
#define STR_NB_REPLACED (RC_VIEW_BEGIN + 20)
#define
MSG
_SCAN_NOSOURCE (RC_VIEW_BEGIN + 21)
#define
STR
_SCAN_NOSOURCE (RC_VIEW_BEGIN + 21)
#define STR_SRCVIEW_ROW (RC_VIEW_BEGIN + 22)
#define STR_SRCVIEW_COL (RC_VIEW_BEGIN + 23)
#define STR_SAVEAS_SRC (RC_VIEW_BEGIN + 24)
#define
MSG
_NO_MERGE_ENTRY (RC_VIEW_BEGIN + 25)
#define
STR
_NO_MERGE_ENTRY (RC_VIEW_BEGIN + 25)
#define STR_PRINT_TITLE (RC_VIEW_BEGIN + 26)
#define STR_PRINT_MSG (RC_VIEW_BEGIN + 27)
...
...
@@ -51,11 +51,8 @@
#define STR_SAVEACOPY_SRC (RC_VIEW_BEGIN + 34)
#define STR_ERR_INSERT_GLOS (RC_VIEW_BEGIN + 35)
// MSG
#define MSG_ERR_NO_FAX (RC_VIEW_BEGIN + 5)
#define MSG_ERR_SRCSTREAM (RC_VIEW_BEGIN + 6)
#define STR_ERR_NO_FAX (RC_VIEW_BEGIN + 36)
#define STR_ERR_SRCSTREAM (RC_VIEW_BEGIN + 37)
// DLG
...
...
sw/source/uibase/uiview/view.src
Dosyayı görüntüle @
76f7bc12
...
...
@@ -32,21 +32,21 @@ QueryBox DLG_SPECIAL_FORCED
DEFBUTTON = WB_DEF_NO ;
Message [ en-US ] = "Check special regions is deactivated. Check anyway?" ;
};
InfoBox MSG
_NO_MERGE_ENTRY
String STR
_NO_MERGE_ENTRY
{
Message
[ en-US ] = "Could not merge documents." ;
Text
[ en-US ] = "Could not merge documents." ;
};
String STR_ERR_INSERT_GLOS
{
Text [ en-US ] = "AutoText could not be created." ;
};
InfoBox MSG
_ERR_SRCSTREAM
String STR
_ERR_SRCSTREAM
{
Message
[ en-US ] = "The source cannot be loaded." ;
Text
[ en-US ] = "The source cannot be loaded." ;
};
InfoBox MSG
_ERR_NO_FAX
String STR
_ERR_NO_FAX
{
Message
[ en-US ] = "No fax printer has been set under Tools/Options/%1/Print." ;
Text
[ en-US ] = "No fax printer has been set under Tools/Options/%1/Print." ;
};
String STR_WEBOPTIONS
{
...
...
@@ -56,9 +56,9 @@ String STR_TEXTOPTIONS
{
Text [ en-US ] = "Text document";
};
InfoBox MSG
_SCAN_NOSOURCE
String STR
_SCAN_NOSOURCE
{
Message
[ en-US ] = "Source not specified." ;
Text
[ en-US ] = "Source not specified." ;
};
String STR_NUM_LEVEL
{
...
...
sw/source/uibase/uiview/view2.cxx
Dosyayı görüntüle @
76f7bc12
...
...
@@ -57,6 +57,7 @@
#include <editeng/lrspitem.hxx>
#include <unotools/textsearch.hxx>
#include <editeng/unolingu.hxx>
#include <vcl/layout.hxx>
#include <vcl/msgbox.hxx>
#include <editeng/tstpitem.hxx>
#include <sfx2/event.hxx>
...
...
@@ -500,7 +501,7 @@ bool SwView::InsertGraphicDlg( SfxRequest& rReq )
{
if
(
bShowError
)
{
InfoBox
aInfoBox
(
GetWindow
(),
SW_RESSTR
(
nResId
)
);
MessageDialog
aInfoBox
(
GetWindow
(),
SW_RESSTR
(
nResId
),
VCL_MESSAGE_INFO
);
aInfoBox
.
Execute
();
}
rReq
.
Ignore
();
...
...
@@ -2265,7 +2266,7 @@ long SwView::InsertMedium( sal_uInt16 nSlotId, SfxMedium* pMedium, sal_Int16 nVe
if
(
!
bCompare
&&
!
nFound
)
{
Window
*
pWin
=
&
GetEditWin
();
InfoBox
(
pWin
,
SW_RES
(
MSG_NO_MERGE_ENTRY
)
).
Execute
();
MessageDialog
(
pWin
,
SW_RES
(
STR_NO_MERGE_ENTRY
),
VCL_MESSAGE_INFO
).
Execute
();
}
if
(
nRet
==
2
&&
xDocSh
.
Is
()
)
xDocSh
->
DoClose
();
...
...
sw/source/uibase/uiview/viewprt.cxx
Dosyayı görüntüle @
76f7bc12
...
...
@@ -23,6 +23,7 @@
#include <sfx2/request.hxx>
#include <sfx2/progress.hxx>
#include <sfx2/app.hxx>
#include <vcl/layout.hxx>
#include <vcl/msgbox.hxx>
#include <vcl/oldprintadaptor.hxx>
#include <sfx2/printer.hxx>
...
...
@@ -175,11 +176,9 @@ void SwView::ExecutePrint(SfxRequest& rReq)
}
else
{
InfoBox
aInfoBox
(
&
GetEditWin
(),
SW_RES
(
MSG_ERR_NO_FAX
));
OUString
sMsg
=
aInfoBox
.
GetMessText
();
MessageDialog
aInfoBox
(
&
GetEditWin
(),
SW_RES
(
STR_ERR_NO_FAX
),
VCL_MESSAGE_INFO
);
sal_uInt16
nResNo
=
bWeb
?
STR_WEBOPTIONS
:
STR_TEXTOPTIONS
;
sMsg
=
sMsg
.
replaceFirst
(
"%1"
,
OUString
(
SW_RES
(
nResNo
)));
aInfoBox
.
SetMessText
(
sMsg
);
aInfoBox
.
set_primary_text
(
aInfoBox
.
get_primary_text
().
replaceFirst
(
"%1"
,
OUString
(
SW_RES
(
nResNo
))));
aInfoBox
.
Execute
();
SfxUInt16Item
aDefPage
(
SID_SW_EDITOPTIONS
,
TP_OPTPRINT_PAGE
);
GetViewFrame
()
->
GetDispatcher
()
->
Execute
(
SID_SW_EDITOPTIONS
,
...
...
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