LibreOffice Module sw (master)  1
Functions
unochart.cxx File Reference
#include <algorithm>
#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 <cppuhelper/interfacecontainer.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <osl/mutex.hxx>
#include <vcl/svapp.hxx>
#include <svl/zforlist.hxx>
#include "XMLRangeHelper.hxx"
#include <unochart.hxx>
#include <swtable.hxx>
#include <unoprnms.hxx>
#include <unomap.hxx>
#include <unomid.h>
#include <unocrsr.hxx>
#include <unotbl.hxx>
#include <doc.hxx>
#include <IDocumentChartDataProviderAccess.hxx>
#include <frmfmt.hxx>
#include <docsh.hxx>
#include <ndole.hxx>
#include <swtypes.hxx>
#include <strings.hrc>
#include <docary.hxx>
#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 osl::Mutex & GetChartMutex ()
 
static void LaunchModifiedEvent (::comphelper::OInterfaceContainerHelper2 &rICH, const uno::Reference< uno::XInterface > &rxI)
 
bool FillRangeDescriptor (SwRangeDescriptor &rDesc, const OUString &rCellRangeName)
 rCellRangeName needs to be of one of the following formats: More...
 
static OUString GetCellRangeName (SwFrameFormat &rTableFormat, SwUnoCursor &rTableCursor)
 
static OUString GetRangeRepFromTableAndCells (const OUString &rTableName, const OUString &rStartCell, const OUString &rEndCell, bool bForceEndCellName)
 
static bool GetTableAndCellsFromRangeRep (const OUString &rRangeRepresentation, OUString &rTableName, OUString &rStartCell, OUString &rEndCell, bool bSortStartEndCells=true)
 
static void GetTableByName (const SwDoc &rDoc, const OUString &rTableName, SwFrameFormat **ppTableFormat, SwTable **ppTable)
 
static void GetFormatAndCreateCursorFromRangeRep (const SwDoc *pDoc, const OUString &rRangeRepresentation, SwFrameFormat **ppTableFormat, std::shared_ptr< SwUnoCursor > &rpUnoCursor)
 
static bool GetSubranges (const OUString &rRangeRepresentation, uno::Sequence< OUString > &rSubRanges, bool bNormalize)
 
static void SortSubranges (uno::Sequence< OUString > &rSubRanges, bool bCmpByColumn)
 

Function Documentation

bool FillRangeDescriptor ( SwRangeDescriptor rDesc,
const OUString &  rCellRangeName 
)
static OUString GetCellRangeName ( SwFrameFormat rTableFormat,
SwUnoCursor rTableCursor 
)
static
static osl::Mutex& GetChartMutex ( )
static
static void GetFormatAndCreateCursorFromRangeRep ( const SwDoc pDoc,
const OUString &  rRangeRepresentation,
SwFrameFormat **  ppTableFormat,
std::shared_ptr< SwUnoCursor > &  rpUnoCursor 
)
static
static OUString GetRangeRepFromTableAndCells ( const OUString &  rTableName,
const OUString &  rStartCell,
const OUString &  rEndCell,
bool  bForceEndCellName 
)
static
static bool GetSubranges ( const OUString &  rRangeRepresentation,
uno::Sequence< OUString > &  rSubRanges,
bool  bNormalize 
)
static
static bool GetTableAndCellsFromRangeRep ( const OUString &  rRangeRepresentation,
OUString &  rTableName,
OUString &  rStartCell,
OUString &  rEndCell,
bool  bSortStartEndCells = true 
)
static
static void GetTableByName ( const SwDoc rDoc,
const OUString &  rTableName,
SwFrameFormat **  ppTableFormat,
SwTable **  ppTable 
)
static
IMPL_LINK_NOARG ( SwChartLockController_Helper  ,
DoUnlockAllCharts  ,
Timer ,
void   
)

Definition at line 151 of file unochart.cxx.

static void LaunchModifiedEvent ( ::comphelper::OInterfaceContainerHelper2 rICH,
const uno::Reference< uno::XInterface > &  rxI 
)
static
static void SortSubranges ( uno::Sequence< OUString > &  rSubRanges,
bool  bCmpByColumn 
)
static