mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-01 13:40:39 +00:00
Fix some typos that were preventing compilation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20402 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
067c8f2ae9
commit
9997fdda53
@ -1229,28 +1229,28 @@ void GuiDocumentDialog::apply(BufferParams & params)
|
|||||||
|
|
||||||
// PDF support
|
// PDF support
|
||||||
PDFOptions & pdf = params.pdfoptions();
|
PDFOptions & pdf = params.pdfoptions();
|
||||||
pdf.use_hyperref_ = pdfSupportModule->use_hyperrefCB->isChecked();
|
pdf.use_hyperref = pdfSupportModule->use_hyperrefCB->isChecked();
|
||||||
pdf.title_ = fromqstr(pdfSupportModule->titleLE->text());
|
pdf.title = fromqstr(pdfSupportModule->titleLE->text());
|
||||||
pdf.author_ = fromqstr(pdfSupportModule->authorLE->text());
|
pdf.author = fromqstr(pdfSupportModule->authorLE->text());
|
||||||
pdf.subject_ = fromqstr(pdfSupportModule->subjectLE->text());
|
pdf.subject = fromqstr(pdfSupportModule->subjectLE->text());
|
||||||
pdf.keywords_ = fromqstr(pdfSupportModule->keywordsLE->text());
|
pdf.keywords = fromqstr(pdfSupportModule->keywordsLE->text());
|
||||||
|
|
||||||
pdf.bookmarks_ = pdfSupportModule->bookmarksGB->isChecked();
|
pdf.bookmarks = pdfSupportModule->bookmarksGB->isChecked();
|
||||||
pdf.bookmarksnumbered_ = pdfSupportModule->bookmarksnumberedCB->isChecked();
|
pdf.bookmarksnumbered = pdfSupportModule->bookmarksnumberedCB->isChecked();
|
||||||
pdf.bookmarksopen_ = pdfSupportModule->bookmarksopenGB->isChecked();
|
pdf.bookmarksopen = pdfSupportModule->bookmarksopenGB->isChecked();
|
||||||
pdf.bookmarksopenlevel_ =
|
pdf.bookmarksopenlevel =
|
||||||
fromqstr(pdfSupportModule->bookmarksopenlevelLE->text());
|
fromqstr(pdfSupportModule->bookmarksopenlevelLE->text());
|
||||||
|
|
||||||
pdf.breaklinks_ = pdfSupportModule->breaklinksCB->isChecked();
|
pdf.breaklinks = pdfSupportModule->breaklinksCB->isChecked();
|
||||||
pdf.pdfborder_ = pdfSupportModule->pdfborderCB->isChecked();
|
pdf.pdfborder = pdfSupportModule->pdfborderCB->isChecked();
|
||||||
pdf.colorlinks_ = pdfSupportModule->colorlinksCB->isChecked();
|
pdf.colorlinks = pdfSupportModule->colorlinksCB->isChecked();
|
||||||
pdf.backref_ = pdfSupportModule->backrefCB->isChecked();
|
pdf.backref = pdfSupportModule->backrefCB->isChecked();
|
||||||
pdf.pagebackref_ = pdfSupportModule->pagebackrefCB->isChecked();
|
pdf.pagebackref = pdfSupportModule->pagebackrefCB->isChecked();
|
||||||
if (pdfSupportModule->fullscreenCB->isChecked())
|
if (pdfSupportModule->fullscreenCB->isChecked())
|
||||||
pdf.pagemode_ = pdf.pagemode_fullscreen_;
|
pdf.pagemode = pdf.pagemode_fullscreen;
|
||||||
pdf.quoted_options_ = fromqstr(pdfSupportModule->optionsLE->text());
|
pdf.quoted_options = fromqstr(pdfSupportModule->optionsLE->text());
|
||||||
if (pdf.use_hyperref_ || !pdf.empty())
|
if (pdf.use_hyperref || !pdf.empty())
|
||||||
pdf.store_options_ = true;
|
pdf.store_options = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -1536,29 +1536,29 @@ void GuiDocumentDialog::updateParams(BufferParams const & params)
|
|||||||
|
|
||||||
// PDF support
|
// PDF support
|
||||||
PDFOptions const & pdf = params.pdfoptions();
|
PDFOptions const & pdf = params.pdfoptions();
|
||||||
pdfSupportModule->use_hyperrefCB->setChecked(pdf.use_hyperref_);
|
pdfSupportModule->use_hyperrefCB->setChecked(pdf.use_hyperref);
|
||||||
pdfSupportModule->titleLE->setText(toqstr(pdf.title_));
|
pdfSupportModule->titleLE->setText(toqstr(pdf.title));
|
||||||
pdfSupportModule->authorLE->setText(toqstr(pdf.author_));
|
pdfSupportModule->authorLE->setText(toqstr(pdf.author));
|
||||||
pdfSupportModule->subjectLE->setText(toqstr(pdf.subject_));
|
pdfSupportModule->subjectLE->setText(toqstr(pdf.subject));
|
||||||
pdfSupportModule->keywordsLE->setText(toqstr(pdf.keywords_));
|
pdfSupportModule->keywordsLE->setText(toqstr(pdf.keywords));
|
||||||
|
|
||||||
pdfSupportModule->bookmarksGB->setChecked(pdf.bookmarks_);
|
pdfSupportModule->bookmarksGB->setChecked(pdf.bookmarks);
|
||||||
pdfSupportModule->bookmarksnumberedCB->setChecked(pdf.bookmarksnumbered_);
|
pdfSupportModule->bookmarksnumberedCB->setChecked(pdf.bookmarksnumbered);
|
||||||
pdfSupportModule->bookmarksopenGB->setChecked(pdf.bookmarksopen_);
|
pdfSupportModule->bookmarksopenGB->setChecked(pdf.bookmarksopen);
|
||||||
|
|
||||||
pdfSupportModule->bookmarksopenlevelLE->setText(
|
pdfSupportModule->bookmarksopenlevelLE->setText(
|
||||||
toqstr(pdf.bookmarksopenlevel_));
|
toqstr(pdf.bookmarksopenlevel));
|
||||||
|
|
||||||
pdfSupportModule->breaklinksCB->setChecked(pdf.breaklinks_);
|
pdfSupportModule->breaklinksCB->setChecked(pdf.breaklinks);
|
||||||
pdfSupportModule->pdfborderCB->setChecked(pdf.pdfborder_);
|
pdfSupportModule->pdfborderCB->setChecked(pdf.pdfborder);
|
||||||
pdfSupportModule->colorlinksCB->setChecked(pdf.colorlinks_);
|
pdfSupportModule->colorlinksCB->setChecked(pdf.colorlinks);
|
||||||
pdfSupportModule->backrefCB->setChecked(pdf.backref_);
|
pdfSupportModule->backrefCB->setChecked(pdf.backref);
|
||||||
pdfSupportModule->pagebackrefCB->setChecked(pdf.pagebackref_);
|
pdfSupportModule->pagebackrefCB->setChecked(pdf.pagebackref);
|
||||||
pdfSupportModule->fullscreenCB->setChecked
|
pdfSupportModule->fullscreenCB->setChecked
|
||||||
(pdf.pagemode_ == pdf.pagemode_fullscreen_);
|
(pdf.pagemode == pdf.pagemode_fullscreen);
|
||||||
|
|
||||||
pdfSupportModule->optionsLE->setText(
|
pdfSupportModule->optionsLE->setText(
|
||||||
toqstr(pdf.quoted_options_));
|
toqstr(pdf.quoted_options));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user