DbTableContent.h 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright 2015 Autodesk, Inc. All rights reserved.
  4. //
  5. // Use of this software is subject to the terms of the Autodesk license
  6. // agreement provided at the time of installation or download, or which
  7. // otherwise accompanies this software in either electronic or hard copy form.
  8. //
  9. //////////////////////////////////////////////////////////////////////////////
  10. //
  11. // Name: DbTableContent.h
  12. //
  13. // Description: Contains the following classes:
  14. // AcDbTableContent
  15. //////////////////////////////////////////////////////////////////////////////
  16. #pragma once
  17. #include "DbFormattedTableData.h"
  18. //*************************************************************************
  19. // AcDbTableContent
  20. //*************************************************************************
  21. class AcDbTableContent : public AcDbFormattedTableData
  22. {
  23. public:
  24. ACDB_DECLARE_MEMBERS(AcDbTableContent);
  25. ACDB_PORT AcDbTableContent(void);
  26. ACDB_PORT virtual ~AcDbTableContent(void);
  27. ACDB_PORT virtual AcDbObjectId tableStyleId(void) const;
  28. ACDB_PORT virtual Acad::ErrorStatus setTableStyleId(const AcDbObjectId& idTableStyle);
  29. ACDB_PORT virtual const ACHAR* cellStyle(int nRow,
  30. int nCol) const;
  31. ACDB_PORT virtual Acad::ErrorStatus setCellStyle(int nRow,
  32. int nCol,
  33. const ACHAR* pszCellStyle);
  34. ACDB_PORT virtual double rowHeight (int nRow) const;
  35. ACDB_PORT virtual Acad::ErrorStatus setRowHeight(int nRow,
  36. double fWidth);
  37. ACDB_PORT virtual double columnWidth (int nCol) const;
  38. ACDB_PORT virtual Acad::ErrorStatus setColumnWidth(int nCol,
  39. double fWidth);
  40. ACDB_PORT virtual Acad::ErrorStatus dwgInFields(AcDbDwgFiler* pFiler);
  41. ACDB_PORT virtual Acad::ErrorStatus dwgOutFields(AcDbDwgFiler* pFiler) const;
  42. ACDB_PORT virtual Acad::ErrorStatus dxfInFields(AcDbDxfFiler* pFiler);
  43. ACDB_PORT virtual Acad::ErrorStatus dxfOutFields(AcDbDxfFiler* pFiler) const;
  44. };