summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/AllLangResTarget_sc.mk1
-rw-r--r--sc/UIConfig_scalc.mk1
-rw-r--r--sc/inc/sc.hrc1
-rw-r--r--sc/source/ui/inc/highred.hrc46
-rw-r--r--sc/source/ui/inc/highred.hxx20
-rw-r--r--sc/source/ui/miscdlgs/highred.cxx176
-rw-r--r--sc/source/ui/miscdlgs/highred.src101
-rw-r--r--sc/uiconfig/scalc/ui/showchangesdialog.ui251
8 files changed, 340 insertions, 257 deletions
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 <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, HighlightHandle ));
- 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, 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<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(&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 @@
+<?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>