rangeutl.hxx (38d50f7b) rangeutl.hxx (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

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

297
298class SC_DLLPUBLIC ScAreaNameIterator
299{
300private:
301 ScRangeName* pRangeName;
302 ScDBCollection* pDBCollection;
303 sal_Bool bFirstPass;
304 sal_uInt16 nPos;
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

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

297
298class SC_DLLPUBLIC ScAreaNameIterator
299{
300private:
301 ScRangeName* pRangeName;
302 ScDBCollection* pDBCollection;
303 sal_Bool bFirstPass;
304 sal_uInt16 nPos;
305 String aStrNoName;
306
307public:
308 ScAreaNameIterator( ScDocument* pDoc );
309 ~ScAreaNameIterator() {}
310
311 sal_Bool Next( String& rName, ScRange& rRange );
312 sal_Bool WasDBName() const { return !bFirstPass; }
313};
314
315
316#endif // SC_RANGEUTL_HXX
317
305
306public:
307 ScAreaNameIterator( ScDocument* pDoc );
308 ~ScAreaNameIterator() {}
309
310 sal_Bool Next( String& rName, ScRange& rRange );
311 sal_Bool WasDBName() const { return !bFirstPass; }
312};
313
314
315#endif // SC_RANGEUTL_HXX
316