2003-11-05 12:06:20 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
* \file output_docbook.h
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
2008-11-14 15:58:50 +00:00
|
|
|
* \author Lars Gullik Bjønnes
|
|
|
|
* \author José Matos
|
2020-06-08 21:27:49 +00:00
|
|
|
* \author Thibaut Cuvelier
|
2020-12-05 22:17:02 +00:00
|
|
|
* \author Richard Kimberly Heck
|
2003-11-05 12:06:20 +00:00
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS.
|
|
|
|
*/
|
|
|
|
|
2022-12-26 23:02:30 +00:00
|
|
|
// TODO: respect languages when opening tags: par.getParLanguage(bparams) in output_latex.cpp
|
|
|
|
// TODO: if the user specifically asks, output change-tracking information (choice between revisionflag attribute and
|
|
|
|
// Oxygen's formatting)
|
|
|
|
// <?oxy_options track_changes="on"?> <!-- After closing root tag -->
|
|
|
|
// <?oxy_comment_start author="XXX" timestamp="20221226T235332+0100" comment="XXX"?>...<?oxy_comment_end?>
|
|
|
|
// <?oxy_insert_start author="XXX" timestamp="20221226T235458+0100"?>XXX<?oxy_insert_end?>
|
|
|
|
// <?oxy_delete author="XXX" timestamp="20221226T235519+0100" content="XXX"?> <!-- XML-encoded deleted text
|
|
|
|
// (including tags) -->
|
|
|
|
|
2003-11-05 12:06:20 +00:00
|
|
|
#ifndef OUTPUT_DOCBOOK_H
|
|
|
|
#define OUTPUT_DOCBOOK_H
|
|
|
|
|
2020-06-08 21:27:49 +00:00
|
|
|
#include "LayoutEnums.h"
|
2020-09-11 23:52:58 +00:00
|
|
|
#include "ParagraphList.h"
|
2020-06-08 21:27:49 +00:00
|
|
|
|
|
|
|
#include "support/docstream.h"
|
2007-11-01 22:17:22 +00:00
|
|
|
#include "support/strfwd.h"
|
2019-05-09 23:35:40 +00:00
|
|
|
#include "xml.h"
|
2006-03-23 20:11:06 +00:00
|
|
|
|
2006-10-21 00:16:43 +00:00
|
|
|
namespace lyx {
|
|
|
|
|
2003-11-05 12:06:20 +00:00
|
|
|
class Buffer;
|
|
|
|
class OutputParams;
|
2009-08-09 18:35:39 +00:00
|
|
|
class Text;
|
2003-11-05 12:06:20 +00:00
|
|
|
|
2020-09-11 23:52:58 +00:00
|
|
|
/// generates an xml::StartTag for the given style
|
2020-06-08 21:27:49 +00:00
|
|
|
xml::FontTag docbookStartFontTag(xml::FontTypes type);
|
2020-09-11 23:52:58 +00:00
|
|
|
/// generates an xml::EndTag for the given style
|
2020-06-08 21:27:49 +00:00
|
|
|
xml::EndFontTag docbookEndFontTag(xml::FontTypes type);
|
|
|
|
|
2020-09-11 23:52:58 +00:00
|
|
|
/// output a series of paragraphs into the XMLStream
|
|
|
|
void docbookParagraphs(Text const &,
|
|
|
|
Buffer const &,
|
|
|
|
XMLStream &,
|
|
|
|
OutputParams const &);
|
|
|
|
|
|
|
|
/// output a single paragraph into the XMLStream
|
|
|
|
ParagraphList::const_iterator makeAny(Text const &,
|
|
|
|
Buffer const &,
|
|
|
|
XMLStream &,
|
|
|
|
OutputParams const &,
|
|
|
|
ParagraphList::const_iterator);
|
2006-10-21 00:16:43 +00:00
|
|
|
|
|
|
|
} // namespace lyx
|
|
|
|
|
2003-11-05 12:06:20 +00:00
|
|
|
#endif
|