LibreOffice Module sw (master) 1
Variables
xmlmeta.cxx File Reference
#include <com/sun/star/document/XDocumentPropertiesSupplier.hpp>
#include <com/sun/star/frame/XModel.hpp>
#include <osl/diagnose.h>
#include <xmloff/xmlmetai.hxx>
#include <xmloff/ProgressBarHelper.hxx>
#include <xmloff/xmltkmap.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.

Variables

const struct statistic s_stats []
 

Variable Documentation

◆ s_stats

const struct statistic s_stats[]
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 nWord
Definition: docstat.hxx:35
sal_uInt16 nOLE
Definition: docstat.hxx:29
sal_uInt16 nTable
Definition: docstat.hxx:27
sal_uLong nCharExcludingSpaces
Definition: docstat.hxx:38
sal_uInt16 nGrf
Definition: docstat.hxx:28
sal_uLong nPara
paragraphs for document statistic: non-empty and non-hidden ones
Definition: docstat.hxx:32
sal_uLong nPage
Definition: docstat.hxx:30
sal_uLong nChar
Definition: docstat.hxx:37

Definition at line 92 of file xmlmeta.cxx.

Referenced by SwXMLImport::SetStatistics().