LibreOffice Module sw (master)  1
Enumerations | Variables
xmlmeta.cxx File Reference
#include <com/sun/star/document/XDocumentPropertiesSupplier.hpp>
#include <osl/diagnose.h>
#include <xmloff/xmlmetai.hxx>
#include <xmloff/ProgressBarHelper.hxx>
#include <o3tl/safeint.hxx>
#include <xmloff/xmluconv.hxx>
#include <docstat.hxx>
#include <doc.hxx>
#include <IDocumentStatistics.hxx>
#include "xmlimp.hxx"
#include "xmlexp.hxx"
Include dependency graph for xmlmeta.cxx:

Go to the source code of this file.

Enumerations

enum  SvXMLTokenMapAttrs
 

Variables

static const struct statistic s_stats []
 

Enumeration Type Documentation

Definition at line 68 of file xmlmeta.cxx.

Variable Documentation

const struct statistic s_stats[]
static
Initial value:
= {
{ XML_TOK_META_STAT_TABLE, "TableCount", &SwDocStat::nTable, nullptr },
{ XML_TOK_META_STAT_IMAGE, "ImageCount", &SwDocStat::nGrf, nullptr },
{ XML_TOK_META_STAT_OLE, "ObjectCount", &SwDocStat::nOLE, nullptr },
{ XML_TOK_META_STAT_PAGE, "PageCount", nullptr, &SwDocStat::nPage },
{ XML_TOK_META_STAT_PARA, "ParagraphCount", nullptr, &SwDocStat::nPara },
{ XML_TOK_META_STAT_WORD, "WordCount", nullptr, &SwDocStat::nWord },
{ XML_TOK_META_STAT_CHAR, "CharacterCount", nullptr, &SwDocStat::nChar },
{ XML_TOK_META_STAT_NON_WHITE_SPACE_CHAR, "NonWhitespaceCharacterCount", nullptr, &SwDocStat::nCharExcludingSpaces },
{ XML_TOK_META_STAT_END, nullptr, nullptr, nullptr }
}
sal_uLong nPara
paragraphs for document statistic: non-empty and non-hidden ones
Definition: docstat.hxx:32
sal_uLong nChar
Definition: docstat.hxx:37
sal_uInt16 nTable
Definition: docstat.hxx:27
sal_uLong nCharExcludingSpaces
Definition: docstat.hxx:38
sal_uInt16 nOLE
Definition: docstat.hxx:29
sal_uLong nPage
Definition: docstat.hxx:30
sal_uInt16 nGrf
Definition: docstat.hxx:28
sal_uLong nWord
Definition: docstat.hxx:35

Definition at line 90 of file xmlmeta.cxx.