/* -*- 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 . */ #pragma once #include #include #include class BubbleWindow final : public FloatingWindow { Point maTipPos; vcl::Region maBounds; tools::Polygon maRectPoly; tools::Polygon maTriPoly; OUString maBubbleTitle; OUString maBubbleText; Image maBubbleImage; Size maMaxTextSize; tools::Rectangle maTitleRect; tools::Rectangle maTextRect; tools::Long mnTipOffset; private: void RecalcTextRects(); public: BubbleWindow( vcl::Window* pParent, OUString aTitle, OUString aText, Image aImage ); virtual void MouseButtonDown( const MouseEvent& rMEvt ) override; virtual void Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle& rRect) override; void Resize() override; void Show( bool bVisible = true ); void SetTipPosPixel( const Point& rTipPos ) { maTipPos = rTipPos; } void SetTitleAndText( const OUString& rTitle, const OUString& rText, const Image& rImage ); }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ il>dobrakowskirafal@gmail.com 2024-03-13T20:38:33+00:00 4ec72f3935125d3994effd6fa863bbd357e0c246 'sc' module was cleaned. Change-Id: I072dcc0bfb8395b88cba18f212aa23f8edf0d32a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164793 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
'sc' module was cleaned.

Change-Id: I072dcc0bfb8395b88cba18f212aa23f8edf0d32a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164793
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
test: merge CalcUnoApiTest and UnoApiTest into one 2022-10-21T19:23:37+00:00 Xisco Fauli xiscofauli@libreoffice.org 2022-10-21T15:12:24+00:00 89c732913d6155db48c74dd7c2c0325468048aa5 Change-Id: I24ec4c2c1c6d83865ef78a6460cde68cef84fdb2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141638 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Change-Id: I24ec4c2c1c6d83865ef78a6460cde68cef84fdb2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141638
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
CalcUnoApiTest: factor out tearDown 2022-10-17T12:48:29+00:00 Xisco Fauli xiscofauli@libreoffice.org 2022-10-14T09:11:19+00:00 e6ce4b980da5f89470277ded589ec9805e33e7f9 Change-Id: Iae1ae76c1903ff3155da2dd407f1237c29f91840 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141375 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Change-Id: Iae1ae76c1903ff3155da2dd407f1237c29f91840
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141375
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
CalcUnoApiTest: Move mxComponent to parent and use it everywhere 2022-10-14T14:09:37+00:00 Xisco Fauli xiscofauli@libreoffice.org 2022-10-13T22:28:18+00:00 a96b911c112386b1af89115c9a96d4ace9d68326 Change-Id: Ibea7a300b7f302936f872d7133aadafeb13d6d82 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141350 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Change-Id: Ibea7a300b7f302936f872d7133aadafeb13d6d82
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141350
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
tdf#139734 Drop redundant asserts after MacrosTest::loadFromDesktop 2021-08-13T08:34:43+00:00 KaranAbrol karan.abrol1@gmail.com 2021-08-12T05:36:44+00:00 c9bcbebe34c8d0e3edab520ace15c4d367aef62f Change-Id: I9a183ed9046ab0610a538c74e3ff8b327a6f6e4c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120348 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Change-Id: I9a183ed9046ab0610a538c74e3ff8b327a6f6e4c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120348
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
fix wrong SET/QUERY flags passed to uno::Reference 2019-05-13T06:15:27+00:00 Noel Grandin noel.grandin@collabora.co.uk 2019-05-10T08:13:12+00:00 a361231b1363d072d737e9b1d411b71aa9550d84 By creating deleted methods for the wrong calls. Avoids the compiler needing to construct a temporary Change-Id: I3b8c648d6bb22d22827bf74f21ea5a2a17fc0f6a Reviewed-on: https://gerrit.libreoffice.org/72103 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
By creating deleted methods for the wrong calls.

Avoids the compiler needing to construct a temporary

Change-Id: I3b8c648d6bb22d22827bf74f21ea5a2a17fc0f6a
Reviewed-on: https://gerrit.libreoffice.org/72103
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
tdf#45904 Move XEnumeration Java tests to C++ 2018-11-16T23:40:34+00:00 Jens Carl j.carl43@gmx.de 2018-11-16T22:03:39+00:00 a9cabfed5ea019c2e69220d924d000688bb5c935 Move XEnumeration Java tests to C++ for ScIndexEnumeration_TableColumnsEnumeration. Change-Id: Id4a3f78942b3bed2a09f617b961507a01374f455 Reviewed-on: https://gerrit.libreoffice.org/63485 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
Move XEnumeration Java tests to C++ for
ScIndexEnumeration_TableColumnsEnumeration.

Change-Id: Id4a3f78942b3bed2a09f617b961507a01374f455
Reviewed-on: https://gerrit.libreoffice.org/63485
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43@gmx.de>