LibreOffice Module vcl (master) 1
Classes | Namespaces | Macros | Typedefs | Functions | Variables
svdata.hxx File Reference
#include <sal/config.h>
#include <config_version.h>
#include <o3tl/lru_map.hxx>
#include <o3tl/hash_combine.hxx>
#include <tools/fldunit.hxx>
#include <unotools/options.hxx>
#include <vcl/bitmapex.hxx>
#include <vcl/image.hxx>
#include <vcl/settings.hxx>
#include <vcl/svapp.hxx>
#include <vcl/window.hxx>
#include <vcl/task.hxx>
#include <LibreOfficeKit/LibreOfficeKitTypes.h>
#include <unotools/resmgr.hxx>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/i18n/XCharacterClassification.hpp>
#include "vcleventlisteners.hxx"
#include "salwtype.hxx"
#include "displayconnectiondispatch.hxx"
#include <mutex>
#include <optional>
#include <vector>
#include <unordered_map>
#include "ControlCacheKey.hxx"
#include "schedulerimpl.hxx"
#include <basegfx/DrawCommands.hxx>
Include dependency graph for svdata.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  LocaleConfigurationListener
 
struct  ImplSVAppData
 
struct  ScaleCacheKey
 Cache multiple scalings for the same bitmap. More...
 
struct  std::hash< ScaleCacheKey >
 
struct  ImplSVGDIData
 
struct  ImplSVFrameData
 
struct  ImplSVWinData
 
struct  ImplSVCtrlData
 
struct  ImplSVHelpData
 
struct  ImplSVNWFData
 
struct  BlendFrameCache
 
struct  ImplSchedulerContext
 
struct  ImplSVData
 
struct  ImplSVEvent
 

Namespaces

namespace  rtl
 
namespace  vcl
 
namespace  vcl::font
 A PhysicalFontFaceCollection is created by a PhysicalFontCollection and becomes invalid when original PhysicalFontCollection is modified.
 
namespace  com
 
namespace  com::sun
 
namespace  com::sun::star
 
namespace  com::sun::star::datatransfer
 
namespace  com::sun::star::datatransfer::clipboard
 
namespace  basegfx
 
namespace  std
 

Macros

#define SV_ICON_ID_OFFICE   1
 
#define SV_ICON_ID_TEXT   2
 
#define SV_ICON_ID_TEXT_TEMPLATE   3
 
#define SV_ICON_ID_SPREADSHEET   4
 
#define SV_ICON_ID_SPREADSHEET_TEMPLATE   5
 
#define SV_ICON_ID_DRAWING   6
 
#define SV_ICON_ID_PRESENTATION   8
 
#define SV_ICON_ID_MASTER_DOCUMENT   10
 
#define SV_ICON_ID_TEMPLATE   11
 
#define SV_ICON_ID_DATABASE   12
 
#define SV_ICON_ID_FORMULA   13
 

Typedefs

typedef std::pair< VclPtr< vcl::Window >, ImplPostEventData * > ImplPostEventPair
 
typedef o3tl::lru_map< ScaleCacheKey, BitmapExlru_scale_cache
 
typedef std::vector< std::pair< OUString, FieldUnit > > FieldUnitStringList
 

Functions

css::uno::Reference< css::i18n::XCharacterClassification > const & ImplGetCharClass ()
 
void ImplDeInitSVData ()
 
VCL_PLUGIN_PUBLIC basegfx::SystemDependentDataManagerImplGetSystemDependentDataManager ()
 
VCL_PLUGIN_PUBLIC vcl::WindowImplGetDefaultWindow ()
 Returns either the application window, or the default GL context window. More...
 
vcl::WindowImplGetDefaultContextWindow ()
 returns the default window created to hold the persistent VCL GL context. More...
 
const std::locale & ImplGetResLocale ()
 
VCL_PLUGIN_PUBLIC OUString VclResId (TranslateId sContextAndId)
 
DockingManagerImplGetDockingManager ()
 
BlendFrameCacheImplGetBlendFrameCache ()
 
void GenerateAutoMnemonicsOnHierarchy (const vcl::Window *pWindow)
 
VCL_PLUGIN_PUBLIC ImplSVHelpDataImplGetSVHelpData ()
 
VCL_DLLPUBLIC bool ImplCallPreNotify (NotifyEvent &rEvt)
 
VCL_PLUGIN_PUBLIC ImplSVDataImplGetSVData ()
 
VCL_PLUGIN_PUBLIC void ImplHideSplash ()
 
const FieldUnitStringListImplGetFieldUnits ()
 
const FieldUnitStringListImplGetCleanedFieldUnits ()
 
SalDataGetSalData ()
 
void SetSalData (SalData *pData)
 
SalInstanceGetSalInstance ()
 

Variables

int nImplSysDialog
 

Macro Definition Documentation

◆ SV_ICON_ID_DATABASE

#define SV_ICON_ID_DATABASE   12

Definition at line 113 of file svdata.hxx.

◆ SV_ICON_ID_DRAWING

#define SV_ICON_ID_DRAWING   6

Definition at line 109 of file svdata.hxx.

◆ SV_ICON_ID_FORMULA

#define SV_ICON_ID_FORMULA   13

Definition at line 114 of file svdata.hxx.

◆ SV_ICON_ID_MASTER_DOCUMENT

#define SV_ICON_ID_MASTER_DOCUMENT   10

Definition at line 111 of file svdata.hxx.

◆ SV_ICON_ID_OFFICE

#define SV_ICON_ID_OFFICE   1

Definition at line 104 of file svdata.hxx.

◆ SV_ICON_ID_PRESENTATION

#define SV_ICON_ID_PRESENTATION   8

Definition at line 110 of file svdata.hxx.

◆ SV_ICON_ID_SPREADSHEET

#define SV_ICON_ID_SPREADSHEET   4

Definition at line 107 of file svdata.hxx.

◆ SV_ICON_ID_SPREADSHEET_TEMPLATE

#define SV_ICON_ID_SPREADSHEET_TEMPLATE   5

Definition at line 108 of file svdata.hxx.

◆ SV_ICON_ID_TEMPLATE

#define SV_ICON_ID_TEMPLATE   11

Definition at line 112 of file svdata.hxx.

◆ SV_ICON_ID_TEXT

#define SV_ICON_ID_TEXT   2

Definition at line 105 of file svdata.hxx.

◆ SV_ICON_ID_TEXT_TEMPLATE

#define SV_ICON_ID_TEXT_TEMPLATE   3

Definition at line 106 of file svdata.hxx.

Typedef Documentation

◆ FieldUnitStringList

typedef std::vector< std::pair< OUString, FieldUnit > > FieldUnitStringList

Definition at line 271 of file svdata.hxx.

◆ ImplPostEventPair

Definition at line 137 of file svdata.hxx.

◆ lru_scale_cache

Definition at line 209 of file svdata.hxx.

Function Documentation

◆ GenerateAutoMnemonicsOnHierarchy()

void GenerateAutoMnemonicsOnHierarchy ( const vcl::Window pWindow)

◆ GetSalData()

SalData * GetSalData ( )
inline

Definition at line 471 of file svdata.hxx.

References ImplGetSVData(), and ImplSVData::mpSalData.

Referenced by GetQtData(), and AquaSalFrame::isAlive().

◆ GetSalInstance()

SalInstance * GetSalInstance ( )
inline

Definition at line 473 of file svdata.hxx.

References ImplGetSVData(), and ImplSVData::mpDefInst.

Referenced by GetGenericInstance(), GetGtkInstance(), GetQtInstance(), and SalAbort().

◆ ImplCallPreNotify()

VCL_DLLPUBLIC bool ImplCallPreNotify ( NotifyEvent rEvt)

◆ ImplDeInitSVData()

void ImplDeInitSVData ( )

◆ ImplGetBlendFrameCache()

BlendFrameCache * ImplGetBlendFrameCache ( )

Definition at line 325 of file svdata.cxx.

References ImplGetSVData(), and ImplSVData::mpBlendFrameCache.

Referenced by createBlendFrame().

◆ ImplGetCharClass()

css::uno::Reference< css::i18n::XCharacterClassification > const & ImplGetCharClass ( )

◆ ImplGetCleanedFieldUnits()

const FieldUnitStringList & ImplGetCleanedFieldUnits ( )

◆ ImplGetDefaultContextWindow()

vcl::Window * ImplGetDefaultContextWindow ( )

returns the default window created to hold the persistent VCL GL context.

Definition at line 222 of file svdata.cxx.

References VclPtr< reference_type >::Create(), ImplGetSVData(), ImplSVData::mbDeInit, ImplSVData::mpDefaultWin, SAL_INFO, SystemWindow::SetText(), TOOLS_WARN_EXCEPTION, and WB_DEFAULTWIN.

Referenced by ImplGetDefaultWindow().

◆ ImplGetDefaultWindow()

VCL_PLUGIN_PUBLIC vcl::Window * ImplGetDefaultWindow ( )

◆ ImplGetDockingManager()

DockingManager * ImplGetDockingManager ( )

◆ ImplGetFieldUnits()

const FieldUnitStringList & ImplGetFieldUnits ( )

◆ ImplGetResLocale()

const std::locale & ImplGetResLocale ( )

◆ ImplGetSVData()

VCL_PLUGIN_PUBLIC ImplSVData * ImplGetSVData ( )

Definition at line 77 of file svdata.cxx.

Referenced by Printer::AcquireGraphics(), VirtualDevice::AcquireGraphics(), vcl::WindowOutputDevice::AcquireGraphics(), Application::AcquireSolarMutex(), vcl::DeleteOnDeinitBase::addDeinitContainer(), Application::AddEventListener(), OutputDevice::AddFontSubstitute(), Application::AddKeyListener(), Application::AddToRecentDocumentList(), Application::AnyInput(), Application::Application(), MenuFloatingWindow::ApplySettings(), OutputDevice::BeginFontSubstitution(), Bitmap::Bitmap(), Bitmap32IsPreMultipled(), BitmapInfoAccess::BitmapInfoAccess(), AlphaMask::BlendWith(), Scheduler::CallbackTaskScheduling(), vcl::Window::CaptureMouse(), MenuBarWindow::ChangeHighlightItem(), WorkWindow::Close(), Bitmap::Convert(), OpenGLContext::Create(), BitmapEx::Create(), Application::CreateBuilder(), Bitmap::CreateDisplayBitmap(), Application::createFilePicker(), Application::createFolderPicker(), SystemChildWindow::CreateGStreamerSink(), Application::CreateInterimBuilder(), Application::CreateMessageDialog(), CreateSVWinData(), ImplBorderWindow::Deactivate(), DeInitVCL(), DestroySVHelpData(), vcl::DisplayConnectionDispatch::DisplayConnectionDispatch(), Printer::dispose(), SystemChildWindow::dispose(), ToolBox::dispose(), VirtualDevice::dispose(), vcl::Window::dispose(), WorkWindow::dispose(), vcl::DragSource_createInstance(), Control::DrawControlText(), DrawProgress(), ImplSmallBorderWindowView::DrawWindow(), ImplStdBorderWindowView::DrawWindow(), SalBitmap::DropScaledCache(), vcl::DropTarget_createInstance(), vcl::lok::dumpState(), vcl::Window::Enable(), Application::EnableBitmapRendering(), vcl::Window::EnableInput(), MenuFloatingWindow::End(), vcl::EndAllDialogs(), vcl::Window::EndAutoScroll(), Dialog::EndDialog(), Help::EndExtHelp(), OutputDevice::EndFontSubstitution(), vcl::Window::EndTracking(), Bitmap::Erase(), Application::Execute(), MenuFloatingWindow::Execute(), BitmapScaleSuperFilter::execute(), GraphicConverter::Export(), vcl::FileDefinitionWidgetDraw::FileDefinitionWidgetDraw(), vcl::SettingsConfigItem::get(), PopupMenu::GetActivePopupMenu(), Application::GetActiveTopWindow(), Application::GetAppFileName(), Application::GetAppName(), CheckBox::GetCheckImage(), Bitmap::GetChecksum(), Control::GetControlTextRect(), Dialog::GetDefaultParent(), Printer::GetDefaultPrinterName(), Dialog::GetDefDialogParent(), Application::GetDialogCancelMode(), Application::GetDispatchLevel(), Application::GetDisplayConnection(), Application::GetDisplayName(), StyleSettings::GetDockingFloatsSupported(), vcl::Window::GetDragSource(), ImplListBoxWindow::GetEntryHeightWithMargin(), Application::GetFirstTopLevelWindow(), UITest::getFloatWindow(), UITest::getFocusTopWindow(), Application::GetFocusWindow(), Application::GetFrameWeld(), GetGenericUnixSalData(), GetGtkSalData(), ImplEntryType::getHeightWithMargin(), Application::GetHelp(), MenuFloatingWindow::GetInitialItemY(), UITestLogger::getInstance(), Application::GetLastInputInterval(), Application::GetOSVersion(), Printer::GetPaperName(), GetpApp(), Printer::GetPrinterQueues(), Printer::GetQueueInfo(), RadioButton::GetRadioImage(), GetSalData(), GetSalInstance(), Application::GetSettings(), Application::GetSolarMutex(), GetStandardErrorBoxImage(), GetStandardInfoBoxImage(), GetStandardQueryBoxImage(), GetStandardWarningBoxImage(), GetSystemClipboard(), Application::GetSystemWindowMode(), Application::GetToolkitName(), Application::GetTopWindow(), Application::GetTopWindowCount(), UnoWrapperBase::GetUnoWrapper(), Application::HandleKey(), TaskPaneList::HandleKeyEvent(), vcl::Window::HasActiveChildFrame(), vcl::Window::HasChildPathFocus(), OpenGLContext::hasCurrent(), vcl::Window::HasFocus(), Application::hasNativeFileSelection(), SalInstanceWindow::help(), MenuBarWindow::HighlightItem(), vcl::IMPL_LINK(), IMPL_LINK_NOARG(), vcl::IMPL_LINK_NOARG(), IMPL_STATIC_LINK(), IMPL_STATIC_LINK_NOARG(), ImplAddNWFSeparator(), ImplCalcMapResolution(), Menu::ImplCalcSize(), vcl::Window::ImplCallActivateListeners(), Application::ImplCallEventListeners(), Application::ImplCallEventListenersApplicationDataChanged(), vcl::Window::ImplCallFocusChangeActivate(), vcl::Window::ImplCallMouseMove(), OutputDevice::ImplClearAllFontData(), OutputDevice::ImplClearFontData(), ImplCloseLastPopup(), ImplDbgTestSolarMutex(), Scheduler::ImplDeInitScheduler(), ImplDeInitSVData(), vcl::DeleteOnDeinitBase::ImplDeleteOnDeInit(), ImplDeletePrnQueueList(), ImplWin::ImplDraw(), DisclosureButton::ImplDrawCheckBoxState(), TabControl::ImplDrawItem(), Dialog::ImplEndExecuteModal(), FloatingWindow::ImplEndPopupMode(), vcl::font::ImplFontSubstitute(), StatusBar::ImplFormat(), ImplFrameData::ImplFrameData(), ImplGetBlendFrameCache(), ImplGetCharClass(), ImplGetCleanedFieldUnits(), ImplGetDefaultContextWindow(), ImplGetDefaultWindow(), ImplGetDockingManager(), ImplGetFieldUnits(), ImplGetKeyInputWindow(), ImplWheelWindow::ImplGetMousePointer(), Printer::ImplGetQueueInfo(), ImplGetResLocale(), ImplGetSalSystem(), ImplGetSVHelpData(), ImplGetTBDragMgr(), vcl::Window::ImplGrabFocus(), ImplHandleClose(), ImplHandleEndExtTextInput(), ImplHandleExtTextInput(), ImplHandleExtTextInputPos(), ImplHandleKey(), ImplHandleLoseFocus(), ImplHandleMouseEvent(), ImplHandleMouseFloatMode(), ImplHandleSalKeyMod(), ImplHandleSalQueryCharPosition(), ImplHideSplash(), Printer::ImplInit(), vcl::Window::ImplInit(), WorkWindow::ImplInit(), vcl::Window::ImplInitAppFontData(), Printer::ImplInitData(), Printer::ImplInitDisplay(), FloatingWindow::ImplInitFloating(), ImplInitMsgBoxImageList(), ImplInitPrnQueueList(), TabControl::ImplInitSettings(), PushButton::ImplInitSettings(), CheckBox::ImplInitSettings(), RadioButton::ImplInitSettings(), MenuBarWindow::ImplInitStyleSettings(), SystemChildWindow::ImplInitSysChild(), VirtualDevice::ImplInitVirDev(), ImplInvalidateMenubar(), Edit::ImplInvalidateOrRepaint(), Bitmap::ImplMakeUnique(), vcl::PDFWriterImpl::ImplNewFont(), vcl::Window::ImplNewInputContext(), Menu::ImplPaint(), Menu::ImplPaintMenuTitle(), Printer::ImplReleaseGraphics(), Menu::ImplSelect(), vcl::Window::ImplSetFrameParent(), Dialog::ImplSetModalInputMode(), VirtualDevice::ImplSetReferenceDevice(), Dialog::ImplStartExecute(), Scheduler::ImplStartTimer(), ImplSVMain(), OutputDevice::ImplUpdateFontDataForAllFrames(), ImplWheelWindow::ImplWheelWindow(), ImplWin::ImplWin(), ImplYield(), GraphicConverter::Import(), ImplSmallBorderWindowView::Init(), InitVCL(), VirtualDevice::InnerImplSetOutputSizePixel(), MenuItemList::Insert(), Application::InsertAccel(), MenuItemList::InsertSeparator(), vclmain::isAlive(), Application::IsBitmapRendering(), Application::IsDialogCancelEnabled(), Application::IsInExecute(), Application::IsInMain(), Application::IsInModalMode(), Application::IsMainThread(), vcl::Window::IsMouseCaptured(), Application::IsOnSystemEventLoop(), Application::IsQuit(), vcl::Window::IsTracking(), Application::IsUICaptured(), vcl::lok::isUnipoll(), IsVCLInit(), vcl::Window::KeyInput(), KillOwnPopups(), lcl_AdjustSingleLineTabs(), Scheduler::Lock(), MenuBar::MenuBar(), Application::MergeSystemSettings(), Edit::Modify(), ImplWheelWindow::MouseMove(), Application::NotifyAllWindows(), vcl::lok::numberOfViewsChanged(), OpenGLContext::OpenGLContext(), PopupMenu::PopupMenu(), Application::PostGestureEvent(), Application::PostKeyEvent(), Application::PostMouseEvent(), OpenGLContext::prepareForYield(), PopupMenu::PrepareRun(), Scheduler::ProcessEventsToIdle(), Application::QueryExit(), Application::Quit(), readWebp(), OpenGLContext::registerAsCurrent(), vcl::lok::registerPollCallbacks(), VirtualDevice::ReleaseGraphics(), vcl::WindowOutputDevice::ReleaseGraphics(), vcl::Window::ReleaseMouse(), Application::ReleaseSolarMutex(), Application::RemoveAccel(), Application::RemoveEventListener(), OutputDevice::RemoveFontsSubstitute(), Dialog::RemoveFromDlgList(), Application::RemoveKeyListener(), Application::RemoveMouseAndKeyEvents(), MenuFloatingWindow::RenderHighlightItem(), Bitmap::Replace(), StatusBar::Resize(), ListBox::Resize(), vcl::Window::SaveFocus(), Bitmap::Scale(), Application::SetAppName(), Application::setDeInitHook(), Application::SetDialogCancelMode(), Application::SetDisplayName(), Application::SetFilterHdl(), OutputDevice::SetFontCollectionFromSVData(), Application::SetHelp(), Printer::SetPrinterProps(), SetSalData(), Application::SetSettings(), SetSVHelpData(), SetSVWinData(), Application::SetSystemWindowMode(), UnoWrapperBase::SetUnoWrapper(), Printer::Setup(), SystemWindow::SetWindowState(), vcl::Window::Show(), vcl::DisplayConnectionDispatch::start(), Task::Start(), vcl::Window::StartAutoScroll(), Help::StartExtHelp(), ImplListBoxFloatingWindow::StartFloat(), Printer::StartJob(), FloatingWindow::StartPopupMode(), vcl::Window::StartTracking(), OpenGLHelper::supportsOpenGL(), vcl::DisplayConnectionDispatch::terminate(), vcl::lok::trimMemory(), Scheduler::Unlock(), vcl::lok::unregisterPollCallbacks(), Application::UpdateMainThread(), Printer::updatePrinters(), vcl::vcl_SystemClipboard_get_implementation(), VCLExceptionSignal_impl(), Application::~Application(), vcl::DeleteOnDeinitBase::~DeleteOnDeinitBase(), and OpenGLContext::~OpenGLContext().

◆ ImplGetSVHelpData()

VCL_PLUGIN_PUBLIC ImplSVHelpData & ImplGetSVHelpData ( )

◆ ImplGetSystemDependentDataManager()

VCL_PLUGIN_PUBLIC basegfx::SystemDependentDataManager & ImplGetSystemDependentDataManager ( )

Definition at line 204 of file svdata.cxx.

Referenced by DeInitVCL(), and Application::GetSystemDependentDataManager().

◆ ImplHideSplash()

VCL_PLUGIN_PUBLIC void ImplHideSplash ( )

Definition at line 126 of file dialog.cxx.

References vcl::Window::Hide(), ImplGetSVData(), and ImplSVData::mpIntroWindow.

◆ SetSalData()

void SetSalData ( SalData pData)
inline

Definition at line 472 of file svdata.hxx.

References ImplGetSVData(), ImplSVData::mpSalData, and pData.

◆ VclResId()

VCL_PLUGIN_PUBLIC OUString VclResId ( TranslateId  sContextAndId)

Variable Documentation

◆ nImplSysDialog

int nImplSysDialog
extern

Definition at line 56 of file print.cxx.

Referenced by Application::IsUICaptured(), and Printer::Setup().