PocoDoc updates from macchina.io

This commit is contained in:
Guenter Obiltschnig 2016-05-01 21:29:39 +02:00
parent 95bb6bfeea
commit 43accdff89
5 changed files with 633 additions and 8 deletions

File diff suppressed because one or more lines are too long

View File

@ -3,14 +3,14 @@
<head>
<title>${PocoDoc.software} - Reference Library</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<meta name="author" content="${PocoDoc.company}"/>
<meta name="author" content="Applied Informatics Software Engineering GmbH and Contributors"/>
<meta name="generator" content="PocoDoc"/>
<link rel="stylesheet" href="css/styles.css" type="text/css"/>
<script type="text/javascript" src="js/iframeResizer.min.js"></script>
</head>
<body>
<div class="header">
<h1 class="category">${PocoDoc.software}</h1>
<h1 class="category">POCO C++ Libraries</h1>
<h1 class="title">Reference Library</h1>
</div>
<div class="body">

View File

@ -1,7 +1,7 @@
//
// DocWriter.cpp
//
// $Id: //poco/1.4/PocoDoc/src/DocWriter.cpp#4 $
// $Id: //poco/1.7/PocoDoc/src/DocWriter.cpp#3 $
//
// Copyright (c) 2005-2014, Applied Informatics Software Engineering GmbH.
// and Contributors.
@ -2192,6 +2192,7 @@ void DocWriter::writePage(Page& page)
writeCopyright(ostr);
endContent(ostr);
endBody(ostr);
ostr << "<script>CollapsibleLists.apply(true)</script>" << std::endl;
writeFooter(ostr);
}
@ -2229,8 +2230,8 @@ void DocWriter::scanTOC(const std::string& text, TOC& toc)
void DocWriter::writeTOC(std::ostream& ostr, const TOC& toc)
{
ostr << "<h2>" << tr("TOC") << "</h2>" << std::endl;
ostr << "<div class=\"toc\">" << std::endl;
ostr << "<ul class=\"collapsibleList\"><li>" << tr("TOC") << std::endl;
int lastLevel = 0;
for (TOC::const_iterator it = toc.begin(); it != toc.end(); ++it)
{
@ -2257,7 +2258,7 @@ void DocWriter::writeTOC(std::ostream& ostr, const TOC& toc)
{
ostr << "</li></ul>" << std::endl;
}
ostr << "</li></ul></div>" << std::endl;
ostr << "</li></ul></li></ul></div>" << std::endl;
}

View File

@ -1,7 +1,7 @@
//
// DocWriter.h
//
// $Id: //poco/1.4/PocoDoc/src/DocWriter.h#2 $
// $Id: //poco/1.7/PocoDoc/src/DocWriter.h#2 $
//
// Definition of the DocWriter class.
//

View File

@ -1,7 +1,7 @@
//
// PocoDoc.cpp
//
// $Id: //poco/1.4/PocoDoc/src/PocoDoc.cpp#2 $
// $Id: //poco/1.7/PocoDoc/src/PocoDoc.cpp#2 $
//
// Copyright (c) 2005-2014, Applied Informatics Software Engineering GmbH.
// and Contributors.