Package appModules :: Module soffice :: Class SymphonyTextInfo
[hide private]
[frames] | no frames]

Class SymphonyTextInfo

source code

                   object --+                
                            |                
baseObject.AutoPropertyObject --+            
                                |            
               textInfos.TextInfo --+        
                                    |        
    textInfos.offsets.OffsetsTextInfo --+    
                                        |    
  NVDAObjects.IAccessible.IA2TextTextInfo --+
                                            |
                                           SymphonyTextInfo

A default TextInfo which is used to enable text review of information about widgets that don't support text content. The NVDAObject.basicText attribute is used as the text to expose.

Nested Classes [hide private]

Inherited from baseObject.AutoPropertyObject: __metaclass__

Instance Methods [hide private]
 
_getFormatFieldAndOffsets(self, offset, formatConfig, calculateOffsets=True)
Retrieve the formatting information for a given offset and the offsets spanned by that field.
source code
 
_getLineOffsets(self, offset) source code
 
_getStoryLength(self) source code

Inherited from NVDAObjects.IAccessible.IA2TextTextInfo: expand, getEmbeddedObject

Inherited from NVDAObjects.IAccessible.IA2TextTextInfo (private): _getCaretOffset, _getCharacterOffsets, _getLineCount, _getOffsetFromPoint, _getParagraphOffsets, _getPointFromOffset, _getSelectionOffsets, _getSentenceOffsets, _getTextRange, _getWordOffsets, _get_unit_mouseChunk, _lineNumFromOffset, _setCaretOffset, _setSelectionOffsets

Inherited from textInfos.offsets.OffsetsTextInfo: __eq__, __init__, collapse, compareEndPoints, copy, find, getTextWithFields, move, setEndPoint, unitCount, unitIndex, updateCaret, updateSelection

Inherited from textInfos.offsets.OffsetsTextInfo (private): _getLineNumFromOffset, _getNVDAObjectFromOffset, _getOffsetsFromNVDAObject, _getReadingChunkOffsets, _getStoryText, _getUnitOffsets, _get_NVDAObjectAtStart, _get_bookmark, _get_isCollapsed, _get_pointAtStart, _get_text

Inherited from textInfos.TextInfo: copyToClipboard, getControlFieldBraille, getControlFieldSpeech, getTextInChunks, isOverlapping

Inherited from textInfos.TextInfo (private): _get_clipboardText, _get_obj

Inherited from baseObject.AutoPropertyObject: invalidateCache

Inherited from baseObject.AutoPropertyObject (private): _getPropertyViaCache

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]

Inherited from baseObject.AutoPropertyObject: invalidateCaches

Class Variables [hide private]

Inherited from NVDAObjects.IAccessible.IA2TextTextInfo: detectFormattingAfterCursorMaybeSlow

Inherited from textInfos.offsets.OffsetsTextInfo: useUniscribe

Inherited from baseObject.AutoPropertyObject: cachePropertiesByDefault

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

_getFormatFieldAndOffsets(self, offset, formatConfig, calculateOffsets=True)

source code 

Retrieve the formatting information for a given offset and the offsets spanned by that field. Subclasses must override this if support for text formatting is desired. The base implementation associates text with line numbers if possible.

Overrides: textInfos.offsets.OffsetsTextInfo._getFormatFieldAndOffsets
(inherited documentation)

_getLineOffsets(self, offset)

source code 
Overrides: textInfos.offsets.OffsetsTextInfo._getLineOffsets

_getStoryLength(self)

source code 
Overrides: textInfos.offsets.OffsetsTextInfo._getStoryLength