ManuscriptScenes.h header
#include <ew/app/ManuscriptScenes.h>
Namespace ew::app
ManuscriptScene struct
struct ew::app::ManuscriptScene
One document in manuscript reading order, with the word count of its own body. Backs the pacing view, which plots these counts left to right to show the manuscript's rhythm.
Members
ew::core::ContentId ew::app::ManuscriptScene::id
The document's id.
QString ew::app::ManuscriptScene::title
The document's title.
int ew::app::ManuscriptScene::words = 0
The word count of the document's body (not including its children).
Functions
std::vector< ManuscriptScene > ew::app::manuscriptScenes(const ew::core::Project &project)
Every document in project flattened into manuscript reading order: a depth-first, pre-order walk of the document tree (each parent immediately followed by its ordered children), using the same sibling order as the manuscript tree everywhere else.