LibreOffice Module editeng (master) 1
Classes | Namespaces | Enumerations | Functions | Variables
boxitem.hxx File Reference
#include <svl/poolitem.hxx>
#include <editeng/editengdllapi.h>
#include <com/sun/star/table/BorderLine2.hpp>
#include <o3tl/typed_flags_set.hxx>
#include <docmodel/color/ComplexColor.hxx>
#include <memory>
#include <array>
Include dependency graph for boxitem.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SvxBoxItem
 
struct  o3tl::typed_flags< SvxBoxInfoItemValidFlags >
 
class  SvxBoxInfoItem
 
struct  editeng::WordPageMargins
 
struct  editeng::WordBorderDistances
 

Namespaces

namespace  editeng
 
namespace  o3tl
 

Enumerations

enum class  SvxBoxItemLine {
  TOP ,
  BOTTOM ,
  LEFT ,
  RIGHT ,
  LAST = RIGHT
}
 
enum class  SvxBoxInfoItemLine {
  HORI ,
  VERT ,
  LAST = VERT
}
 
enum class  SvxBoxInfoItemValidFlags {
  NONE = 0x00 ,
  TOP = 0x01 ,
  BOTTOM = 0x02 ,
  LEFT = 0x04 ,
  RIGHT = 0x08 ,
  HORI = 0x10 ,
  VERT = 0x20 ,
  DISTANCE = 0x40 ,
  DISABLE = 0x80 ,
  ALL = 0xff
}
 

Functions

void editeng::BorderDistanceFromWord (bool bFromEdge, sal_Int32 &nMargin, sal_Int32 &nBorderDistance, sal_Int32 nBorderWidth)
 
void editeng::BorderDistancesToWord (const SvxBoxItem &rBox, const WordPageMargins &rMargins, WordBorderDistances &rDistances)
 

Variables

constexpr sal_uInt16 BOX_4DISTS_VERSION = 1
 This version causes SvxBoxItem to store the 4 cell spacing distances separately when serializing to stream. More...
 
constexpr sal_uInt16 BOX_BORDER_STYLE_VERSION = 2
 This version causes SvxBoxItem to store the styles for its border lines when serializing to stream. More...
 

Enumeration Type Documentation

◆ SvxBoxInfoItemLine

enum class SvxBoxInfoItemLine
strong
Enumerator
HORI 
VERT 
LAST 

Definition at line 173 of file boxitem.hxx.

◆ SvxBoxInfoItemValidFlags

enum class SvxBoxInfoItemValidFlags
strong
Enumerator
NONE 
TOP 
BOTTOM 
LEFT 
RIGHT 
HORI 
VERT 
DISTANCE 
DISABLE 
ALL 

Definition at line 178 of file boxitem.hxx.

◆ SvxBoxItemLine

enum class SvxBoxItemLine
strong
Enumerator
TOP 
BOTTOM 
LEFT 
RIGHT 
LAST 

Definition at line 41 of file boxitem.hxx.

Variable Documentation

◆ BOX_4DISTS_VERSION

constexpr sal_uInt16 BOX_4DISTS_VERSION = 1
constexpr

This version causes SvxBoxItem to store the 4 cell spacing distances separately when serializing to stream.

Definition at line 50 of file boxitem.hxx.

Referenced by legacy::SvxBox::Create(), and legacy::SvxBox::Store().

◆ BOX_BORDER_STYLE_VERSION

constexpr sal_uInt16 BOX_BORDER_STYLE_VERSION = 2
constexpr

This version causes SvxBoxItem to store the styles for its border lines when serializing to stream.

Definition at line 55 of file boxitem.hxx.

Referenced by legacy::SvxBox::BorderLineVersionFromBoxVersion(), and legacy::SvxBox::GetVersion().