LibreOffice Module sw (master)  1
Classes | Namespaces | Macros | Enumerations | Functions
fesh.hxx File Reference
#include <com/sun/star/text/RelOrientation.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/interfacecontainer2.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

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

Functions

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

Macro Definition Documentation

#define SW_ADD_SELECT   1
#define SW_ALLOW_TEXTBOX   8

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

Definition at line 169 of file fesh.hxx.

Referenced by lcl_goIntoTextBox(), and SwFEShell::SelectObj().

#define SW_ENTER_GROUP   2

Definition at line 166 of file fesh.hxx.

Referenced by SwEditWin::MouseButtonDown(), and SwFEShell::SelectObj().

#define SW_LEAVE_FRAME   4

Enumeration Type Documentation

enum 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 135 of file fesh.hxx.

enum 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 104 of file fesh.hxx.

enum 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 62 of file fesh.hxx.

enum GotoObjFlags
strong

values can be combined via logical or

Enumerator
NONE 
DrawControl 
DrawSimple 
DrawAny 
FlyFrame 
FlyGrf 
FlyOLE 
FlyAny 
Any 

Definition at line 86 of file fesh.hxx.

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 120 of file fesh.hxx.

enum SwMove
strong
Enumerator
UP 
DOWN 
LEFT 
RIGHT 

Definition at line 171 of file fesh.hxx.

enum SwPasteSdr
strong
Enumerator
NONE 
Insert 
Replace 
SetAttr 

Definition at line 157 of file fesh.hxx.

enum 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 180 of file fesh.hxx.

Function Documentation

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