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
27ad211c
Kaydet (Commit)
27ad211c
authored
Şub 11, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert show changes dialog to .ui
Change-Id: I29397e454e30bff98644f0c9e0f3a8e00547af1b
üst
91f509fd
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
340 additions
and
257 deletions
+340
-257
AllLangResTarget_sc.mk
sc/AllLangResTarget_sc.mk
+0
-1
UIConfig_scalc.mk
sc/UIConfig_scalc.mk
+1
-0
sc.hrc
sc/inc/sc.hrc
+0
-1
highred.hrc
sc/source/ui/inc/highred.hrc
+0
-46
highred.hxx
sc/source/ui/inc/highred.hxx
+7
-13
highred.cxx
sc/source/ui/miscdlgs/highred.cxx
+81
-95
highred.src
sc/source/ui/miscdlgs/highred.src
+0
-101
showchangesdialog.ui
sc/uiconfig/scalc/ui/showchangesdialog.ui
+251
-0
No files found.
sc/AllLangResTarget_sc.mk
Dosyayı görüntüle @
27ad211c
...
...
@@ -57,7 +57,6 @@ $(eval $(call gb_SrsTarget_add_files,sc/res,\
sc/source/ui/drawfunc/drformsh.src \
sc/source/ui/drawfunc/objdraw.src \
sc/source/ui/miscdlgs/retypepassdlg.src \
sc/source/ui/miscdlgs/highred.src \
sc/source/ui/miscdlgs/conflictsdlg.src \
sc/source/ui/miscdlgs/acredlin.src \
sc/source/ui/formdlg/dwfunctr.src \
...
...
sc/UIConfig_scalc.mk
Dosyayı görüntüle @
27ad211c
...
...
@@ -143,6 +143,7 @@ $(eval $(call gb_UIConfig_add_uifiles,modules/scalc,\
sc/uiconfig/scalc/ui/sharedocumentdlg \
sc/uiconfig/scalc/ui/sharedfooterdialog \
sc/uiconfig/scalc/ui/sharedheaderdialog \
sc/uiconfig/scalc/ui/showchangesdialog \
sc/uiconfig/scalc/ui/showsheetdialog \
sc/uiconfig/scalc/ui/sidebaralignment \
sc/uiconfig/scalc/ui/sidebarnumberformat \
...
...
sc/inc/sc.hrc
Dosyayı görüntüle @
27ad211c
...
...
@@ -1063,7 +1063,6 @@
#define RID_NAVIPI_SCENARIO_DELETE (SC_DIALOGS_START + 121)
#define RID_NAVIPI_SCENARIO_EDIT (SC_DIALOGS_START + 122)
#define RID_SCDLG_HIGHLIGHT_CHANGES (SC_DIALOGS_START + 123)
#define RID_SCPAGE_OPREDLINE (SC_DIALOGS_START + 124)
#define WID_SIMPLE_REF (SC_DIALOGS_START + 126)
...
...
sc/source/ui/inc/highred.hrc
deleted
100644 → 0
Dosyayı görüntüle @
91f509fd
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include "sc.hrc"
#define BTN_OK 1
#define BTN_CANCEL 2
#define BTN_HELP 5
#define CB_HIGHLIGHT_ACCEPT 6
#define CB_HIGHLIGHT_REJECT 7
#define FL_FILTER 10
#define CB_HIGHLIGHT 13
#define FT_ASSIGN 14
#define ED_ASSIGN 15
#define RB_ASSIGN 16
#define STR_INSERT_COLS 20
#define STR_INSERT_ROWS 21
#define STR_INSERT_TABS 22
#define STR_DELETE_COLS 23
#define STR_DELETE_ROWS 24
#define STR_DELETE_TABS 25
#define STR_MOVE 26
#define STR_CONTENT 27
#define STR_REJECT 28
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sc/source/ui/inc/highred.hxx
Dosyayı görüntüle @
27ad211c
...
...
@@ -53,25 +53,19 @@ class ScDocument;
class
ScHighlightChgDlg
:
public
ScAnyRefDlg
{
private
:
CheckBox
*
m_pHighlightBox
;
SvxTPFilter
*
m_pFilterCtr
;
CheckBox
*
m_pCbAccept
;
CheckBox
*
m_pCbReject
;
OKButton
*
m_pOkButton
;
CheckBox
aHighlightBox
;
FixedLine
aFlFilter
;
SvxTPFilter
aFilterCtr
;
CheckBox
aCbAccept
;
CheckBox
aCbReject
;
OKButton
aOkButton
;
CancelButton
aCancelButton
;
HelpButton
aHelpButton
;
formula
::
RefEdit
aEdAssign
;
formula
::
RefButton
aRbAssign
;
formula
::
RefEdit
*
m_pEdAssign
;
formula
::
RefButton
*
m_pRbAssign
;
ScViewData
*
pViewData
;
ScDocument
*
pDoc
;
ScRangeName
aLocalRangeName
;
Selection
theCurSel
;
Size
MinSize
;
ScRangeList
aRangeList
;
ScChangeViewSettings
aChangeViewSet
;
...
...
sc/source/ui/miscdlgs/highred.cxx
Dosyayı görüntüle @
27ad211c
...
...
@@ -23,7 +23,6 @@
#include "docsh.hxx"
#include "scresid.hxx"
#include "globstr.hrc"
#include "highred.hrc"
#include "highred.hxx"
#include <vcl/msgbox.hxx>
...
...
@@ -43,50 +42,37 @@
//----------------------------------------------------------------------------
ScHighlightChgDlg
::
ScHighlightChgDlg
(
SfxBindings
*
pB
,
SfxChildWindow
*
pCW
,
Window
*
pParent
,
ScViewData
*
ptrViewData
)
:
ScAnyRefDlg
(
pB
,
pCW
,
pParent
,
RID_SCDLG_HIGHLIGHT_CHANGES
),
//
aHighlightBox
(
this
,
ScResId
(
CB_HIGHLIGHT
)),
aFlFilter
(
this
,
ScResId
(
FL_FILTER
)),
aFilterCtr
(
this
),
aCbAccept
(
this
,
ScResId
(
CB_HIGHLIGHT_ACCEPT
)),
aCbReject
(
this
,
ScResId
(
CB_HIGHLIGHT_REJECT
)),
aOkButton
(
this
,
ScResId
(
BTN_OK
)
),
aCancelButton
(
this
,
ScResId
(
BTN_CANCEL
)
),
aHelpButton
(
this
,
ScResId
(
BTN_HELP
)
),
aEdAssign
(
this
,
this
,
NULL
,
ScResId
(
ED_ASSIGN
)
),
aRbAssign
(
this
,
ScResId
(
RB_ASSIGN
),
&
aEdAssign
,
this
),
//
pViewData
(
ptrViewData
),
pDoc
(
ptrViewData
->
GetDocument
()
),
aLocalRangeName
(
*
(
pDoc
->
GetRangeName
())
)
:
ScAnyRefDlg
(
pB
,
pCW
,
pParent
,
"ShowChangesDialog"
,
"modules/scalc/ui/showchangesdialog.ui"
)
,
pViewData
(
ptrViewData
)
,
pDoc
(
ptrViewData
->
GetDocument
())
,
aLocalRangeName
(
*
(
pDoc
->
GetRangeName
()))
{
FreeResource
(
);
aFilterCtr
.
HideRange
(
false
);
Size
aCtrSize
(
LogicToPixel
(
Size
(
261
,
86
),
MAP_APPFONT
)
);
aFilterCtr
.
SetSizePixel
(
aCtrSize
);
Point
aFlFilterPt
(
aFlFilter
.
GetPosPixel
()
);
aFlFilterPt
.
Y
()
+=
aFlFilter
.
GetSizePixel
().
Height
(
);
aFilterCtr
.
SetPosPixel
(
aFlFilterPt
);
MinSize
=
aFilterCtr
.
GetSizePixel
(
);
MinSize
.
Height
()
+=
2
;
MinSize
.
Width
()
+=
2
;
aOkButton
.
SetClickHdl
(
LINK
(
this
,
ScHighlightChgDlg
,
OKBtnHdl
));
aHighlightBox
.
SetClickHdl
(
LINK
(
this
,
ScHighlightChgDlg
,
Highlight
Handle
));
aFilterCtr
.
SetRefHdl
(
LINK
(
this
,
ScHighlightChgDlg
,
RefHandle
)
);
aFilterCtr
.
Show
();
m_pFilterCtr
=
new
SvxTPFilter
(
get
<
VclContainer
>
(
"box"
)
);
get
(
m_pHighlightBox
,
"showchanges"
);
get
(
m_pCbAccept
,
"showaccepted"
);
get
(
m_pCbReject
,
"showrejected"
);
get
(
m_pEdAssign
,
"range"
);
m_pEdAssign
->
SetReferences
(
this
,
m_pFilterCtr
->
get
<
Window
>
(
"range"
));
m_pEdAssign
->
SetSizePixel
(
m_pEdAssign
->
get_preferred_size
()
);
get
(
m_pRbAssign
,
"rangeref"
);
m_pRbAssign
->
SetReferences
(
this
,
m_pEdAssign
);
get
(
m_pOkButton
,
"ok"
);
m_pOkButton
->
SetClickHdl
(
LINK
(
this
,
ScHighlightChgDlg
,
OKBtnHdl
))
;
m_pHighlightBox
->
SetClickHdl
(
LINK
(
this
,
ScHighlightChgDlg
,
HighlightHandle
));
m_pFilterCtr
->
SetRefHdl
(
LINK
(
this
,
ScHighlightChgDlg
,
Ref
Handle
));
m_pFilterCtr
->
HideRange
(
false
);
m_pFilterCtr
->
Show
();
SetDispatcherLock
(
true
);
Init
();
aFilterCtr
.
SetAccessibleRelationMemberOf
(
&
aFlFilter
);
}
ScHighlightChgDlg
::~
ScHighlightChgDlg
()
{
SetDispatcherLock
(
false
);
delete
m_pFilterCtr
;
}
void
ScHighlightChgDlg
::
Init
()
...
...
@@ -99,11 +85,11 @@ void ScHighlightChgDlg::Init()
if
(
pChanges
!=
NULL
)
{
aChangeViewSet
.
SetTheAuthorToShow
(
pChanges
->
GetUser
());
aFilterCtr
.
ClearAuthors
();
m_pFilterCtr
->
ClearAuthors
();
const
std
::
set
<
OUString
>&
rUserColl
=
pChanges
->
GetUserCollection
();
std
::
set
<
OUString
>::
const_iterator
it
=
rUserColl
.
begin
(),
itEnd
=
rUserColl
.
end
();
for
(;
it
!=
itEnd
;
++
it
)
aFilterCtr
.
InsertAuthor
(
*
it
);
m_pFilterCtr
->
InsertAuthor
(
*
it
);
}
...
...
@@ -111,40 +97,40 @@ void ScHighlightChgDlg::Init()
if
(
pViewSettings
!=
NULL
)
aChangeViewSet
=*
pViewSettings
;
aHighlightBox
.
Check
(
aChangeViewSet
.
ShowChanges
());
aFilterCtr
.
CheckDate
(
aChangeViewSet
.
HasDate
());
aFilterCtr
.
SetFirstDate
(
aChangeViewSet
.
GetTheFirstDateTime
());
aFilterCtr
.
SetFirstTime
(
aChangeViewSet
.
GetTheFirstDateTime
());
aFilterCtr
.
SetLastDate
(
aChangeViewSet
.
GetTheLastDateTime
());
aFilterCtr
.
SetLastTime
(
aChangeViewSet
.
GetTheLastDateTime
());
aFilterCtr
.
SetDateMode
((
sal_uInt16
)
aChangeViewSet
.
GetTheDateMode
());
aFilterCtr
.
CheckAuthor
(
aChangeViewSet
.
HasAuthor
());
aFilterCtr
.
CheckComment
(
aChangeViewSet
.
HasComment
());
aFilterCtr
.
SetComment
(
aChangeViewSet
.
GetTheComment
());
aCbAccept
.
Check
(
aChangeViewSet
.
IsShowAccepted
());
aCbReject
.
Check
(
aChangeViewSet
.
IsShowRejected
());
m_pHighlightBox
->
Check
(
aChangeViewSet
.
ShowChanges
());
m_pFilterCtr
->
CheckDate
(
aChangeViewSet
.
HasDate
());
m_pFilterCtr
->
SetFirstDate
(
aChangeViewSet
.
GetTheFirstDateTime
());
m_pFilterCtr
->
SetFirstTime
(
aChangeViewSet
.
GetTheFirstDateTime
());
m_pFilterCtr
->
SetLastDate
(
aChangeViewSet
.
GetTheLastDateTime
());
m_pFilterCtr
->
SetLastTime
(
aChangeViewSet
.
GetTheLastDateTime
());
m_pFilterCtr
->
SetDateMode
((
sal_uInt16
)
aChangeViewSet
.
GetTheDateMode
());
m_pFilterCtr
->
CheckAuthor
(
aChangeViewSet
.
HasAuthor
());
m_pFilterCtr
->
CheckComment
(
aChangeViewSet
.
HasComment
());
m_pFilterCtr
->
SetComment
(
aChangeViewSet
.
GetTheComment
());
m_pCbAccept
->
Check
(
aChangeViewSet
.
IsShowAccepted
());
m_pCbReject
->
Check
(
aChangeViewSet
.
IsShowRejected
());
OUString
aString
=
aChangeViewSet
.
GetTheAuthorToShow
();
if
(
!
aString
.
isEmpty
())
{
aFilterCtr
.
SelectAuthor
(
aString
);
m_pFilterCtr
->
SelectAuthor
(
aString
);
}
else
{
aFilterCtr
.
SelectedAuthorPos
(
0
);
m_pFilterCtr
->
SelectedAuthorPos
(
0
);
}
aFilterCtr
.
CheckRange
(
aChangeViewSet
.
HasRange
());
m_pFilterCtr
->
CheckRange
(
aChangeViewSet
.
HasRange
());
if
(
!
aChangeViewSet
.
GetTheRangeList
().
empty
()
)
{
const
ScRange
*
pRangeEntry
=
aChangeViewSet
.
GetTheRangeList
().
front
();
OUString
aRefStr
(
pRangeEntry
->
Format
(
ABS_DREF3D
,
pDoc
));
aFilterCtr
.
SetRange
(
aRefStr
);
m_pFilterCtr
->
SetRange
(
aRefStr
);
}
aFilterCtr
.
Enable
(
true
,
true
);
HighlightHandle
(
&
a
HighlightBox
);
m_pFilterCtr
->
Enable
(
true
,
true
);
HighlightHandle
(
m_p
HighlightBox
);
}
//----------------------------------------------------------------------------
...
...
@@ -153,13 +139,13 @@ void ScHighlightChgDlg::Init()
void
ScHighlightChgDlg
::
SetReference
(
const
ScRange
&
rRef
,
ScDocument
*
pDocP
)
{
if
(
aEdAssign
.
IsVisible
()
)
if
(
m_pEdAssign
->
IsVisible
()
)
{
if
(
rRef
.
aStart
!=
rRef
.
aEnd
)
RefInputStart
(
&
a
EdAssign
);
RefInputStart
(
m_p
EdAssign
);
OUString
aRefStr
(
rRef
.
Format
(
ABS_DREF3D
,
pDocP
,
pDocP
->
GetAddressConvention
()));
aEdAssign
.
SetRefString
(
aRefStr
);
aFilterCtr
.
SetRange
(
aRefStr
);
m_pEdAssign
->
SetRefString
(
aRefStr
);
m_pFilterCtr
->
SetRange
(
aRefStr
);
}
}
...
...
@@ -172,12 +158,12 @@ sal_Bool ScHighlightChgDlg::Close()
void
ScHighlightChgDlg
::
RefInputDone
(
sal_Bool
bForced
)
{
ScAnyRefDlg
::
RefInputDone
(
bForced
);
if
(
bForced
||
!
aRbAssign
.
IsVisible
())
if
(
bForced
||
!
m_pRbAssign
->
IsVisible
())
{
aFilterCtr
.
SetRange
(
aEdAssign
.
GetText
());
aFilterCtr
.
SetFocusToRange
();
aEdAssign
.
Hide
();
aRbAssign
.
Hide
();
m_pFilterCtr
->
SetRange
(
m_pEdAssign
->
GetText
());
m_pFilterCtr
->
SetFocusToRange
();
m_pEdAssign
->
Hide
();
m_pRbAssign
->
Hide
();
}
}
...
...
@@ -187,24 +173,24 @@ void ScHighlightChgDlg::SetActive()
sal_Bool
ScHighlightChgDlg
::
IsRefInputMode
()
const
{
return
aEdAssign
.
IsVisible
();
return
m_pEdAssign
->
IsVisible
();
}
IMPL_LINK
(
ScHighlightChgDlg
,
HighlightHandle
,
CheckBox
*
,
pCb
)
{
if
(
pCb
!=
NULL
)
{
if
(
aHighlightBox
.
IsChecked
())
if
(
m_pHighlightBox
->
IsChecked
())
{
aFilterCtr
.
Enable
(
true
,
true
);
aCbAccept
.
Enable
();
aCbReject
.
Enable
();
m_pFilterCtr
->
Enable
(
true
,
true
);
m_pCbAccept
->
Enable
();
m_pCbReject
->
Enable
();
}
else
{
aFilterCtr
.
Disable
(
true
);
aCbAccept
.
Disable
();
aCbReject
.
Disable
();
m_pFilterCtr
->
Disable
(
true
);
m_pCbAccept
->
Disable
();
m_pCbReject
->
Disable
();
}
}
return
0
;
...
...
@@ -215,38 +201,38 @@ IMPL_LINK( ScHighlightChgDlg, RefHandle, SvxTPFilter*, pRef )
if
(
pRef
!=
NULL
)
{
SetDispatcherLock
(
true
);
aEdAssign
.
Show
();
aRbAssign
.
Show
();
aEdAssign
.
SetText
(
aFilterCtr
.
GetRange
());
aEdAssign
.
GrabFocus
();
ScAnyRefDlg
::
RefInputStart
(
&
aEdAssign
,
&
a
RbAssign
);
m_pEdAssign
->
Show
();
m_pRbAssign
->
Show
();
m_pEdAssign
->
SetText
(
m_pFilterCtr
->
GetRange
());
m_pEdAssign
->
GrabFocus
();
ScAnyRefDlg
::
RefInputStart
(
m_pEdAssign
,
m_p
RbAssign
);
}
return
0
;
}
IMPL_LINK
(
ScHighlightChgDlg
,
OKBtnHdl
,
PushButton
*
,
pOKBtn
)
{
if
(
pOKBtn
==
&
a
OkButton
)
if
(
pOKBtn
==
m_p
OkButton
)
{
aChangeViewSet
.
SetShowChanges
(
aHighlightBox
.
IsChecked
());
aChangeViewSet
.
SetHasDate
(
aFilterCtr
.
IsDate
());
ScChgsDateMode
eMode
=
(
ScChgsDateMode
)
aFilterCtr
.
GetDateMode
();
aChangeViewSet
.
SetShowChanges
(
m_pHighlightBox
->
IsChecked
());
aChangeViewSet
.
SetHasDate
(
m_pFilterCtr
->
IsDate
());
ScChgsDateMode
eMode
=
(
ScChgsDateMode
)
m_pFilterCtr
->
GetDateMode
();
aChangeViewSet
.
SetTheDateMode
(
eMode
);
Date
aFirstDate
(
aFilterCtr
.
GetFirstDate
()
);
Time
aFirstTime
(
aFilterCtr
.
GetFirstTime
()
);
Date
aLastDate
(
aFilterCtr
.
GetLastDate
()
);
Time
aLastTime
(
aFilterCtr
.
GetLastTime
()
);
Date
aFirstDate
(
m_pFilterCtr
->
GetFirstDate
()
);
Time
aFirstTime
(
m_pFilterCtr
->
GetFirstTime
()
);
Date
aLastDate
(
m_pFilterCtr
->
GetLastDate
()
);
Time
aLastTime
(
m_pFilterCtr
->
GetLastTime
()
);
aChangeViewSet
.
SetTheFirstDateTime
(
DateTime
(
aFirstDate
,
aFirstTime
)
);
aChangeViewSet
.
SetTheLastDateTime
(
DateTime
(
aLastDate
,
aLastTime
)
);
aChangeViewSet
.
SetHasAuthor
(
aFilterCtr
.
IsAuthor
());
aChangeViewSet
.
SetTheAuthorToShow
(
aFilterCtr
.
GetSelectedAuthor
());
aChangeViewSet
.
SetHasRange
(
aFilterCtr
.
IsRange
());
aChangeViewSet
.
SetShowAccepted
(
aCbAccept
.
IsChecked
());
aChangeViewSet
.
SetShowRejected
(
aCbReject
.
IsChecked
());
aChangeViewSet
.
SetHasComment
(
aFilterCtr
.
IsComment
());
aChangeViewSet
.
SetTheComment
(
aFilterCtr
.
GetComment
());
aChangeViewSet
.
SetHasAuthor
(
m_pFilterCtr
->
IsAuthor
());
aChangeViewSet
.
SetTheAuthorToShow
(
m_pFilterCtr
->
GetSelectedAuthor
());
aChangeViewSet
.
SetHasRange
(
m_pFilterCtr
->
IsRange
());
aChangeViewSet
.
SetShowAccepted
(
m_pCbAccept
->
IsChecked
());
aChangeViewSet
.
SetShowRejected
(
m_pCbReject
->
IsChecked
());
aChangeViewSet
.
SetHasComment
(
m_pFilterCtr
->
IsComment
());
aChangeViewSet
.
SetTheComment
(
m_pFilterCtr
->
GetComment
());
ScRangeList
aLocalRangeList
;
aLocalRangeList
.
Parse
(
aFilterCtr
.
GetRange
(),
pDoc
);
aLocalRangeList
.
Parse
(
m_pFilterCtr
->
GetRange
(),
pDoc
);
aChangeViewSet
.
SetTheRangeList
(
aLocalRangeList
);
aChangeViewSet
.
AdjustDateMode
(
*
pDoc
);
pDoc
->
SetChangeViewSettings
(
aChangeViewSet
);
...
...
sc/source/ui/miscdlgs/highred.src
deleted
100644 → 0
Dosyayı görüntüle @
91f509fd
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include "highred.hrc"
ModelessDialog RID_SCDLG_HIGHLIGHT_CHANGES
{
OutputSize = TRUE ;
HelpId = CMD_FID_CHG_ACCEPT ;
Hide = TRUE ;
SVLook = TRUE ;
Size = MAP_APPFONT ( 318 , 148 ) ;
Moveable = TRUE ;
Closeable = TRUE ;
// Dieser Dialog hat einen Cancel-Button !
CheckBox CB_HIGHLIGHT
{
HelpID = "sc:CheckBox:RID_SCDLG_HIGHLIGHT_CHANGES:CB_HIGHLIGHT";
Pos = MAP_APPFONT ( 6 , 6 ) ;
Size = MAP_APPFONT ( 150 , 10 ) ;
TabStop = TRUE ;
Text [ en-US ] = "~Show changes in spreadsheet" ;
};
FixedLine FL_FILTER
{
Pos = MAP_APPFONT ( 6 , 22 ) ;
Size = MAP_APPFONT ( 255 , 8 ) ;
Text [ en-US ] = "Filter settings";
};
CheckBox CB_HIGHLIGHT_ACCEPT
{
HelpID = "sc:CheckBox:RID_SCDLG_HIGHLIGHT_CHANGES:CB_HIGHLIGHT_ACCEPT";
Pos = MAP_APPFONT ( 12 , 118 ) ;
Size = MAP_APPFONT ( 246 , 10 ) ;
TabStop = TRUE ;
Text [ en-US ] = "Show ~accepted changes" ;
};
CheckBox CB_HIGHLIGHT_REJECT
{
HelpID = "sc:CheckBox:RID_SCDLG_HIGHLIGHT_CHANGES:CB_HIGHLIGHT_REJECT";
Pos = MAP_APPFONT ( 12 , 132 ) ;
Size = MAP_APPFONT ( 246 , 10 ) ;
TabStop = TRUE ;
Text [ en-US ] = "Show ~rejected changes" ;
};
OKButton BTN_OK
{
Pos = MAP_APPFONT ( 267 , 6 ) ;
Size = MAP_APPFONT ( 45 , 14 ) ;
TabStop = TRUE ;
DefButton = TRUE ;
};
CancelButton BTN_CANCEL
{
Pos = MAP_APPFONT ( 267 , 23 ) ;
Size = MAP_APPFONT ( 45 , 14 ) ;
TabStop = TRUE ;
};
HelpButton BTN_HELP
{
Pos = MAP_APPFONT ( 267 , 43 ) ;
Size = MAP_APPFONT ( 45 , 14 ) ;
TabStop = TRUE ;
};
Edit ED_ASSIGN
{
HelpID = "sc:Edit:RID_SCDLG_HIGHLIGHT_CHANGES:ED_ASSIGN";
Hide = TRUE ;
Border = TRUE ;
Pos = MAP_APPFONT ( 12 , 119 ) ;
Size = MAP_APPFONT ( 128 , 12 ) ;
TabStop = TRUE ;
};
ImageButton RB_ASSIGN
{
HelpID = "sc:ImageButton:RID_SCDLG_HIGHLIGHT_CHANGES:RB_ASSIGN";
Hide = TRUE ;
Pos = MAP_APPFONT ( 142 , 118 ) ;
Size = MAP_APPFONT ( 13 , 15 ) ;
TabStop = TRUE;
QuickHelpText [ en-US ] = "Minimize/Maximize" ;
};
Text [ en-US ] = "Show Changes" ;
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sc/uiconfig/scalc/ui/showchangesdialog.ui
0 → 100644
Dosyayı görüntüle @
27ad211c
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.16.1 -->
<interface>
<requires
lib=
"gtk+"
version=
"3.0"
/>
<!-- interface-requires LibreOffice 1.0 -->
<object
class=
"GtkDialog"
id=
"ShowChangesDialog"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"border_width"
>
6
</property>
<property
name=
"title"
translatable=
"yes"
>
Show Changes
</property>
<property
name=
"type_hint"
>
normal
</property>
<child
internal-child=
"vbox"
>
<object
class=
"GtkBox"
id=
"dialog-vbox1"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"orientation"
>
vertical
</property>
<property
name=
"spacing"
>
12
</property>
<child
internal-child=
"action_area"
>
<object
class=
"GtkButtonBox"
id=
"dialog-action_area1"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"layout_style"
>
end
</property>
<child>
<object
class=
"GtkButton"
id=
"ok"
>
<property
name=
"label"
>
gtk-ok
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"can_default"
>
True
</property>
<property
name=
"has_default"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<property
name=
"use_stock"
>
True
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkButton"
id=
"cancel"
>
<property
name=
"label"
>
gtk-cancel
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<property
name=
"use_stock"
>
True
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkButton"
id=
"help"
>
<property
name=
"label"
>
gtk-help
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<property
name=
"use_stock"
>
True
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
2
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"pack_type"
>
end
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkGrid"
id=
"grid1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"row_spacing"
>
6
</property>
<child>
<object
class=
"GtkGrid"
id=
"grid2"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"row_spacing"
>
6
</property>
<child>
<object
class=
"GtkCheckButton"
id=
"showchanges"
>
<property
name=
"label"
translatable=
"yes"
>
_Show changes in spreadsheet
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
False
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"draw_indicator"
>
True
</property>
</object>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkFrame"
id=
"frame1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label_xalign"
>
0
</property>
<property
name=
"shadow_type"
>
none
</property>
<child>
<object
class=
"GtkAlignment"
id=
"alignment1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"top_padding"
>
6
</property>
<property
name=
"left_padding"
>
12
</property>
<child>
<object
class=
"GtkGrid"
id=
"grid3"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"row_spacing"
>
6
</property>
<child>
<object
class=
"GtkCheckButton"
id=
"showaccepted"
>
<property
name=
"label"
translatable=
"yes"
>
Show _accepted changes
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
False
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"draw_indicator"
>
True
</property>
</object>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"top_attach"
>
1
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkCheckButton"
id=
"showrejected"
>
<property
name=
"label"
translatable=
"yes"
>
Show _rejected changes
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
False
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"draw_indicator"
>
True
</property>
</object>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"top_attach"
>
2
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkBox"
id=
"box"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"orientation"
>
vertical
</property>
<child>
<placeholder/>
</child>
</object>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
</object>
</child>
</object>
</child>
<child
type=
"label"
>
<object
class=
"GtkLabel"
id=
"label1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
>
Filter settings
</property>
<attributes>
<attribute
name=
"weight"
value=
"bold"
/>
</attributes>
</object>
</child>
</object>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"top_attach"
>
1
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"top_attach"
>
1
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkGrid"
id=
"grid4"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"hexpand"
>
True
</property>
<property
name=
"column_spacing"
>
12
</property>
<child>
<object
class=
"foruilo-RefEdit"
id=
"range"
>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"no_show_all"
>
True
</property>
<property
name=
"hexpand"
>
True
</property>
<property
name=
"invisible_char"
>
●
</property>
<property
name=
"width_chars"
>
35
</property>
</object>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"foruilo-RefButton"
id=
"rangeref"
>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<property
name=
"no_show_all"
>
True
</property>
</object>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
</object>
</child>
<action-widgets>
<action-widget
response=
"0"
>
help
</action-widget>
</action-widgets>
</object>
</interface>
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