LibreOffice Module sw (master)  1
Classes | Macros | Variables
atrhndl.hxx File Reference
#include <memory>
#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   44
 

Variables

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

Macro Definition Documentation

#define NUM_ATTRIBUTE_STACKS   44

Definition at line 23 of file atrhndl.hxx.

Variable Documentation

const sal_uInt8 StackPos[]

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 69 of file atrstck.cxx.