LibreOffice Module sw (master)  1
Classes | Namespaces | Macros | Typedefs | Enumerations | Variables
tox.hxx File Reference
#include <cppuhelper/weakref.hxx>
#include <sal/log.hxx>
#include <i18nlangtag/lang.h>
#include <svl/poolitem.hxx>
#include <editeng/svxenum.hxx>
#include "swtypes.hxx"
#include "toxe.hxx"
#include "calbck.hxx"
#include <o3tl/typed_flags_set.hxx>
#include <vector>
Include dependency graph for tox.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SwTOXMark
 
class  SwTOXType
 
struct  SwFormToken
 
struct  SwFormTokenEqualToFormTokenType
 
class  SwFormTokensHelper
 Helper class that converts vectors of tokens to strings and vice versa. More...
 
class  SwForm
 
struct  o3tl::typed_flags< SwTOXElement >
 
struct  o3tl::typed_flags< SwTOIOptions >
 
struct  o3tl::typed_flags< SwTOOElements >
 
class  SwTOXBase
 

Namespaces

 com
 
 com::sun
 
 com::sun::star
 
 com::sun::star::text
 
 o3tl
 

Macros

#define FORM_TITLE   0
 
#define FORM_ALPHA_DELIMITTER   1
 
#define FORM_PRIMARY_KEY   2
 
#define FORM_SECONDARY_KEY   3
 
#define FORM_ENTRY   4
 
#define TOX_STYLE_DELIMITER   u'\x0001'
 

Typedefs

typedef std::vector< SwTOXMark * > SwTOXMarks
 
typedef std::vector< SwFormTokenSwFormTokens
 Vector of tokens. More...
 

Enumerations

enum  FormTokenType {
  TOKEN_ENTRY_NO,
  TOKEN_ENTRY_TEXT,
  TOKEN_ENTRY,
  TOKEN_TAB_STOP,
  TOKEN_TEXT,
  TOKEN_PAGE_NUMS,
  TOKEN_CHAPTER_INFO,
  TOKEN_LINK_START,
  TOKEN_LINK_END,
  TOKEN_AUTHORITY,
  TOKEN_END
}
 
enum  SwTOXElement : sal_uInt16 {
  SwTOXElement::NONE = 0x0000,
  SwTOXElement::Mark = 0x0001,
  SwTOXElement::OutlineLevel = 0x0002,
  SwTOXElement::Template = 0x0004,
  SwTOXElement::Ole = 0x0008,
  SwTOXElement::Table = 0x0010,
  SwTOXElement::Graphic = 0x0020,
  SwTOXElement::Frame = 0x0040,
  SwTOXElement::Sequence = 0x0080,
  SwTOXElement::TableLeader = 0x0100,
  SwTOXElement::TableInToc = 0x0200,
  SwTOXElement::Bookmark = 0x0400,
  SwTOXElement::Newline = 0x0800,
  SwTOXElement::ParagraphOutlineLevel = 0x1000,
  SwTOXElement::IndexEntryType = 0x2000
}
 
enum  SwTOIOptions : sal_uInt16 {
  SwTOIOptions::NONE = 0x00,
  SwTOIOptions::SameEntry = 0x01,
  SwTOIOptions::FF = 0x02,
  SwTOIOptions::CaseSensitive = 0x04,
  SwTOIOptions::KeyAsEntry = 0x08,
  SwTOIOptions::AlphaDelimiter = 0x10,
  SwTOIOptions::Dash = 0x20,
  SwTOIOptions::InitialCaps = 0x40
}
 
enum  SwCaptionDisplay {
  CAPTION_COMPLETE,
  CAPTION_NUMBER,
  CAPTION_TEXT
}
 
enum  SwTOOElements : sal_uInt16 {
  SwTOOElements::NONE = 0x00,
  SwTOOElements::Math = 0x01,
  SwTOOElements::Chart = 0x02,
  SwTOOElements::Calc = 0x08,
  SwTOOElements::DrawImpress = 0x10,
  SwTOOElements::Other = 0x80
}
 

Variables

const sal_Unicode C_NUM_REPL
 
const sal_Unicode C_END_PAGE_NUM
 
const OUString S_PAGE_DELI
 

Macro Definition Documentation

#define FORM_ALPHA_DELIMITTER   1
#define FORM_ENTRY   4
#define FORM_PRIMARY_KEY   2
#define FORM_SECONDARY_KEY   3
#define FORM_TITLE   0

Definition at line 169 of file tox.hxx.

Referenced by SwTOXBaseSection::Update().

#define TOX_STYLE_DELIMITER   u'\x0001'

Typedef Documentation

typedef std::vector<SwFormToken> SwFormTokens

Vector of tokens.

Definition at line 249 of file tox.hxx.

typedef std::vector<SwTOXMark*> SwTOXMarks

Definition at line 44 of file tox.hxx.

Enumeration Type Documentation

Enumerator
TOKEN_ENTRY_NO 
TOKEN_ENTRY_TEXT 
TOKEN_ENTRY 
TOKEN_TAB_STOP 
TOKEN_TEXT 
TOKEN_PAGE_NUMS 
TOKEN_CHAPTER_INFO 
TOKEN_LINK_START 
TOKEN_LINK_END 
TOKEN_AUTHORITY 
TOKEN_END 

Definition at line 191 of file tox.hxx.

Enumerator
CAPTION_COMPLETE 
CAPTION_NUMBER 
CAPTION_TEXT 

Definition at line 366 of file tox.hxx.

enum SwTOIOptions : sal_uInt16
strong
Enumerator
NONE 
SameEntry 
FF 
CaseSensitive 
KeyAsEntry 
AlphaDelimiter 
Dash 
InitialCaps 

Definition at line 350 of file tox.hxx.

enum SwTOOElements : sal_uInt16
strong
Enumerator
NONE 
Math 
Chart 
Calc 
DrawImpress 
Other 

Definition at line 373 of file tox.hxx.

enum SwTOXElement : sal_uInt16
strong
Enumerator
NONE 
Mark 
OutlineLevel 
Template 
Ole 
Table 
Graphic 
Frame 
Sequence 
TableLeader 
TableInToc 
Bookmark 
Newline 
ParagraphOutlineLevel 
IndexEntryType 

Definition at line 328 of file tox.hxx.

Variable Documentation

const sal_Unicode C_END_PAGE_NUM
const sal_Unicode C_NUM_REPL
const OUString S_PAGE_DELI