Merge spans in LaTeX + add UI for two new options
git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@175 f0f2a975-2e09-46c8-9428-3b39399b9f3c
This commit is contained in:
parent
2fd6ccd490
commit
51f960d510
36 changed files with 519 additions and 369 deletions
|
@ -16,11 +16,11 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
||||
* MA 02111-1307 USA
|
||||
*
|
||||
* Copyright: 2002-2010 by Henrik Just
|
||||
* Copyright: 2002-2014 by Henrik Just
|
||||
*
|
||||
* All Rights Reserved.
|
||||
*
|
||||
* Version 1.2 (2010-12-14)
|
||||
* Version 1.4 (2014-09-19)
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -104,6 +104,7 @@ public class LaTeXOptionsDialog extends OptionsDialogBase {
|
|||
// Special content
|
||||
loadListBoxOption(xProps,"Notes");
|
||||
loadCheckBoxOption(xProps,"Metadata");
|
||||
loadCheckBoxOption(xProps,"DisplayHiddenText");
|
||||
|
||||
// Figures and tables
|
||||
loadCheckBoxOption(xProps,"OriginalImageSize");
|
||||
|
@ -175,6 +176,7 @@ public class LaTeXOptionsDialog extends OptionsDialogBase {
|
|||
// Special content
|
||||
saveListBoxOption(xProps, filterData, "Notes", "notes", NOTES_VALUES);
|
||||
saveCheckBoxOption(xProps, filterData, "Metadata", "metadata");
|
||||
saveCheckBoxOption(xProps, filterData, "DisplayHiddenText", "display_hidden_text");
|
||||
|
||||
// Figures and tables
|
||||
saveCheckBoxOption(xProps, filterData, "OriginalImageSize", "original_image_size");
|
||||
|
@ -300,6 +302,7 @@ public class LaTeXOptionsDialog extends OptionsDialogBase {
|
|||
setControlEnabled("NotesLabel",!isLocked("notes"));
|
||||
setControlEnabled("Notes",!isLocked("notes"));
|
||||
setControlEnabled("Metadata",!isLocked("metadata"));
|
||||
setControlEnabled("DisplayHiddenText",!isLocked("display_hidden_text"));
|
||||
|
||||
// Figures and tables
|
||||
setControlEnabled("OriginalImageSize",!isLocked("original_image_size"));
|
||||
|
|
|
@ -16,11 +16,11 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
||||
* MA 02111-1307 USA
|
||||
*
|
||||
* Copyright: 2002-2012 by Henrik Just
|
||||
* Copyright: 2002-2014 by Henrik Just
|
||||
*
|
||||
* All Rights Reserved.
|
||||
*
|
||||
* Version 1.2 (2012-03-07)
|
||||
* Version 1.4 (2014-09-19)
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -495,12 +495,14 @@ public class ConfigurationDialog extends ConfigurationDialogBase implements XSer
|
|||
listBoxFromConfig(dlg, "Formulas", "formulas", sFormulaValues, (short) 0);
|
||||
textFieldFromConfig(dlg, "EndnotesHeading", "endnotes_heading");
|
||||
textFieldFromConfig(dlg, "FootnotesHeading", "footnotes_heading");
|
||||
checkBoxFromConfig(dlg, "InlineSvg", "inline_svg");
|
||||
}
|
||||
|
||||
@Override protected void getControls(DialogAccess dlg) {
|
||||
listBoxToConfig(dlg, "Formulas", "formulas", sFormulaValues);
|
||||
textFieldToConfig(dlg, "EndnotesHeading", "endnotes_heading");
|
||||
textFieldToConfig(dlg, "FootnotesHeading", "footnotes_heading");
|
||||
checkBoxToConfig(dlg, "InlineSvg", "inline_svg");
|
||||
}
|
||||
|
||||
@Override protected boolean handleEvent(DialogAccess dlg, String sMethod) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue