CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
OdDbFormattedTableData Class Reference

#include <DbFormattedTableData.h>

Inheritance diagram for OdDbFormattedTableData:
OdDbLinkedTableData OdDbLinkedData OdDbObject OdGiDrawable OdRxObject OdDbTableContent OdDbTableTemplate

Public Member Functions

 ODDB_DECLARE_MEMBERS (OdDbFormattedTableData)
 
 OdDbFormattedTableData ()
 
virtual OdInt32 insertRowAndInherit (OdInt32 nIndex, OdInt32 nInheritFrom, OdInt32 nNumRows)
 
virtual OdInt32 insertColumnAndInherit (OdInt32 nIndex, OdInt32 nInheritFrom, OdInt32 nNumCols)
 
virtual void setFieldId (OdInt32 nRow, OdInt32 nCol, const OdDbObjectId &idField, OdDb::CellOption nFlag)
 
virtual void setFieldId (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent, const OdDbObjectId &idField, OdDb::CellOption nFlag)
 
virtual void merge (const OdCellRange &range)
 
virtual void unmerge (const OdCellRange &range)
 
virtual bool isMerged (OdInt32 nRow, OdInt32 nCol) const
 
virtual OdCellRange getMergeRange (OdInt32 nRow, OdInt32 nCol) const
 
virtual bool isMergeAllEnabled (OdInt32 nRow, OdInt32 nCol) const
 
virtual void enableMergeAll (OdInt32 nRow, OdInt32 nCol, bool bEnable)
 
virtual bool isFormatEditable (OdInt32 nRow, OdInt32 nCol) const
 
virtual double rotation (OdInt32 nRow, OdInt32 nCol) const
 
virtual double rotation (OdInt32 nRow, OdInt32 nCol, OdInt32 nContent) const
 
virtual void setRotation (OdInt32 nRow, OdInt32 nCol, double fRotation)
 
virtual void setRotation (OdInt32 nRow, OdInt32 nCol, OdInt32 nContent, double fRotation)
 
virtual double scale (OdInt32 nRow, OdInt32 nCol) const
 
virtual double scale (OdInt32 nRow, OdInt32 nCol, OdInt32 nContent) const
 
virtual void setScale (OdInt32 nRow, OdInt32 nCol, double fScale)
 
virtual void setScale (OdInt32 nRow, OdInt32 nCol, OdInt32 nContent, double fScale)
 
virtual bool isAutoScale (OdInt32 nRow, OdInt32 nCol) const
 
virtual bool isAutoScale (OdInt32 nRow, OdInt32 nCol, OdInt32 nContent) const
 
virtual void setAutoScale (OdInt32 nRow, OdInt32 nCol, bool bAutoScale)
 
virtual void setAutoScale (OdInt32 nRow, OdInt32 nCol, OdInt32 nContent, bool bAutoScale)
 
virtual OdDb::CellAlignment alignment (OdInt32 nRow, OdInt32 nCol) const
 
virtual void setAlignment (OdInt32 nRow, OdInt32 nCol, OdDb::CellAlignment nAlignment)
 
virtual OdCmColor contentColor (OdInt32 nRow, OdInt32 nCol) const
 
virtual OdCmColor contentColor (OdInt32 nRow, OdInt32 nCol, OdInt32 nContent) const
 
virtual void setContentColor (OdInt32 nRow, OdInt32 nCol, const OdCmColor &color)
 
virtual void setContentColor (OdInt32 nRow, OdInt32 nCol, OdInt32 nContent, const OdCmColor &color)
 
virtual OdDbObjectId textStyle (OdInt32 nRow, OdInt32 nCol) const
 
virtual OdDbObjectId textStyle (OdInt32 nRow, OdInt32 nCol, OdInt32 nContent) const
 
virtual void setTextStyle (OdInt32 nRow, OdInt32 nCol, const OdDbObjectId &idTextStyle)
 
virtual void setTextStyle (OdInt32 nRow, OdInt32 nCol, OdInt32 nContent, const OdDbObjectId &idTextStyle)
 
virtual double textHeight (OdInt32 nRow, OdInt32 nCol) const
 
virtual double textHeight (OdInt32 nRow, OdInt32 nCol, OdInt32 nContent) const
 
virtual void setTextHeight (OdInt32 nRow, OdInt32 nCol, double fTextHeight)
 
virtual void setTextHeight (OdInt32 nRow, OdInt32 nCol, OdInt32 nContent, double fTextHeight)
 
virtual OdCmColor backgroundColor (OdInt32 nRow, OdInt32 nCol) const
 
virtual void setBackgroundColor (OdInt32 nRow, OdInt32 nCol, const OdCmColor &color)
 
virtual OdDb::CellContentLayout contentLayout (OdInt32 nRow, OdInt32 nCol) const
 
virtual void setContentLayout (OdInt32 nRow, OdInt32 nCol, OdDb::CellContentLayout nLayout)
 
virtual OdDb::FlowDirection flowDirection () const
 
virtual void setFlowDirection (OdDb::FlowDirection nDir)
 
virtual double margin (OdInt32 nRow, OdInt32 nCol, OdDb::CellMargin nMargin) const
 
virtual void setMargin (OdInt32 nRow, OdInt32 nCol, OdDb::CellMargin nMargins, double fMargin)
 
virtual OdDb::GridLineStyle gridLineStyle (OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineType) const
 
virtual void setGridLineStyle (OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineTypes, OdDb::GridLineStyle nLineStyle)
 
virtual OdDb::LineWeight gridLineWeight (OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineType) const
 
virtual void setGridLineWeight (OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineTypes, OdDb::LineWeight nLineWeight)
 
virtual OdDbObjectId gridLinetype (OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineType) const
 
virtual void setGridLinetype (OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineTypes, const OdDbObjectId &idLinetype)
 
virtual OdCmColor gridColor (OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineType) const
 
virtual void setGridColor (OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineTypes, const OdCmColor &color)
 
virtual OdDb::Visibility gridVisibility (OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineType) const
 
virtual void setGridVisibility (OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineTypes, OdDb::Visibility nVisibility)
 
virtual double gridDoubleLineSpacing (OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineType) const
 
virtual void setGridDoubleLineSpacing (OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineTypes, double fSpacing)
 
virtual void getGridProperty (OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineType, OdGridProperty &gridProp) const
 
virtual void setGridProperty (OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineTypes, const OdGridProperty &gridProp)
 
virtual void setGridProperty (const OdCellRange &range, OdDb::GridLineType nGridLineTypes, const OdGridProperty &gridProp)
 
virtual OdDb::CellProperty getOverride (OdInt32 nRow, OdInt32 nCol, OdInt32 nContent) const
 
virtual OdDb::GridProperty getOverride (OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineType) const
 
virtual void setOverride (OdInt32 nRow, OdInt32 nCol, OdInt32 nContent, OdDb::CellProperty nOverride)
 
virtual void setOverride (OdInt32 nRow, OdInt32 nCol, OdDb::GridLineType nGridLineType, OdDb::GridProperty nOverride)
 
virtual void removeAllOverrides (OdInt32 nRow, OdInt32 nCol)
 
virtual OdResult dwgInFields (OdDbDwgFiler *pFiler)
 
virtual void dwgOutFields (OdDbDwgFiler *pFiler) const
 
virtual OdResult dxfInFields (OdDbDxfFiler *pFiler)
 
virtual void dxfOutFields (OdDbDxfFiler *pFiler) const
 
- Public Member Functions inherited from OdDbLinkedTableData
 ODDB_DECLARE_MEMBERS (OdDbLinkedTableData)
 
 OdDbLinkedTableData ()
 
virtual void setSize (OdInt32 nRows, OdInt32 nCols)
 
virtual OdInt32 numColumns () const
 
virtual OdString getColumnName (OdInt32 nIndex) const
 
virtual void setColumnName (OdInt32 nIndex, const OdString name)
 
virtual OdInt32 appendColumn (OdInt32 nNumCols)
 
virtual OdInt32 insertColumn (OdInt32 nIndex, OdInt32 nNumCols)
 
virtual void deleteColumn (OdInt32 nIndex, OdInt32 nNumColsToDelete)
 
virtual OdInt32 numRows () const
 
virtual bool canInsert (OdInt32 nIndex, bool bRow) const
 
virtual OdInt32 appendRow (OdInt32 nNumRows)
 
virtual OdInt32 insertRow (OdInt32 nIndex, OdInt32 nNumRows)
 
virtual bool canDelete (OdInt32 nIndex, OdInt32 nCount, bool bRow) const
 
virtual void deleteRow (OdInt32 nIndex, OdInt32 nNumRowsToDelete)
 
virtual bool isContentEditable (OdInt32 nRow, OdInt32 nCol) const
 
virtual OdDb::CellState cellState (OdInt32 nRow, OdInt32 nCol) const
 
virtual void setCellState (OdInt32 nRow, OdInt32 nCol, OdDb::CellState nCellState)
 
virtual OdString getToolTip (OdInt32 nRow, OdInt32 nCol) const
 
virtual void setToolTip (OdInt32 nRow, OdInt32 nCol, const OdString &sToolTip)
 
virtual OdInt32 getCustomData (OdInt32 nRow, OdInt32 nCol) const
 
virtual void setCustomData (OdInt32 nRow, OdInt32 nCol, OdInt32 nData)
 
virtual OdValue getCustomData (OdInt32 nRow, OdInt32 nCol, const OdString &sKey) const
 
virtual void setCustomData (OdInt32 nRow, OdInt32 nCol, const OdString &sKey, const OdValue *pData)
 
virtual OdUInt32 numContents (OdInt32 nRow, OdInt32 nCol) const
 
virtual OdUInt32 createContent (OdInt32 nRow, OdInt32 nCol, OdInt32 nIndex)
 
virtual void moveContent (OdInt32 nRow, OdInt32 nCol, OdInt32 nFromIndex, OdInt32 nToIndex)
 
virtual void deleteContent (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent)
 
virtual void deleteContent (OdInt32 nRow, OdInt32 nCol)
 
virtual void deleteContent (const OdCellRange &range)
 
virtual OdDb::CellContentType contentType (OdInt32 nRow, OdInt32 nCol) const
 
virtual OdDb::CellContentType contentType (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent) const
 
virtual void getDataType (OdInt32 nRow, OdInt32 nCol, OdValue::DataType &nDataType, OdValue::UnitType &nUnitType) const
 
virtual void getDataType (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent, OdValue::DataType &nDataType, OdValue::UnitType &nUnitType) const
 
virtual void setDataType (OdInt32 nRow, OdInt32 nCol, OdValue::DataType nDataType, OdValue::UnitType nUnitType)
 
virtual void setDataType (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent, OdValue::DataType nDataType, OdValue::UnitType nUnitType)
 
virtual OdString dataFormat (OdInt32 nRow, OdInt32 nCol) const
 
virtual OdString dataFormat (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent) const
 
virtual void setDataFormat (OdInt32 nRow, OdInt32 nCol, const OdString sFormat)
 
virtual void setDataFormat (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent, const OdString sFormat)
 
virtual OdValue getValue (OdInt32 nRow, OdInt32 nCol) const
 
virtual OdValue getValue (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent, OdValue::FormatOption nOption) const
 
virtual void setValue (OdInt32 nRow, OdInt32 nCol, const OdValue &value)
 
virtual void setValue (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent, const OdValue &value)
 
virtual void setValue (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent, const OdValue &value, OdValue::ParseOption nOption)
 
virtual OdString getText (OdInt32 nRow, OdInt32 nCol) const
 
virtual OdString getText (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent) const
 
virtual OdString getText (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent, OdValue::FormatOption nOption) const
 
virtual void setText (OdInt32 nRow, OdInt32 nCol, const OdString &sText)
 
virtual void setText (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent, const OdString &sText)
 
virtual bool hasFormula (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent) const
 
virtual OdString getFormula (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent) const
 
virtual void setFormula (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent, const OdString sFormula)
 
virtual OdDbObjectId getFieldId (OdInt32 nRow, OdInt32 nCol) const
 
virtual OdDbObjectId getFieldId (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent) const
 
virtual void setFieldId (OdInt32 nRow, OdInt32 nCol, const OdDbObjectId &idField)
 
virtual void setFieldId (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent, const OdDbObjectId &idField)
 
virtual OdDbFieldPtr getField (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent, OdDb::OpenMode mode) const
 
virtual OdDbObjectId getBlockTableRecordId (OdInt32 nRow, OdInt32 nCol) const
 
virtual OdDbObjectId getBlockTableRecordId (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent) const
 
virtual void setBlockTableRecordId (OdInt32 nRow, OdInt32 nCol, const OdDbObjectId &idBTR)
 
virtual void setBlockTableRecordId (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent, const OdDbObjectId &idBTR)
 
virtual OdString getBlockAttributeValue (OdInt32 nRow, OdInt32 nCol, const OdDbObjectId &idAttDef) const
 
virtual OdString getBlockAttributeValue (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent, const OdDbObjectId &idAttDef) const
 
virtual void setBlockAttributeValue (OdInt32 nRow, OdInt32 nCol, const OdDbObjectId &idAttDef, const OdString sAttValue)
 
virtual void setBlockAttributeValue (OdInt32 nRow, OdInt32 nCol, OdUInt32 nContent, const OdDbObjectId &idAttDef, const OdString sAttValue)
 
virtual bool isLinked (OdInt32 nRow, OdInt32 nCol) const
 
virtual OdDbObjectId getDataLink (OdInt32 nRow, OdInt32 nCol) const
 
virtual OdDbDataLinkPtr getDataLink (OdInt32 nRow, OdInt32 nCol, OdDb::OpenMode mode) const
 
virtual OdInt32 getDataLink (const OdCellRange &pRange, OdDbObjectIdArray &dataLinkIds) const
 
virtual void setDataLink (OdInt32 nRow, OdInt32 nCol, const OdDbObjectId &idDataLink, bool bUpdate)
 
virtual void setDataLink (const OdCellRange &range, const OdDbObjectId &idDataLink, bool bUpdate)
 
virtual OdCellRange getDataLinkRange (OdInt32 nRow, OdInt32 nCol) const
 
virtual void removeDataLink (OdInt32 nRow, OdInt32 nCol)
 
virtual void removeDataLink (void)
 
virtual void updateDataLink (OdInt32 nRow, OdInt32 nCol, OdDb::UpdateDirection nDir, OdDb::UpdateOption nOption)
 
virtual void updateDataLink (OdDb::UpdateDirection nDir, OdDb::UpdateOption nOption)
 
virtual void clear ()
 
virtual void copyFrom (const OdRxObject *pSource)
 
virtual void copyFrom (const OdDbLinkedTableData *pSrc, OdDb::TableCopyOption nOption)
 
virtual void copyFrom (const OdDbLinkedTableData *pSrc, OdDb::TableCopyOption nOption, const OdCellRange &srcRange, const OdCellRange &targetRange, OdCellRange *pNewTargetRange)
 
OdDbTableIteratorPtr getIterator (void) const
 
OdDbTableIteratorPtr getIterator (const OdCellRange *pRange, OdDb::TableIteratorOption nOption) const
 
virtual OdResult dwgInFields (OdDbDwgFiler *pFiler)
 
virtual void dwgOutFields (OdDbDwgFiler *pFiler) const
 
virtual OdResult dxfInFields (OdDbDxfFiler *pFiler)
 
virtual void dxfOutFields (OdDbDxfFiler *pFiler) const
 
- Public Member Functions inherited from OdDbLinkedData
 ODDB_DECLARE_MEMBERS (OdDbLinkedData)
 
 OdDbLinkedData ()
 
virtual const OdString name (void) const
 
virtual void setName (const OdString &name)
 
virtual const OdString description (void) const
 
virtual void setDescription (const OdString &description)
 
virtual OdResult dwgInFields (OdDbDwgFiler *pFiler)
 
virtual void dwgOutFields (OdDbDwgFiler *pFiler) const
 
virtual OdResult dxfInFields (OdDbDxfFiler *pFiler)
 
virtual void dxfOutFields (OdDbDxfFiler *pFiler) const
 
- Public Member Functions inherited from OdDbObject
 ODDB_DECLARE_MEMBERS (OdDbObject)
 
 ~OdDbObject ()
 
void addRef ()
 
void release ()
 
long numRefs () const
 
OdDbObjectId objectId () const
 
OdDbHandle getDbHandle () const
 
OdDbHandle handle () const
 
OdDbObjectId ownerId () const
 
virtual void setOwnerId (OdDbObjectId ownerId)
 
OdDbDatabasedatabase () const
 
void createExtensionDictionary ()
 
OdDbObjectId extensionDictionary () const
 
bool releaseExtensionDictionary ()
 
OdDbXrecordPtr createXrecord (const OdString &xrecordName, OdDb::DuplicateRecordCloning style=OdDb::kDrcIgnore)
 
void upgradeOpen ()
 
void downgradeOpen ()
 
void cancel ()
 
virtual OdResult subOpen (OdDb::OpenMode mode)
 
virtual void subClose ()
 
OdResult erase (bool eraseIt=true)
 
virtual OdResult subErase (bool erasing)
 
void handOverTo (OdDbObject *pNewObject, bool keepXData=true, bool keepExtDict=true)
 
virtual void subHandOverTo (OdDbObject *pNewObject)
 
void swapIdWith (OdDbObjectId otherId, bool swapXdata=false, bool swapExtDict=false)
 
virtual void subSwapIdWith (const OdDbObjectId &otherId, bool swapXdata=false, bool swapExtDict=false)
 
virtual void audit (OdDbAuditInfo *pAuditInfo)
 
void dwgIn (OdDbDwgFiler *pFiler)
 
void dwgOut (OdDbDwgFiler *pFiler) const
 
virtual OdResult dxfIn (OdDbDxfFiler *pFiler)
 
virtual void dxfOut (OdDbDxfFiler *pFiler) const
 
virtual OdResult dwgInFields (OdDbDwgFiler *pFiler)
 
virtual void dwgOutFields (OdDbDwgFiler *pFiler) const
 
virtual OdResult dxfInFields (OdDbDxfFiler *pFiler)
 
virtual void dxfOutFields (OdDbDxfFiler *pFiler) const
 
virtual OdResult dxfInFields_R12 (OdDbDxfFiler *pFiler)
 
virtual void dxfOutFields_R12 (OdDbDxfFiler *pFiler) const
 
virtual OdDb::DuplicateRecordCloning mergeStyle () const
 
virtual OdResBufPtr xData (const OdString &regappName=OdString::kEmpty) const
 
virtual void setXData (const OdResBuf *pRb)
 
bool isEraseStatusToggled () const
 
bool isErased () const
 
bool isReadEnabled () const
 
bool isWriteEnabled () const
 
bool isNotifyEnabled () const
 
bool isModified () const
 
bool isModifiedXData () const
 
bool isModifiedGraphics () const
 
bool isNewObject () const
 
bool isNotifying () const
 
bool isUndoing () const
 
bool isReallyClosing () const
 
bool isDBRO () const
 
void assertReadEnabled () const
 
void assertWriteEnabled (bool autoUndo=true, bool recordModified=true)
 
void assertNotifyEnabled () const
 
void disableUndoRecording (bool disable)
 
bool isUndoRecordingDisabled () const
 
OdDbDwgFilerundoFiler ()
 
virtual void applyPartialUndo (OdDbDwgFiler *pUndoFiler, OdRxClass *pClassObj)
 
void addReactor (OdDbObjectReactor *pReactor) const
 
void removeReactor (OdDbObjectReactor *pReactor) const
 
virtual void addPersistentReactor (const OdDbObjectId &objId)
 
virtual void removePersistentReactor (const OdDbObjectId &objId)
 
bool hasPersistentReactor (const OdDbObjectId &objId) const
 
OdDbObjectIdArray getPersistentReactors () const
 
OdDbObjectReactorArray getTransientReactors () const
 
virtual void recvPropagateModify (const OdDbObject *pSubObj)
 
virtual void xmitPropagateModify () const
 
ODRX_SEALED_VIRTUAL OdDbObjectPtr deepClone (OdDbIdMapping &idMap, OdDbObject *pOwner, bool bPrimary=true) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL OdDbObjectPtr wblockClone (OdDbIdMapping &idMap, OdDbObject *pOwner, bool bPrimary=true) const ODRX_SEALED
 
virtual void appendToOwner (OdDbIdPair &idPair, OdDbObject *pOwnerObject, OdDbIdMapping &idMap)
 
void setOdDbObjectIdsInFlux ()
 
bool isOdDbObjectIdsInFlux () const
 
virtual void copied (const OdDbObject *pObject, const OdDbObject *pNewObject)
 
virtual void erased (const OdDbObject *pObject, bool erasing=true)
 
virtual void goodbye (const OdDbObject *pObject)
 
virtual void openedForModify (const OdDbObject *pObject)
 
virtual void modified (const OdDbObject *pObject)
 
virtual void subObjModified (const OdDbObject *pObject, const OdDbObject *pSubObj)
 
virtual void modifyUndone (const OdDbObject *pObject)
 
virtual void modifiedXData (const OdDbObject *pObject)
 
virtual void unappended (const OdDbObject *pObject)
 
virtual void reappended (const OdDbObject *pObject)
 
bool isAProxy () const
 
virtual void objectClosed (const OdDbObjectId &objectId)
 
virtual void modifiedGraphics (const OdDbObject *pObject)
 
virtual void copyFrom (const OdRxObject *pSource)
 
bool hasSaveVersionOverride () const
 
void setHasSaveVersionOverride (bool hasSaveVersionOverride)
 
virtual OdDb::DwgVersion getObjectSaveVersion (const OdDbFiler *pFiler, OdDb::MaintReleaseVer *pMaintVer=0) const
 
virtual OdDbObjectPtr decomposeForSave (OdDb::DwgVersion ver, OdDbObjectId &replaceId, bool &exchangeXData)
 
virtual OdDbObjectPtr decomposeForSave (OdDb::SaveType format, OdDb::DwgVersion ver, OdDbObjectId &replaceId, bool &exchangeXData)
 
void convertForSave (OdDb::DwgVersion ver)
 
virtual void composeForLoad (OdDb::SaveType format, OdDb::DwgVersion version, OdDbAuditInfo *pAuditInfo)
 
virtual OdGiDrawabledrawable ()
 
virtual OdUInt32 subSetAttributes (OdGiDrawableTraits *pTraits) const
 
virtual bool subWorldDraw (OdGiWorldDraw *pWd) const
 
virtual void subViewportDraw (OdGiViewportDraw *pVd) const
 
virtual bool isPersistent () const
 
virtual OdDbStub * id () const
 
ODRX_SEALED_VIRTUAL OdResult getClassID (void *pClsid) const ODRX_SEALED
 
void setGsNode (OdGsCache *pNode)
 
OdGsCachegsNode () const
 
void xDataTransformBy (const OdGeMatrix3d &xfm)
 
bool hasFields () const
 
OdDbObjectId getField (const OdString &fieldName) const
 
OdDbObjectPtr getField (const OdString &fieldName, OdDb::OpenMode mode) const
 
virtual OdDbObjectId setField (const OdString &fieldName, OdDbField *pField)
 
virtual OdResult removeField (OdDbObjectId fieldId)
 
virtual OdDbObjectId removeField (const OdString &fieldName)
 
OdDbObjectId getFieldDictionary () const
 
OdDbObjectPtr getFieldDictionary (OdDb::OpenMode mode) const
 
virtual OdRxClasssaveAsClass (OdRxClass *pClass) const
 
- Public Member Functions inherited from OdGiDrawable
 ODRX_DECLARE_MEMBERS (OdGiDrawable)
 
virtual DrawableType drawableType () const
 
ODRX_SEALED_VIRTUAL OdUInt32 setAttributes (OdGiDrawableTraits *pTraits) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL bool worldDraw (OdGiWorldDraw *pWd) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL void viewportDraw (OdGiViewportDraw *pVd) const ODRX_SEALED
 
virtual bool isPersistent () const =0
 
virtual OdDbStub * id () const =0
 
virtual void setGsNode (OdGsCache *pGsNode)=0
 
virtual OdGsCachegsNode () const =0
 
ODRX_SEALED_VIRTUAL OdUInt32 viewportDrawLogicalFlags (OdGiViewportDraw *pVd) const ODRX_SEALED
 
virtual OdResult getGeomExtents (OdGeExtents3d &extents) const
 
ODRX_SEALED_VIRTUAL OdUInt32 regenSupportFlags () const ODRX_SEALED
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () const
 
virtual void addRef ()=0
 
virtual void release ()=0
 
virtual long numRefs () const
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual void copyFrom (const OdRxObject *pSource)
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 

Additional Inherited Members

- Public Types inherited from OdGiDrawable
enum  SetAttributesFlags {
  kDrawableNone = 0 , kDrawableIsAnEntity = 1 , kDrawableUsesNesting = 2 , kDrawableIsCompoundObject = 4 ,
  kDrawableViewIndependentViewportDraw = 8 , kDrawableIsInvisible = 16 , kDrawableHasAttributes = 32 , kDrawableRegenTypeDependantGeometry = 64 ,
  kDrawableIsDimension = (kDrawableIsAnEntity + kDrawableIsCompoundObject + 128) , kDrawableRegenDraw = 256 , kDrawableStandardDisplaySingleLOD = 512 , kDrawableShadedDisplaySingleLOD = 1024 ,
  kDrawableViewDependentViewportDraw = 2048 , kDrawableBlockDependentViewportDraw = 4096 , kDrawableIsExternalReference = 8192 , kDrawableNotPlottable = 16384 ,
  kDrawableNotAllowLCS = 32768 , kDrawableMergeControlOff = 65536 , kLastFlag = kDrawableMergeControlOff
}
 
enum  DrawableType {
  kGeometry = 0 , kDistantLight = 1 , kPointLight = 2 , kSpotLight = 3 ,
  kAmbientLight , kSolidBackground , kGradientBackground , kImageBackground ,
  kGroundPlaneBackground , kViewport , kWebLight , kSkyBackground ,
  kImageBasedLightingBackground
}
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
- Protected Member Functions inherited from OdDbObject
 OdDbObject ()
 
virtual OdResult subGetClassID (void *pClsid) const
 
virtual OdDbObjectPtr subDeepClone (OdDbIdMapping &ownerIdMap, OdDbObject *pOwner, bool bPrimary) const
 
virtual OdDbObjectPtr subWblockClone (OdDbIdMapping &ownerIdMap, OdDbObject *pOwner, bool bPrimary) const
 
- Protected Member Functions inherited from OdGiDrawable
 OdGiDrawable ()
 
virtual OdUInt32 subSetAttributes (OdGiDrawableTraits *traits) const =0
 
virtual bool subWorldDraw (OdGiWorldDraw *wd) const =0
 
virtual void subViewportDraw (OdGiViewportDraw *vd) const =0
 
virtual OdUInt32 subViewportDrawLogicalFlags (OdGiViewportDraw *vd) const
 
virtual OdUInt32 subRegenSupportFlags () const
 
- Protected Attributes inherited from OdDbObject
OdDbObjectImplm_pImpl
 

Detailed Description

This class represents FormattedTableData objects in an OdDbDatabase instance.

Remarks
Work in progress!

<group OdDb_Classes>

Definition at line 43 of file DbFormattedTableData.h.

Constructor & Destructor Documentation

◆ OdDbFormattedTableData()

OdDbFormattedTableData::OdDbFormattedTableData ( )

Default constructor. Creates an object of the OdDbFormattedTableData class.

Member Function Documentation

◆ alignment()

virtual OdDb::CellAlignment OdDbFormattedTableData::alignment ( OdInt32  nRow,
OdInt32  nCol 
) const
virtual

Returns the cell alignment for the specified cell in this table object.

Parameters
nRow[in] Row index of the cell.
nCol[in] Column index of the cell.
Returns
Cell alignment for the specified cell.
Remarks
alignment() returns one of the following:

Value OdDb::kTopLeft 1 OdDb::kTopCenter 2 OdDb::kTopRight 3 OdDb::kMiddleLeft 4 OdDb::kMiddleCenter 5 OdDb::kMiddleRight 6 OdDb::kBottomLeft 7 OdDb::kBottomCenter 8 OdDb::kBottomRight 9

◆ backgroundColor()

virtual OdCmColor OdDbFormattedTableData::backgroundColor ( OdInt32  nRow,
OdInt32  nCol 
) const
virtual

Returns the background color for the specified cell in this table object.

Parameters
nRow[in] Row index of the cell.
nCol[in] Column index of the cell.
Returns
Background color value.

◆ contentColor() [1/2]

virtual OdCmColor OdDbFormattedTableData::contentColor ( OdInt32  nRow,
OdInt32  nCol 
) const
virtual

Returns the color of the cell content as an object of the OdCmColor class.

Parameters
nRow[in] Row index of the cell.
nCol[in] Column index of the cell.
nContent[in] Content index.
Remarks
Method generates the eInvalidInput exception when input row number and column number are less than 0 or greater than table size.

◆ contentColor() [2/2]

virtual OdCmColor OdDbFormattedTableData::contentColor ( OdInt32  nRow,
OdInt32  nCol,
OdInt32  nContent 
) const
virtual

Returns the color of the specified content of a cell as an object of the OdCmColor class.

Parameters
nRow[in] Row index of the cell.
nCol[in] Column index of the cell.
nContent[in] Content index.
Returns
Color of the specified content of the cell.
Remarks
Method generates the eInvalidInput exception when input row number and column number are less than 0 or greater than table size.

◆ contentLayout()

virtual OdDb::CellContentLayout OdDbFormattedTableData::contentLayout ( OdInt32  nRow,
OdInt32  nCol 
) const
virtual

Returns the content layout of the specified cell.

Parameters
nRow[in] Row index of the cell.
nCol[in] Column index of the cell.
Returns
Content layout of the specified cell.
Remarks
Returning value should be one of following values:

Value kCellContentLayoutFlow 0x1 kCellContentLayoutStackedHorizontal 0x2 kCellContentLayoutStackedVertical 0x4

◆ dwgInFields()

virtual OdResult OdDbFormattedTableData::dwgInFields ( OdDbDwgFiler pFiler)
virtual

OdDbObject override.

Reimplemented from OdDbLinkedTableData.

Reimplemented in OdDbTableContent, and OdDbTableTemplate.

◆ dwgOutFields()

virtual void OdDbFormattedTableData::dwgOutFields ( OdDbDwgFiler pFiler) const
virtual

OdDbObject override.

Reimplemented from OdDbLinkedTableData.

Reimplemented in OdDbTableContent, and OdDbTableTemplate.

◆ dxfInFields()

virtual OdResult OdDbFormattedTableData::dxfInFields ( OdDbDxfFiler pFiler)
virtual

OdDbObject override.

Reimplemented from OdDbLinkedTableData.

Reimplemented in OdDbTableContent, and OdDbTableTemplate.

◆ dxfOutFields()

virtual void OdDbFormattedTableData::dxfOutFields ( OdDbDxfFiler pFiler) const
virtual

OdDbObject override.

Reimplemented from OdDbLinkedTableData.

Reimplemented in OdDbTableContent, and OdDbTableTemplate.

◆ enableMergeAll()

virtual void OdDbFormattedTableData::enableMergeAll ( OdInt32  nRow,
OdInt32  nCol,
bool  bEnable 
)
virtual

Sets the merge-all flag for the cell, row, or column.

Parameters
nRow[in] Row index.
nCol[in] Column index.
bEnable[in] Merge-all flag value.
Remarks
Method generates the eNotImplementedYet exception.

◆ flowDirection()

virtual OdDb::FlowDirection OdDbFormattedTableData::flowDirection ( ) const
virtual

Returns the direction that this table entity flows from its first row to the last.

Returns
Flow direction value.
Remarks
flowDirection() returns one of the following:

Value Description OdDb::kTtoB 0 Top to Bottom OdDb::kBtoT 1 Bottom to Top

◆ getGridProperty()

virtual void OdDbFormattedTableData::getGridProperty ( OdInt32  nRow,
OdInt32  nCol,
OdDb::GridLineType  nGridLineType,
OdGridProperty gridProp 
) const
virtual

Returns the grid line property of the cell, row or column. Use a valid row index and pass the column index '-1' to get the grid property of the row. Use a valid column index and pass the row index '-1' to get the grid property of the column.

Parameters
nRow[in] Row index.
nCol[in] Column index.
nGridLineType[in] Grid linetype.
gridProp[out] Grid line property.
Remarks
Grid linetype should take one of the following values:

Value kInvalidGridLine 0x00 kHorzTop 0x01 kHorzInside 0x02 kHorzBottom 0x04 kVertLeft 0x08 kVertInside 0x10 kVertRight 0x20 kHorzGridLineTypes kHorzTop|kHorzBottom|kHorzInside kVertGridLineTypes kVertLeft|kVertRight|kVertInside kOuterGridLineTypes kHorzTop|kHorzBottom|kVertLeft|kVertRight kInnerGridLineTypes kHorzInside|kVertInside kAllGridLineTypes kOuterGridLineTypes|kInnerGridLineTypes

◆ getMergeRange()

virtual OdCellRange OdDbFormattedTableData::getMergeRange ( OdInt32  nRow,
OdInt32  nCol 
) const
virtual

Returns merge range of the cell as an object of the OdCellRange class.

Parameters
nRow[in] Row index of the cell.
nCol[in] Column index of the cell.
Returns
Merge range of the specified cell.
Remarks
Returns invalid merge range if the cell is not part of the merge range.

◆ getOverride() [1/2]

virtual OdDb::GridProperty OdDbFormattedTableData::getOverride ( OdInt32  nRow,
OdInt32  nCol,
OdDb::GridLineType  nGridLineType 
) const
virtual

Returns the override in the grid line of the cell, row, or column. Use a valid row index and pass the column index '-1' to get the row property overrides. Use a valid column index and pass the row index '-1' to get the column property overrides.

Parameters
nRow[in] Row index.
nCol[in] Column index.
nGridLineType[in] Grid linetype.
Remarks
Grid property should take one of the following values:

Value kGridPropInvalid 0x00 kGridPropLineStyle 0x01 kGridPropLineWeight 0x02 kGridPropLinetype 0x04 kGridPropColor 0x08 kGridPropVisibility 0x10 kGridPropDoubleLineSpacing 0x20 kGridPropAll (kGridPropLineStyle | kGridPropLineWeight | kGridPropLinetype | kGridPropColor | kGridPropVisibility | kGridPropDoubleLineSpacing)

Grid linetype should take one of the following values:

Value kInvalidGridLine 0x00 kHorzTop 0x01 kHorzInside 0x02 kHorzBottom 0x04 kVertLeft 0x08 kVertInside 0x10 kVertRight 0x20 kHorzGridLineTypes kHorzTop | kHorzBottom | kHorzInside kVertGridLineTypes kVertLeft | kVertRight | kVertInside kOuterGridLineTypes kHorzTop | kHorzBottom | kVertLeft | kVertRight kInnerGridLineTypes kHorzInside | kVertInside kAllGridLineTypes kOuterGridLineTypes | kInnerGridLineTypes

◆ getOverride() [2/2]

virtual OdDb::CellProperty OdDbFormattedTableData::getOverride ( OdInt32  nRow,
OdInt32  nCol,
OdInt32  nContent 
) const
virtual

Returns the override of the cell, row or column. Use a valid row index and pass the column index '-1' to get the row property overrides. Use a valid column index and pass the row index '-1' to get the column property overrides.

Parameters
nRow[in] Row index.
nCol[in] Column index.
nContent[in] Content index.
Returns
Override of the cell, row or column.
Remarks
Cell property should take one of the next values:

Value kCellPropInvalid 0x00000 kCellPropDataType 0x00001 kCellPropDataFormat 0x00002 kCellPropRotation 0x00004 kCellPropScale 0x00008 kCellPropAlignment 0x00010 kCellPropContentColor 0x00020 kCellPropTextStyle 0x00040 kCellPropTextHeight 0x00080 kCellPropAutoScale 0x00100 kCellPropBackgroundColor 0x00200 kCellPropMarginLeft 0x00400 kCellPropMarginTop 0x00800 kCellPropMarginRight 0x01000 kCellPropMarginBottom 0x02000 kCellPropContentLayout 0x04000 kCellPropMergeAll 0x08000 kCellPropFlowDirBtoT 0x10000 kCellPropMarginHorzSpacing 0x20000 kCellPropMarginVertSpacing 0x40000 kCellPropDataTypeAndFormat (kCellPropDataType | kCellPropDataFormat) kCellPropContent (kCellPropDataType | kCellPropDataFormat | kCellPropRotation | kCellPropScale | kCellPropContentColor | kCellPropTextStyle | kCellPropTextHeight | kCellPropAutoScale) kCellPropBitProperties (kCellPropAutoScale | kCellPropMergeAll | kCellPropFlowDirBtoT) kCellPropAll (kCellPropDataType | kCellPropDataFormat | kCellPropRotation | kCellPropScale | kCellPropAlignment | kCellPropContentColor | kCellPropBackgroundColor | kCellPropTextStyle | kCellPropTextHeight | kCellPropMarginLeft | kCellPropMarginTop | kCellPropMarginRight | kCellPropMarginBottom | kCellPropMarginHorzSpacing | kCellPropMarginVertSpacing | kCellPropAutoScale | kCellPropMergeAll | kCellPropFlowDirBtoT | kCellPropContentLayout)

◆ gridColor()

virtual OdCmColor OdDbFormattedTableData::gridColor ( OdInt32  nRow,
OdInt32  nCol,
OdDb::GridLineType  nGridLineType 
) const
virtual

Returns the grid line color of the cell, row or column as an object of the OdCmColor class. Use a valid row index and pass the column index '-1' to get the row grid line color. Use a valid column index and pass the row index '-1' to get the column grid line color.

Parameters
nRow[in] Row index.
nCol[in] Column index.
nGridLineType[in] Grid linetype.
Returns
Grid line color.
Remarks
Grid linetype should take one of the following values:

Value kInvalidGridLine 0x00 kHorzTop 0x01 kHorzInside 0x02 kHorzBottom 0x04 kVertLeft 0x08 kVertInside 0x10 kVertRight 0x20 kHorzGridLineTypes kHorzTop|kHorzBottom|kHorzInside kVertGridLineTypes kVertLeft|kVertRight|kVertInside kOuterGridLineTypes kHorzTop|kHorzBottom|kVertLeft|kVertRight kInnerGridLineTypes kHorzInside|kVertInside kAllGridLineTypes kOuterGridLineTypes|kInnerGridLineTypes

◆ gridDoubleLineSpacing()

virtual double OdDbFormattedTableData::gridDoubleLineSpacing ( OdInt32  nRow,
OdInt32  nCol,
OdDb::GridLineType  nGridLineType 
) const
virtual

Returns the grid double line spacing of the cell, row or column as a double value. Use a valid row index and pass column index -1 to get row grid double line spacing. Use a valid column index and pass row index -1 to get column grid double line spacing.

Parameters
nRow[in] Row index.
nCol[in] Column index.
nGridLineType[in] Grid linetype.
Returns
Grid double line spacing value.
Remarks
Grid linetype should take one of the following values:

Value kInvalidGridLine 0x00 kHorzTop 0x01 kHorzInside 0x02 kHorzBottom 0x04 kVertLeft 0x08 kVertInside 0x10 kVertRight 0x20 kHorzGridLineTypes kHorzTop|kHorzBottom|kHorzInside kVertGridLineTypes kVertLeft|kVertRight|kVertInside kOuterGridLineTypes kHorzTop|kHorzBottom|kVertLeft|kVertRight kInnerGridLineTypes kHorzInside|kVertInside kAllGridLineTypes kOuterGridLineTypes|kInnerGridLineTypes

◆ gridLineStyle()

virtual OdDb::GridLineStyle OdDbFormattedTableData::gridLineStyle ( OdInt32  nRow,
OdInt32  nCol,
OdDb::GridLineType  nGridLineType 
) const
virtual

Returns the grid linestyle of the cell, row or column. Use a valid row index and pass the column index '-1' to get the grid linestyle of the row. Use a valid column index and pass the row index '-1' to get the grid linestyle of the column.

Parameters
nRow[in] Row index.
nCol[in] Column index.
nGridLineType[in] Grid linetype.
Returns
Grid linestyle.
Remarks
Grid linetype should take one of the following values:

Value kInvalidGridLine 0x00 kHorzTop 0x01 kHorzInside 0x02 kHorzBottom 0x04 kVertLeft 0x08 kVertInside 0x10 kVertRight 0x20 kHorzGridLineTypes kHorzTop|kHorzBottom|kHorzInside kVertGridLineTypes kVertLeft|kVertRight|kVertInside kOuterGridLineTypes kHorzTop|kHorzBottom|kVertLeft|kVertRight kInnerGridLineTypes kHorzInside|kVertInside kAllGridLineTypes kOuterGridLineTypes|kInnerGridLineTypes

Grid line style should take one of the following values:

Value kGridLineStyleSingle 1 kGridLineStyleDouble 2

◆ gridLinetype()

virtual OdDbObjectId OdDbFormattedTableData::gridLinetype ( OdInt32  nRow,
OdInt32  nCol,
OdDb::GridLineType  nGridLineType 
) const
virtual

Returns the grid linetype of the cell, row or column. Use a valid row index and pass the column index '-1' to get the row grid linetype. Use a valid column index and pass the row index '-1' to get the column grid linetype.

Parameters
nRow[in] Row index.
nCol[in] Column index.
nGridLineType[in] Grid linetypes.
Returns
Grid linetype object ID.
Remarks
Grid linetype should take one of the following values:

Value kInvalidGridLine 0x00 kHorzTop 0x01 kHorzInside 0x02 kHorzBottom 0x04 kVertLeft 0x08 kVertInside 0x10 kVertRight 0x20 kHorzGridLineTypes kHorzTop|kHorzBottom|kHorzInside kVertGridLineTypes kVertLeft|kVertRight|kVertInside kOuterGridLineTypes kHorzTop|kHorzBottom|kVertLeft|kVertRight kInnerGridLineTypes kHorzInside|kVertInside kAllGridLineTypes kOuterGridLineTypes|kInnerGridLineTypes

◆ gridLineWeight()

virtual OdDb::LineWeight OdDbFormattedTableData::gridLineWeight ( OdInt32  nRow,
OdInt32  nCol,
OdDb::GridLineType  nGridLineType 
) const
virtual

Returns the grid lineweight of the cell, row or column. Use a valid row index and pass the column index '-1' to get the row grid lineweight. Use a valid column index and pass the row index '-1' to get the column grid lineweight.

Parameters
nRow[in] Row index.
nCol[in] Column index.
nGridLineType[in] Grid linetype.
Returns
Lineweight value.
Remarks
Grid linetype should take one of the following values:

Value kInvalidGridLine 0x00 kHorzTop 0x01 kHorzInside 0x02 kHorzBottom 0x04 kVertLeft 0x08 kVertInside 0x10 kVertRight 0x20 kHorzGridLineTypes kHorzTop|kHorzBottom|kHorzInside kVertGridLineTypes kVertLeft|kVertRight|kVertInside kOuterGridLineTypes kHorzTop|kHorzBottom|kVertLeft|kVertRight kInnerGridLineTypes kHorzInside|kVertInside kAllGridLineTypes kOuterGridLineTypes|kInnerGridLineTypes

Grid lineweight should take one of the following values:

Value kLnWt000 0 kLnWt005 5 kLnWt009 9 kLnWt013 13 kLnWt015 15 kLnWt018 18 kLnWt020 20 kLnWt025 25 kLnWt030 30 kLnWt035 35 kLnWt040 40 kLnWt050 50 kLnWt053 53 kLnWt060 60 kLnWt070 70 kLnWt080 80 kLnWt090 90 kLnWt100 100 kLnWt106 106 kLnWt120 120 kLnWt140 140 kLnWt158 158 kLnWt200 200 kLnWt211 211 kLnWtByLayer -1 kLnWtByBlock -2 kLnWtByLwDefault -3

◆ gridVisibility()

virtual OdDb::Visibility OdDbFormattedTableData::gridVisibility ( OdInt32  nRow,
OdInt32  nCol,
OdDb::GridLineType  nGridLineType 
) const
virtual

Returns the grid visibility of the cell, row or column. Use a valid row index and pass the column index '-1' to get the grid visibility of the row. Use a valid column index and pass the row index '-1' to get the grid visibility of the column.

Parameters
nRow[in] Row index.
nCol[in] Column index.
nGridLineType[in] Grid linetype.
Remarks
Grid linetype should take one of the following values:

Value kInvalidGridLine 0x00 kHorzTop 0x01 kHorzInside 0x02 kHorzBottom 0x04 kVertLeft 0x08 kVertInside 0x10 kVertRight 0x20 kHorzGridLineTypes kHorzTop|kHorzBottom|kHorzInside kVertGridLineTypes kVertLeft|kVertRight|kVertInside kOuterGridLineTypes kHorzTop|kHorzBottom|kVertLeft|kVertRight kInnerGridLineTypes kHorzInside|kVertInside kAllGridLineTypes kOuterGridLineTypes|kInnerGridLineTypes

Grid visibility should take one of the following values:

Value kInvisible 1 kVisible 0

◆ insertColumnAndInherit()

virtual OdInt32 OdDbFormattedTableData::insertColumnAndInherit ( OdInt32  nIndex,
OdInt32  nInheritFrom,
OdInt32  nNumCols 
)
virtual

Inserts columns at the specified index and inherits the column properties for the inserted columns from the reference column.

Parameters
nIndex[in] Index.
nInheritFrom[in] Index of the reference column to inherit the format from.
nNumCols[in] Number of inserted columns.
Returns
Starting index of the inserted columns.
Remarks
Method generates the eInvalidInput exception when the number of rows or columns is zero.

◆ insertRowAndInherit()

virtual OdInt32 OdDbFormattedTableData::insertRowAndInherit ( OdInt32  nIndex,
OdInt32  nInheritFrom,
OdInt32  nNumRows 
)
virtual

Inserts rows at the specified index and inherits the row properties for the inserted rows from the reference row.

Parameters
nIndex[in] Index to insert rows at.
nInheritFrom[in] Index of the reference row to inherit the format from.
nNumRows[in] Number of inserted rows.
Returns
Starting index of the inserted rows.

◆ isAutoScale() [1/2]

virtual bool OdDbFormattedTableData::isAutoScale ( OdInt32  nRow,
OdInt32  nCol 
) const
virtual

Indicates whether the data in the zero content of a cell is auto-scaled or not.

Parameters
nRow[in] Row index of the cell.
nCol[in] Column index of the cell.
Returns
True if the data in the zero content of the cell is auto-scaled; false otherwise.

◆ isAutoScale() [2/2]

virtual bool OdDbFormattedTableData::isAutoScale ( OdInt32  nRow,
OdInt32  nCol,
OdInt32  nContent 
) const
virtual

Indicates whether the data in the specified content of a cell is auto-scaled or not. Returns the auto-scaled flag as a boolean value.

Parameters
nRow[in] Row index of the cell.
nCol[in] Column index of the cell.
nContent[in] Content index.
Returns
True if the data in the specified content of the cell is auto-scaled; false otherwise.

◆ isFormatEditable()

virtual bool OdDbFormattedTableData::isFormatEditable ( OdInt32  nRow,
OdInt32  nCol 
) const
virtual

Returns "editing format flag" cell property.

Parameters
nRow[in] Row index of the cell.
nCol[in] Column index of the cell.
Returns
True if cell format can be edited or false if not.

◆ isMergeAllEnabled()

virtual bool OdDbFormattedTableData::isMergeAllEnabled ( OdInt32  nRow,
OdInt32  nCol 
) const
virtual

Checks whether the merge-all flag is enabled for the cell, row, or column.

Parameters
nRow[in] Row index.
nCol[in] Column index.
Returns
True if the merge-all flag is enabled or false if it is not.
Remarks
Method generates the eNotImplementedYet exception.

◆ isMerged()

virtual bool OdDbFormattedTableData::isMerged ( OdInt32  nRow,
OdInt32  nCol 
) const
virtual

Returns true if and only if the specified cell has been merged.

Parameters
nRow[in] Row index.
nCol[in] Column index.
Returns
True if the specified cell has been merged; false otherwise.
Remarks
Method generates the eInvalidInput exception when the row argument is more than the number of rows or the column argument is more than the number of columns.

◆ margin()

virtual double OdDbFormattedTableData::margin ( OdInt32  nRow,
OdInt32  nCol,
OdDb::CellMargin  nMargin 
) const
virtual

Returns the margin of the cell, row or column as a double value. Use a valid row index and pass the column index '-1' to get the margin of the row. Use a valid column index and pass the row index '-1' to get the margin of the column.

Parameters
nRow[in] Row index.
nCol[in] Column index.
nMargin[in] Margin type.
Returns
Margin value.
Remarks
Margin type should be one of following values:

Value kCellMarginTop 0x01 kCellMarginLeft 0x02 kCellMarginBottom 0x04 kCellMarginRight 0x08 kCellMarginHorzSpacing 0x10 kCellMarginVertSpacing 0x20

◆ merge()

virtual void OdDbFormattedTableData::merge ( const OdCellRange range)
virtual

Merges a rectangular range of cells in this table object.

Parameters
range[in] Input range to merge.
Remarks
Method generates the eInvalidInput exception when the minimum row index is more than the maximum row index, the minimum column index is more than the maximum column index, the maximum row index is more than the number of rows, or the maximum column index is more than the number of columns.

◆ ODDB_DECLARE_MEMBERS()

OdDbFormattedTableData::ODDB_DECLARE_MEMBERS ( OdDbFormattedTableData  )

◆ removeAllOverrides()

virtual void OdDbFormattedTableData::removeAllOverrides ( OdInt32  nRow,
OdInt32  nCol 
)
virtual

Removes all overrides in the cell, row, or column. Use a valid row index and pass the column index '-1' to remove the row property overrides. Use a valid column index and pass the row index '-1' to remove the column property overrides.

Parameters
nRow[in] Row index.
nCol[in] Column index.

◆ rotation() [1/2]

virtual double OdDbFormattedTableData::rotation ( OdInt32  nRow,
OdInt32  nCol 
) const
virtual

Returns the zero content rotation angle.

Parameters
nRow[in] Row index of the cell.
nCol[in] Column index of the cell.
Returns
Zero content rotation angle value in radians.
Remarks
Method generates the eInvalidInput exception when input row number and column number are less than 0 or greater than table size.

◆ rotation() [2/2]

virtual double OdDbFormattedTableData::rotation ( OdInt32  nRow,
OdInt32  nCol,
OdInt32  nContent 
) const
virtual

Returns the specified content rotation angle.

Parameters
nRow[in] Row index of the cell.
nCol[in] Column index of the cell.
nContent[in] Content index.
Returns
Specified content rotation angle value in radians.
Remarks
Method generates the eInvalidInput exception when input row number and column number are less than 0 or greater than table size.

◆ scale() [1/2]

virtual double OdDbFormattedTableData::scale ( OdInt32  nRow,
OdInt32  nCol 
) const
virtual

Returns the scale value of the zero content of a cell.

Parameters
nRow[in] Row index of the cell.
nCol[in] Column index of the cell.
Returns
Zero content scale value.
Remarks
Method generates the eInvalidInput exception when input row number and column number are less than 0 or greater than table size.

◆ scale() [2/2]

virtual double OdDbFormattedTableData::scale ( OdInt32  nRow,
OdInt32  nCol,
OdInt32  nContent 
) const
virtual

Returns the scale value of the specified content of a cell.

Parameters
nRow[in] Row index of the cell.
nCol[in] Column index of the cell.
nContent[in] Content index.
Returns
Specified content scale value.
Remarks
Method generates the eInvalidInput exception when input row number and column number are less than 0 or greater than table size.

◆ setAlignment()

virtual void OdDbFormattedTableData::setAlignment ( OdInt32  nRow,
OdInt32  nCol,
OdDb::CellAlignment  nAlignment 
)
virtual

Sets the cell alignment for the specified cell in this table entity.

Parameters
nRow[in] Row index of the cell.
nCol[in] Column index of the cell.
nAlignment[in] Alignment.
Remarks
Alignment must be one of the following:

Value OdDb::kTopLeft 1 OdDb::kTopCenter 2 OdDb::kTopRight 3 OdDb::kMiddleLeft 4 OdDb::kMiddleCenter 5 OdDb::kMiddleRight 6 OdDb::kBottomLeft 7 OdDb::kBottomCenter 8 OdDb::kBottomRight 9

Method generates the eInvalidInput exception when the alignment is out of the available range 1 to 9, when the row argument is grater than the number of rows, or when the column argument is grater than the number of columns.

◆ setAutoScale() [1/2]

virtual void OdDbFormattedTableData::setAutoScale ( OdInt32  nRow,
OdInt32  nCol,
bool  bAutoScale 
)
virtual

Sets the auto-scaled flag to the zero content of a cell.

Parameters
nRow[in] Row index of the cell.
nCol[in] Column index of the cell.
bAutoScale[in] Auto-scaled flag value.
Remarks
Method generates the eInvalidInput exception when input row number and column number are less than 0 or greater than table size. Method generates the eIsWriteProtected when format is not editable (!isFormatEditable()).

◆ setAutoScale() [2/2]

virtual void OdDbFormattedTableData::setAutoScale ( OdInt32  nRow,
OdInt32  nCol,
OdInt32  nContent,
bool  bAutoScale 
)
virtual

Sets the auto-scaled flag to the specified content of a cell.

Parameters
nRow[in] Row index of the cell.
nCol[in] Column index of the cell.
nContent[in] Content index.
bAutoScale[in] Auto-scaled flag value.
Remarks
Method generates the eInvalidInput exception when input row number and column number are less than 0 or greater than table size. Method generates the eIsWriteProtected when format is not editable (!isFormatEditable()).

◆ setBackgroundColor()

virtual void OdDbFormattedTableData::setBackgroundColor ( OdInt32  nRow,
OdInt32  nCol,
const OdCmColor color 
)
virtual

Sets the background color for the specified cell in this table object.

Parameters
nRow[in] Row index of the cell.
nCol[in] Column index of the cell.
color[in] Background color value.
Remarks
Method generates the eInvalidInput exception when the row type mask is more than 7, the row argument is grater than the number of rows, or the column argument is grater than the number of columns.

◆ setContentColor() [1/2]

virtual void OdDbFormattedTableData::setContentColor ( OdInt32  nRow,
OdInt32  nCol,
const OdCmColor color 
)
virtual

Sets the color of the zero content of a cell.

Parameters
nRow[in] Row index of the cell.
nCol[in] Column index of the cell.
color[in] Color of the content.
Remarks
Method generates the eInvalidInput exception when input row number and column number are less than 0 or greater than table size. Method generates the eIsWriteProtected when format is not editable (!isFormatEditable()).

◆ setContentColor() [2/2]

virtual void OdDbFormattedTableData::setContentColor ( OdInt32  nRow,
OdInt32  nCol,
OdInt32  nContent,
const OdCmColor color 
)
virtual

Sets the color of the specified content of a cell.

Parameters
nRow[in] Row index of the cell.
nCol[in] Column index of the cell.
nContent[in] Content index.
color[in] Color of the content.
Remarks
Method generates the eInvalidInput exception when input row number and column number are less than 0 or greater than table size. Method generates the eIsWriteProtected when format is not editable (!isFormatEditable()).

◆ setContentLayout()

virtual void OdDbFormattedTableData::setContentLayout ( OdInt32  nRow,
OdInt32  nCol,
OdDb::CellContentLayout  nLayout 
)
virtual

Sets the content layout for the specified cell.

Parameters
nRow[in] Row index of the cell.
nCol[in] Column index of the cell.
nLayout[in] Content layout.
Remarks
Content layout should take one of following values:

Value kCellContentLayoutFlow 0x1 kCellContentLayoutStackedHorizontal 0x2 kCellContentLayoutStackedVertical 0x4

Method generates the eInvalidInput exception when input row number and column number are less than 0 or greater than table size. Method generates the eIsWriteProtected when format is not editable (!isFormatEditable()).

◆ setFieldId() [1/2]

virtual void OdDbFormattedTableData::setFieldId ( OdInt32  nRow,
OdInt32  nCol,
const OdDbObjectId idField,
OdDb::CellOption  nFlag 
)
virtual

Sets a field ID to the zero cell content.

Parameters
nRow[in] Row index of the cell.
nCol[in] Column index of the cell.
idField[in] Field ID.
nFlag[in] Cell option.
Remarks
Method generates the eInvalidInput exception when input row number and column number are less than 0 or greater than table size. Method generates the eIsWriteProtected when content is not editable (!isContentEditable()).

◆ setFieldId() [2/2]

virtual void OdDbFormattedTableData::setFieldId ( OdInt32  nRow,
OdInt32  nCol,
OdUInt32  nContent,
const OdDbObjectId idField,
OdDb::CellOption  nFlag 
)
virtual

Sets a field ID to the specified cell content.

Parameters
nRow[in] Row index of the cell.
nCol[in] Column index of the cell.
nContent[in] Number of content.
idField[in] Field ID.
nFlag[in] Cell option.
Remarks
Method generates the eInvalidInput exception when input row number and column number are less than 0 or greater than table size. Method generates the eIsWriteProtected when content is not editable (!isContentEditable()).

◆ setFlowDirection()

virtual void OdDbFormattedTableData::setFlowDirection ( OdDb::FlowDirection  nDir)
virtual

Sets the direction that this table entity flows from its first row to the last.

Parameters
nDir[in] Flow direction value.
Remarks
flowDirection must be one of the following:

Value Description OdDb::kTtoB 0 Top to Bottom OdDb::kBtoT 1 Bottom to Top

Method generates the eInvalidInput exception when the flow direction is not equal to 0 or 1.

◆ setGridColor()

virtual void OdDbFormattedTableData::setGridColor ( OdInt32  nRow,
OdInt32  nCol,
OdDb::GridLineType  nGridLineTypes,
const OdCmColor color 
)
virtual

Sets the grid line color of the cell, row or column. Use a valid row index and pass the column index '-1' to set the grid line color for the row. Use a valid column index and pass the row index '-1' to set the grid line color for the column.

Parameters
nRow[in] Row index.
nCol[in] Column index.
nGridlineTypes[in] Grid linetypes.
color[in] Grid line color.
Remarks
Grid linetype should take one of the following values:

Value kInvalidGridLine 0x00 kHorzTop 0x01 kHorzInside 0x02 kHorzBottom 0x04 kVertLeft 0x08 kVertInside 0x10 kVertRight 0x20 kHorzGridLineTypes kHorzTop|kHorzBottom|kHorzInside kVertGridLineTypes kVertLeft|kVertRight|kVertInside kOuterGridLineTypes kHorzTop|kHorzBottom|kVertLeft|kVertRight kInnerGridLineTypes kHorzInside|kVertInside kAllGridLineTypes kOuterGridLineTypes|kInnerGridLineTypes

◆ setGridDoubleLineSpacing()

virtual void OdDbFormattedTableData::setGridDoubleLineSpacing ( OdInt32  nRow,
OdInt32  nCol,
OdDb::GridLineType  nGridLineTypes,
double  fSpacing 
)
virtual

Sets the grid double line spacing for the cell, row or column. Use a valid row index and pass the column index '-1' to set the grid double line spacing for the row. Use a valid column index and pass the row index '-1' to set the grid double line spacing for the column.

Parameters
nRow[in] Row index.
nCol[in] Column index.
nGridLineTypes[in] Grid linetypes.
fSpacing[in] Grid double line spacing value.
Remarks
Grid linetypes should take one of the following values:

Value kInvalidGridLine 0x00 kHorzTop 0x01 kHorzInside 0x02 kHorzBottom 0x04 kVertLeft 0x08 kVertInside 0x10 kVertRight 0x20 kHorzGridLineTypes kHorzTop|kHorzBottom|kHorzInside kVertGridLineTypes kVertLeft|kVertRight|kVertInside kOuterGridLineTypes kHorzTop|kHorzBottom|kVertLeft|kVertRight kInnerGridLineTypes kHorzInside|kVertInside kAllGridLineTypes kOuterGridLineTypes|kInnerGridLineTypes

◆ setGridLineStyle()

virtual void OdDbFormattedTableData::setGridLineStyle ( OdInt32  nRow,
OdInt32  nCol,
OdDb::GridLineType  nGridLineTypes,
OdDb::GridLineStyle  nLineStyle 
)
virtual

Sets the grid line style for the cell, row or column. Use a valid row index and pass the column index '-1' to set the row grid linestyle. Use a valid column index and pass the row index '-1' to set the column grid linestyle.

Parameters
nRow[in] Row index.
nCol[in] Column index.
nGridLineTypes[in] Grid linetype.
nLineStyle[in] Grid linestyle.
Remarks
Grid linetype should take one of the following values:

Value kInvalidGridLine 0x00 kHorzTop 0x01 kHorzInside 0x02 kHorzBottom 0x04 kVertLeft 0x08 kVertInside 0x10 kVertRight 0x20 kHorzGridLineTypes kHorzTop|kHorzBottom|kHorzInside kVertGridLineTypes kVertLeft|kVertRight|kVertInside kOuterGridLineTypes kHorzTop|kHorzBottom|kVertLeft|kVertRight kInnerGridLineTypes kHorzInside|kVertInside kAllGridLineTypes kOuterGridLineTypes|kInnerGridLineTypes

Grid linestyle should take one of the following values:

Value kGridLineStyleSingle 1 kGridLineStyleDouble 2

◆ setGridLinetype()

virtual void OdDbFormattedTableData::setGridLinetype ( OdInt32  nRow,
OdInt32  nCol,
OdDb::GridLineType  nGridLineTypes,
const OdDbObjectId idLinetype 
)
virtual

Sets the grid linetype of the cell, row or column. Use a valid row index and pass the column index '-1' to set the row grid linetype. Use a valid column index and pass the row index '-1' to set the column grid linetype.

Parameters
nRow[in] Row index.
nCol[in] Column index.
nGridLineTypes[in] Grid linetypes.
idLinetype[in] Object ID of the grid linetype to set.
Remarks
Grid linetypes should take one of the following values:

Value kInvalidGridLine 0x00 kHorzTop 0x01 kHorzInside 0x02 kHorzBottom 0x04 kVertLeft 0x08 kVertInside 0x10 kVertRight 0x20 kHorzGridLineTypes kHorzTop|kHorzBottom|kHorzInside kVertGridLineTypes kVertLeft|kVertRight|kVertInside kOuterGridLineTypes kHorzTop|kHorzBottom|kVertLeft|kVertRight kInnerGridLineTypes kHorzInside|kVertInside kAllGridLineTypes kOuterGridLineTypes|kInnerGridLineTypes

◆ setGridLineWeight()

virtual void OdDbFormattedTableData::setGridLineWeight ( OdInt32  nRow,
OdInt32  nCol,
OdDb::GridLineType  nGridLineTypes,
OdDb::LineWeight  nLineWeight 
)
virtual

Sets the grid lineweight of the cell, row or column. Use a valid row index and pass the column index '-1' to set the row grid lineweight. Use a valid column index and pass the row index '-1' to set the column grid lineweight.

Parameters
nRow[in] Row index.
nCol[in] Column index.
nGridLineTypes[in] Grid linetype.
nLineWeight[in] Grid lineweight.
Remarks
Grid linetype should take one of the following values:

Value kInvalidGridLine 0x00 kHorzTop 0x01 kHorzInside 0x02 kHorzBottom 0x04 kVertLeft 0x08 kVertInside 0x10 kVertRight 0x20 kHorzGridLineTypes kHorzTop|kHorzBottom|kHorzInside kVertGridLineTypes kVertLeft|kVertRight|kVertInside kOuterGridLineTypes kHorzTop|kHorzBottom|kVertLeft|kVertRight kInnerGridLineTypes kHorzInside|kVertInside kAllGridLineTypes kOuterGridLineTypes|kInnerGridLineTypes

Grid lineweight should take one of the following values:

Value kLnWt000 0 kLnWt005 5 kLnWt009 9 kLnWt013 13 kLnWt015 15 kLnWt018 18 kLnWt020 20 kLnWt025 25 kLnWt030 30 kLnWt035 35 kLnWt040 40 kLnWt050 50 kLnWt053 53 kLnWt060 60 kLnWt070 70 kLnWt080 80 kLnWt090 90 kLnWt100 100 kLnWt106 106 kLnWt120 120 kLnWt140 140 kLnWt158 158 kLnWt200 200 kLnWt211 211 kLnWtByLayer -1 kLnWtByBlock -2 kLnWtByLwDefault -3

◆ setGridProperty() [1/2]

virtual void OdDbFormattedTableData::setGridProperty ( const OdCellRange range,
OdDb::GridLineType  nGridLineTypes,
const OdGridProperty gridProp 
)
virtual

Sets the grid line property for the cell, row or column.

Parameters
range[in] Cell range, row range or column range.
nGridLineTypes[in] Grid linetypes.
gridProp[in] Grid line property.
Remarks
Grid linetypes should take one of the following values:

Value kInvalidGridLine 0x00 kHorzTop 0x01 kHorzInside 0x02 kHorzBottom 0x04 kVertLeft 0x08 kVertInside 0x10 kVertRight 0x20 kHorzGridLineTypes kHorzTop|kHorzBottom|kHorzInside kVertGridLineTypes kVertLeft|kVertRight|kVertInside kOuterGridLineTypes kHorzTop|kHorzBottom|kVertLeft|kVertRight kInnerGridLineTypes kHorzInside|kVertInside kAllGridLineTypes kOuterGridLineTypes|kInnerGridLineTypes

◆ setGridProperty() [2/2]

virtual void OdDbFormattedTableData::setGridProperty ( OdInt32  nRow,
OdInt32  nCol,
OdDb::GridLineType  nGridLineTypes,
const OdGridProperty gridProp 
)
virtual

Sets the grid line property for the cell, row or column. Use a valid row index and pass the column index '-1' to set the grid property for the row. Use a valid column index and pass the row index '-1' to set the grid property for the column.

Parameters
nRow[in] Row index.
nCol[in] Column index.
nGridLineTypes[in] Grid linetypes.
gridProp[in] Grid line property.
Remarks
Grid linetypes should take one of the following values:

Value kInvalidGridLine 0x00 kHorzTop 0x01 kHorzInside 0x02 kHorzBottom 0x04 kVertLeft 0x08 kVertInside 0x10 kVertRight 0x20 kHorzGridLineTypes kHorzTop|kHorzBottom|kHorzInside kVertGridLineTypes kVertLeft|kVertRight|kVertInside kOuterGridLineTypes kHorzTop|kHorzBottom|kVertLeft|kVertRight kInnerGridLineTypes kHorzInside|kVertInside kAllGridLineTypes kOuterGridLineTypes|kInnerGridLineTypes

◆ setGridVisibility()

virtual void OdDbFormattedTableData::setGridVisibility ( OdInt32  nRow,
OdInt32  nCol,
OdDb::GridLineType  nGridLineTypes,
OdDb::Visibility  nVisibility 
)
virtual

Sets the grid visibility for the cell, row or column. Use a valid row index and pass the column index '-1' to set the grid visibility for the row. Use a valid column index and pass the row index '-1' to set the grid visibility for the column.

Parameters
nRow[in] Row index.
nCol[in] Column index.
nGridLineTypes[in] Grid linetypes.
nVisibility[in] Grid line visibility.
Remarks
Grid linetypes should take one of the following values:

Value kInvalidGridLine 0x00 kHorzTop 0x01 kHorzInside 0x02 kHorzBottom 0x04 kVertLeft 0x08 kVertInside 0x10 kVertRight 0x20 kHorzGridLineTypes kHorzTop|kHorzBottom|kHorzInside kVertGridLineTypes kVertLeft|kVertRight|kVertInside kOuterGridLineTypes kHorzTop|kHorzBottom|kVertLeft|kVertRight kInnerGridLineTypes kHorzInside|kVertInside kAllGridLineTypes kOuterGridLineTypes|kInnerGridLineTypes

Grid visibility should take one of the following values:

Value kInvisible 1 kVisible 0

◆ setMargin()

virtual void OdDbFormattedTableData::setMargin ( OdInt32  nRow,
OdInt32  nCol,
OdDb::CellMargin  nMargins,
double  fMargin 
)
virtual

Sets the margin to the cell, row or column. Use a valid row index and pass the column index '-1' to set the margin for the row. Use a valid column index and pass the row index '-1' to set the margin for the column.

Parameters
nRow[in] Row index.
nCol[in] Column index.
nMargins[in] Margin type.
fMargin[in] Margin value.
Remarks
Margin type should be a combination of the following values:

Value kCellMarginTop 0x01 kCellMarginLeft 0x02 kCellMarginBottom 0x04 kCellMarginRight 0x08 kCellMarginHorzSpacing 0x10 kCellMarginVertSpacing 0x20

◆ setOverride() [1/2]

virtual void OdDbFormattedTableData::setOverride ( OdInt32  nRow,
OdInt32  nCol,
OdDb::GridLineType  nGridLineType,
OdDb::GridProperty  nOverride 
)
virtual

Sets the override in the cell, row, column, content or grid line in the cell, row, or column. Use a valid row index and pass the column index '-1' to set the row property overrides. Use a valid column index and pass the row index '-1' to set the column property overrides.

Parameters
nRow[in] Row index.
nCol[in] Column index.
nGridLineType[in] Grid linetype.
nOverride[in] Override.
Remarks
Grid linetype should take one of the next values:

Value kInvalidGridLine 0x00 kHorzTop 0x01 kHorzInside 0x02 kHorzBottom 0x04 kVertLeft 0x08 kVertInside 0x10 kVertRight 0x20 kHorzGridLineTypes kHorzTop | kHorzBottom | kHorzInside kVertGridLineTypes kVertLeft | kVertRight | kVertInside kOuterGridLineTypes kHorzTop | kHorzBottom | kVertLeft | kVertRight kInnerGridLineTypes kHorzInside | kVertInside kAllGridLineTypes kOuterGridLineTypes | kInnerGridLineTypes

◆ setOverride() [2/2]

virtual void OdDbFormattedTableData::setOverride ( OdInt32  nRow,
OdInt32  nCol,
OdInt32  nContent,
OdDb::CellProperty  nOverride 
)
virtual

Sets the override in the cell, row, column, content or grid line in the cell, row, or column. Use a valid row index and pass the column index '-1' to set the row property overrides. Use a valid column index and pass the row index '-1' to set the column property overrides.

Parameters
nRow[in] Row index.
nCol[in] Column index.
nContent[in] Content index.
nOverride[in] Override.
Remarks
Cell property should take one of the following values:

Value kCellPropInvalid 0x00000 kCellPropDataType 0x00001 kCellPropDataFormat 0x00002 kCellPropRotation 0x00004 kCellPropScale 0x00008 kCellPropAlignment 0x00010 kCellPropContentColor 0x00020 kCellPropTextStyle 0x00040 kCellPropTextHeight 0x00080 kCellPropAutoScale 0x00100 kCellPropBackgroundColor 0x00200 kCellPropMarginLeft 0x00400 kCellPropMarginTop 0x00800 kCellPropMarginRight 0x01000 kCellPropMarginBottom 0x02000 kCellPropContentLayout 0x04000 kCellPropMergeAll 0x08000 kCellPropFlowDirBtoT 0x10000 kCellPropMarginHorzSpacing 0x20000 kCellPropMarginVertSpacing 0x40000 kCellPropDataTypeAndFormat (kCellPropDataType | kCellPropDataFormat) kCellPropContent (kCellPropDataType | kCellPropDataFormat | kCellPropRotation | kCellPropScale | kCellPropContentColor | kCellPropTextStyle | kCellPropTextHeight | kCellPropAutoScale) kCellPropBitProperties (kCellPropAutoScale | kCellPropMergeAll | kCellPropFlowDirBtoT) kCellPropAll (kCellPropDataType | kCellPropDataFormat | kCellPropRotation | kCellPropScale | kCellPropAlignment | kCellPropContentColor | kCellPropBackgroundColor | kCellPropTextStyle | kCellPropTextHeight | kCellPropMarginLeft | kCellPropMarginTop | kCellPropMarginRight | kCellPropMarginBottom | kCellPropMarginHorzSpacing | kCellPropMarginVertSpacing | kCellPropAutoScale | kCellPropMergeAll | kCellPropFlowDirBtoT | kCellPropContentLayout)

◆ setRotation() [1/2]

virtual void OdDbFormattedTableData::setRotation ( OdInt32  nRow,
OdInt32  nCol,
double  fRotation 
)
virtual

Sets the zero cell content rotation angle.

Parameters
nRow[in] Row index of the cell.
nCol[in] Column index of the cell.
fRotation[in] Rotation angle value in radians.
Remarks
Method generates the eInvalidInput exception when input row number and column number are less than 0 or greater than table size. Method generates the eIsWriteProtected when format is not editable (!isFormatEditable()).

◆ setRotation() [2/2]

virtual void OdDbFormattedTableData::setRotation ( OdInt32  nRow,
OdInt32  nCol,
OdInt32  nContent,
double  fRotation 
)
virtual

Sets the specified cell content rotation angle.

Parameters
nRow[in] Row index of the cell.
nCol[in] Column index of the cell.
nContent[in] Content index.
fRotation[in] Rotation angle value in radians.
Remarks
Method generates the eInvalidInput exception when input row number and column number are less than 0 or greater than table size. Method generates the eIsWriteProtected when format is not editable (!isFormatEditable()).

◆ setScale() [1/2]

virtual void OdDbFormattedTableData::setScale ( OdInt32  nRow,
OdInt32  nCol,
double  fScale 
)
virtual

Sets the scale value for the zero content of a cell.

Parameters
nRow[in] Row index of the cell.
nCol[in] Column index of the cell.
fScale[in] Scale value.
Remarks
Method generates the eInvalidInput exception when input row number and column number are less than 0 or greater than table size.

◆ setScale() [2/2]

virtual void OdDbFormattedTableData::setScale ( OdInt32  nRow,
OdInt32  nCol,
OdInt32  nContent,
double  fScale 
)
virtual

Sets the scale value for the specified content of a cell.

Parameters
nRow[in] Row index of the cell.
nCol[in] Column index of the cell.
nContent[in] Content index.
fScale[in] Scale value.
Remarks
Method generates the eInvalidInput exception when input row number and column number are less than 0 or greater than table size.

◆ setTextHeight() [1/2]

virtual void OdDbFormattedTableData::setTextHeight ( OdInt32  nRow,
OdInt32  nCol,
double  fTextHeight 
)
virtual

Sets the text height of the zero content of a cell.

Parameters
nRow[in] Row index of the cell.
nCol[in] Column index of the cell.
fTextHeight[in] Text height value.
Remarks
Method generates the eInvalidInput exception when input row number and column number are less than 0 or greater than table size. Method generates the eIsWriteProtected when format is not editable (!isFormatEditable()).

◆ setTextHeight() [2/2]

virtual void OdDbFormattedTableData::setTextHeight ( OdInt32  nRow,
OdInt32  nCol,
OdInt32  nContent,
double  fTextHeight 
)
virtual

Sets the text height of the specified content of a cell.

Parameters
nRow[in] Row index of the cell.
nCol[in] Column index of the cell.
nContent[in] Content index.
fTextHeight[in] Text height value.
Remarks
Method generates the eInvalidInput exception when input row number and column number are less than 0 or greater than table size. Method generates the eIsWriteProtected when format is not editable (!isFormatEditable()).

◆ setTextStyle() [1/2]

virtual void OdDbFormattedTableData::setTextStyle ( OdInt32  nRow,
OdInt32  nCol,
const OdDbObjectId idTextStyle 
)
virtual

Sets the text style for the zero content of a cell.

Parameters
nRow[in] Row index of the cell.
nCol[in] Column index of the cell.
idTextStyle[in] Text style object ID.
Remarks
Method generates the eInvalidInput exception when input row number and column number are less than 0 or greater than table size. Method generates the eIsWriteProtected when format is not editable (!isFormatEditable()).

◆ setTextStyle() [2/2]

virtual void OdDbFormattedTableData::setTextStyle ( OdInt32  nRow,
OdInt32  nCol,
OdInt32  nContent,
const OdDbObjectId idTextStyle 
)
virtual

Sets the text style for the specified content of a cell.

Parameters
nRow[in] Row index of the cell.
nCol[in] Column index of the cell.
nContent[in] Content index.
idTextStyle[in] Text style object ID.
Remarks
Method generates the eInvalidInput exception when input row number and column number are less than 0 or greater than table size. Method generates the eIsWriteProtected when format is not editable (!isFormatEditable()).

◆ textHeight() [1/2]

virtual double OdDbFormattedTableData::textHeight ( OdInt32  nRow,
OdInt32  nCol 
) const
virtual

Returns the text height for the zero content of a cell in this table object.

Parameters
nRow[in] Row index of the cell.
nCol[in] Column index of the cell.
Returns
Text height value.

◆ textHeight() [2/2]

virtual double OdDbFormattedTableData::textHeight ( OdInt32  nRow,
OdInt32  nCol,
OdInt32  nContent 
) const
virtual

Returns the text height of the specified content of a cell.

Parameters
nRow[in] Row index of the cell.
nCol[in] Column index of the cell.
nContent[in] Content index.
Returns
Text height value.
Remarks
Method generates the eInvalidInput exception when input row number and column number are less than 0 or greater than table size.

◆ textStyle() [1/2]

virtual OdDbObjectId OdDbFormattedTableData::textStyle ( OdInt32  nRow,
OdInt32  nCol 
) const
virtual

Returns the text style of the zero content of a cell.

Parameters
nRow[in] Row index of the cell.
nCol[in] Column index of the cell.
Returns
Text style object ID.
Remarks
Method generates the eInvalidInput exception when input row number and column number are less than 0 or greater than table size.

◆ textStyle() [2/2]

virtual OdDbObjectId OdDbFormattedTableData::textStyle ( OdInt32  nRow,
OdInt32  nCol,
OdInt32  nContent 
) const
virtual

Returns the text style of the specified content of a cell.

Parameters
nRow[in] Row index of the cell.
nCol[in] Column index of the cell.
nContent[in] Content index.
Returns
Text style object ID.
Remarks
Method generates the eInvalidInput exception when input row number and column number are less than 0 or greater than table size.

◆ unmerge()

virtual void OdDbFormattedTableData::unmerge ( const OdCellRange range)
virtual

Unmerges a rectangular range of cells in this table object.

Parameters
range[in] Input range to unmerge.
Remarks
Method generates the eInvalidInput exception when the minimum row index is more than the maximum row index, the minimum column index is more than the maximum column index, the maximum row index is more than the number of rows, or the maximum column index is more than the number of columns.

The documentation for this class was generated from the following file: