pam.hxx (1d2dbeb0) | pam.hxx (23d8f725) |
---|---|
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 --- 239 unchanged lines hidden (view full) --- 248 const SwPosition& GetBound( bool bOne = true ) const 249 { return bOne ? m_Bound1 : m_Bound2; } 250 251 // erfrage die Seitennummer auf der der Cursor steht 252 sal_uInt16 GetPageNum( sal_Bool bAtPoint = sal_True, const Point* pLayPos = 0 ); 253 254 // steht in etwas geschuetztem oder in die Selektion umspannt 255 // etwas geschuetztes. | 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 --- 239 unchanged lines hidden (view full) --- 248 const SwPosition& GetBound( bool bOne = true ) const 249 { return bOne ? m_Bound1 : m_Bound2; } 250 251 // erfrage die Seitennummer auf der der Cursor steht 252 sal_uInt16 GetPageNum( sal_Bool bAtPoint = sal_True, const Point* pLayPos = 0 ); 253 254 // steht in etwas geschuetztem oder in die Selektion umspannt 255 // etwas geschuetztes. |
256 sal_Bool HasReadonlySel( bool bFormView ) const; | 256 sal_Bool HasReadonlySel( const bool bFormView ) const; |
257 258 sal_Bool ContainsPosition(const SwPosition & rPos) 259 { return *Start() <= rPos && rPos <= *End(); } 260 261 static sal_Bool Overlap(const SwPaM & a, const SwPaM & b); 262 263 static sal_Bool LessThan(const SwPaM & a, const SwPaM & b); 264 --- 12 unchanged lines hidden --- | 257 258 sal_Bool ContainsPosition(const SwPosition & rPos) 259 { return *Start() <= rPos && rPos <= *End(); } 260 261 static sal_Bool Overlap(const SwPaM & a, const SwPaM & b); 262 263 static sal_Bool LessThan(const SwPaM & a, const SwPaM & b); 264 --- 12 unchanged lines hidden --- |