LibreOffice Module sw (master) 1
Classes | Namespaces | Macros | Enumerations | Functions
fesh.hxx File Reference
#include <com/sun/star/text/RelOrientation.hpp>
#include <com/sun/star/text/XPasteListener.hpp>
#include <svx/svdobj.hxx>
#include "swdllapi.h"
#include "editsh.hxx"
#include "flyenum.hxx"
#include <svx/svdtypes.hxx>
#include <sot/formats.hxx>
#include <rtl/ustring.hxx>
#include <o3tl/typed_flags_set.hxx>
#include <comphelper/interfacecontainer3.hxx>
#include <vector>
#include <memory>
Include dependency graph for fesh.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< FrameTypeFlags >
 
struct  o3tl::typed_flags< GotoObjFlags >
 
struct  o3tl::typed_flags< FlyProtectFlags >
 
struct  SwGetCurColNumPara
 
class  SwFEShell
 

Namespaces

namespace  editeng
 
namespace  svx
 
namespace  com
 
namespace  com::sun
 
namespace  com::sun::star
 
namespace  com::sun::star::embed
 
namespace  o3tl
 

Macros

#define SW_ADD_SELECT   1
 
#define SW_ENTER_GROUP   2
 
#define SW_LEAVE_FRAME   4
 
#define SW_ALLOW_TEXTBOX   8
 Allow SwFEShell::SelectObj() to select the TextBox of a shape. More...
 

Enumerations

enum class  FrameTypeFlags {
  NONE = 0 ,
  PAGE = 1 ,
  HEADER = 2 ,
  FOOTER = 4 ,
  BODY = 8 ,
  COLUMN = 16 ,
  TABLE = 32 ,
  FLY_FREE = 64 ,
  FLY_ATCNT = 128 ,
  FLY_INCNT = 256 ,
  FOOTNOTE = 512 ,
  FTNPAGE = 1024 ,
  FLY_ANY = 2048 ,
  DRAWOBJ = 4096 ,
  COLSECT = 8192 ,
  COLSECTOUTTAB = 16384
}
 values can be combined via logical or More...
 
enum class  GotoObjFlags {
  NONE = 0 ,
  DrawControl = 1 ,
  DrawSimple = 2 ,
  DrawAny = DrawControl | DrawSimple ,
  FlyFrame = 4 ,
  FlyGrf = 8 ,
  FlyOLE = 16 ,
  FlyAny = FlyOLE | FlyGrf | FlyFrame ,
  Any = FlyAny | DrawAny
}
 values can be combined via logical or More...
 
enum class  FlyProtectFlags {
  NONE = 0 ,
  Content = 1 ,
  Size = 2 ,
  Pos = 4 ,
  Parent = 8 ,
  Fixed = 16
}
 values can be combined via logical or More...
 
enum  ObjCntType {
  OBJCNT_NONE ,
  OBJCNT_FLY ,
  OBJCNT_GRF ,
  OBJCNT_OLE ,
  OBJCNT_SIMPLE ,
  OBJCNT_CONTROL ,
  OBJCNT_URLBUTTON ,
  OBJCNT_GROUPOBJ ,
  OBJCNT_DONTCARE
}
 
enum class  CurRectType {
  Page ,
  PageCalc ,
  PagePrt ,
  Frame ,
  FlyEmbedded ,
  FlyEmbeddedPrt ,
  Section ,
  SectionOutsideTable ,
  SectionPrt ,
  HeaderFooter ,
  PagesArea
}
 
enum class  SwPasteSdr {
  NONE = 0 ,
  Insert = 1 ,
  Replace = 2 ,
  SetAttr = 3
}
 
enum class  SwMove {
  UP = 0 ,
  DOWN = 1 ,
  LEFT = 2 ,
  RIGHT = 3
}
 
enum class  SwTab {
  COL_NONE = 0 ,
  COL_HORI = 1 ,
  COL_VERT = 2 ,
  ROW_HORI = 3 ,
  ROW_VERT = 4 ,
  SEL_HORI = 5 ,
  SEL_HORI_RTL = 6 ,
  ROWSEL_HORI = 7 ,
  ROWSEL_HORI_RTL = 8 ,
  COLSEL_HORI = 9 ,
  SEL_VERT = 10 ,
  ROWSEL_VERT = 11 ,
  COLSEL_VERT = 12
}
 

Functions

void ClearFEShellTabCols (SwDoc &rDoc, SwTabFrame const *const pFrame)
 

Macro Definition Documentation

◆ SW_ADD_SELECT

#define SW_ADD_SELECT   1

Definition at line 166 of file fesh.hxx.

◆ SW_ALLOW_TEXTBOX

#define SW_ALLOW_TEXTBOX   8

Allow SwFEShell::SelectObj() to select the TextBox of a shape.

Definition at line 170 of file fesh.hxx.

◆ SW_ENTER_GROUP

#define SW_ENTER_GROUP   2

Definition at line 167 of file fesh.hxx.

◆ SW_LEAVE_FRAME

#define SW_LEAVE_FRAME   4

Definition at line 168 of file fesh.hxx.

Enumeration Type Documentation

◆ CurRectType

enum class CurRectType
strong
Enumerator
Page 

Rect of current page.

PageCalc 

... page will be formatted if required.

PagePrt 

Rect of current PrtArea of page.

Frame 

Rect of current frame.

FlyEmbedded 

Rect of current FlyFrame.

FlyEmbeddedPrt 

Rect of PrtArea of FlyFrame.

Section 

Rect of current section.

SectionOutsideTable 

Rect of current section but outside of table.

SectionPrt 

Rect of current PrtArea of section.

HeaderFooter 

Rect of current header/footer.

PagesArea 

Rect covering the pages area.

Definition at line 136 of file fesh.hxx.

◆ FlyProtectFlags

enum class FlyProtectFlags
strong

values can be combined via logical or

Enumerator
NONE 
Content 
Size 
Pos 
Parent 

Check only parents.

Fixed 

Only protection that cannot be withdrawn e.g.

by OLE-server; also relevant for dialog.

Definition at line 105 of file fesh.hxx.

◆ FrameTypeFlags

enum class FrameTypeFlags
strong

values can be combined via logical or

Enumerator
NONE 
PAGE 
HEADER 
FOOTER 
BODY 
COLUMN 
TABLE 
FLY_FREE 
FLY_ATCNT 
FLY_INCNT 
FOOTNOTE 
FTNPAGE 
FLY_ANY 
DRAWOBJ 
COLSECT 
COLSECTOUTTAB 

Definition at line 63 of file fesh.hxx.

◆ GotoObjFlags

enum class GotoObjFlags
strong

values can be combined via logical or

Enumerator
NONE 
DrawControl 
DrawSimple 
DrawAny 
FlyFrame 
FlyGrf 
FlyOLE 
FlyAny 
Any 

Definition at line 87 of file fesh.hxx.

◆ ObjCntType

enum ObjCntType
Enumerator
OBJCNT_NONE 
OBJCNT_FLY 
OBJCNT_GRF 
OBJCNT_OLE 
OBJCNT_SIMPLE 
OBJCNT_CONTROL 
OBJCNT_URLBUTTON 
OBJCNT_GROUPOBJ 
OBJCNT_DONTCARE 

Not determinable - different objects are selected.

Definition at line 121 of file fesh.hxx.

◆ SwMove

enum class SwMove
strong
Enumerator
UP 
DOWN 
LEFT 
RIGHT 

Definition at line 172 of file fesh.hxx.

◆ SwPasteSdr

enum class SwPasteSdr
strong
Enumerator
NONE 
Insert 
Replace 
SetAttr 

Definition at line 158 of file fesh.hxx.

◆ SwTab

enum class SwTab
strong
Enumerator
COL_NONE 
COL_HORI 
COL_VERT 
ROW_HORI 
ROW_VERT 
SEL_HORI 
SEL_HORI_RTL 
ROWSEL_HORI 
ROWSEL_HORI_RTL 
COLSEL_HORI 
SEL_VERT 
ROWSEL_VERT 
COLSEL_VERT 

Definition at line 181 of file fesh.hxx.

Function Documentation

◆ ClearFEShellTabCols()

void ClearFEShellTabCols ( SwDoc rDoc,
SwTabFrame const *const  pFrame 
)