cid#1607171 Data race condition
[LibreOffice.git] / sd / source / ui / inc / tabtempl.hxx
blob4e24fb99290431bc9fe461605bae7db9444b30cf
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #pragma once
22 #include <sfx2/styledlg.hxx>
23 #include <svx/xtable.hxx>
25 class SdrModel;
26 class SfxObjectShell;
27 class SdrView;
29 /**
30 * Template-Tab-Dialog
32 class SdTabTemplateDlg final : public SfxStyleDialogController
34 private:
35 const SfxObjectShell& rDocShell;
36 SdrView* pSdrView;
38 XColorListRef pColorList;
39 XGradientListRef pGradientList;
40 XHatchListRef pHatchingList;
41 XBitmapListRef pBitmapList;
42 XPatternListRef pPatternList;
43 XDashListRef pDashList;
44 XLineEndListRef pLineEndList;
46 virtual void PageCreated(const OUString& rId, SfxTabPage &rPage) override;
47 virtual void RefreshInputSet() override;
49 public:
50 SdTabTemplateDlg(weld::Window* pParent,
51 const SfxObjectShell* pDocShell,
52 SfxStyleSheetBase& rStyleBase,
53 SdrModel const * pModel,
54 SdrView* pView);
57 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */