from ..window import Window\r
import watchdog\r
from NVDAObjects.behaviors import RowWithoutCellObjects, RowWithFakeNavigation\r
+import config\r
\r
#Window messages\r
LVM_FIRST=0x1000\r
return super(ListItem, self).name\r
textList = []\r
for col in xrange(1, self.childCount + 1):\r
- text = self._getColumnContent(col)\r
- if not text:\r
+ content = self._getColumnContent(col)\r
+ if not content:\r
continue\r
- textList.append(text)\r
+ if config.conf["documentFormatting"]["reportTableHeaders"] and col != 1:\r
+ header = self._getColumnHeader(col)\r
+ else:\r
+ header = None\r
+ if header:\r
+ textList.append("%s: %s" % (header, content))\r
+ else:\r
+ textList.append(content)\r
return "; ".join(textList)\r
\r
value = None\r