LibreOffice Module sw (master)  1
Classes | Namespaces | Macros | Enumerations | Functions
viewopt.hxx File Reference
#include <config_features.h>
#include <tools/gen.hxx>
#include <tools/color.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  o3tl::typed_flags< ViewOptFlags1 >
 
struct  o3tl::typed_flags< ViewOptCoreFlags2 >
 
struct  o3tl::typed_flags< ViewOptFlags2 >
 
struct  o3tl::typed_flags< ViewOptFlags >
 
class  SwViewOption
 

Namespaces

 vcl
 
 svtools
 
 o3tl
 

Macros

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

Enumerations

enum  ViewOptFlags1 {
  ViewOptFlags1::UseHeaderFooterMenu = 0x00000001,
  ViewOptFlags1::Tab = 0x00000002,
  ViewOptFlags1::Blank = 0x00000004,
  ViewOptFlags1::HardBlank = 0x00000008,
  ViewOptFlags1::Paragraph = 0x00000010,
  ViewOptFlags1::Linebreak = 0x00000020,
  ViewOptFlags1::Pagebreak = 0x00000040,
  ViewOptFlags1::Columnbreak = 0x00000080,
  ViewOptFlags1::SoftHyph = 0x00000100,
  ViewOptFlags1::Ref = 0x00000400,
  ViewOptFlags1::FieldName = 0x00000800,
  ViewOptFlags1::Postits = 0x00004000,
  ViewOptFlags1::FieldHidden = 0x00008000,
  ViewOptFlags1::CharHidden = 0x00010000,
  ViewOptFlags1::Graphic = 0x00020000,
  ViewOptFlags1::Table = 0x00040000,
  ViewOptFlags1::Draw = 0x00080000,
  ViewOptFlags1::Control = 0x00100000,
  ViewOptFlags1::Crosshair = 0x00400000,
  ViewOptFlags1::Snap = 0x00800000,
  ViewOptFlags1::Synchronize = 0x01000000,
  ViewOptFlags1::GridVisible = 0x02000000,
  ViewOptFlags1::OnlineSpell = 0x04000000,
  ViewOptFlags1::ShowInlineTooltips = 0x10000000,
  ViewOptFlags1::ViewMetachars = 0x20000000,
  ViewOptFlags1::Pageback = 0x40000000
}
 
enum  ViewOptCoreFlags2 {
  ViewOptCoreFlags2::BlackFont = 0x0001,
  ViewOptCoreFlags2::HiddenPara = 0x0002,
  ViewOptCoreFlags2::SmoothScroll = 0x0004,
  ViewOptCoreFlags2::CursorInProt = 0x0008,
  ViewOptCoreFlags2::PdfExport = 0x0010,
  ViewOptCoreFlags2::Printing = 0x0020
}
 
enum  ViewOptFlags2 {
  ViewOptFlags2::HRuler = 0x00000400,
  ViewOptFlags2::VScrollbar = 0x00000800,
  ViewOptFlags2::HScrollbar = 0x00001000,
  ViewOptFlags2::VRuler = 0x00004000,
  ViewOptFlags2::AnyRuler = 0x00008000,
  ViewOptFlags2::Modified = 0x00010000,
  ViewOptFlags2::KeepAspectRatio = 0x00020000,
  ViewOptFlags2::GrfKeepZoom = 0x00040000,
  ViewOptFlags2::ContentTips = 0x00100000,
  ViewOptFlags2::ScrollbarTips = 0x00400000,
  ViewOptFlags2::PrintFormat = 0x00800000,
  ViewOptFlags2::ShadowCursor = 0x01000000,
  ViewOptFlags2::VRulerRight = 0x02000000,
  ViewOptFlags2::ResolvedPostits = 0x04000000
}
 
enum  ViewOptFlags {
  ViewOptFlags::NONE = 0x0000,
  ViewOptFlags::DocBoundaries = 0x0001,
  ViewOptFlags::ObjectBoundaries = 0x0002,
  ViewOptFlags::TableBoundaries = 0x0004,
  ViewOptFlags::IndexShadings = 0x0008,
  ViewOptFlags::Links = 0x0010,
  ViewOptFlags::VisitedLinks = 0x0020,
  ViewOptFlags::FieldShadings = 0x0040,
  ViewOptFlags::SectionBoundaries = 0x0080,
  ViewOptFlags::Shadow = 0x0100
}
 

Functions

SW_DLLPUBLIC sal_uInt16 GetHtmlMode (const SwDocShell *)
 

Macro Definition Documentation

#define TBL_DEST_CELL   0

Definition at line 102 of file viewopt.hxx.

#define TBL_DEST_ROW   1

Definition at line 103 of file viewopt.hxx.

#define TBL_DEST_TBL   2

Definition at line 104 of file viewopt.hxx.

Enumeration Type Documentation

enum ViewOptCoreFlags2
strong
Enumerator
BlackFont 
HiddenPara 
SmoothScroll 
CursorInProt 
PdfExport 
Printing 

Definition at line 69 of file viewopt.hxx.

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

Definition at line 107 of file viewopt.hxx.

enum ViewOptFlags1
strong
Enumerator
UseHeaderFooterMenu 
Tab 
Blank 
HardBlank 
Paragraph 
Linebreak 
Pagebreak 
Columnbreak 
SoftHyph 
Ref 
FieldName 
Postits 
FieldHidden 
CharHidden 
Graphic 
Table 
Draw 
Control 
Crosshair 
Snap 
Synchronize 
GridVisible 
OnlineSpell 
ShowInlineTooltips 
ViewMetachars 
Pageback 

Definition at line 37 of file viewopt.hxx.

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

Definition at line 81 of file viewopt.hxx.

Function Documentation

SW_DLLPUBLIC sal_uInt16 GetHtmlMode ( const SwDocShell )

Definition at line 340 of file viewopt.cxx.

References SvxHtmlOptions::Get(), 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(), SwFrameShell::Execute(), SwTableShell::Execute(), SwGrfShell::Execute(), SwDrawBaseShell::Execute(), SwTextShell::Execute(), SwBaseShell::Execute(), SwTextShell::GetAttrState(), SwView::GetDrawState(), SwBaseShell::GetGalleryState(), SwTextShell::GetIdxState(), SwDrawFormShell::GetState(), SwFrameShell::GetState(), SwTextShell::GetState(), SwBaseShell::GetState(), SwDocShell::GetState(), SwFEShell::ImpEndCreate(), IMPL_LINK_NOARG(), SwViewShell::ImplApplyViewOptions(), SwFieldPage::Init(), SwViewShell::Init(), SwView::InsertGraphicDlg(), SwBaseShell::InsertTable(), SwVirtFlyDrawObj::NbcMove(), SwFieldDlg::ReInitDlg(), SwWrapTabPage::Reset(), SwColumnPage::Reset(), SwFramePage::Reset(), SwGrfExtPage::Reset(), SwFrameAddPage::Reset(), SetAppPrintOptions(), SwTextFlowPage::SetShell(), SwAnnotationShell::StateInsert(), SwTextShell::StateInsert(), SwDrawTextShell::StateInsert(), sw_CharDialog(), SwConvertTableDlg::SwConvertTableDlg(), SwDropCapsPage::SwDropCapsPage(), SwFieldDlg::SwFieldDlg(), SwFlyFrameAttrMgr::SwFlyFrameAttrMgr(), SwFrameDlg::SwFrameDlg(), SwInsTableDlg::SwInsTableDlg(), SwParaDlg::SwParaDlg(), SwTemplateDlgController::SwTemplateDlgController(), and SwHTMLWriter::WriteStream().