LayOut C API
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
table.h
Go to the documentation of this file.
1 // Copyright 2016 Trimble Navigation Ltd., All rights reserved.
2 
3 #ifndef LAYOUT_MODEL_TABLE_H_
4 #define LAYOUT_MODEL_TABLE_H_
5 
6 #include <LayOutAPI/common.h>
8 #include <LayOutAPI/model/defs.h>
9 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif // __cplusplus
19 
24 typedef enum {
30 
48  const LOAxisAlignedRect2D* bounds,
49  size_t rows,
50  size_t columns);
60 
71 
87  LOEntityListRef entity_list);
88 
100 
110 
123  size_t* rows,
124  size_t* columns);
125 
139  size_t index,
140  double* height);
141 
157 LO_RESULT LOTableSetRowHeight(LOTableRef table, size_t index, double height);
158 
172  size_t index,
173  double* width);
190  size_t index,
191  double width);
192 
205 LO_RESULT LOTableInsertRow(LOTableRef table, size_t index);
206 
219 LO_RESULT LOTableRemoveRow(LOTableRef table, size_t index);
220 
233 LO_RESULT LOTableInsertColumn(LOTableRef table, size_t index);
234 
247 LO_RESULT LOTableRemoveColumn(LOTableRef table, size_t index);
248 
270  size_t row,
271  size_t column,
272  LOFormattedTextRef* text);
273 
294  size_t row,
295  size_t column,
296  LOFormattedTextRef text);
297 
309 
324 
339  size_t row,
340  LOStyleRef style);
341 
360  size_t row,
361  LOStyleRef style);
362 
377  size_t column,
378  LOStyleRef style);
379 
398  size_t column,
399  LOStyleRef style);
400 
422  size_t row,
423  size_t column,
424  size_t* row_span,
425  size_t* column_span);
426 
449  size_t start_row,
450  size_t start_column,
451  size_t end_row,
452  size_t end_column);
453 
471  size_t row,
472  size_t column,
473  LOTableCellRotation* rotation);
474 
494  size_t row,
495  size_t column,
496  LOTableCellRotation rotation);
497 
498 #ifdef __cplusplus
499 } // end extern "C"
500 #endif // __cplusplus
501 
502 #endif // LAYOUT_MODEL_TABLE_H_