this, SLOT(change_adaptor()));
connect(outputModule->strictCB, SIGNAL(stateChanged(int)),
this, SLOT(change_adaptor()));
+ connect(outputModule->cssCB, SIGNAL(stateChanged(int)),
+ this, SLOT(change_adaptor()));
connect(outputModule->mathoutCB, SIGNAL(currentIndexChanged(int)),
this, SLOT(change_adaptor()));
bp_.useNonTeXFonts = nontexfonts;
bp_.output_sync = outputModule->outputsyncCB->isChecked();
+
bp_.output_sync_macro = fromqstr(outputModule->synccustomCB->currentText());
int mathfmt = outputModule->mathoutCB->currentIndex();
static_cast<BufferParams::MathOutput>(mathfmt);
bp_.html_math_output = mo;
bp_.html_be_strict = outputModule->strictCB->isChecked();
+ bp_.html_css_as_file = outputModule->cssCB->isChecked();
bp_.html_math_img_scale = outputModule->mathimgSB->value();
// fonts
outputModule->mathimgSB->setValue(bp_.html_math_img_scale);
outputModule->mathoutCB->setCurrentIndex(bp_.html_math_output);
outputModule->strictCB->setChecked(bp_.html_be_strict);
+ outputModule->cssCB->setChecked(bp_.html_css_as_file);
// Fonts
updateFontsize(documentClass().opt_fontsize(),
+<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>OutputUi</class>
<widget class="QWidget" name="OutputUi">
<bool>true</bool>
</property>
<layout class="QGridLayout" name="outGridLayout">
- <item row="0" column="0" colspan="2">
+ <item row="0" column="0">
<widget class="QCheckBox" name="strictCB">
<property name="toolTip">
<string>Whether to comply strictly with XHTML 1.1.</string>
</property>
</widget>
</item>
+ <item row="0" column="1">
+ <widget class="QCheckBox" name="cssCB">
+ <property name="text">
+ <string>Write CSS to File</string>
+ </property>
+ </widget>
+ </item>
</layout>
</widget>
</item>