Fixes #1900.
reportHeadings = boolean(default=true)\r
reportBlockQuotes = boolean(default=true)\r
reportLandmarks = boolean(default=true)\r
+ reportFrames = boolean(default=true)\r
\r
[reviewCursor]\r
simpleReviewMode = boolean(default=True)\r
self.landmarksCheckBox=wx.CheckBox(self,wx.NewId(),label=_("Report lan&dmarks"))\r
self.landmarksCheckBox.SetValue(config.conf["documentFormatting"]["reportLandmarks"])\r
settingsSizer.Add(self.landmarksCheckBox,border=10,flag=wx.BOTTOM)\r
+ item=self.framesCheckBox=wx.CheckBox(self,label=_("Report fra&mes"))\r
+ item.Value=config.conf["documentFormatting"]["reportFrames"]\r
+ settingsSizer.Add(item,border=10,flag=wx.BOTTOM)\r
\r
def postInit(self):\r
self.detectFormatAfterCursorCheckBox.SetFocus()\r
config.conf["documentFormatting"]["reportLists"]=self.listsCheckBox.IsChecked()\r
config.conf["documentFormatting"]["reportBlockQuotes"]=self.blockQuotesCheckBox.IsChecked()\r
config.conf["documentFormatting"]["reportLandmarks"]=self.landmarksCheckBox.IsChecked()\r
+ config.conf["documentFormatting"]["reportFrames"]=self.framesCheckBox.Value\r
super(DocumentFormattingDialog, self).onOk(evt)\r
\r
class DictionaryEntryDialog(wx.Dialog):\r
or (role == controlTypes.ROLE_BLOCKQUOTE and not formatConfig["reportBlockQuotes"])\r
or (role in (controlTypes.ROLE_TABLE, controlTypes.ROLE_TABLECELL, controlTypes.ROLE_TABLEROWHEADER, controlTypes.ROLE_TABLECOLUMNHEADER) and not formatConfig["reportTables"])\r
or (role in (controlTypes.ROLE_LIST, controlTypes.ROLE_LISTITEM) and controlTypes.STATE_READONLY in states and not formatConfig["reportLists"])\r
+ or (role in (controlTypes.ROLE_FRAME, controlTypes.ROLE_INTERNALFRAME) and not formatConfig["reportFrames"])\r
):\r
# This is just layout as far as the user is concerned.\r
return self.PRESCAT_LAYOUT\r
- Basic support for web areas in iTunes such as the Store. Other applications using WebKit 1 may also be supported. (#734)\r
- In books in Adobe Digital Editions 1.8.1 and later, pages are now turned automatically when using say all. (#1978)\r
- New braille translation table: Portuguese grade 2. (#2014)\r
+- You can now configure whether frames in documents are reported from the Document Formatting preferences dialog. (#1900)\r
\r
\r
== Changes ==\r
- Lists\r
- Block quotes\r
- Landmarks\r
+- Frames\r
-\r
\r
==== Announce formatting changes after the cursor ====\r