View | Details | Raw Unified | Return to issue 35579
Collapse All | Expand All

(-)../../../sc.bak/inc/global.hxx (+2 lines)
Lines 808-813 Link Here
808
808
809
enum ScQueryOp
809
enum ScQueryOp
810
	{
810
	{
811
		SC_BEGINS_WITH,
812
		SC_ENDS_WITH,
811
		SC_EQUAL,
813
		SC_EQUAL,
812
		SC_LESS,
814
		SC_LESS,
813
		SC_GREATER,
815
		SC_GREATER,
(-)../../../sc.bak/source/ui/dbgui/filtdlg.cxx (-1 / +18 lines)
Lines 84-89 Link Here
84
#include "document.hxx"
84
#include "document.hxx"
85
#include "docsh.hxx"
85
#include "docsh.hxx"
86
#include "scresid.hxx"
86
#include "scresid.hxx"
87
#include "docoptio.hxx"
87
88
88
#include "foptmgr.hxx"
89
#include "foptmgr.hxx"
89
90
Lines 572-577 Link Here
572
		bCopyPosOk = ( SCA_VALID == (nResult & SCA_VALID) );
573
		bCopyPosOk = ( SCA_VALID == (nResult & SCA_VALID) );
573
	}
574
	}
574
575
576
	theParam.bRegExp                = aBtnRegExp.IsChecked();
577
575
	for ( i = 0; i < 3; i++ )
578
	for ( i = 0; i < 3; i++ )
576
	{
579
	{
577
		USHORT 		nField	= aFieldLbArr[i]->GetSelectEntryPos();
580
		USHORT 		nField	= aFieldLbArr[i]->GetSelectEntryPos();
Lines 605-610 Link Here
605
			}
608
			}
606
			else
609
			else
607
			{
610
			{
611
				if (eOp == SC_BEGINS_WITH ) {
612
					printf("Its here\n");
613
					String tmp ('^');
614
					tmp .Append(aStrVal);
615
					::rtl::OUString str (tmp);
616
					aStrVal.Assign(tmp);
617
					eOp = SC_EQUAL;
618
					theParam.bRegExp		= TRUE;
619
				}
620
				else if (eOp == SC_ENDS_WITH ) {
621
					aStrVal.Append (String('$'));
622
					eOp = SC_EQUAL;
623
					theParam.bRegExp		= TRUE;
624
				}
608
				*rEntry.pStr		  = aStrVal;
625
				*rEntry.pStr		  = aStrVal;
609
				rEntry.nVal			  = 0;
626
				rEntry.nVal			  = 0;
610
				rEntry.bQueryByString = TRUE;
627
				rEntry.bQueryByString = TRUE;
Lines 642-648 Link Here
642
	theParam.bByRow			= TRUE;
659
	theParam.bByRow			= TRUE;
643
	theParam.bDuplicate		= !aBtnUnique.IsChecked();
660
	theParam.bDuplicate		= !aBtnUnique.IsChecked();
644
	theParam.bCaseSens 		= aBtnCase.IsChecked();
661
	theParam.bCaseSens 		= aBtnCase.IsChecked();
645
	theParam.bRegExp		= aBtnRegExp.IsChecked();
662
	
646
	theParam.bDestPers		= aBtnDestPers.IsChecked();
663
	theParam.bDestPers		= aBtnDestPers.IsChecked();
647
664
648
	//	nur die drei eingestellten - alles andere zuruecksetzen
665
	//	nur die drei eingestellten - alles andere zuruecksetzen
(-)../../../sc.bak/source/ui/src/filter.src (-6 / +12 lines)
Lines 180-191 Link Here
180
		};
180
		};
181
		stringlist [ en-US ] =
181
		stringlist [ en-US ] =
182
		{
182
		{
183
			< "=" ; Default ; > ;
183
                        < "Begins with" ; Default ; > ;
184
                        < "Ends with" ; Default ; > ;
185
                        < "Equals" ; Default ; > ;
184
			< "<" ; Default ; > ;
186
			< "<" ; Default ; > ;
185
			< ">" ; Default ; > ;
187
			< ">" ; Default ; > ;
186
			< "<=" ; Default ; > ;
188
			< "<=" ; Default ; > ;
187
			< ">=" ; Default ; > ;
189
			< ">=" ; Default ; > ;
188
			< "<>" ; Default ; > ;
190
                        < "Not equals" ; Default ; > ;
189
			< "Largest" ; Default ; > ;
191
			< "Largest" ; Default ; > ;
190
			< "Smallest" ; Default ; > ;
192
			< "Smallest" ; Default ; > ;
191
			< "Largest %" ; Default ; > ;
193
			< "Largest %" ; Default ; > ;
Lines 214-225 Link Here
214
		};
216
		};
215
		stringlist [ en-US ] =
217
		stringlist [ en-US ] =
216
		{
218
		{
217
			< "=" ; Default ; > ;
219
			< "Begins with" ; Default ; > ;
220
                        < "Ends with" ; Default ; > ;
221
                        < "Equals" ; Default ; > ;
218
			< "<" ; Default ; > ;
222
			< "<" ; Default ; > ;
219
			< ">" ; Default ; > ;
223
			< ">" ; Default ; > ;
220
			< "<=" ; Default ; > ;
224
			< "<=" ; Default ; > ;
221
			< ">=" ; Default ; > ;
225
			< ">=" ; Default ; > ;
222
			< "<>" ; Default ; > ;
226
			< "Not equals" ; Default ; > ;
223
			< "Largest" ; Default ; > ;
227
			< "Largest" ; Default ; > ;
224
			< "Smallest" ; Default ; > ;
228
			< "Smallest" ; Default ; > ;
225
			< "Largest %" ; Default ; > ;
229
			< "Largest %" ; Default ; > ;
Lines 248-259 Link Here
248
		};
252
		};
249
		stringlist [ en-US ] =
253
		stringlist [ en-US ] =
250
		{
254
		{
251
			< "=" ; Default ; > ;
255
			< "Begins with" ; Default ; > ;
256
                        < "Ends with" ; Default ; > ;
257
                        < "Equals" ; Default ; > ;
252
			< "<" ; Default ; > ;
258
			< "<" ; Default ; > ;
253
			< ">" ; Default ; > ;
259
			< ">" ; Default ; > ;
254
			< "<=" ; Default ; > ;
260
			< "<=" ; Default ; > ;
255
			< ">=" ; Default ; > ;
261
			< ">=" ; Default ; > ;
256
			< "<>" ; Default ; > ;
262
			< "Not equals" ; Default ; > ;
257
			< "Largest" ; Default ; > ;
263
			< "Largest" ; Default ; > ;
258
			< "Smallest" ; Default ; > ;
264
			< "Smallest" ; Default ; > ;
259
			< "Largest %" ; Default ; > ;
265
			< "Largest %" ; Default ; > ;

Return to issue 35579