From 27ad211cd382a3800b1ed56ec7cb3bb9321582ce Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 11 Feb 2014 13:37:34 +0000 Subject: convert show changes dialog to .ui Change-Id: I29397e454e30bff98644f0c9e0f3a8e00547af1b --- sc/AllLangResTarget_sc.mk | 1 - sc/UIConfig_scalc.mk | 1 + sc/inc/sc.hrc | 1 - sc/source/ui/inc/highred.hrc | 46 ------ sc/source/ui/inc/highred.hxx | 20 +-- sc/source/ui/miscdlgs/highred.cxx | 176 ++++++++++----------- sc/source/ui/miscdlgs/highred.src | 101 ------------ sc/uiconfig/scalc/ui/showchangesdialog.ui | 251 ++++++++++++++++++++++++++++++ 8 files changed, 340 insertions(+), 257 deletions(-) delete mode 100644 sc/source/ui/inc/highred.hrc delete mode 100644 sc/source/ui/miscdlgs/highred.src create mode 100644 sc/uiconfig/scalc/ui/showchangesdialog.ui (limited to 'sc') diff --git a/sc/AllLangResTarget_sc.mk b/sc/AllLangResTarget_sc.mk index e56cafc90730..7625aeff8147 100644 --- a/sc/AllLangResTarget_sc.mk +++ b/sc/AllLangResTarget_sc.mk @@ -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 \ diff --git a/sc/UIConfig_scalc.mk b/sc/UIConfig_scalc.mk index 0e9c1fd82c0b..28709b54f70c 100644 --- a/sc/UIConfig_scalc.mk +++ b/sc/UIConfig_scalc.mk @@ -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 \ diff --git a/sc/inc/sc.hrc b/sc/inc/sc.hrc index a733aec73160..c0a35e0ecc4c 100644 --- a/sc/inc/sc.hrc +++ b/sc/inc/sc.hrc @@ -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) diff --git a/sc/source/ui/inc/highred.hrc b/sc/source/ui/inc/highred.hrc deleted file mode 100644 index 0df9dd40df23..000000000000 --- a/sc/source/ui/inc/highred.hrc +++ /dev/null @@ -1,46 +0,0 @@ -/* -*- 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: */ diff --git a/sc/source/ui/inc/highred.hxx b/sc/source/ui/inc/highred.hxx index 61d9a8c61ed4..6370ebaa0074 100644 --- a/sc/source/ui/inc/highred.hxx +++ b/sc/source/ui/inc/highred.hxx @@ -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; diff --git a/sc/source/ui/miscdlgs/highred.cxx b/sc/source/ui/miscdlgs/highred.cxx index 02538d561e31..f18a9db080ca 100644 --- a/sc/source/ui/miscdlgs/highred.cxx +++ b/sc/source/ui/miscdlgs/highred.cxx @@ -23,7 +23,6 @@ #include "docsh.hxx" #include "scresid.hxx" #include "globstr.hrc" -#include "highred.hrc" #include "highred.hxx" #include @@ -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, HighlightHandle )); - aFilterCtr.SetRefHdl(LINK( this, ScHighlightChgDlg, RefHandle )); - aFilterCtr.Show(); + m_pFilterCtr = new SvxTPFilter(get("box")); + get(m_pHighlightBox, "showchanges"); + get(m_pCbAccept, "showaccepted"); + get(m_pCbReject, "showrejected"); + get(m_pEdAssign, "range"); + m_pEdAssign->SetReferences(this, m_pFilterCtr->get("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, RefHandle )); + 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& rUserColl = pChanges->GetUserCollection(); std::set::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(&aHighlightBox); + m_pFilterCtr->Enable(true,true); + HighlightHandle(m_pHighlightBox); } //---------------------------------------------------------------------------- @@ -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(&aEdAssign); + RefInputStart(m_pEdAssign); 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,&aRbAssign); + m_pEdAssign->Show(); + m_pRbAssign->Show(); + m_pEdAssign->SetText(m_pFilterCtr->GetRange()); + m_pEdAssign->GrabFocus(); + ScAnyRefDlg::RefInputStart(m_pEdAssign, m_pRbAssign); } return 0; } IMPL_LINK( ScHighlightChgDlg, OKBtnHdl, PushButton*, pOKBtn ) { - if ( pOKBtn == &aOkButton) + if (pOKBtn == m_pOkButton) { - 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); diff --git a/sc/source/ui/miscdlgs/highred.src b/sc/source/ui/miscdlgs/highred.src deleted file mode 100644 index 8ce950c795e5..000000000000 --- a/sc/source/ui/miscdlgs/highred.src +++ /dev/null @@ -1,101 +0,0 @@ -/* -*- 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: */ diff --git a/sc/uiconfig/scalc/ui/showchangesdialog.ui b/sc/uiconfig/scalc/ui/showchangesdialog.ui new file mode 100644 index 000000000000..34d3f5be4a1c --- /dev/null +++ b/sc/uiconfig/scalc/ui/showchangesdialog.ui @@ -0,0 +1,251 @@ + + + + + + + False + 6 + Show Changes + normal + + + False + vertical + 12 + + + False + end + + + gtk-ok + True + True + True + True + True + True + + + False + True + 0 + + + + + gtk-cancel + True + True + True + True + + + False + True + 1 + + + + + gtk-help + True + True + True + True + + + False + True + 2 + + + + + False + True + end + 0 + + + + + True + False + 6 + + + True + False + 6 + + + _Show changes in spreadsheet + True + True + False + True + 0 + True + + + 0 + 0 + 1 + 1 + + + + + True + False + 0 + none + + + True + False + 6 + 12 + + + True + False + 6 + + + Show _accepted changes + True + True + False + True + 0 + True + + + 0 + 1 + 1 + 1 + + + + + Show _rejected changes + True + True + False + True + 0 + True + + + 0 + 2 + 1 + 1 + + + + + True + False + vertical + + + + + + 0 + 0 + 1 + 1 + + + + + + + + + True + False + Filter settings + + + + + + + + 0 + 1 + 1 + 1 + + + + + 0 + 1 + 1 + 1 + + + + + True + False + True + 12 + + + True + True + True + + 35 + + + 0 + 0 + 1 + 1 + + + + + True + True + True + + + 1 + 0 + 1 + 1 + + + + + 0 + 0 + 1 + 1 + + + + + False + True + 1 + + + + + + help + + + -- cgit