lyx_mirror/src/output_docbook.h

60 lines
1.9 KiB
C
Raw Normal View History

// -*- C++ -*-
/**
* \file output_docbook.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \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
*
* Full author contact details are available in file CREDITS.
*/
// 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) -->
#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"
#include "xml.h"
namespace lyx {
class Buffer;
class OutputParams;
class Text;
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);
} // namespace lyx
#endif