297std::vector<SmMlAttribute>
makeMlAttributeList(std::vector<SmMlAttributePos> aAttributePosList);
SmMlElementType m_aElementType
void setAttributeForce(size_t nAttributePos, const SmMlAttribute *aAttribute)
Sets a given attribute.
size_t getAttributeCount() const
Returns the amount of available attributes.
bool isAttributeSet(SmMlAttributeValueType aAttributeType) const
Checks if an attribute has been manually set.
SmMlAttribute getAttribute(size_t nAttributePos) const
Gets a given attribute.
void setText(OUString aText)
Returns the element text.
SmMlElement * getParentElement()
Returns the parent element.
const ESelection & getESelectionReference() const
Returns the location in the source code of the node type.
sal_Int32 GetSourceCodeRow() const
Gets the line in the text where the node is located.
std::vector< SmMlAttribute > m_aAttributeList
SmMlElementType getMlElementType() const
Returns the mathml element type.
std::vector< SmMlAttributePos > m_aAttributePosList
const SmMlAttribute * getAttributePointer(size_t nAttributePos) const
Gets a given attribute.
const SmMlElement * getSubElement(size_t nPos) const
Returns a given sub element.
const OUString & getText() const
Returns the element text.
void setSubElement(size_t nPos, SmMlElement *aElement)
Sets a given sub element.
SmMlElement * getSubElement(size_t nPos)
Returns a given sub element.
SmMlElement(const SmMlElement &aElement)
size_t getSubElementId() const
Gets subelement id.
void setAttribute(const SmMlAttribute &aAttribute)
Set's a given attribute.
void setSubElementId(size_t nSubElementId)
Sets subelement id.
const ESelection & getESelection() const
Returns the location in the source code of the node type.
sal_Int32 GetSourceCodeColumn() const
Gets the column of the line in the text where the node is located.
void setAttribute(const SmMlAttribute *aAttribute)
Sets a given attribute.
SmMlElement(SmMlElementType aElementType)
size_t getSubElementsCount() const
Returns the sub elements count.
SmMlElement * m_aParentElement
bool isMlElementType(SmMlElementType aElementType) const
Check if the mathml element is of a given type.
std::vector< SmMlElement * > m_aSubElements
void setParentElement(SmMlElement *aParentElement)
Sets the parent element No allocation / free is done.
void SmImplAttributeType()
void setESelection(ESelection aESelection)
Sets the location in the source code of the node type.
const SmMlElement * getParentElement() const
Returns the parent element.
Parses the starmath code and creates the nodes.
std::vector< SmMlAttribute > makeMlAttributeList(std::vector< SmMlAttributePos > aAttributePosList)
Generates an attribute vector of default values from an attribute position list.