LayOut C API
Main Page
Related Pages
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
LayOutAPI
model
page.h
Go to the documentation of this file.
1
// Copyright 2015 Trimble Navigation Ltd. All rights reserved.
2
// This file is intended for public distribution.
3
4
#ifndef LAYOUT_MODEL_PAGE_H_
5
#define LAYOUT_MODEL_PAGE_H_
6
7
#include <
LayOutAPI/common.h
>
8
#include <
LayOutAPI/model/defs.h
>
9
15
typedef
enum
{
16
LOPageEntityIteratorFlags_None
= 0x0,
17
LOPageEntityIteratorFlags_SkipHidden
= 0x1,
18
LOPageEntityIteratorFlags_SkipLocked
= 0x2,
19
LOPageEntityIteratorFlags_SkipHiddenOrLocked
= 0x3
20
}
LOPageEntityIteratorFlags
;
21
27
#ifdef __cplusplus
28
extern
"C"
{
29
#endif // __cplusplus
30
41
LO_RESULT
LOPageGetName
(
LOPageRef
page,
SUStringRef
* name);
42
53
LO_RESULT
LOPageSetName
(
LOPageRef
page,
const
char
* name);
54
64
LO_RESULT
LOPageGetInPresentation
(
LOPageRef
page,
bool
* in_presentation);
65
74
LO_RESULT
LOPageSetInPresentation
(
LOPageRef
page,
bool
in_presentation);
75
92
LO_RESULT
LOPageGetLayerVisible
(
LOPageRef
page,
93
LOLayerRef
layer_definition,
94
bool
* visible);
95
114
LO_RESULT
LOPageSetLayerVisible
(
LOPageRef
page,
115
LOLayerRef
layer_definition,
116
bool
visible);
117
135
LO_RESULT
LOPageGetLayerInstances
(
LOPageRef
page,
136
size_t
array_size,
137
LOLayerInstanceRef
layer_instances[],
138
size_t
* number_copied);
139
155
LO_RESULT
LOPageGetLayerInstanceAtIndex
(
LOPageRef
page,
156
size_t
index,
157
LOLayerInstanceRef
* layer_instance);
158
169
LO_RESULT
LOPageGetPageIndex
(
LOPageRef
page,
size_t
* index);
170
182
LO_RESULT
LOPageGetNumberOfNonSharedEntities
(
LOPageRef
page,
183
size_t
* num_nonshared_entities);
184
199
LO_RESULT
LOPageGetNonSharedEntityAtIndex
(
LOPageRef
page,
200
size_t
index,
201
LOEntityRef
* entity);
202
215
LO_RESULT
LOPageGetNonSharedEntities
(
LOPageRef
page,
216
LOEntityListRef
entity_list);
217
234
LO_RESULT
LOPageCreateEntityIterator
(
LOPageRef
page,
235
LOPageEntityIteratorFlags
flags,
236
LOEntityIteratorRef
* entity_iterator);
237
254
LO_RESULT
LOPageCreateReverseEntityIterator
(
LOPageRef
page,
255
LOPageEntityIteratorFlags
flags,
256
LOEntityIteratorRef
* entity_iterator);
257
268
LO_RESULT
LOPageGetDocument
(
LOPageRef
page,
LODocumentRef
* document);
269
270
#ifdef __cplusplus
271
}
// end extern "C"
272
#endif // __cplusplus
273
274
#endif // LAYOUT_MODEL_PAGE_H_
Generated on Wed Sep 8 2021 14:15:26 for LayOut C API by
1.8.3.1