From: John Spray Date: Mon, 21 Mar 2005 09:57:51 +0000 (+0000) Subject: More expansion of gtk document dialog X-Git-Tag: 1.6.10~14461 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=293b9f37d7c4aa30f2f392296aa9a343b811280c;p=features.git More expansion of gtk document dialog git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9726 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/gtk/ChangeLog b/src/frontends/gtk/ChangeLog index 4d1fba6832..4d86e29711 100644 --- a/src/frontends/gtk/ChangeLog +++ b/src/frontends/gtk/ChangeLog @@ -1,3 +1,6 @@ +2005-03-21 John Spray + + * GDocument.[Ch]: add "Page", "Margins", "Language" tabs. 2005-03-20 Alfredo Braunstein diff --git a/src/frontends/gtk/GDocument.C b/src/frontends/gtk/GDocument.C index 82f0548c37..606097b769 100644 --- a/src/frontends/gtk/GDocument.C +++ b/src/frontends/gtk/GDocument.C @@ -23,23 +23,39 @@ #include "ControlDocument.h" #include "controllers/helper_funcs.h" +#include "controllers/frnt_lang.h" #include "support/lstrings.h" +#include "lyxrc.h" #include "lyxtextclasslist.h" #include "bufferparams.h" #include "tex-strings.h" +#include "language.h" using std::string; +using std::vector; namespace lyx { using support::bformat; +using support::token; namespace frontend { +namespace { + +char const * const encodings[] = { "Language Default", "LaTeX default", + "latin1", "latin2", "latin3", "latin4", "latin5", "latin9", + "koi8-r", "koi8-u", "cp866", "cp1251", "iso88595", "pt154", 0 +}; + +} + + GDocument::GDocument(Dialog & parent) - : GViewCB(parent, _("Document Settings"), false) + : GViewCB(parent, _("Document Settings"), false), + lang_(getSecond(getLanguageData(false))) {} void GDocument::doBuild() @@ -74,6 +90,9 @@ void GDocument::doBuild() box->pack_start(classcombo_, true, true, 0); box->show_all(); + classcombo_.signal_changed().connect( + sigc::mem_fun(*this, &GDocument::classChanged)); + // Populate Document Class combo for (LyXTextClassList::const_iterator cit = textclasslist.begin(); cit != textclasslist.end(); ++cit) { @@ -109,15 +128,6 @@ void GDocument::doBuild() xml_->get_widget("FontSize", box); box->pack_start(fontsizecombo_, true, true, 0); box->show_all(); - fontsizecombo_.append_text(_("Default")); - fontsizecombo_.append_text(_("10")); - fontsizecombo_.append_text(_("11")); - fontsizecombo_.append_text(_("12")); - // These are the corresponding strings to be passed to the backend - fontsizemap_[0] = "default"; - fontsizemap_[1] = "10"; - fontsizemap_[2] = "11"; - fontsizemap_[3] = "12"; Gtk::SpinButton * spin; xml_->get_widget("LineSpacing", spin); @@ -155,8 +165,118 @@ void GDocument::doBuild() populateUnitCombo(vspaceunitcombo_, false); updateParagraphSeparationSensitivity(); - // *** End "Document" Page *** + + // *** Begin "Page" Page *** + xml_->get_widget("PageSize", box); + box->pack_start(pagesizecombo_, true, true, 0); + box->show_all(); + pagesizecombo_.append_text(_("Default")); + pagesizecombo_.append_text(_("Custom")); + pagesizecombo_.append_text(_("US letter")); + pagesizecombo_.append_text(_("US legal")); + pagesizecombo_.append_text(_("US executive")); + pagesizecombo_.append_text(_("A3")); + pagesizecombo_.append_text(_("A4")); + pagesizecombo_.append_text(_("A5")); + pagesizecombo_.append_text(_("B3")); + pagesizecombo_.append_text(_("B4")); + pagesizecombo_.append_text(_("B5")); + pagesizecombo_.signal_changed().connect( + sigc::mem_fun(*this, &GDocument::pageSizeChanged)); + + xml_->get_widget("PageWidth", pagewidthspin_); + xml_->get_widget("PageHeight", pageheightspin_); + xml_->get_widget("PageWidthUnits", box); + box->pack_start(pagewidthunitscombo_, true, true, 0); + box->show_all(); + populateUnitCombo(pagewidthunitscombo_, false); + xml_->get_widget("PageHeightUnits", box); + box->pack_start(pageheightunitscombo_, true, true, 0); + box->show_all(); + populateUnitCombo(pageheightunitscombo_, false); + + xml_->get_widget("Portrait", portraitradio_); + xml_->get_widget("Landscape", landscaperadio_); + + xml_->get_widget("PageStyle", box); + box->pack_start(pagestylecombo_, true, true, 0); + box->show_all(); + xml_->get_widget("DoubleSided", doublesidedtoggle_); + xml_->get_widget("TwoColumns", twocolumnstoggle_); + // *** End "Page" Page *** + + // *** Begin "Margins" Page *** + xml_->get_widget("Margins", box); + box->pack_start(marginscombo_, true, true, 0); + box->show_all(); + marginscombo_.signal_changed().connect( + sigc::mem_fun(*this, &GDocument::marginsChanged)); + pagesizecombo_.signal_changed().connect( + sigc::mem_fun(*this, &GDocument::populateMargins)); + + xml_->get_widget("MarginTop", mtopspin_); + xml_->get_widget("MarginBottom", mbottomspin_); + xml_->get_widget("MarginInner", minnerspin_); + xml_->get_widget("MarginOuter", mouterspin_); + xml_->get_widget("MarginHeadSep", mheadsepspin_); + xml_->get_widget("MarginHeadHeight", mheadheightspin_); + xml_->get_widget("MarginFootSkip", mfootskipspin_); + + xml_->get_widget("MarginTopUnits", box); + box->pack_start(mtopunitcombo_, true, true, 0); + populateUnitCombo(mtopunitcombo_, false); + xml_->get_widget("MarginBottomUnits", box); + box->pack_start(mbottomunitcombo_, true, true, 0); + populateUnitCombo(mbottomunitcombo_, false); + xml_->get_widget("MarginInnerUnits", box); + box->pack_start(minnerunitcombo_, true, true, 0); + populateUnitCombo(minnerunitcombo_, false); + xml_->get_widget("MarginOuterUnits", box); + box->pack_start(mouterunitcombo_, true, true, 0); + populateUnitCombo(mouterunitcombo_, false); + xml_->get_widget("MarginHeadSepUnits", box); + box->pack_start(mheadsepunitcombo_, true, true, 0); + populateUnitCombo(mheadsepunitcombo_, false); + xml_->get_widget("MarginHeadHeightUnits", box); + box->pack_start(mheadheightunitcombo_, true, true, 0); + populateUnitCombo(mheadheightunitcombo_, false); + xml_->get_widget("MarginFootSkipUnits", box); + box->pack_start(mfootskipunitcombo_, true, true, 0); + populateUnitCombo(mfootskipunitcombo_, false); + + Gtk::Table * table; + xml_->get_widget("MarginsTable", table); + table->show_all(); + // *** End "Margins" Page *** + + // *** Start "Language" Page *** + xml_->get_widget("Language", box); + box->pack_start(languagecombo_, true, true, 0); + box->show_all(); + + vector const langs = getLanguageData(false); + vector::const_iterator lit = langs.begin(); + vector::const_iterator lend = langs.end(); + for (; lit != lend; ++lit) { + languagecombo_.append_text(lit->first); + } + + xml_->get_widget("TextEncoding", box); + box->pack_start(encodingcombo_, true, true, 0); + box->show_all(); + + int i = 0; + while (encodings[i]) + encodingcombo_.append_text(encodings[i++]); + + xml_->get_widget("EnglishQuote", qenglishradio_); + xml_->get_widget("SwedishQuote", qswedishradio_); + xml_->get_widget("GermanQuote", qgermanradio_); + xml_->get_widget("PolishQuote", qpolishradio_); + xml_->get_widget("FrenchQuote", qfrenchradio_); + xml_->get_widget("DanishQuote", qdanishradio_); + // *** End "Language" Page *** } @@ -177,10 +297,7 @@ void GDocument::update() // Font & Size comboBoxTextSet(fontcombo_, params.fonts); - for (int i = 0; i <= 3; ++i) { - if (fontsizemap_[i] == params.fontsize) - fontsizecombo_.set_active(i); - } + comboBoxTextSet(fontsizecombo_, params.fontsize); // Line Spacing linespacingadj_->set_value(params.spacing().getValue()); @@ -204,6 +321,113 @@ void GDocument::update() // *** End "Document" Page *** + // *** Begin "Page" Page *** + int const psize = params.papersize2; + pagesizecombo_.set_active(psize); + + setWidgetsFromLength( + *(pagewidthspin_->get_adjustment()), + pagewidthunitscombo_, LyXLength(params.paperwidth)); + setWidgetsFromLength( + *(pageheightspin_->get_adjustment()), + pageheightunitscombo_, LyXLength(params.paperheight)); + + if (params.orientation == ORIENTATION_PORTRAIT) + portraitradio_->set_active(); + else + landscaperadio_->set_active(); + + if (params.columns == 2) + twocolumnstoggle_->set_active(true); + else + twocolumnstoggle_->set_active(false); + + doublesidedtoggle_->set_active(params.sides == LyXTextClass::TwoSides); + + comboBoxTextSet(pagestylecombo_, params.pagestyle); + // *** End "Page" Page *** + + // *** Begin "Margins" Page *** + int item = params.paperpackage; + if (params.use_geometry) { + item = 1; + } else if (item > 0) { + item = item + 1; + } + marginscombo_.set_active(item); + + setWidgetsFromLength( + *(mtopspin_->get_adjustment()), + mtopunitcombo_, + LyXLength(params.topmargin)); + setWidgetsFromLength( + *(mbottomspin_->get_adjustment()), + mbottomunitcombo_, + LyXLength(params.bottommargin)); + setWidgetsFromLength( + *(minnerspin_->get_adjustment()), + minnerunitcombo_, + LyXLength(params.leftmargin)); + setWidgetsFromLength( + *(mouterspin_->get_adjustment()), + mouterunitcombo_, + LyXLength(params.rightmargin)); + setWidgetsFromLength( + *(mheadsepspin_->get_adjustment()), + mheadsepunitcombo_, + LyXLength(params.headsep)); + setWidgetsFromLength( + *(mheadheightspin_->get_adjustment()), + mheadheightunitcombo_, + LyXLength(params.headheight)); + setWidgetsFromLength( + *(mfootskipspin_->get_adjustment()), + mfootskipunitcombo_, + LyXLength(params.footskip)); + + // *** End "Margins" Page *** + + // *** Start "Language" Page *** + int const langpos = findPos(lang_, + params.language->lang()); + languagecombo_.set_active(langpos); + + // Default to "auto" + encodingcombo_.set_active(0); + if (params.inputenc == "default") { + encodingcombo_.set_active(1); + } else { + int i = 0; + while (encodings[i]) { + if (encodings[i] == params.inputenc) + encodingcombo_.set_active(i); + ++i; + } + } + + switch (params.quotes_language) { + case InsetQuotes::EnglishQ: + qenglishradio_->set_active(); + break; + case InsetQuotes::SwedishQ: + qswedishradio_->set_active(); + break; + case InsetQuotes::GermanQ: + qgermanradio_->set_active(); + break; + case InsetQuotes::PolishQ: + qpolishradio_->set_active(); + break; + case InsetQuotes::FrenchQ: + qfrenchradio_->set_active(); + break; + case InsetQuotes::DanishQ: + qdanishradio_->set_active(); + break; + } + + // *** End "Language" Page *** + // Be a cheesy bastard, for the moment bc().valid(); } @@ -226,8 +450,7 @@ void GDocument::apply() // Font & Size params.fonts = fontcombo_.get_active_text(); - params.fontsize = - fontsizemap_[fontsizecombo_.get_active_row_number()]; + params.fontsize = fontsizecombo_.get_active_text(); // Line Spacing params.spacing().set(Spacing::Other, linespacingadj_->get_value()); @@ -252,6 +475,98 @@ void GDocument::apply() } // *** End "Document" Page *** + + // *** Begin "Page" Page *** + params.papersize2 = VMARGIN_PAPER_TYPE( + pagesizecombo_.get_active_row_number()); + + params.paperwidth = getLengthFromWidgets( + *(pagewidthspin_->get_adjustment()), pagewidthunitscombo_); + params.paperheight = getLengthFromWidgets( + *(pageheightspin_->get_adjustment()), pageheightunitscombo_); + + if (portraitradio_->get_active()) + params.orientation = ORIENTATION_PORTRAIT; + else + params.orientation = ORIENTATION_LANDSCAPE; + + if (twocolumnstoggle_->get_active()) + params.columns = 2; + else + params.columns = 1; + + if (doublesidedtoggle_->get_active()) + params.sides = LyXTextClass::TwoSides; + else + params.sides = LyXTextClass::OneSide; + + params.pagestyle = pagestylecombo_.get_active_text(); + + // *** End "Page" Page *** + + // *** Begin "Margins" Page *** + int psize = pagesizecombo_.get_active_row_number(); + bool geom_papersize = (psize == 1 || psize == 5 || psize == 8 || psize == 9); + params.use_geometry = + (marginscombo_.get_active_row_number() == 1 || geom_papersize); + + int margin = marginscombo_.get_active_row_number(); + if (margin > 0) { + margin = margin - 1; + } + params.paperpackage = PAPER_PACKAGES(margin); + + params.setPaperStuff(); + + params.topmargin = getLengthFromWidgets( + *(mtopspin_->get_adjustment()), + mtopunitcombo_); + params.bottommargin = getLengthFromWidgets( + *(mbottomspin_->get_adjustment()), + mbottomunitcombo_); + params.leftmargin = getLengthFromWidgets( + *(minnerspin_->get_adjustment()), + minnerunitcombo_); + params.rightmargin = getLengthFromWidgets( + *(mouterspin_->get_adjustment()), + mouterunitcombo_); + params.headsep = getLengthFromWidgets( + *(mheadsepspin_->get_adjustment()), + mheadsepunitcombo_); + params.headheight = getLengthFromWidgets( + *(mheadheightspin_->get_adjustment()), + mheadheightunitcombo_); + params.footskip = getLengthFromWidgets( + *(mfootskipspin_->get_adjustment()), + mfootskipunitcombo_); + // *** End "Margins" Page *** + + // *** Start "Language" Page *** + int const encodingsel = encodingcombo_.get_active_row_number(); + if (encodingsel == 0) + params.inputenc = "auto"; + else if (encodingsel == 1) + params.inputenc = "default"; + else + params.inputenc = encodings[encodingsel]; + + int const langsel = languagecombo_.get_active_row_number(); + params.language = languages.getLanguage(lang_[langsel]); + + if (qenglishradio_->get_active()) + params.quotes_language = InsetQuotes::EnglishQ; + else if (qswedishradio_->get_active()) + params.quotes_language = InsetQuotes::SwedishQ; + else if (qgermanradio_->get_active()) + params.quotes_language = InsetQuotes::GermanQ; + else if (qpolishradio_->get_active()) + params.quotes_language = InsetQuotes::PolishQ; + else if (qfrenchradio_->get_active()) + params.quotes_language = InsetQuotes::FrenchQ; + else if (qdanishradio_->get_active()) + params.quotes_language = InsetQuotes::DanishQ; + // *** End "Language" Page *** + } @@ -285,5 +600,105 @@ void GDocument::updateParagraphSeparationSensitivity() } +void GDocument::classChanged() +{ + ControlDocument & ctrl = controller(); + BufferParams & params = ctrl.params(); + + lyx::textclass_type const tc = classcombo_.get_active_row_number(); + + if (ctrl.loadTextclass(tc)) { + params.textclass = tc; + + if (lyxrc.auto_reset_options) { + params.useClassDefaults(); + update(); + } else { + fontsizecombo_.clear(); + fontsizecombo_.append_text("default"); + + string const fontsizeitems = ctrl.textClass().opt_fontsize(); + for (int n = 0; !token(fontsizeitems, '|', n).empty(); ++n) + fontsizecombo_.append_text(token(fontsizeitems, '|', n)); + + comboBoxTextSet(fontsizecombo_, params.fontsize); + + pagestylecombo_.clear(); + pagestylecombo_.append_text("default"); + + string const pagestyleitems = ctrl.textClass().opt_pagestyle(); + std::cerr << "pagestyleitems=" << pagestyleitems << "\n"; + for (int n=0; !token(pagestyleitems,'|',n).empty(); ++n) + pagestylecombo_.append_text(token(pagestyleitems,'|',n)); + + comboBoxTextSet(pagestylecombo_, params.pagestyle); + std::cerr << "params.pagestyle=" << params.pagestyle << "\n"; + } + } else { + classcombo_.set_active(params.textclass); + } +} + + +void GDocument::pageSizeChanged() +{ + bool const customsize = pagesizecombo_.get_active_row_number() == 1; + pagewidthspin_->set_sensitive(customsize); + pageheightspin_->set_sensitive(customsize); + pagewidthunitscombo_.set_sensitive(customsize); + pageheightunitscombo_.set_sensitive(customsize); + + if (customsize) + portraitradio_->set_active(); +} + + +void GDocument::populateMargins() +{ + int olditem = marginscombo_.get_active_row_number(); + + marginscombo_.clear(); + // Magic order + marginscombo_.append_text(_("Default")); + marginscombo_.append_text(_("Custom")); + + int papersize = pagesizecombo_.get_active_row_number(); + if (papersize < 0) + papersize = 0; + + bool const a4size = (papersize == 6 || papersize == 0 + && lyxrc.default_papersize == PAPER_A4PAPER); + if (a4size && portraitradio_->get_active()) { + marginscombo_.append_text(_("Small margins")); + marginscombo_.append_text(_("Very small margins")); + marginscombo_.append_text(_("Very wide margins")); + } else if (olditem > 1) { + olditem = 0; + } + marginscombo_.set_active(olditem); +} + + +void GDocument::marginsChanged() +{ + bool const custom = + marginscombo_.get_active_row_number() == 1; + + mtopspin_->set_sensitive(custom); + mbottomspin_->set_sensitive(custom); + minnerspin_->set_sensitive(custom); + mouterspin_->set_sensitive(custom); + mheadsepspin_->set_sensitive(custom); + mheadheightspin_->set_sensitive(custom); + mfootskipspin_->set_sensitive(custom); + mtopunitcombo_.set_sensitive(custom); + mbottomunitcombo_.set_sensitive(custom); + minnerunitcombo_.set_sensitive(custom); + mouterunitcombo_.set_sensitive(custom); + mheadsepunitcombo_.set_sensitive(custom); + mheadheightunitcombo_.set_sensitive(custom); + mfootskipunitcombo_.set_sensitive(custom); +} + } // namespace frontend } // namespace lyx diff --git a/src/frontends/gtk/GDocument.h b/src/frontends/gtk/GDocument.h index b536ac2191..3e186e4ef4 100644 --- a/src/frontends/gtk/GDocument.h +++ b/src/frontends/gtk/GDocument.h @@ -4,7 +4,7 @@ * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * - * \auther John Spray + * \author John Spray * * Full author contact details are available in file CREDITS. */ @@ -51,14 +51,59 @@ private: Gtk::RadioButton * indentradio_; Gtk::RadioButton * vspaceradio_; Gtk::ComboBoxText vspacesizecombo_; - std::map fontsizemap_; std::map vspacesizemap_; Gtk::ComboBoxText vspaceunitcombo_; Gtk::SpinButton * vspacelengthspin_; Gtk::Adjustment * vspacelengthadj_; void updateParagraphSeparationSensitivity(); + void classChanged(); // *** End "Document" Page *** + // *** Begin "Page" Page *** + Gtk::SpinButton * pagewidthspin_; + Gtk::SpinButton * pageheightspin_; + Gtk::ComboBoxText pagewidthunitscombo_; + Gtk::ComboBoxText pageheightunitscombo_; + Gtk::ComboBoxText pagesizecombo_; + Gtk::RadioButton * portraitradio_; + Gtk::RadioButton * landscaperadio_; + Gtk::ComboBoxText pagestylecombo_; + Gtk::ToggleButton * doublesidedtoggle_; + Gtk::ToggleButton * twocolumnstoggle_; + void pageSizeChanged(); + // *** End "Page" Page *** + + // *** Begin "Margins" Page *** + Gtk::ComboBoxText marginscombo_; + Gtk::SpinButton * mtopspin_; + Gtk::SpinButton * mbottomspin_; + Gtk::SpinButton * minnerspin_; + Gtk::SpinButton * mouterspin_; + Gtk::SpinButton * mheadsepspin_; + Gtk::SpinButton * mheadheightspin_; + Gtk::SpinButton * mfootskipspin_; + Gtk::ComboBoxText mtopunitcombo_; + Gtk::ComboBoxText mbottomunitcombo_; + Gtk::ComboBoxText minnerunitcombo_; + Gtk::ComboBoxText mouterunitcombo_; + Gtk::ComboBoxText mheadsepunitcombo_; + Gtk::ComboBoxText mheadheightunitcombo_; + Gtk::ComboBoxText mfootskipunitcombo_; + void populateMargins(); + void marginsChanged(); + // *** End "Margins" Page *** + + // *** Start "Language" Page *** + Gtk::ComboBoxText languagecombo_; + Gtk::ComboBoxText encodingcombo_; + Gtk::RadioButton * qenglishradio_; + Gtk::RadioButton * qswedishradio_; + Gtk::RadioButton * qgermanradio_; + Gtk::RadioButton * qpolishradio_; + Gtk::RadioButton * qfrenchradio_; + Gtk::RadioButton * qdanishradio_; + std::vector lang_; + // *** End "Language" Page *** }; } // namespace frontend diff --git a/src/frontends/gtk/glade/document.glade b/src/frontends/gtk/glade/document.glade index 341fa58335..03ad70bf6b 100644 --- a/src/frontends/gtk/glade/document.glade +++ b/src/frontends/gtk/glade/document.glade @@ -457,7 +457,7 @@ True 1 2 - False + True GTK_UPDATE_ALWAYS False False @@ -564,7 +564,7 @@ True 1 2 - False + True GTK_UPDATE_ALWAYS False False @@ -1003,7 +1003,7 @@ - + True Wid_th: True @@ -1015,7 +1015,7 @@ 0.5 0 0 - spinbutton1 + PageWidth 0 @@ -1028,7 +1028,7 @@ - + True _Height: True @@ -1040,7 +1040,7 @@ 0.5 0 0 - spinbutton2 + PageHeight 0 @@ -1053,20 +1053,7 @@ - - True - - - 1 - 3 - 0 - 1 - fill - - - - - + True True 1 @@ -1087,7 +1074,7 @@ - + True True 1 @@ -1108,8 +1095,34 @@ - + + True + False + 0 + + + + + + + 2 + 3 + 1 + 2 + fill + fill + + + + + True + False + 0 + + + + 2 @@ -1122,14 +1135,20 @@ - + True + False + 0 + + + + - 2 + 1 3 - 1 - 2 + 0 + 1 fill fill @@ -1184,7 +1203,7 @@ 0 - + True True Po_rtrait @@ -1203,7 +1222,7 @@ - + True True _Landscape @@ -1213,7 +1232,7 @@ False False True - radiobutton1 + Portrait 0 @@ -1299,13 +1318,14 @@ - + True - Default -Empty -Plain -Headings -Fancy + False + 0 + + + + 0 @@ -1394,477 +1414,518 @@ Fancy - + 12 True + 8 + 3 False - 12 + 6 + 12 - + True - True - Us_e Default Margins + _Top: True - GTK_RELIEF_NORMAL - True - False - False - True + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + MarginTop - 0 - False - False + 0 + 1 + 1 + 2 + fill + - + True - 0.5 + _Bottom: + True + False + GTK_JUSTIFY_LEFT + False + False + 0 0.5 - 1 - 1 - 0 - 0 - 12 - 0 + 0 + 0 + MarginBottom + + + 0 + 1 + 2 + 3 + fill + + + - - - True - 7 - 3 - False - 6 - 12 + + + True + _Inner: + True + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + MarginInner + + + 0 + 1 + 3 + 4 + fill + + + - - - True - _Top: - True - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - MarginTop - - - 0 - 1 - 0 - 1 - fill - - - + + + True + O_uter: + True + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + MarginOuter + + + 0 + 1 + 4 + 5 + fill + + + - - - True - _Bottom: - True - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - spinbutton10 - - - 0 - 1 - 1 - 2 - fill - - - + + + True + Head _sep + True + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + MarginHeadSep + + + 0 + 1 + 5 + 6 + fill + + + - - - True - _Inner: - True - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - spinbutton11 - - - 0 - 1 - 2 - 3 - fill - - - + + + True + Head _height: + True + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + MarginHeadHeight + + + 0 + 1 + 6 + 7 + fill + + + - - - True - O_uter: - True - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - spinbutton12 - - - 0 - 1 - 3 - 4 - fill - - - + + + True + _Foot skip: + True + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + MarginFootSkip + + + 0 + 1 + 7 + 8 + fill + + + - - - True - Head _sep - True - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - spinbutton13 - - - 0 - 1 - 4 - 5 - fill - - - + + + True + True + 1 + 2 + True + GTK_UPDATE_ALWAYS + False + False + 666 0 65536 0.01 10 10 + + + 1 + 2 + 1 + 2 + + + - - - True - Head _height: - True - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - spinbutton14 - - - 0 - 1 - 5 - 6 - fill - - - + + + True + True + 1 + 2 + True + GTK_UPDATE_ALWAYS + False + False + 666 0 65536 0.01 10 10 + + + 1 + 2 + 2 + 3 + + + - - - True - _Foot skip: - True - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - spinbutton15 - - - 0 - 1 - 6 - 7 - fill - - - + + + True + True + 1 + 2 + True + GTK_UPDATE_ALWAYS + False + False + 666 0 65536 0.01 10 10 + + + 1 + 2 + 3 + 4 + + + - - - True - True - 1 - 2 - True - GTK_UPDATE_ALWAYS - False - False - 666 0 65536 0.01 10 10 - - - 1 - 2 - 0 - 1 - - - + + + True + True + 1 + 2 + True + GTK_UPDATE_ALWAYS + False + False + 666 0 65536 0.01 10 10 + + + 1 + 2 + 4 + 5 + + + - - - True - - - 2 - 3 - 0 - 1 - fill - - + + + True + True + 1 + 2 + True + GTK_UPDATE_ALWAYS + False + False + 666 0 65536 0.01 10 10 + + + 1 + 2 + 5 + 6 + + + - - - True - - - 2 - 3 - 1 - 2 - fill - fill - - + + + True + True + 1 + 2 + True + GTK_UPDATE_ALWAYS + False + False + 666 0 65536 0.01 10 10 + + + 1 + 2 + 6 + 7 + + + - - - True - - - 2 - 3 - 2 - 3 - fill - fill - - + + + True + True + 1 + 2 + True + GTK_UPDATE_ALWAYS + False + False + 666 0 65536 0.01 10 10 + + + 1 + 2 + 7 + 8 + + + - - - True - - - 2 - 3 - 3 - 4 - fill - fill - - + + + True + Ma_rgins: + True + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + 0 + 1 + 0 + 1 + fill + + + - - - True - - - 2 - 3 - 4 - 5 - fill - fill - - + + + True + False + 0 - - - True - - - 2 - 3 - 5 - 6 - fill - fill - - + + + + + + 1 + 3 + 0 + 1 + fill + fill + + + + + + True + False + 0 + + + + + + + 2 + 3 + 1 + 2 + fill + fill + + + + + + True + False + 0 + + + + + + + 2 + 3 + 2 + 3 + fill + fill + + + + + + True + False + 0 + + + + + + + 2 + 3 + 3 + 4 + fill + fill + + + + + + True + False + 0 - - - True - - - 2 - 3 - 6 - 7 - fill - fill - - + + + + + + 2 + 3 + 4 + 5 + fill + fill + + - - - True - True - 1 - 2 - True - GTK_UPDATE_ALWAYS - False - False - 666 0 65536 0.01 10 10 - - - 1 - 2 - 1 - 2 - - - + + + True + False + 0 - - - True - True - 1 - 2 - True - GTK_UPDATE_ALWAYS - False - False - 666 0 65536 0.01 10 10 - - - 1 - 2 - 2 - 3 - - - + + + + + + 2 + 3 + 5 + 6 + fill + fill + + - - - True - True - 1 - 2 - True - GTK_UPDATE_ALWAYS - False - False - 666 0 65536 0.01 10 10 - - - 1 - 2 - 3 - 4 - - - + + + True + False + 0 - - - True - True - 1 - 2 - True - GTK_UPDATE_ALWAYS - False - False - 666 0 65536 0.01 10 10 - - - 1 - 2 - 4 - 5 - - - + + + + + + 2 + 3 + 6 + 7 + fill + fill + + - - - True - True - 1 - 2 - True - GTK_UPDATE_ALWAYS - False - False - 666 0 65536 0.01 10 10 - - - 1 - 2 - 5 - 6 - - - + + + True + False + 0 - - - True - True - 1 - 2 - True - GTK_UPDATE_ALWAYS - False - False - 666 0 65536 0.01 10 10 - - - 1 - 2 - 6 - 7 - - - - + + - 0 - True - True + 2 + 3 + 7 + 8 + fill + fill @@ -1894,20 +1955,21 @@ Fancy - + + 12 True - 8 - 3 + 3 + 2 False - 6 + 12 12 - + True - <b>Item</b> + Language: False - True + False GTK_JUSTIFY_LEFT False False @@ -1927,35 +1989,30 @@ Fancy - + True - <b>Numbered</b> - False - True - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 + False + 0 + + + + 1 2 0 1 - fill - + fill - + True - <b>Show in TOC</b> + Text encoding: False - True + False GTK_JUSTIFY_LEFT False False @@ -1965,51 +2022,181 @@ Fancy 0 - 2 - 3 - 0 - 1 + 0 + 1 + 1 + 2 fill - + True - C_hapter - True - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - checkbutton1 + False + 0 + + + + + + + 1 + 2 + 1 + 2 + fill + fill + + + + + + True + False + 0 + + + + True + True + ‶Quotation” + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + + True + True + “Quotation” + True + GTK_RELIEF_NORMAL + True + False + False + True + EnglishQuote + + + 0 + False + False + + + + + + True + True + „Quotation‶ + True + GTK_RELIEF_NORMAL + True + False + False + True + EnglishQuote + + + 0 + False + False + + + + + + True + True + „Quotation'' + True + GTK_RELIEF_NORMAL + True + False + False + True + EnglishQuote + + + 0 + False + False + + + + + + True + True + ‹‹Quotation›› + True + GTK_RELIEF_NORMAL + True + False + False + True + EnglishQuote + + + 0 + False + False + + + + + + True + True + ››Quotation‹‹ + True + GTK_RELIEF_NORMAL + True + False + False + True + EnglishQuote + + + 0 + False + False + + - 0 - 1 - 1 - 2 + 1 + 2 + 2 + 3 fill - + fill - + True - C_hapter - True + Quote style: + False False GTK_JUSTIFY_LEFT False False 0 - 0.5 + 0 0 0 @@ -2019,171 +2206,445 @@ Fancy 2 3 fill - + fill + + + False + True + + + + + + True + _Language + True + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + tab + + + + + + 12 + True + False + 0 - + True - C_hapter - True - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 + 2 + 2 + False + 0 + 12 + + + + True + Numbering: + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + 0 + 1 + 0 + 1 + fill + + + + + + + True + Table of Contents: + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + 0 + 1 + 1 + 2 + fill + + + + + + + True + True + True + GTK_POS_TOP + 0 + GTK_UPDATE_CONTINUOUS + False + 0 0 0 0 0 0 + + + 1 + 2 + 0 + 1 + fill + + + + + + True + True + True + GTK_POS_TOP + 0 + GTK_UPDATE_CONTINUOUS + False + 0 0 0 0 0 0 + + + 1 + 2 + 1 + 2 + fill + fill + + - 0 - 1 - 3 - 4 - fill - + 0 + True + True - - - True - C_hapter - True - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - - - 0 - 1 - 4 - 5 - fill - - - + + + True + 8 + 3 + False + 6 + 12 + + + + True + <b>Item</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + 0 + 1 + 0 + 1 + fill + + + + + + + True + <b>Numbered</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + 1 + 2 + 0 + 1 + fill + + + + + + + True + <b>Show in TOC</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + 2 + 3 + 0 + 1 + fill + + + + + + + True + C_hapter + True + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + checkbutton1 + + + 0 + 1 + 1 + 2 + fill + + + + + + + True + C_hapter + True + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + 0 + 1 + 2 + 3 + fill + + + + + + + True + C_hapter + True + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + 0 + 1 + 3 + 4 + fill + + + - - - True - C_hapter - True - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - - - 0 - 1 - 5 - 6 - fill - - - + + + True + C_hapter + True + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + 0 + 1 + 4 + 5 + fill + + + - - - True - C_hapter - True - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - - - 0 - 1 - 6 - 7 - fill - - - + + + True + C_hapter + True + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + 0 + 1 + 5 + 6 + fill + + + - - - True - C_hapter - True - False - GTK_JUSTIFY_LEFT - False - False - 0 - 0.5 - 0 - 0 - - - 0 - 1 - 7 - 8 - fill - - - + + + True + C_hapter + True + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + 0 + 1 + 6 + 7 + fill + + + - - - True - True - Numbered - True - GTK_RELIEF_NORMAL - True - False - False - False - - - 1 - 2 - 1 - 2 - fill - - - + + + True + C_hapter + True + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + 0 + 1 + 7 + 8 + fill + + + - - - True - True - Show in TOC - True - GTK_RELIEF_NORMAL - True - False - False - False + + + True + True + Numbered + True + GTK_RELIEF_NORMAL + True + False + False + False + + + 1 + 2 + 1 + 2 + fill + + + + + + + True + True + Show in TOC + True + GTK_RELIEF_NORMAL + True + False + False + False + + + 2 + 3 + 1 + 2 + fill + + + - 2 - 3 - 1 - 2 - fill - + 0 + True + True @@ -2196,8 +2657,8 @@ Fancy True - Language - False + _Numbering + True False GTK_JUSTIFY_LEFT False