tabvwshc.cxx (57b4fa3c) tabvwshc.cxx (22407013)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 157 unchanged lines hidden (view full) ---

166
167 case SID_SPECIAL_FILTER:
168 {
169 ScQueryParam aQueryParam;
170 SfxItemSet aArgSet( GetPool(),
171 SCITEM_QUERYDATA,
172 SCITEM_QUERYDATA );
173
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 157 unchanged lines hidden (view full) ---

166
167 case SID_SPECIAL_FILTER:
168 {
169 ScQueryParam aQueryParam;
170 SfxItemSet aArgSet( GetPool(),
171 SCITEM_QUERYDATA,
172 SCITEM_QUERYDATA );
173
174 ScDBData* pDBData = GetDBData( sal_True, SC_DB_MAKE_FILTER, SC_DBSEL_ROW_DOWN);
174 ScDBData* pDBData = GetDBData( sal_True, SC_DB_MAKE, SC_DBSEL_ROW_DOWN);
175 pDBData->GetQueryParam( aQueryParam );
176
177 ScQueryItem aItem( SCITEM_QUERYDATA, GetViewData(), &aQueryParam );
178 ScRange aAdvSource;
179 if (pDBData->GetAdvancedQuerySource(aAdvSource))
180 aItem.SetAdvancedQuerySource( &aAdvSource );
181
182 aArgSet.Put( aItem );

--- 8 unchanged lines hidden (view full) ---

191 case SID_FILTER:
192 {
193
194 ScQueryParam aQueryParam;
195 SfxItemSet aArgSet( GetPool(),
196 SCITEM_QUERYDATA,
197 SCITEM_QUERYDATA );
198
175 pDBData->GetQueryParam( aQueryParam );
176
177 ScQueryItem aItem( SCITEM_QUERYDATA, GetViewData(), &aQueryParam );
178 ScRange aAdvSource;
179 if (pDBData->GetAdvancedQuerySource(aAdvSource))
180 aItem.SetAdvancedQuerySource( &aAdvSource );
181
182 aArgSet.Put( aItem );

--- 8 unchanged lines hidden (view full) ---

191 case SID_FILTER:
192 {
193
194 ScQueryParam aQueryParam;
195 SfxItemSet aArgSet( GetPool(),
196 SCITEM_QUERYDATA,
197 SCITEM_QUERYDATA );
198
199 ScDBData* pDBData = GetDBData( sal_True, SC_DB_MAKE_FILTER, SC_DBSEL_ROW_DOWN);
199 ScDBData* pDBData = GetDBData( sal_True, SC_DB_MAKE, SC_DBSEL_ROW_DOWN);
200 pDBData->GetQueryParam( aQueryParam );
201
202 aArgSet.Put( ScQueryItem( SCITEM_QUERYDATA,
203 GetViewData(),
204 &aQueryParam ) );
205
206 // aktuelle Tabelle merken (wg. RefInput im Dialog)
207 GetViewData()->SetRefTabNo( GetViewData()->GetTabNo() );

--- 116 unchanged lines hidden ---
200 pDBData->GetQueryParam( aQueryParam );
201
202 aArgSet.Put( ScQueryItem( SCITEM_QUERYDATA,
203 GetViewData(),
204 &aQueryParam ) );
205
206 // aktuelle Tabelle merken (wg. RefInput im Dialog)
207 GetViewData()->SetRefTabNo( GetViewData()->GetTabNo() );

--- 116 unchanged lines hidden ---