1 #ifndef PDFTRON_H_CPPContentTree
2 #define PDFTRON_H_CPPContentTree
4 #include <C/Layout/TRN_ContentElement.h>
5 #include <C/Layout/TRN_ContentNode.h>
6 #include <C/Layout/TRN_Paragraph.h>
7 #include <C/Layout/TRN_Table.h>
8 #include <C/Layout/TRN_TableRow.h>
9 #include <C/Layout/TRN_TableCell.h>
10 #include <C/Layout/TRN_TextRun.h>
11 #include <C/Layout/TRN_TextStyledElement.h>
12 #include <C/Layout/TRN_List.h>
13 #include <C/Layout/TRN_ListItem.h>
18 namespace pdftron {
namespace Layout {
46 template <
typename TImpl>
794 Table(TRN_Table impl);
882 void UpdateLastItemRef(TRN_ContentElement last_item);
982 void UpdateLastItemRef(TRN_ContentElement last_item);
1035 #include <Impl/ContentElement.inl>
1036 #include <Impl/ContentNode.inl>
1037 #include <Impl/ElementRef.inl>
1038 #include <Impl/Paragraph.inl>
1039 #include <Impl/TextRun.inl>
1040 #include <Impl/TextStyledElement.inl>
1041 #include <Impl/TableCell.inl>
1042 #include <Impl/TableRow.inl>
1043 #include <Impl/Table.inl>
1044 #include <Impl/ListItem.inl>
1045 #include <Impl/List.inl>
1050 #endif // PDFTRON_H_CPPContentTree
void SetFontFace(const UString &font_name)
void SetDisplayRtl(bool val)
CellAlignmentVertical GetVerticalAlignment()
double GetDefaultRowHeight()
void SetHorizontalAlignment(CellAlignmentHorizontal val)
void SetEndIndent(double val)
void SetDefaultColumnWidth(double val)
void SetWidth(double val)
TextStyledElement GetTextStyledElement()
ContentNodeIterator GetContentNodeIterator()
void SetJustificationMode(TextJustification val)
void SetDefaultRowHeight(double val)
Common::Iterator< ContentElement > ContentNodeIterator
void SetVerticalAlignment(CellAlignmentVertical val)
void SetHeight(double val)
ElementRef< TableRow > AsTableRow() const
void SetText(const UString &text)
ElementRef< ListItem > AsListItem() const
void SetBackgroundColor(UInt8 red, UInt8 green, UInt8 blue)
void SetNumberFormat(const NumberFormat format)
ElementRef< TextRun > AsTextRun() const
TableCell MergeCellsRight(UInt32 num)
int GetIndentationLevel()
TableCell GetTableCell(UInt32 column, UInt32 row)
double GetBorderThickness()
double GetDefaultTabStop()
void SetStartIndent(double val)
TextStyledElement GetLabelStyle()
ElementRef< Paragraph > AsParagraph() const
TableCell MergeCellsDown(UInt32 num)
void SetTextColor(UInt8 red, UInt8 green, UInt8 blue)
ContentNode(TRN_ContentNode impl)
TextRun AddText(const UString &text)
TRN_ContentElement m_impl
double GetBorderThickness()
void SetBackgroundColor(UInt8 red, UInt8 green, UInt8 blue)
void SetSpacesPerTab(UInt32 val)
void SetSpaceBefore(double val)
int GetIndentationLevel()
ElementRef< ContentNode > AsContentNode() const
void SetBorder(double thickness, UInt8 red, UInt8 green, UInt8 blue)
TRN_TextStyledElement m_impl
TextJustification GetJustificationMode()
double GetBorderThickness()
ElementRef< List > AsList() const
void AddTabStop(double val)
void SetFontSize(double font_size)
void SetBorder(double thickness, UInt8 red, UInt8 green, UInt8 blue)
void SetStartIndex(int idx)
ElementRef< Table > AsTable() const
void SetTextIndent(double val)
CellAlignmentHorizontal GetHorizontalAlignment()
ContentElement(TRN_ContentElement impl)
void SetSpaceAfter(double val)
void SetBorder(double thickness, UInt8 red, UInt8 green, UInt8 blue)
ElementRef< TableCell > AsTableCell() const
double GetNextTabStop(double val)
void SetDefaultTabStop(double val)
void SetRowHeight(double val)