mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 11:08:41 +00:00
Make biblio_style private
This should never ever be accessed directly
This commit is contained in:
parent
f38827b63b
commit
5d58bfadbc
@ -462,9 +462,9 @@ public:
|
||||
/// the available citation styles
|
||||
std::vector<CitationStyle> citeStyles() const;
|
||||
|
||||
/// the default BibTeX style file for the document
|
||||
std::string biblio_style;
|
||||
/// the default BibTeX style file from the TextClass
|
||||
/// Set the default BibTeX style file for the document
|
||||
void setDefaultBiblioStyle(std::string const & s){ biblio_style = s; }
|
||||
/// Get the default BibTeX style file from the TextClass
|
||||
std::string const & defaultBiblioStyle() const;
|
||||
/// whether the BibTeX style supports full author lists
|
||||
bool const & fullAuthorList() const;
|
||||
@ -535,6 +535,8 @@ private:
|
||||
LayoutModuleList cite_engine_;
|
||||
/// the type of cite engine (authoryear or numerical)
|
||||
CiteEngineType cite_engine_type_;
|
||||
/// the default BibTeX style file for the document
|
||||
std::string biblio_style;
|
||||
///
|
||||
DocumentClassPtr doc_class_;
|
||||
///
|
||||
|
@ -2642,7 +2642,7 @@ void GuiDocument::applyView()
|
||||
bp_.use_bibtopic =
|
||||
biblioModule->bibtopicCB->isChecked();
|
||||
|
||||
bp_.biblio_style = fromqstr(biblioModule->defaultBiblioCO->currentText());
|
||||
bp_.setDefaultBiblioStyle(fromqstr(biblioModule->defaultBiblioCO->currentText()));
|
||||
|
||||
string const bibtex_command =
|
||||
fromqstr(biblioModule->bibtexCO->itemData(
|
||||
|
Loading…
Reference in New Issue
Block a user