LibreOffice Module svtools (master) 1
Classes | Enumerations | Functions | Variables
svtools Namespace Reference

Classes

class  ColorConfig
 
class  ColorConfig_Impl
 
struct  ColorConfigValue
 
class  EditableColorConfig
 
class  EditableExtendedColorConfig
 
class  ExtendedColorConfig
 
class  ExtendedColorConfig_Impl
 
class  ExtendedColorConfigValue
 
class  ItemHolder2
 
class  QueryDeleteDlg_Impl
 
struct  VolumeInfo
 

Enumerations

enum  ColorConfigEntry : int {
  DOCCOLOR ,
  DOCBOUNDARIES ,
  APPBACKGROUND ,
  OBJECTBOUNDARIES ,
  TABLEBOUNDARIES ,
  FONTCOLOR ,
  LINKS ,
  LINKSVISITED ,
  SPELL ,
  GRAMMAR ,
  SMARTTAGS ,
  SHADOWCOLOR ,
  WRITERTEXTGRID ,
  WRITERFIELDSHADINGS ,
  WRITERIDXSHADINGS ,
  WRITERDIRECTCURSOR ,
  WRITERSCRIPTINDICATOR ,
  WRITERSECTIONBOUNDARIES ,
  WRITERHEADERFOOTERMARK ,
  WRITERPAGEBREAKS ,
  HTMLSGML ,
  HTMLCOMMENT ,
  HTMLKEYWORD ,
  HTMLUNKNOWN ,
  CALCGRID ,
  CALCPAGEBREAK ,
  CALCPAGEBREAKMANUAL ,
  CALCPAGEBREAKAUTOMATIC ,
  CALCHIDDENROWCOL ,
  CALCTEXTOVERFLOW ,
  CALCCOMMENTS ,
  CALCDETECTIVE ,
  CALCDETECTIVEERROR ,
  CALCREFERENCE ,
  CALCNOTESBACKGROUND ,
  CALCVALUE ,
  CALCFORMULA ,
  CALCTEXT ,
  CALCPROTECTEDBACKGROUND ,
  DRAWGRID ,
  BASICEDITOR ,
  BASICIDENTIFIER ,
  BASICCOMMENT ,
  BASICNUMBER ,
  BASICSTRING ,
  BASICOPERATOR ,
  BASICKEYWORD ,
  BASICERROR ,
  SQLIDENTIFIER ,
  SQLNUMBER ,
  SQLSTRING ,
  SQLOPERATOR ,
  SQLKEYWORD ,
  SQLPARAMETER ,
  SQLCOMMENT ,
  ColorConfigEntryCount
}
 
enum class  ColorPickerMode {
  Select = 0 ,
  Modify = 2
}
 
enum  QueryDeleteResult_Impl {
  QUERYDELETE_YES = RET_YES ,
  QUERYDELETE_ALL = 101
}
 
enum  RestartReason {
  RESTART_REASON_JAVA ,
  RESTART_REASON_BIBLIOGRAPHY_INSTALL ,
  RESTART_REASON_MAILMERGE_INSTALL ,
  RESTART_REASON_LANGUAGE_CHANGE ,
  RESTART_REASON_ADDING_PATH ,
  RESTART_REASON_ASSIGNING_JAVAPARAMETERS ,
  RESTART_REASON_ASSIGNING_FOLDERS ,
  RESTART_REASON_EXP_FEATURES ,
  RESTART_REASON_EXTENSION_INSTALL ,
  RESTART_REASON_SKIA ,
  RESTART_REASON_OPENCL ,
  RESTART_REASON_THREADING ,
  RESTART_REASON_MSCOMPATIBLE_FORMS_MENU ,
  RESTART_REASON_UI_CHANGE ,
  RESTART_REASON_NONE
}
 

Functions

 IMPL_LINK (ColorConfig_Impl, DataChangedEventListener, VclSimpleEvent &, rEvent, void)
 
static void lcl_addString (uno::Sequence< OUString > &_rSeq, std::u16string_view _sAdd)
 
 IMPL_LINK (ExtendedColorConfig_Impl, DataChangedEventListener, VclSimpleEvent &, rEvent, void)
 
bool IsFontSubstitutionsEnabled ()
 
std::vector< SubstitutionStructGetFontSubstitutions ()
 
void SetFontSubstitutions (bool bIsEnabled, std::vector< SubstitutionStruct > const &aSubstArr)
 
void ApplyFontSubstitutionsToVcl ()
 
void GetPrinterOptions (vcl::printer::Options &rOptions, bool bFile)
 
void SetPrinterOptions (const vcl::printer::Options &rOptions, bool bFile)
 
 IMPL_LINK_NOARG (AsynchronLink, HandleCall_PostUserEvent, void *, void)
 
static std::vector< double > GetDashing (SvxBorderLineStyle nDashing)
 Dashing array must start with a line width and end with a blank width. More...
 
std::vector< double > GetLineDashing (SvxBorderLineStyle nDashing, double fScale)
 
basegfx::B2DPolyPolygon ApplyLineDashing (const basegfx::B2DPolygon &rPolygon, SvxBorderLineStyle nDashing, double fScale)
 
void DrawLine (OutputDevice &rDev, const Point &rP1, const Point &rP2, sal_uInt32 nWidth, SvxBorderLineStyle nDashing)
 
void DrawLine (OutputDevice &rDev, const basegfx::B2DPoint &rP1, const basegfx::B2DPoint &rP2, sal_uInt32 nWidth, SvxBorderLineStyle nDashing)
 
class UNLESS_MERGELIBS (SVT_DLLPUBLIC) AsynchronLink
 
SVT_DLLPUBLIC bool executeRestartDialog (css::uno::Reference< css::uno::XComponentContext > const &context, weld::Window *parent, RestartReason reason)
 

Variables

static sal_Int32 nColorRefCount_Impl = 0
 
static sal_Int32 nExtendedColorRefCount_Impl = 0
 

Enumeration Type Documentation

◆ ColorConfigEntry

Enumerator
DOCCOLOR 
DOCBOUNDARIES 
APPBACKGROUND 
OBJECTBOUNDARIES 
TABLEBOUNDARIES 
FONTCOLOR 
LINKS 
LINKSVISITED 
SPELL 
GRAMMAR 
SMARTTAGS 
SHADOWCOLOR 
WRITERTEXTGRID 
WRITERFIELDSHADINGS 
WRITERIDXSHADINGS 
WRITERDIRECTCURSOR 
WRITERSCRIPTINDICATOR 
WRITERSECTIONBOUNDARIES 
WRITERHEADERFOOTERMARK 
WRITERPAGEBREAKS 
HTMLSGML 
HTMLCOMMENT 
HTMLKEYWORD 
HTMLUNKNOWN 
CALCGRID 
CALCPAGEBREAK 
CALCPAGEBREAKMANUAL 
CALCPAGEBREAKAUTOMATIC 
CALCHIDDENROWCOL 
CALCTEXTOVERFLOW 
CALCCOMMENTS 
CALCDETECTIVE 
CALCDETECTIVEERROR 
CALCREFERENCE 
CALCNOTESBACKGROUND 
CALCVALUE 
CALCFORMULA 
CALCTEXT 
CALCPROTECTEDBACKGROUND 
DRAWGRID 
BASICEDITOR 
BASICIDENTIFIER 
BASICCOMMENT 
BASICNUMBER 
BASICSTRING 
BASICOPERATOR 
BASICKEYWORD 
BASICERROR 
SQLIDENTIFIER 
SQLNUMBER 
SQLSTRING 
SQLOPERATOR 
SQLKEYWORD 
SQLPARAMETER 
SQLCOMMENT 
ColorConfigEntryCount 

Definition at line 30 of file colorcfg.hxx.

◆ ColorPickerMode

enum class svtools::ColorPickerMode
strong
Enumerator
Select 
Modify 

Definition at line 35 of file colrdlg.hxx.

◆ QueryDeleteResult_Impl

Enumerator
QUERYDELETE_YES 
QUERYDELETE_ALL 

Definition at line 29 of file querydelete.hxx.

◆ RestartReason

Enumerator
RESTART_REASON_JAVA 
RESTART_REASON_BIBLIOGRAPHY_INSTALL 
RESTART_REASON_MAILMERGE_INSTALL 
RESTART_REASON_LANGUAGE_CHANGE 
RESTART_REASON_ADDING_PATH 
RESTART_REASON_ASSIGNING_JAVAPARAMETERS 
RESTART_REASON_ASSIGNING_FOLDERS 
RESTART_REASON_EXP_FEATURES 
RESTART_REASON_EXTENSION_INSTALL 
RESTART_REASON_SKIA 
RESTART_REASON_OPENCL 
RESTART_REASON_THREADING 
RESTART_REASON_MSCOMPATIBLE_FORMS_MENU 
RESTART_REASON_UI_CHANGE 
RESTART_REASON_NONE 

Definition at line 25 of file restartdialog.hxx.

Function Documentation

◆ ApplyFontSubstitutionsToVcl()

SVT_DLLPUBLIC void svtools::ApplyFontSubstitutionsToVcl ( )

◆ ApplyLineDashing()

SVT_DLLPUBLIC basegfx::B2DPolyPolygon svtools::ApplyLineDashing ( const basegfx::B2DPolygon rPolygon,
SvxBorderLineStyle  nDashing,
double  fScale 
)

◆ DrawLine() [1/2]

SVT_DLLPUBLIC void svtools::DrawLine ( OutputDevice rDev,
const basegfx::B2DPoint rP1,
const basegfx::B2DPoint rP2,
sal_uInt32  nWidth,
SvxBorderLineStyle  nDashing 
)

Definition at line 320 of file ctrlbox.cxx.

References basegfx::B2DPolygon::append(), and lclDrawPolygon().

◆ DrawLine() [2/2]

SVT_DLLPUBLIC void svtools::DrawLine ( OutputDevice rDev,
const Point rP1,
const Point rP2,
sal_uInt32  nWidth,
SvxBorderLineStyle  nDashing 
)

Definition at line 313 of file ctrlbox.cxx.

References DrawLine(), Point::X(), and Point::Y().

Referenced by DrawLine(), and SvtLineListBox::ImpGetLine().

◆ executeRestartDialog()

bool svtools::executeRestartDialog ( css::uno::Reference< css::uno::XComponentContext > const &  context,
weld::Window parent,
RestartReason  reason 
)

Definition at line 102 of file restartdialog.cxx.

Referenced by svt::JavaInteractionHandler::handle().

◆ GetDashing()

static std::vector< double > svtools::GetDashing ( SvxBorderLineStyle  nDashing)
static

Dashing array must start with a line width and end with a blank width.

Definition at line 238 of file ctrlbox.cxx.

Referenced by ApplyLineDashing(), and GetLineDashing().

◆ GetFontSubstitutions()

SVT_DLLPUBLIC std::vector< SubstitutionStruct > svtools::GetFontSubstitutions ( )

◆ GetLineDashing()

SVT_DLLPUBLIC std::vector< double > svtools::GetLineDashing ( SvxBorderLineStyle  nDashing,
double  fScale 
)

Definition at line 291 of file ctrlbox.cxx.

References GetDashing().

◆ GetPrinterOptions()

SVT_DLLPUBLIC void svtools::GetPrinterOptions ( vcl::printer::Options &  rOptions,
bool  bFile 
)

Definition at line 36 of file printoptions.cxx.

References aDPIArray, and DPI_COUNT.

◆ IMPL_LINK() [1/2]

svtools::IMPL_LINK ( ColorConfig_Impl  ,
DataChangedEventListener  ,
VclSimpleEvent ,
rEvent  ,
void   
)

Definition at line 326 of file colorcfg.cxx.

References GetData, pData, and SettingsChanged.

◆ IMPL_LINK() [2/2]

svtools::IMPL_LINK ( ExtendedColorConfig_Impl  ,
DataChangedEventListener  ,
VclSimpleEvent ,
rEvent  ,
void   
)

Definition at line 496 of file extcolorcfg.cxx.

References GetData, pData, and SettingsChanged.

◆ IMPL_LINK_NOARG()

svtools::IMPL_LINK_NOARG ( AsynchronLink  ,
HandleCall_PostUserEvent  ,
void *  ,
void   
)

Definition at line 58 of file asynclink.cxx.

◆ IsFontSubstitutionsEnabled()

SVT_DLLPUBLIC bool svtools::IsFontSubstitutionsEnabled ( )

◆ lcl_addString()

static void svtools::lcl_addString ( uno::Sequence< OUString > &  _rSeq,
std::u16string_view  _sAdd 
)
static

◆ SetFontSubstitutions()

SVT_DLLPUBLIC void svtools::SetFontSubstitutions ( bool  bIsEnabled,
std::vector< SubstitutionStruct > const &  aSubstArr 
)

◆ SetPrinterOptions()

SVT_DLLPUBLIC void svtools::SetPrinterOptions ( const vcl::printer::Options &  rOptions,
bool  bFile 
)

Definition at line 78 of file printoptions.cxx.

References aDPIArray, comphelper::ConfigurationChanges::create(), DPI_COUNT, and i.

◆ UNLESS_MERGELIBS()

class svtools::UNLESS_MERGELIBS ( SVT_DLLPUBLIC  )

Definition at line 1 of file asynclink.hxx.

References DECL_DLLPRIVATE_LINK.

Variable Documentation

◆ nColorRefCount_Impl

sal_Int32 svtools::nColorRefCount_Impl = 0
static

◆ nExtendedColorRefCount_Impl

sal_Int32 svtools::nExtendedColorRefCount_Impl = 0
static