LibreOffice Module sd (master) 1
Namespaces | Typedefs | Functions | Variables
TableDesignPane.cxx File Reference
#include <sal/config.h>
#include <string_view>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/drawing/XDrawView.hpp>
#include <com/sun/star/frame/XController.hpp>
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
#include <com/sun/star/util/XModifiable.hpp>
#include <com/sun/star/view/XSelectionSupplier.hpp>
#include <com/sun/star/style/XStyle.hpp>
#include <com/sun/star/style/XStyleFamiliesSupplier.hpp>
#include <comphelper/sequence.hxx>
#include <sfx2/viewfrm.hxx>
#include <vcl/commandevent.hxx>
#include <vcl/image.hxx>
#include <vcl/settings.hxx>
#include <vcl/svapp.hxx>
#include <vcl/virdev.hxx>
#include <tools/debug.hxx>
#include <comphelper/diagnose_ex.hxx>
#include <svl/style.hxx>
#include <svl/stritem.hxx>
#include <sfx2/bindings.hxx>
#include <sfx2/app.hxx>
#include <sfx2/request.hxx>
#include <sfx2/dispatch.hxx>
#include <svx/svxids.hrc>
#include <svx/svdetc.hxx>
#include <svx/svxdlg.hxx>
#include <editeng/boxitem.hxx>
#include <editeng/borderline.hxx>
#include <editeng/colritem.hxx>
#include <editeng/eeitem.hxx>
#include <svx/sdr/table/tabledesign.hxx>
#include <svx/sdr/table/tablecontroller.hxx>
#include <o3tl/enumrange.hxx>
#include <TableDesignPane.hxx>
#include <stlsheet.hxx>
#include <strings.hrc>
#include <sdresid.hxx>
#include <bitmaps.hlst>
#include <ViewShell.hxx>
#include <ViewShellBase.hxx>
#include <EventMultiplexer.hxx>
Include dependency graph for TableDesignPane.cxx:

Go to the source code of this file.

Namespaces

namespace  sd
 

Typedefs

typedef std::vector< std::shared_ptr< CellInfo > > sd::CellInfoVector
 
typedef std::shared_ptr< CellInfo > sd::CellInfoMatrix[nPreviewColumns *nPreviewRows]
 

Functions

 sd::IMPL_LINK (TableDesignWidget, implContextMenuHandler, const Point *, pPoint, void)
 
static SfxBindingssd::getBindings (ViewShellBase const &rBase)
 
static SfxDispatchersd::getDispatcher (ViewShellBase const &rBase)
 
 sd::IMPL_LINK_NOARG (TableDesignWidget, implValueSetHdl, ValueSet *, void)
 
 sd::IMPL_LINK_NOARG (TableDesignWidget, implCheckBoxHdl, weld::Toggleable &, void)
 
 sd::IMPL_LINK (TableDesignWidget, EventMultiplexerListener, tools::EventMultiplexerEvent &, rEvent, void)
 
static void sd::FillCellInfoVector (const Reference< XIndexAccess > &xTableStyle, CellInfoVector &rVector)
 
static void sd::FillCellInfoMatrix (const CellInfoVector &rStyle, const TableStyleSettings &rSettings, CellInfoMatrix &rMatrix)
 
static BitmapEx sd::CreateDesignPreview (const Reference< XIndexAccess > &xTableStyle, const TableStyleSettings &rSettings, bool bIsPageDark)
 

Variables

const sal_Int32 sd::nPreviewColumns = 5
 
const sal_Int32 sd::nPreviewRows = 5
 
const sal_Int32 sd::nCellWidth = 12
 
const sal_Int32 sd::nCellHeight = 7
 
const sal_Int32 sd::nBitmapWidth = (nCellWidth * nPreviewColumns) - (nPreviewColumns - 1)
 
const sal_Int32 sd::nBitmapHeight = (nCellHeight * nPreviewRows) - (nPreviewRows - 1)
 
const std::u16string_view sd::gPropNames [CB_COUNT]
 
constexpr std::u16string_view sd::aTableStyleBaseName = u"table"