Skia
2D Graphics Library
SkPDF::StructureElementNode Struct Reference

A node in a PDF structure tree, giving a semantic representation of the content. More...

#include <SkPDFDocument.h>

Public Attributes

SkString fTypeString
 
std::vector< std::unique_ptr< StructureElementNode > > fChildVector
 
int fNodeId = 0
 
std::vector< int > fAdditionalNodeIds
 
AttributeList fAttributes
 
SkString fAlt
 
SkString fLang
 

Detailed Description

A node in a PDF structure tree, giving a semantic representation of the content.

Each node ID is associated with content by passing the SkCanvas and node ID to SkPDF::SetNodeId() when drawing. NodeIDs should be unique within each tree.

Member Data Documentation

◆ fAdditionalNodeIds

std::vector<int> SkPDF::StructureElementNode::fAdditionalNodeIds

◆ fAlt

SkString SkPDF::StructureElementNode::fAlt

◆ fAttributes

AttributeList SkPDF::StructureElementNode::fAttributes

◆ fChildVector

std::vector<std::unique_ptr<StructureElementNode> > SkPDF::StructureElementNode::fChildVector

◆ fLang

SkString SkPDF::StructureElementNode::fLang

◆ fNodeId

int SkPDF::StructureElementNode::fNodeId = 0

◆ fTypeString

SkString SkPDF::StructureElementNode::fTypeString

The documentation for this struct was generated from the following file: