CFx SDK Documentation  2023 SP0
PdfPublishTable.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, Open Design Alliance (the "Alliance").
3 // All rights reserved.
4 //
5 // This software and its documentation and related materials are owned by
6 // the Alliance. The software may only be incorporated into application
7 // programs owned by members of the Alliance, subject to a signed
8 // Membership Agreement and Supplemental Software License Agreement with the
9 // Alliance. The structure and organization of this software are the valuable
10 // trade secrets of the Alliance and its suppliers. The software is also
11 // protected by copyright law and international treaty provisions. Application
12 // programs incorporating this software must include the following statement
13 // with their copyright notices:
14 //
15 // This application incorporates Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 by Open Design Alliance.
18 // All rights reserved.
19 //
20 // By use of this software, its documentation or related materials, you
21 // acknowledge and accept the above terms.
23 
24 
26 //
27 // PdfPublishTable.h
28 //
30 
31 #ifndef _PDF_PUBLISH_TABLE_INCLUDED_
32 #define _PDF_PUBLISH_TABLE_INCLUDED_
33 
34 #include "PdfPublishBaseObject.h"
35 #include "PdfPublishText.h"
36 #include "PdfPublishTextField.h"
37 #include "PdfPublishLink.h"
38 #include "PdfPublishButton.h"
39 #include "DoubleArray.h"
40 
44 namespace OdPdfPublish{
45 
50 {
51 
52 public:
53  //DOM-IGNORE-BEGIN
56  //DOM-IGNORE-END
57 
62 
66  virtual ~OdTable();
67 
79  void setLink(const OdUInt32 row, const OdUInt32 column, const OdLinkPtr& link);
80 
92  void setText(const OdUInt32 row, const OdUInt32 column, const OdTextPtr& text);
93 
105  void setButton(const OdUInt32 row, const OdUInt32 column, const OdButtonPtr& button);
106 
118  void setTextField(const OdUInt32 row, const OdUInt32 column, const OdTextFieldPtr& text_field);
119 
131  void getLink(const OdUInt32 row, const OdUInt32 column, OdLinkPtr& link) const;
132 
147  void getText(const OdUInt32 row, const OdUInt32 column, OdTextPtr& text) const;
148 
163  void getButton(const OdUInt32 row, const OdUInt32 column, OdButtonPtr& button) const;
164 
179  void getTextField(const OdUInt32 row, const OdUInt32 column, OdTextFieldPtr& text_field) const;
180 
181 };
182 
187 
188 }
189 #endif // _PDF_PUBLISH_TABLE_INCLUDED_
190 
unsigned int OdUInt32
#define PDFPUBLISH_TOOLKIT
Definition: PdfPublishDef.h:40
void getButton(const OdUInt32 row, const OdUInt32 column, OdButtonPtr &button) const
void getTextField(const OdUInt32 row, const OdUInt32 column, OdTextFieldPtr &text_field) const
void setLink(const OdUInt32 row, const OdUInt32 column, const OdLinkPtr &link)
void getLink(const OdUInt32 row, const OdUInt32 column, OdLinkPtr &link) const
ODRX_DECLARE_MEMBERS(OdTable)
void setButton(const OdUInt32 row, const OdUInt32 column, const OdButtonPtr &button)
void setText(const OdUInt32 row, const OdUInt32 column, const OdTextPtr &text)
void setTextField(const OdUInt32 row, const OdUInt32 column, const OdTextFieldPtr &text_field)
void getText(const OdUInt32 row, const OdUInt32 column, OdTextPtr &text) const
SMARTPTR(OdFile)