LibreOffice Module sw (master) 1
Functions
unochart.cxx File Reference
#include <algorithm>
#include <string_view>
#include <com/sun/star/chart/ChartDataRowSource.hpp>
#include <com/sun/star/chart2/data/LabelOrigin.hpp>
#include <com/sun/star/embed/XEmbeddedObject.hpp>
#include <com/sun/star/frame/XModel.hpp>
#include <comphelper/diagnose_ex.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <o3tl/deleter.hxx>
#include <o3tl/string_view.hxx>
#include <mutex>
#include <vcl/svapp.hxx>
#include "XMLRangeHelper.hxx"
#include <unochart.hxx>
#include <swtable.hxx>
#include <unoprnms.hxx>
#include <unomap.hxx>
#include <unocrsr.hxx>
#include <unotbl.hxx>
#include <doc.hxx>
#include <IDocumentChartDataProviderAccess.hxx>
#include <frmfmt.hxx>
#include <ndole.hxx>
#include <swtypes.hxx>
#include <strings.hrc>
#include <comphelper/servicehelper.hxx>
#include <comphelper/string.hxx>
#include <svl/itemprop.hxx>
Include dependency graph for unochart.cxx:

Go to the source code of this file.

Functions

 IMPL_LINK_NOARG (SwChartLockController_Helper, DoUnlockAllCharts, Timer *, void)
 
static std::mutexGetChartMutex ()
 
static void LaunchModifiedEvent (::comphelper::OInterfaceContainerHelper4< util::XModifyListener > &rICH, const uno::Reference< uno::XInterface > &rxI)
 
bool FillRangeDescriptor (SwRangeDescriptor &rDesc, std::u16string_view rCellRangeName)
 rCellRangeName needs to be of one of the following formats: More...
 
static OUString GetCellRangeName (const SwFrameFormat &rTableFormat, SwUnoCursor &rTableCursor)
 
static OUString GetRangeRepFromTableAndCells (std::u16string_view rTableName, std::u16string_view rStartCell, std::u16string_view rEndCell, bool bForceEndCellName)
 
static bool GetTableAndCellsFromRangeRep (std::u16string_view rRangeRepresentation, OUString &rTableName, OUString &rStartCell, OUString &rEndCell, bool bSortStartEndCells=true)
 
static void GetTableByName (const SwDoc &rDoc, std::u16string_view rTableName, SwFrameFormat **ppTableFormat, SwTable **ppTable)
 
static void GetFormatAndCreateCursorFromRangeRep (const SwDoc *pDoc, std::u16string_view rRangeRepresentation, SwFrameFormat **ppTableFormat, std::shared_ptr< SwUnoCursor > &rpUnoCursor)
 
static bool GetSubranges (std::u16string_view rRangeRepresentation, uno::Sequence< OUString > &rSubRanges, bool bNormalize)
 
static void SortSubranges (uno::Sequence< OUString > &rSubRanges, bool bCmpByColumn)
 

Function Documentation

◆ FillRangeDescriptor()

bool FillRangeDescriptor ( SwRangeDescriptor rDesc,
std::u16string_view  rCellRangeName 
)

◆ GetCellRangeName()

static OUString GetCellRangeName ( const SwFrameFormat rTableFormat,
SwUnoCursor rTableCursor 
)
static

◆ GetChartMutex()

static std::mutex & GetChartMutex ( )
static

◆ GetFormatAndCreateCursorFromRangeRep()

static void GetFormatAndCreateCursorFromRangeRep ( const SwDoc pDoc,
std::u16string_view  rRangeRepresentation,
SwFrameFormat **  ppTableFormat,
std::shared_ptr< SwUnoCursor > &  rpUnoCursor 
)
static

◆ GetRangeRepFromTableAndCells()

static OUString GetRangeRepFromTableAndCells ( std::u16string_view  rTableName,
std::u16string_view  rStartCell,
std::u16string_view  rEndCell,
bool  bForceEndCellName 
)
static

◆ GetSubranges()

static bool GetSubranges ( std::u16string_view  rRangeRepresentation,
uno::Sequence< OUString > &  rSubRanges,
bool  bNormalize 
)
static

◆ GetTableAndCellsFromRangeRep()

static bool GetTableAndCellsFromRangeRep ( std::u16string_view  rRangeRepresentation,
OUString &  rTableName,
OUString &  rStartCell,
OUString &  rEndCell,
bool  bSortStartEndCells = true 
)
static

◆ GetTableByName()

static void GetTableByName ( const SwDoc rDoc,
std::u16string_view  rTableName,
SwFrameFormat **  ppTableFormat,
SwTable **  ppTable 
)
static

◆ IMPL_LINK_NOARG()

IMPL_LINK_NOARG ( SwChartLockController_Helper  ,
DoUnlockAllCharts  ,
Timer ,
void   
)

Definition at line 150 of file unochart.cxx.

◆ LaunchModifiedEvent()

static void LaunchModifiedEvent ( ::comphelper::OInterfaceContainerHelper4< util::XModifyListener > &  rICH,
const uno::Reference< uno::XInterface > &  rxI 
)
static

◆ SortSubranges()

static void SortSubranges ( uno::Sequence< OUString > &  rSubRanges,
bool  bCmpByColumn 
)
static