|
|
@ -110,6 +110,19 @@ In 'semi-auto' and 'manual' modes, you may need to define areas once on an odd p
|
|
|
|
name_text_hold_callback = optionsutil.showValues,
|
|
|
|
name_text_hold_callback = optionsutil.showValues,
|
|
|
|
help_text = _([[Set margins to be applied after page-crop and zoom modes are applied.]]),
|
|
|
|
help_text = _([[Set margins to be applied after page-crop and zoom modes are applied.]]),
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
name = "auto_straighten",
|
|
|
|
|
|
|
|
name_text = _("Auto Straighten"),
|
|
|
|
|
|
|
|
toggle = {_("0°"), _("5°"), _("10°"), _("15°"), _("25°")},
|
|
|
|
|
|
|
|
values = {0, 5, 10, 15, 25},
|
|
|
|
|
|
|
|
event = "DummyEvent",
|
|
|
|
|
|
|
|
args = {0, 5, 10, 15, 25},
|
|
|
|
|
|
|
|
more_options = true,
|
|
|
|
|
|
|
|
default_value = DKOPTREADER_CONFIG_AUTO_STRAIGHTEN,
|
|
|
|
|
|
|
|
name_text_hold_callback = optionsutil.showValues,
|
|
|
|
|
|
|
|
help_text = _([[Attempt to automatically straighten tilted source pages.
|
|
|
|
|
|
|
|
Will rotate up to specified value.]]),
|
|
|
|
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -566,19 +579,6 @@ This can also be used to remove some gray background or to convert a grayscale o
|
|
|
|
end,
|
|
|
|
end,
|
|
|
|
name_text_hold_callback = optionsutil.showValues,
|
|
|
|
name_text_hold_callback = optionsutil.showValues,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
|
|
|
|
name = "auto_straighten",
|
|
|
|
|
|
|
|
name_text = _("Auto Straighten"),
|
|
|
|
|
|
|
|
toggle = {_("0°"), _("5°"), _("10°"), _("15°"), _("25°")},
|
|
|
|
|
|
|
|
values = {0, 5, 10, 15, 25},
|
|
|
|
|
|
|
|
event = "DummyEvent",
|
|
|
|
|
|
|
|
args = {0, 5, 10, 15, 25},
|
|
|
|
|
|
|
|
more_options = true,
|
|
|
|
|
|
|
|
default_value = DKOPTREADER_CONFIG_AUTO_STRAIGHTEN,
|
|
|
|
|
|
|
|
name_text_hold_callback = optionsutil.showValues,
|
|
|
|
|
|
|
|
help_text = _([[Attempt to automatically straighten tilted source pages.
|
|
|
|
|
|
|
|
Will rotate up to specified value.]]),
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name = "detect_indent",
|
|
|
|
name = "detect_indent",
|
|
|
|
name_text = _("Indentation"),
|
|
|
|
name_text = _("Indentation"),
|
|
|
|