LibreOffice Module vcl (master) 1
|
#include <string.h>
#include <comphelper/lok.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/diagnose_ex.hxx>
#include <o3tl/string_view.hxx>
#include <unotools/resmgr.hxx>
#include <sal/log.hxx>
#include <configsettings.hxx>
#include <vcl/QueueInfo.hxx>
#include <vcl/cvtgrf.hxx>
#include <vcl/dockwin.hxx>
#include <vcl/fieldvalues.hxx>
#include <vcl/menu.hxx>
#include <vcl/print.hxx>
#include <vcl/settings.hxx>
#include <vcl/svapp.hxx>
#include <vcl/virdev.hxx>
#include <vcl/wrkwin.hxx>
#include <vcl/uitest/logger.hxx>
#include <salframe.hxx>
#include <scrwnd.hxx>
#include <helpwin.hxx>
#include <vcl/toolkit/dialog.hxx>
#include <salinst.hxx>
#include <salgdi.hxx>
#include <svdata.hxx>
#include <salsys.hxx>
#include <windowdev.hxx>
#include <units.hrc>
#include <print.h>
#include <com/sun/star/accessibility/MSAAService.hpp>
#include <config_features.h>
#include <basegfx/utils/systemdependentdata.hxx>
#include <mutex>
Go to the source code of this file.
Namespaces | |
namespace | vcl |
ImplSVHelpData * CreateSVHelpData | ( | ) |
Definition at line 448 of file svdata.cxx.
References comphelper::LibreOfficeKit::isActive(), ImplSVHelpData::mbBalloonHelp, ImplSVHelpData::mbContextHelp, ImplSVHelpData::mbExtHelp, ImplSVHelpData::mbExtHelpMode, ImplSVHelpData::mbOldBalloonMode, and ImplSVHelpData::mbQuickHelp.
ImplSVWinData * CreateSVWinData | ( | ) |
Definition at line 372 of file svdata.cxx.
References ImplGetSVData(), comphelper::LibreOfficeKit::isActive(), ImplSVWinData::mpFocusWin, ImplSVData::mpWinData, and p.
void DestroySVHelpData | ( | ImplSVHelpData * | pSVHelpData | ) |
Definition at line 467 of file svdata.cxx.
References ImplDestroyHelpWindow(), ImplGetSVData(), comphelper::LibreOfficeKit::isActive(), and ImplSVData::mpHelpData.
void DestroySVWinData | ( | ImplSVWinData * | pData | ) |
Definition at line 386 of file svdata.cxx.
References pData.
void ImplDeInitSVData | ( | ) |
Definition at line 89 of file svdata.cxx.
References ImplGetSVData(), ImplSVCtrlData::maCleanUnitStrings, ImplSVData::maCtrlData, ImplSVCtrlData::maFieldUnitStrings, ImplSVData::maPaperNames, ImplSVData::mpDockingManager, and ImplSVData::mpSettingsConfigItem.
Referenced by Application::~Application().
BlendFrameCache * ImplGetBlendFrameCache | ( | ) |
Definition at line 325 of file svdata.cxx.
References ImplGetSVData(), and ImplSVData::mpBlendFrameCache.
Referenced by createBlendFrame().
const FieldUnitStringList & ImplGetCleanedFieldUnits | ( | ) |
Definition at line 296 of file svdata.cxx.
References first, i, ImplGetFieldUnits(), ImplGetSVData(), ImplSVCtrlData::maCleanUnitStrings, and ImplSVData::maCtrlData.
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().
vcl::Window * ImplGetDefaultWindow | ( | ) |
Returns either the application window, or the default GL context window.
Definition at line 212 of file svdata.cxx.
References ImplGetDefaultContextWindow(), ImplGetSVData(), ImplSVData::maFrameData, and ImplSVFrameData::mpAppWin.
Referenced by Sound::Beep(), Application::GetDefaultDevice(), MenuItemList::GetItemCount(), vcl::KeyCode::GetName(), MiscSettings::GetUseDarkMode(), MiscSettings::GetUseReducedAnimation(), VirtualDevice::ImplInitVirDev(), Application::MergeSystemSettings(), SalInstanceContainer::move(), vcl::Window::PaintToDevice(), Application::PostUserEvent(), MenuItemList::SearchItem(), and Printer::Setup().
DockingManager * ImplGetDockingManager | ( | ) |
Definition at line 316 of file svdata.cxx.
References ImplGetSVData(), and ImplSVData::mpDockingManager.
Referenced by ToolBox::CalcMinimumWindowSizePixel(), vcl::Window::dispose(), vcl::Window::EnableDocking(), vcl::Window::EventNotify(), vcl::Window::GetDockingManager(), DockingWindow::GetFloatingPos(), DockingWindow::GetFloatStyle(), DockingWindow::GetOutputSizePixel(), DockingWindow::GetPosPixel(), DockingWindow::GetSizePixel(), ToolBox::ImplCalcBorder(), ToolBox::ImplDrawBackground(), ToolBox::ImplDrawBorder(), ToolBox::ImplDrawGrip(), ToolBox::ImplFormat(), ToolBox::ImplIsInPopupMode(), ToolBox::ImplSetMinMaxFloatSize(), ToolBox::ImplUpdateDragArea(), DockingWindow::IsFloatingMode(), ToolBox::Lock(), ToolBox::MouseMove(), ToolBox::Select(), DockingWindow::SetFloatingMode(), DockingWindow::SetFloatStyle(), ToolBox::SetMenuType(), DockingWindow::SetOutputSizePixel(), DockingWindow::setPosSizePixel(), and vcl::Window::Tracking().
const FieldUnitStringList & ImplGetFieldUnits | ( | ) |
Definition at line 266 of file svdata.cxx.
References first, i, ImplGetSVData(), ImplSVData::maCtrlData, ImplSVCtrlData::maFieldUnitStrings, SAL_N_ELEMENTS, and VclResId().
Referenced by ImplGetCleanedFieldUnits(), ImplMetricToString(), and weld::MetricSpinButton::MetricToString().
const std::locale & ImplGetResLocale | ( | ) |
Definition at line 250 of file svdata.cxx.
References Translate::Create(), ImplGetSVData(), comphelper::LibreOfficeKit::isActive(), ImplSVData::maResLocale, and ImplSVData::mbResLocaleSet.
Referenced by VclResId().
SalSystem * ImplGetSalSystem | ( | ) |
Definition at line 81 of file svdata.cxx.
References SalInstance::CreateSalSystem(), ImplGetSVData(), ImplSVData::mpDefInst, and ImplSVData::mpSalSystem.
Referenced by Application::GetDisplayBuiltInScreen(), Application::GetScreenCount(), Application::GetScreenPosSizePixel(), and Application::ShowNativeErrorBox().
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().
ImplSVHelpData & ImplGetSVHelpData | ( | ) |
Definition at line 507 of file svdata.cxx.
References ImplGetSVData(), and ImplSVData::mpHelpData.
Referenced by Help::DisableBalloonHelp(), Help::DisableContextHelp(), Help::DisableExtHelp(), Help::DisableQuickHelp(), vcl::Window::dispose(), HelpTextWindow::dispose(), Help::EnableBalloonHelp(), Help::EnableContextHelp(), Help::EnableExtHelp(), Help::EnableQuickHelp(), Help::EndExtHelp(), HelpTextWindow::HelpTextWindow(), Help::HideBalloonAndQuickHelp(), Help::HidePopover(), ImplDestroyHelpWindow(), ImplHandleClose(), ImplHandleKey(), ImplHandleMouseEvent(), ImplHandleMouseFloatMode(), ImplHandleMouseHelpRequest(), ImplHandleMove(), ImplSetMousePointer(), ImplShowHelpWindow(), Help::IsBalloonHelpEnabled(), Help::IsContextHelpEnabled(), Help::IsExtHelpEnabled(), Help::IsQuickHelpEnabled(), HelpTextWindow::ResetHideTimer(), HelpTextWindow::ShowHelp(), and Help::StartExtHelp().
basegfx::SystemDependentDataManager & ImplGetSystemDependentDataManager | ( | ) |
Definition at line 204 of file svdata.cxx.
Referenced by DeInitVCL(), and Application::GetSystemDependentDataManager().
void SetSVHelpData | ( | ImplSVHelpData * | pSVHelpData | ) |
Definition at line 485 of file svdata.cxx.
References ImplGetSVData(), comphelper::LibreOfficeKit::isActive(), ImplSVData::mpHelpData, ImplSVHelpData::mpHelpWin, and VclPtr< reference_type >::reset().
void SetSVWinData | ( | ImplSVWinData * | pSVWinData | ) |
Definition at line 391 of file svdata.cxx.
References ImplGetSVData(), comphelper::LibreOfficeKit::isActive(), ImplSVWinData::mpFocusWin, ImplSVData::mpWinData, and VclPtr< reference_type >::reset().
OUString VclResId | ( | TranslateId | aId | ) |
Definition at line 261 of file svdata.cxx.
References Translate::get(), and ImplGetResLocale().
Referenced by vcl::font::FeatureCollector::collectForTable(), SvHeaderTabListBox::GetAccessibleObjectDescription(), TextUndoDelPara::GetComment(), TextUndoConnectParas::GetComment(), TextUndoSplitPara::GetComment(), TextUndoInsertChars::GetComment(), TextUndoRemoveChars::GetComment(), vcl::font::FeatureParameter::getDescription(), vcl::font::FeatureDefinition::getDescription(), Printer::GetPaperName(), GetStandardErrorBoxText(), GetStandardInfoBoxText(), GetStandardQueryBoxText(), GetStandardText(), GetStandardWarningBoxText(), SvTabListBox::GetTabEntryText(), IMPL_LINK(), vcl::RoadmapWizard::implConstruct(), ImplGetFieldUnits(), Calendar::ImplInit(), OutputDevice::ImplInitFontList(), ImplBorderWindowView::ImplRequestHelp(), SalInstanceTreeView::insert_separator(), SalInstanceIconView::insert_separator(), Localize(), MenuBarWindow::MenuBarWindow(), PopupMenu::PrepareRun(), queryFile(), SplitWindow::RequestHelp(), vcl::RoadmapWizard::RoadmapWizard(), ShowServiceNotAvailableError(), and Edit::ShowTruncationWarning().