AccessibleEmptyEditSource.cxx (f6e50924) AccessibleEmptyEditSource.cxx (9b8096d0)
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

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

148 EFieldInfo GetFieldInfo( sal_uInt16, sal_uInt16 ) const { return EFieldInfo(); }
149 EBulletInfo GetBulletInfo( sal_uInt16 ) const { return EBulletInfo(); }
150 Rectangle GetCharBounds( sal_uInt16, sal_uInt16 ) const { return Rectangle(); }
151 Rectangle GetParaBounds( sal_uInt16 ) const { return Rectangle(); }
152 MapMode GetMapMode() const { return MapMode(); }
153 OutputDevice* GetRefDevice() const { return NULL; }
154 sal_Bool GetIndexAtPoint( const Point&, sal_uInt16&, sal_uInt16& ) const { return sal_False; }
155 sal_Bool GetWordIndices( sal_uInt16, sal_uInt16, sal_uInt16&, sal_uInt16& ) const { return sal_False; }
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

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

148 EFieldInfo GetFieldInfo( sal_uInt16, sal_uInt16 ) const { return EFieldInfo(); }
149 EBulletInfo GetBulletInfo( sal_uInt16 ) const { return EBulletInfo(); }
150 Rectangle GetCharBounds( sal_uInt16, sal_uInt16 ) const { return Rectangle(); }
151 Rectangle GetParaBounds( sal_uInt16 ) const { return Rectangle(); }
152 MapMode GetMapMode() const { return MapMode(); }
153 OutputDevice* GetRefDevice() const { return NULL; }
154 sal_Bool GetIndexAtPoint( const Point&, sal_uInt16&, sal_uInt16& ) const { return sal_False; }
155 sal_Bool GetWordIndices( sal_uInt16, sal_uInt16, sal_uInt16&, sal_uInt16& ) const { return sal_False; }
156 sal_Bool GetAttributeRun( sal_uInt16&, sal_uInt16&, sal_uInt16, sal_uInt16 ) const { return sal_False; }
156 sal_Bool GetAttributeRun( sal_uInt16&, sal_uInt16&, sal_uInt16, sal_uInt16, sal_Bool) const { return sal_False; }
157 sal_uInt16 GetLineCount( sal_uInt16 nPara ) const { return nPara == 0 ? 1 : 0; }
158 sal_uInt16 GetLineLen( sal_uInt16, sal_uInt16 ) const { return 0; }
159 void GetLineBoundaries( /*out*/sal_uInt16 & rStart, /*out*/sal_uInt16 & rEnd, sal_uInt16 /*nParagraph*/, sal_uInt16 /*nLine*/ ) const { rStart = rEnd = 0; }
160 sal_uInt16 GetLineNumberAtIndex( sal_uInt16 /*nPara*/, sal_uInt16 /*nIndex*/ ) const { return 0; }
161
162 // the following two methods would, strictly speaking, require
163 // a switch to a real EditSource, too. Fortunately, the
164 // AccessibleEditableTextPara implementation currently always

--- 188 unchanged lines hidden ---
157 sal_uInt16 GetLineCount( sal_uInt16 nPara ) const { return nPara == 0 ? 1 : 0; }
158 sal_uInt16 GetLineLen( sal_uInt16, sal_uInt16 ) const { return 0; }
159 void GetLineBoundaries( /*out*/sal_uInt16 & rStart, /*out*/sal_uInt16 & rEnd, sal_uInt16 /*nParagraph*/, sal_uInt16 /*nLine*/ ) const { rStart = rEnd = 0; }
160 sal_uInt16 GetLineNumberAtIndex( sal_uInt16 /*nPara*/, sal_uInt16 /*nIndex*/ ) const { return 0; }
161
162 // the following two methods would, strictly speaking, require
163 // a switch to a real EditSource, too. Fortunately, the
164 // AccessibleEditableTextPara implementation currently always

--- 188 unchanged lines hidden ---