LibreOffice Module sw (master) 1
Classes | Namespaces | Macros | Enumerations | Functions
viewopt.hxx File Reference
#include <config_feature_desktop.h>
#include <tools/gen.hxx>
#include <tools/color.hxx>
#include <svx/swframetypes.hxx>
#include <sfx2/zoomitem.hxx>
#include "swdllapi.h"
Include dependency graph for viewopt.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ViewOptFlags1
 
struct  o3tl::typed_flags< ViewOptCoreFlags2 >
 
struct  o3tl::typed_flags< ViewOptFlags2 >
 
struct  o3tl::typed_flags< ViewOptFlags >
 
struct  SwViewColors
 
class  SwViewOption
 

Namespaces

namespace  svtools
 
namespace  o3tl
 

Macros

#define TBL_DEST_CELL   0
 
#define TBL_DEST_ROW   1
 
#define TBL_DEST_TBL   2
 

Enumerations

enum class  ViewOptCoreFlags2 {
  BlackFont = 0x0001 ,
  HiddenPara = 0x0002 ,
  SmoothScroll = 0x0004 ,
  CursorInProt = 0x0008 ,
  PdfExport = 0x0010 ,
  Printing = 0x0020
}
 
enum class  ViewOptFlags2 {
  HRuler = 0x00000400 ,
  VScrollbar = 0x00000800 ,
  HScrollbar = 0x00001000 ,
  VRuler = 0x00004000 ,
  AnyRuler = 0x00008000 ,
  Modified = 0x00010000 ,
  KeepAspectRatio = 0x00020000 ,
  GrfKeepZoom = 0x00040000 ,
  ContentTips = 0x00100000 ,
  ScrollbarTips = 0x00400000 ,
  PrintFormat = 0x00800000 ,
  ShadowCursor = 0x01000000 ,
  VRulerRight = 0x02000000 ,
  ResolvedPostits = 0x04000000
}
 
enum class  ViewOptFlags {
  NONE = 0x0000 ,
  DocBoundaries = 0x0001 ,
  ObjectBoundaries = 0x0002 ,
  TableBoundaries = 0x0004 ,
  IndexShadings = 0x0008 ,
  Links = 0x0010 ,
  VisitedLinks = 0x0020 ,
  FieldShadings = 0x0040 ,
  SectionBoundaries = 0x0080 ,
  Shadow = 0x0100
}
 

Functions

SW_DLLPUBLIC sal_uInt16 GetHtmlMode (const SwDocShell *)
 

Macro Definition Documentation

◆ TBL_DEST_CELL

#define TBL_DEST_CELL   0

Definition at line 175 of file viewopt.hxx.

◆ TBL_DEST_ROW

#define TBL_DEST_ROW   1

Definition at line 176 of file viewopt.hxx.

◆ TBL_DEST_TBL

#define TBL_DEST_TBL   2

Definition at line 177 of file viewopt.hxx.

Enumeration Type Documentation

◆ ViewOptCoreFlags2

enum class ViewOptCoreFlags2
strong
Enumerator
BlackFont 
HiddenPara 
SmoothScroll 
CursorInProt 
PdfExport 
Printing 

Definition at line 142 of file viewopt.hxx.

◆ ViewOptFlags

enum class ViewOptFlags
strong
Enumerator
NONE 
DocBoundaries 
ObjectBoundaries 
TableBoundaries 
IndexShadings 
Links 
VisitedLinks 
FieldShadings 
SectionBoundaries 
Shadow 

Definition at line 180 of file viewopt.hxx.

◆ ViewOptFlags2

enum class ViewOptFlags2
strong
Enumerator
HRuler 
VScrollbar 
HScrollbar 
VRuler 
AnyRuler 
Modified 
KeepAspectRatio 
GrfKeepZoom 
ContentTips 
ScrollbarTips 
PrintFormat 
ShadowCursor 
VRulerRight 
ResolvedPostits 

Definition at line 154 of file viewopt.hxx.

Function Documentation

◆ GetHtmlMode()

SW_DLLPUBLIC sal_uInt16 GetHtmlMode ( const SwDocShell pShell)

Definition at line 415 of file viewopt.cxx.

References SvxHtmlOptions::GetExportMode(), HTML_CFG_MSIE, HTML_CFG_NS40, HTML_CFG_WRITER, HTMLMODE_FULL_STYLES, HTMLMODE_ON, and HTMLMODE_SOME_STYLES.

Referenced by SwFieldDlg::Activate(), SwMacroAssignDlg::AddEvents(), SwTextShell::CreateInsertFrameItemSet(), SwInsertDBColAutoPilot::DataToDoc(), SwDocShell::Edit(), SwTextShell::ExecEnterNum(), SwBaseShell::Execute(), SwFrameShell::Execute(), SwTableShell::Execute(), SwTextShell::Execute(), SwGrfShell::Execute(), SwDrawBaseShell::Execute(), SwTextShell::GetAttrState(), SwView::GetDrawState(), SwBaseShell::GetGalleryState(), SwTextShell::GetIdxState(), SwDocShell::GetState(), SwBaseShell::GetState(), SwDrawFormShell::GetState(), SwFrameShell::GetState(), SwTextShell::GetState(), SwFEShell::ImpEndCreate(), IMPL_LINK_NOARG(), SwViewShell::ImplApplyViewOptions(), SwFieldPage::Init(), SwViewShell::Init(), SwView::InsertGraphicDlg(), SwBaseShell::InsertTable(), SwVirtFlyDrawObj::NbcMove(), SwFieldDlg::ReInitDlg(), SwColumnPage::Reset(), SwFramePage::Reset(), SwGrfExtPage::Reset(), SwFrameAddPage::Reset(), SwWrapTabPage::Reset(), SetAppPrintOptions(), SwTextFlowPage::SetShell(), SwTextShell::StateInsert(), SwAnnotationShell::StateInsert(), SwDrawTextShell::StateInsert(), sw_CharDialog(), SwConvertTableDlg::SwConvertTableDlg(), SwDropCapsPage::SwDropCapsPage(), SwFieldDlg::SwFieldDlg(), SwFlyFrameAttrMgr::SwFlyFrameAttrMgr(), SwFrameDlg::SwFrameDlg(), SwInsTableDlg::SwInsTableDlg(), SwParaDlg::SwParaDlg(), SwTemplateDlgController::SwTemplateDlgController(), and SwHTMLWriter::WriteStream().