8 #ifndef CNTEXTSECTION_H
9 #define CNTEXTSECTION_H
Element of CNText.
Definition: CNTextElement.h:23
struct CNTextString beginString
Definition: CNTextSection.h:23
struct CNTextElement superClass
Definition: CNTextSection.h:19
List of CNObject.
Definition: CNObjectList.h:17
static void CNReleaseTextSection(struct CNTextSection *dst)
Release the reference count.
Definition: CNTextSection.h:67
Definition: CNTextSection.h:16
Root object.
Definition: CNObject.h:38
Definition: CNTextLine.h:15
Define CNTextString class.
struct CNTextString endString
Definition: CNTextSection.h:25
Define CNTextElement class.
static void CNRetainTextSection(struct CNTextSection *dst)
Retain the reference count.
Definition: CNTextSection.h:57
void CNAppendChildLineToSection(struct CNTextSection *parent, struct CNTextLine *child)
Append new line as a last element of the parent section.
void CNAppendChildSectionToSection(struct CNTextSection *parent, struct CNTextSection *child)
Append new section as a last element of the parent section.
static void CNReleaseTextElement(struct CNTextElement *dst)
Release the reference count.
Definition: CNTextElement.h:84
static struct CNObject * CNObjectOfTextElement(struct CNTextElement *src)
Get super class of text element.
Definition: CNTextElement.h:64
Definition: CNTextString.h:14
static void CNRetainTextElement(struct CNTextElement *dst)
Retain the reference count.
Definition: CNTextElement.h:74
struct CNObjectList childElements
Definition: CNTextSection.h:27
struct CNTextSection * parent
Definition: CNTextSection.h:21
struct CNTextSection * CNAllocateTextSection(struct CNTextSection *parent, const struct CNTextString *beginstr, const struct CNTextString *endstr, struct CNResource *resource)
Allocate text section.
Define CNObjectList data structure.
static struct CNObject * CNObjectOfTextSection(struct CNTextSection *src)
Get super class of text section.
Definition: CNTextSection.h:47