NX Open C++ Reference Guide
Public Member Functions | List of all members
NXOpen::OpenXml::TableCellData Class Reference

Represents the table cell to be exported to the speific Open XML file. More...

Inheritance diagram for NXOpen::OpenXml::TableCellData:
NXOpen::OpenXml::DocumentData NXOpen::TransientObject

Public Member Functions

NXOpen::OpenXml::ImageGroupDocumentDataAddImageGroup ()
 Creates a new NXOpen::OpenXml::ImageGroupDocumentData object. More...
 
NXOpen::OpenXml::TextDocumentDataAddText (const NXString &textContent)
 Creates a new NXOpen::OpenXml::TextDocumentData object. More...
 
NXOpen::OpenXml::TextDocumentDataAddText (const char *textContent)
 Creates a new NXOpen::OpenXml::TextDocumentData object. More...
 
void ClearContents ()
 Removes all contents data
Created in NX11.0.0. More...
 
void DeleteNthContent (int index)
 Removes the nth content data
Created in NX11.0.0. More...
 
int GetContentCount ()
 Gets the number of content in the table cell. More...
 
std::vector< int > GetGridsId ()
 Gets the grid IDs of the table cell. More...
 
NXOpen::OpenXml::DocumentDataGetNthContent (int index)
 Gets the nth content data Does not to free this object, it will be free while deleting NXOpen::OpenXml::TableCellData object. More...
 
virtual ~TableCellData ()
 Frees the object from memory. More...
 
- Public Member Functions inherited from NXOpen::OpenXml::DocumentData
NXOpen::OpenXml::DocumentData::Type GetDataType ()
 Gets a specified document data type. More...
 
virtual ~DocumentData ()
 Frees the object from memory. More...
 
- Public Member Functions inherited from NXOpen::TransientObject
void * GetHandle ()
 Handle of the internal object represented by this object. More...
 

Additional Inherited Members

- Public Types inherited from NXOpen::OpenXml::DocumentData
enum  Type {
  TypeBase, TypeText, TypeTable, TypeTableCell,
  TypeImage, TypeImageGroup, TypeGroup
}
 the document data type More...
 

Detailed Description

Represents the table cell to be exported to the speific Open XML file.


Created in NX11.0.0.

Constructor & Destructor Documentation

virtual NXOpen::OpenXml::TableCellData::~TableCellData ( )
virtual

Frees the object from memory.

After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector.
Created in NX11.0.0.

License requirements : None

Member Function Documentation

NXOpen::OpenXml::ImageGroupDocumentData* NXOpen::OpenXml::TableCellData::AddImageGroup ( )

Creates a new NXOpen::OpenXml::ImageGroupDocumentData object.

Does not to free this object, it will be free while deleting NXOpen::OpenXml::TableCellData object

Returns
the image group data
Created in NX11.0.0.

License requirements : None
NXOpen::OpenXml::TextDocumentData* NXOpen::OpenXml::TableCellData::AddText ( const NXString textContent)

Creates a new NXOpen::OpenXml::TextDocumentData object.

Does not to free this object, it will be free while deleting NXOpen::OpenXml::TableCellData object

Returns
the text data
Created in NX11.0.0.

License requirements : None
Parameters
textContentthe content of the text data
NXOpen::OpenXml::TextDocumentData* NXOpen::OpenXml::TableCellData::AddText ( const char *  textContent)

Creates a new NXOpen::OpenXml::TextDocumentData object.

Does not to free this object, it will be free while deleting NXOpen::OpenXml::TableCellData object

Returns
the text data
Created in NX11.0.0.

License requirements : None
Parameters
textContentthe content of the text data
void NXOpen::OpenXml::TableCellData::ClearContents ( )

Removes all contents data
Created in NX11.0.0.



License requirements : None

void NXOpen::OpenXml::TableCellData::DeleteNthContent ( int  index)

Removes the nth content data
Created in NX11.0.0.



License requirements : None

Parameters
indexthe index of content
int NXOpen::OpenXml::TableCellData::GetContentCount ( )

Gets the number of content in the table cell.

Returns
the number of content
Created in NX11.0.0.

License requirements : None
std::vector<int> NXOpen::OpenXml::TableCellData::GetGridsId ( )

Gets the grid IDs of the table cell.

Returns
the grid ID array
Created in NX11.0.0.

License requirements : None
NXOpen::OpenXml::DocumentData* NXOpen::OpenXml::TableCellData::GetNthContent ( int  index)

Gets the nth content data Does not to free this object, it will be free while deleting NXOpen::OpenXml::TableCellData object.

Returns
the content
Created in NX11.0.0.

License requirements : None
Parameters
indexthe index of content

The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.