Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 16203 → Rev 16204

/trunk/Scribus/scribus/prefsmanager.cpp
467,6 → 467,7
appPrefs.pdfPrefs.hideMenuBar = false;
appPrefs.pdfPrefs.hideToolBar = false;
appPrefs.pdfPrefs.fitWindow = false;
appPrefs.pdfPrefs.openAfterExport = false;
appPrefs.pdfPrefs.PageLayout = PDFOptions::SinglePage;
appPrefs.pdfPrefs.openAction = "";
appPrefs.imageCachePrefs.cacheEnabled = false;
1726,6 → 1727,10
pdf.setAttribute("DisplayFullscreen", static_cast<int>(appPrefs.pdfPrefs.displayFullscreen));
pdf.setAttribute("DisplayLayers", static_cast<int>(appPrefs.pdfPrefs.displayLayers));
pdf.setAttribute("DisplayThumbs", static_cast<int>(appPrefs.pdfPrefs.displayThumbs));
pdf.setAttribute("hideMenuBar", static_cast<int>(appPrefs.pdfPrefs.hideMenuBar));
pdf.setAttribute("hideToolBar", static_cast<int>(appPrefs.pdfPrefs.hideToolBar));
pdf.setAttribute("fitWindow", static_cast<int>(appPrefs.pdfPrefs.fitWindow));
pdf.setAttribute("openAfterExport", static_cast<int>(appPrefs.pdfPrefs.openAfterExport));
pdf.setAttribute("PageLayout", appPrefs.pdfPrefs.PageLayout);
pdf.setAttribute("OpenAction", appPrefs.pdfPrefs.openAction);
QMap<QString,LPIData>::Iterator itlp;
2431,6 → 2436,10
appPrefs.pdfPrefs.displayFullscreen = static_cast<bool>(dc.attribute("DisplayFullscreen", "0").toInt());
appPrefs.pdfPrefs.displayLayers = static_cast<bool>(dc.attribute("DisplayLayers", "0").toInt());
appPrefs.pdfPrefs.displayThumbs = static_cast<bool>(dc.attribute("DisplayThumbs", "0").toInt());
appPrefs.pdfPrefs.hideMenuBar = static_cast<bool>(dc.attribute("hideMenuBar", "0").toInt());
appPrefs.pdfPrefs.hideToolBar = static_cast<bool>(dc.attribute("hideToolBar", "0").toInt());
appPrefs.pdfPrefs.fitWindow = static_cast<bool>(dc.attribute("fitWindow", "0").toInt());
appPrefs.pdfPrefs.openAfterExport = static_cast<bool>(dc.attribute("openAfterExport", "0").toInt());
appPrefs.pdfPrefs.PageLayout = dc.attribute("PageLayout", "0").toInt();
appPrefs.pdfPrefs.openAction = dc.attribute("OpenAction", "");
QDomNode PFO = DOC.firstChild();
/trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format_save.cpp
828,6 → 828,7
docu.writeAttribute("hideMenuBar", static_cast<int>(m_Doc->pdfOptions().hideMenuBar));
docu.writeAttribute("hideToolBar", static_cast<int>(m_Doc->pdfOptions().hideToolBar));
docu.writeAttribute("fitWindow", static_cast<int>(m_Doc->pdfOptions().fitWindow));
docu.writeAttribute("openAfterExport", static_cast<int>(m_Doc->pdfOptions().openAfterExport));
docu.writeAttribute("PageLayout", m_Doc->pdfOptions().PageLayout);
docu.writeAttribute("openAction", m_Doc->pdfOptions().openAction);
for (int pdoF = 0; pdoF < m_Doc->pdfOptions().EmbedList.count(); ++pdoF)
/trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format.cpp
2249,6 → 2249,7
doc->pdfOptions().hideMenuBar = attrs.valueAsBool("hideMenuBar", false);
doc->pdfOptions().hideToolBar = attrs.valueAsBool("hideToolBar", false);
doc->pdfOptions().fitWindow = attrs.valueAsBool("fitWindow", false);
doc->pdfOptions().openAfterExport = attrs.valueAsBool("openAfterExport", false);
doc->pdfOptions().PageLayout = attrs.valueAsInt("PageLayout", 0);
doc->pdfOptions().openAction = attrs.valueAsString("openAction", "");