iDRS™ SDK 16
Loading...
Searching...
No Matches
CPageZone_interface.h
Go to the documentation of this file.
1
7#ifndef CPAGEZONE_INTERFACE_H
8
9#define CPAGEZONE_INTERFACE_H
10
15#include "ArrayInterface.h"
16
17#include "idrs_common.h"
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
37CPageZone CPageZone_Create(enum ZoneType const evZoneType, idrs_exception *pargException);
38
54CPageZone CPageZone_Create2(enum ZoneType const evZoneType, CPolygon objBoundingPolygon, idrs_exception *pargException);
55
61enum ZoneType CPageZone_GetZoneType(const CPageZone argCPageZone, idrs_exception *pargException);
62
68CPolygon CPageZone_GetBoundingPolygon(const CPageZone argCPageZone, idrs_exception *pargException);
69
77void CPageZone_SetBoundingPolygon(CPageZone argCPageZone, const CPolygon argBoundingPolygon, idrs_exception *pargException);
78
88PaddingInfo CPageZone_GetPadding(const CPageZone argCPageZone, idrs_exception *pargException);
89
99void CPageZone_SetPadding(CPageZone argCPageZone, const PaddingInfo* stPaddingInfo, idrs_exception *pargException);
100
112enum TextDirection CPageZone_GetTextDirection(const CPageZone argCPageZone, idrs_exception *pargException);
113
125void CPageZone_SetTextDirection(CPageZone argCPageZone, enum TextDirection const evTextDirection, idrs_exception *pargException);
126
135IDRS_INT CPageZone_GetZoneOrder(const CPageZone argCPageZone, idrs_exception *pargException);
136
144void CPageZone_SetZoneOrder(CPageZone argCPageZone, IDRS_INT const iZoneOrder, idrs_exception *pargException);
145
156void CPageZone_SetIdentifier(CPageZone argCPageZone, const idrs_string strZoneIdentifier, idrs_exception *pargException);
157
172idrs_string CPageZone_GetIdentifier(const CPageZone argCPageZone, idrs_exception *pargException);
173
181void CPageZone_Destroy(CPageZone argCPageZone, idrs_exception *pargException);
182
191CPageZoneArray ArrayInterface_Create_CPageZoneArray(idrs_exception *pargException);
192
193#ifdef __cplusplus
194}
195#endif /* __cplusplus */
196
197#endif /* CPAGEZONE_INTERFACE_H */
Interface for TObjPtrArray wrapper.
Interface for CPageCustomData wrapper.
CPageZoneArray ArrayInterface_Create_CPageZoneArray(idrs_exception *pargException)
Creates a new CPageZoneArray object.
void CPageZone_SetZoneOrder(CPageZone argCPageZone, IDRS_INT const iZoneOrder, idrs_exception *pargException)
Set the reading order to a zone.
idrs_string CPageZone_GetIdentifier(const CPageZone argCPageZone, idrs_exception *pargException)
Retrieves the identifier of the zone.
void CPageZone_SetPadding(CPageZone argCPageZone, const PaddingInfo *stPaddingInfo, idrs_exception *pargException)
Set the zone's padding information.
CPolygon CPageZone_GetBoundingPolygon(const CPageZone argCPageZone, idrs_exception *pargException)
Get the bounding polygon.
void CPageZone_SetBoundingPolygon(CPageZone argCPageZone, const CPolygon argBoundingPolygon, idrs_exception *pargException)
Set the polygon containing all zone content.
enum TextDirection CPageZone_GetTextDirection(const CPageZone argCPageZone, idrs_exception *pargException)
Get the text direction for the current zone.
IDRS_INT CPageZone_GetZoneOrder(const CPageZone argCPageZone, idrs_exception *pargException)
Get the reading order of the zone.
void CPageZone_SetIdentifier(CPageZone argCPageZone, const idrs_string strZoneIdentifier, idrs_exception *pargException)
Assigns a unique identifier to the zone.
CPageZone CPageZone_Create2(enum ZoneType const evZoneType, CPolygon objBoundingPolygon, idrs_exception *pargException)
Creates an instance of CPageZone object with the data object pointing to the correct type of zone.
enum ZoneType CPageZone_GetZoneType(const CPageZone argCPageZone, idrs_exception *pargException)
Get the zone type.
void CPageZone_SetTextDirection(CPageZone argCPageZone, enum TextDirection const evTextDirection, idrs_exception *pargException)
Set the text direction for the current zone.
void CPageZone_Destroy(CPageZone argCPageZone, idrs_exception *pargException)
Destroys a CPageZone handle.
CPageZone CPageZone_Create(enum ZoneType const evZoneType, idrs_exception *pargException)
Creates an instance of CPageZone object with the data object pointing to the correct type of zone.
PaddingInfo CPageZone_GetPadding(const CPageZone argCPageZone, idrs_exception *pargException)
Get the zone's padding information.
Interface for EnumDefinitions wrapper.
TextDirection
The TextDirection data type defines the text direction of the concerned element it is applied to.
Definition EnumDefinitions_interface.h:461
ZoneType
The ZoneType data type defines the type of a zone.
Definition EnumDefinitions_interface.h:363
Interface for StructDefinitions wrapper.
Class CPageZone represents the base class for all zones available in iDRS SDK.
The CPolygon class handles polygons for iDRS.
Class that handles a string of characters.
Interface for idrs_string wrapper.
int IDRS_INT
A signed integer.
Definition idrsstd_interface.h:25
Structure containing the padding information for a page.
Definition StructDefinitions_interface.h:21