LibreOffice Module svtools (master) 1
Classes | Namespaces | Enumerations
borderline.hxx File Reference
#include <svtools/svtdllapi.h>
#include <o3tl/typed_flags_set.hxx>
#include <tools/long.hxx>
Include dependency graph for borderline.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  o3tl::typed_flags< BorderWidthImplFlags >
 
class  BorderWidthImpl
 

Namespaces

namespace  o3tl
 

Enumerations

enum class  BorderWidthImplFlags {
  FIXED = 0 ,
  CHANGE_LINE1 = 1 ,
  CHANGE_LINE2 = 2 ,
  CHANGE_DIST = 4
}
 Class computing border widths shared between Line style listbox and the SvxBorderLine implementation. More...
 

Enumeration Type Documentation

◆ BorderWidthImplFlags

enum class BorderWidthImplFlags
strong

Class computing border widths shared between Line style listbox and the SvxBorderLine implementation.

This class doesn't know anything about units: it all depends on the different values set. A border is composed of 2 lines separated by a gap. The computed widths are the ones of each line and the gap and they can either be fix or vary.

The #m_nflags member will define which widths will vary (value 0 means that all widths are fixed). The available flags are:

  • CHANGE_LINE1
  • CHANGE_LINE2
  • CHANGE_DIST

For each line, the rate member is used as a multiplication factor is the width isn't fixed. Otherwise it is the width in the unit expected by the client code.

Enumerator
FIXED 
CHANGE_LINE1 
CHANGE_LINE2 
CHANGE_DIST 

Definition at line 43 of file borderline.hxx.