/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ #include "requeststringresolver.hxx" #include "iahndl.hxx" #include using namespace css; UUIInteractionRequestStringResolver::UUIInteractionRequestStringResolver( uno::Reference< uno::XComponentContext > const & rxContext) : m_pImpl(new UUIInteractionHelper(rxContext)) { } UUIInteractionRequestStringResolver::~UUIInteractionRequestStringResolver() { } OUString SAL_CALL UUIInteractionRequestStringResolver::getImplementationName() { return OUString("com.sun.star.comp.uui.UUIInteractionRequestStringResolver"); } sal_Bool SAL_CALL UUIInteractionRequestStringResolver::supportsService( OUString const & rServiceName) { return cppu::supportsService(this, rServiceName); } uno::Sequence< OUString > SAL_CALL UUIInteractionRequestStringResolver::getSupportedServiceNames() { return { "com.sun.star.task.InteractionRequestStringResolver" }; } beans::Optional< OUString > SAL_CALL UUIInteractionRequestStringResolver::getStringFromInformationalRequest( const uno::Reference< task::XInteractionRequest >& Request ) { try { return m_pImpl->getStringFromRequest(Request); } catch (uno::RuntimeException const & ex) { throw uno::RuntimeException(ex.Message, *this); } } extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL com_sun_star_comp_uui_UUIInteractionRequestStringResolver_get_implementation( css::uno::XComponentContext *context, css::uno::Sequence const &) { return cppu::acquire(new UUIInteractionRequestStringResolver(context)); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ > LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
10 hoursremove canvas/cairo and canvas/gdi and canvas/directx backendsNoel Grandin
2024-11-19Simplify SalGraphicsImpl::InitNoel Grandin
2024-11-18simplify X11SalGraphics::DeInitNoel Grandin
2024-11-18SalGraphics does not need virtual freeResources()Noel Grandin
2024-03-21Drop C/C++ DEBUG macroStephan Bergmann
2024-02-06elide some OString temporariesNoel Grandin
2023-01-31loplugin:unusedfieldsNoel Grandin
2023-01-16The third "depth argument is unusedCaolán McNamara
2023-01-12drop some unneeded includesCaolán McNamara
2023-01-12make SupportsCairo always return true nowCaolán McNamara
2023-01-12remove newly unused X11SalGraphicsImplCaolán McNamara
2023-01-12mpClipRegion is newly unusedCaolán McNamara
2023-01-12X11SalGraphics::SetClipRegion is newly unusedCaolán McNamara
2023-01-12merge duplicate CairoTextRender implsCaolán McNamara
2023-01-11drop unused X11SalGraphics::GetDitherPixmapCaolán McNamara
2023-01-11remove defunct pXRenderFormat fieldCaolán McNamara
2023-01-11drop newly unused codeCaolán McNamara
2023-01-10reorg to make use of X11SalFrame/X11SalVirtualDevice surfaceCaolán McNamara
2023-01-10move surface into X11SalFrame/X11SalVirtualDeviceCaolán McNamara
2023-01-06use current known geometry for surface size instead of SAL_MAX_INT16Caolán McNamara
2023-01-04always use X11CairoSalGraphicsImplCaolán McNamara
2022-04-13vcl: move X11 drawing that uses cairo into X11CairoSalGraphicsImplTomaž Vajngerl
2022-04-12vcl: use auto delegate for X11SalGraphics and remove duplicatesTomaž Vajngerl