summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2020-10-09 18:10:50 +0200
committerLuboš Luňák <l.lunak@collabora.com>2020-10-16 10:11:38 +0200
commitb12b1663d135f94eb56f3c1f852ef008e87c4e5f (patch)
tree4518978b35ad56c4f1c2884c2c298de6830bb760 /include
parenta559ddd37b09a35f26a291f1a0f94608309a7d99 (diff)
try to prefetch also graphics for background fill bitmap
Change-Id: Ib6be487500e45ab984b7ca63d85352696d9d4051 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104132 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/svx/svdobj.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/svx/svdobj.hxx b/include/svx/svdobj.hxx
index de4ebc3f9b4f..cb98d67a2891 100644
--- a/include/svx/svdobj.hxx
+++ b/include/svx/svdobj.hxx
@@ -74,6 +74,7 @@ class SdrGluePointList;
class SdrLayerIDSet;
class Fraction;
enum class PointerStyle;
+class Graphic;
namespace basegfx
{
@@ -917,6 +918,8 @@ public:
const css::uno::WeakReference< css::uno::XInterface >& getWeakUnoShape() const { return maWeakUnoShape; }
void setSuitableOutlinerBg(Outliner& rOutliner) const;
+ // If fillstyle is drawing::FillStyle_BITMAP, returns the graphic.
+ const Graphic* getFillGraphic() const;
protected:
tools::Rectangle aOutRect; // surrounding rectangle for Paint (incl. LineWidth, ...)
@@ -995,6 +998,8 @@ protected:
// helper function for reimplementing Clone().
template< typename T > T* CloneHelper(SdrModel& rTargetModel) const;
+ const SfxItemSet* getBackgroundFillSet() const;
+
private:
struct Impl;
std::unique_ptr<Impl> mpImpl;