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>
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>
ElementRef< Table > AsTable() const
ElementRef< TableRow > AsTableRow() const
TextStyledElement GetTextStyledElement()
ElementRef< ContentNode > AsContentNode() const
ElementRef< ListItem > AsListItem() const
ElementRef< TableCell > AsTableCell() const
TRN_ContentElement m_impl
ElementRef< List > AsList() const
ElementRef< Paragraph > AsParagraph() const
ElementRef< TextRun > AsTextRun() const
ContentElement(TRN_ContentElement impl)
ContentNodeIterator GetContentNodeIterator()
ContentNode(TRN_ContentNode impl)
void SetNumberFormat(const NumberFormat format, const UString &suffix, bool cascade)
TextStyledElement GetLabelStyle()
int GetIndentationLevel()
@ e_chinese_counting_thousand
void SetNumberFormat(const NumberFormat format)
void SetStartIndex(int idx)
int GetIndentationLevel()
Paragraph AddParagraph(const UString &text)
void SetJustificationMode(TextJustification val)
double GetBorderThickness()
void SetSpaceAfter(double val)
@ e_text_justification_invalid
void SetBorder(double thickness, UInt8 red, UInt8 green, UInt8 blue)
void SetSpaceBefore(double val)
void SetEndIndent(double val)
TextJustification GetJustificationMode()
void AddTabStop(double val)
void SetStartIndent(double val)
void SetDisplayRtl(bool val)
void SetTextIndent(double val)
void SetSpacesPerTab(UInt32 val)
double GetDefaultTabStop()
void SetDefaultTabStop(double val)
TextRun AddText(const UString &text)
double GetNextTabStop(double val)
void SetBorder(double thickness, UInt8 red, UInt8 green, UInt8 blue)
CellAlignmentVertical GetVerticalAlignment()
TableCell MergeCellsDown(UInt32 num)
CellAlignmentHorizontal GetHorizontalAlignment()
Paragraph AddParagraph(const UString &text)
void SetVerticalAlignment(CellAlignmentVertical val)
void SetBackgroundColor(UInt8 red, UInt8 green, UInt8 blue)
void SetWidth(double val)
void SetHorizontalAlignment(CellAlignmentHorizontal val)
void SetHeight(double val)
TableCell MergeCellsRight(UInt32 num)
double GetBorderThickness()
double GetBorderThickness()
double GetDefaultRowHeight()
TableCell GetTableCell(UInt32 column, UInt32 row)
void SetDefaultColumnWidth(double val)
void SetDefaultRowHeight(double val)
void SetBorder(double thickness, UInt8 red, UInt8 green, UInt8 blue)
void SetRowHeight(double val)
void SetText(const UString &text)
void SetTextColor(UInt8 red, UInt8 green, UInt8 blue)
void SetFontFace(const UString &font_name)
TRN_TextStyledElement m_impl
void SetFontSize(double font_size)
void SetBackgroundColor(UInt8 red, UInt8 green, UInt8 blue)
Common::Iterator< ContentElement > ContentNodeIterator