LibreOffice Module sw (master) 1
Classes | Macros | Variables
atrhndl.hxx File Reference
#include <vector>
#include <swfntcch.hxx>
Include dependency graph for atrhndl.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SwAttrHandler
 Used by Attribute Iterators to organize attributes on stacks to find the valid attribute in each category. More...
 

Macros

#define NUM_ATTRIBUTE_STACKS   45
 

Variables

const sal_uInt8 StackPos []
 Attribute to Stack Mapping. More...
 

Macro Definition Documentation

◆ NUM_ATTRIBUTE_STACKS

#define NUM_ATTRIBUTE_STACKS   45

Definition at line 21 of file atrhndl.hxx.

Variable Documentation

◆ StackPos

const sal_uInt8 StackPos[]
extern

Attribute to Stack Mapping.

Attributes applied to a text are pushed on different stacks. For each stack, the top most attribute on the stack is valid. Because some kinds of attributes have to be pushed to the same stacks we map their ids to stack ids Attention: The first NUM_DEFAULT_VALUES ( defined in swfntcch.hxx ) are stored in the defaultitem-cache, if you add one, you have to increase NUM_DEFAULT_VALUES. Also adjust NUM_ATTRIBUTE_STACKS in atrhndl.hxx.

Definition at line 68 of file atrstck.cxx.