class ObjectIdentifier
{ //CID == ClassifiedIdentifier <--> name of shape //semicolon, colon, equal sign and slash have special meanings in a CID //and are therefore not allowed in its components
//syntax of a CID: CID:/classification/ObjectID
//where classification: nothing or "MultiClick" or "DragMethod=DragMethodServiceName" and "DragParameter=DragParameterString" // or a combination of these separated with a colon //where DragMethodServiceName can be a selfdefined servicename for special actions //todo define standard service for this purpose //where DragParameterString is any string you like to transport information to your special drag service // only semicolon, colon, equal sign and slash are not allowed characters // also the keywords used in the ObjectIdentifiers are not allowed
//where ObjectID: Parent-Particle:Particle //e.g. Series=2:Point=22 //where Particle: Type=ParticleID //e.g. Point=22 //where Type: getStringForType( ObjectType eType ) or other string
static OUString createClassifiedIdentifierWithParent( enum ObjectType //e.g. OBJECTTYPE_DATA_POINT or OBJECTTYPE_GRID
, std::u16string_view rParticleID //for points or subgrids this is an Index or otherwise an identifier from the model object
, std::u16string_view rParentPartical //e.g. "Series=SeriesID" or "Grid=GridId"
, std::u16string_view rDragMethodServiceName = std::u16string_view()
, std::u16string_view rDragParameterString = std::u16string_view()
);
//returns the series particle of a CID when the CID is a child of the series static OUString getSeriesParticleFromCID( std::u16string_view rCID );
//return the model object that is indicated by rObjectCID static css::uno::Reference< css::beans::XPropertySet >
getObjectPropertySet(
std::u16string_view rObjectCID
, const rtl::Reference< ::chart::ChartModel >& xChartDocument );
//return the axis object that belongs to rObjectCID if any static rtl::Reference< ::chart::Axis >
getAxisForCID(
std::u16string_view rObjectCID
, const rtl::Reference<::chart::ChartModel>& xChartModel );
//return the series object that belongs to rObjectCID if any static rtl::Reference< ::chart::DataSeries >
getDataSeriesForCID(
std::u16string_view rObjectCID
, const rtl::Reference<::chart::ChartModel>& xChartModel );
private: // #i12587# support for shapes in chart // For autogenerated chart objects a CID is specified in m_aObjectCID, // for all other objects m_xAdditionalShape is set. // Note, that if m_aObjectCID is set, m_xAdditionalShape must be empty // and vice versa.
OUString m_aObjectCID;
css::uno::Reference< css::drawing::XShape > m_xAdditionalShape;
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.