Class: Xberg::PptxExtractionResult

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePptxExtractionResult

Returns a new instance of PptxExtractionResult.

Parameters:



1144
# File 'sig/types.rbs', line 1144

def initialize: (content: String, metadata: PptxMetadata, slide_count: Integer, image_count: Integer, table_count: Integer, images: Array[ExtractedImage], ?page_structure: PageStructure, ?page_contents: Array[PageContent], ?document: DocumentStructure, office_metadata: Hash[String, String], ?revisions: Array[DocumentRevision]) -> void

Instance Attribute Details

#contentString (readonly)

Returns the value of attribute content.

Returns:

  • (String)


1132
1133
1134
# File 'sig/types.rbs', line 1132

def content
  @content
end

#documentDocumentStructure (readonly)

Returns the value of attribute document.

Returns:



1140
1141
1142
# File 'sig/types.rbs', line 1140

def document
  @document
end

#image_countInteger (readonly)

Returns the value of attribute image_count.

Returns:

  • (Integer)


1135
1136
1137
# File 'sig/types.rbs', line 1135

def image_count
  @image_count
end

#imagesArray[ExtractedImage] (readonly)

Returns the value of attribute images.

Returns:



1137
1138
1139
# File 'sig/types.rbs', line 1137

def images
  @images
end

#metadataPptxMetadata (readonly)

Returns the value of attribute metadata.

Returns:



1133
1134
1135
# File 'sig/types.rbs', line 1133

def 
  @metadata
end

#office_metadataHash[String, String] (readonly)

Returns the value of attribute office_metadata.

Returns:

  • (Hash[String, String])


1141
1142
1143
# File 'sig/types.rbs', line 1141

def 
  @office_metadata
end

#page_contentsArray[PageContent] (readonly)

Returns the value of attribute page_contents.

Returns:



1139
1140
1141
# File 'sig/types.rbs', line 1139

def page_contents
  @page_contents
end

#page_structurePageStructure (readonly)

Returns the value of attribute page_structure.

Returns:



1138
1139
1140
# File 'sig/types.rbs', line 1138

def page_structure
  @page_structure
end

#revisionsArray[DocumentRevision] (readonly)

Returns the value of attribute revisions.

Returns:



1142
1143
1144
# File 'sig/types.rbs', line 1142

def revisions
  @revisions
end

#slide_countInteger (readonly)

Returns the value of attribute slide_count.

Returns:

  • (Integer)


1134
1135
1136
# File 'sig/types.rbs', line 1134

def slide_count
  @slide_count
end

#table_countInteger (readonly)

Returns the value of attribute table_count.

Returns:

  • (Integer)


1136
1137
1138
# File 'sig/types.rbs', line 1136

def table_count
  @table_count
end