LibreOffice Module sw (master)  1
Classes | Enumerations | Variables
xmlmeta.cxx File Reference
#include <hintids.hxx>
#include <com/sun/star/document/XDocumentPropertiesSupplier.hpp>
#include <osl/diagnose.h>
#include <xmloff/xmlnmspe.hxx>
#include <xmloff/xmlmetai.hxx>
#include <xmloff/xmlmetae.hxx>
#include <xmloff/ProgressBarHelper.hxx>
#include <editeng/langitem.hxx>
#include <o3tl/safeint.hxx>
#include <xmloff/xmluconv.hxx>
#include <xmloff/nmspmap.hxx>
#include <docstat.hxx>
#include <docsh.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.

Classes

struct  statistic
 

Enumerations

enum  SvXMLTokenMapAttrs {
  XML_TOK_BGIMG_HREF,
  XML_TOK_BGIMG_TYPE,
  XML_TOK_BGIMG_ACTUATE,
  XML_TOK_BGIMG_SHOW,
  XML_TOK_BGIMG_POSITION,
  XML_TOK_BGIMG_REPEAT,
  XML_TOK_BGIMG_FILTER,
  XML_TOK_META_STAT_TABLE = 1,
  XML_TOK_META_STAT_IMAGE = 2,
  XML_TOK_META_STAT_OLE = 4,
  XML_TOK_META_STAT_PAGE = 8,
  XML_TOK_META_STAT_PARA = 16,
  XML_TOK_META_STAT_WORD = 32,
  XML_TOK_META_STAT_CHAR = 64,
  XML_TOK_META_STAT_NON_WHITE_SPACE_CHAR = 128,
  XML_TOK_META_STAT_END =XML_TOK_UNKNOWN
}
 

Variables

static const struct statistic s_stats []
 

Enumeration Type Documentation

Enumerator
XML_TOK_BGIMG_HREF 
XML_TOK_BGIMG_TYPE 
XML_TOK_BGIMG_ACTUATE 
XML_TOK_BGIMG_SHOW 
XML_TOK_BGIMG_POSITION 
XML_TOK_BGIMG_REPEAT 
XML_TOK_BGIMG_FILTER 
XML_TOK_META_STAT_TABLE 
XML_TOK_META_STAT_IMAGE 
XML_TOK_META_STAT_OLE 
XML_TOK_META_STAT_PAGE 
XML_TOK_META_STAT_PARA 
XML_TOK_META_STAT_WORD 
XML_TOK_META_STAT_CHAR 
XML_TOK_META_STAT_NON_WHITE_SPACE_CHAR 
XML_TOK_META_STAT_END 

Definition at line 75 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 95 of file xmlmeta.cxx.