Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DevExzh/litchi
/ functions
Functions
11,583 in github.com/DevExzh/litchi
⨍
Functions
11,583
◇
Types & classes
1,656
Method
extract_from_container_with_stream
Extract images from a specific Escher container with optional data stream. # Arguments `container` - The Escher container to extract from `delay_stre
src/images/extractor.rs:480
Method
extract_from_doc
Extract all images from a DOC document In DOC files, images are typically stored in the Data stream as raw BLIP records. The table stream contains me
src/images/extractor.rs:661
Method
extract_from_document
Extract all hyperlinks from document XML bytes. # Arguments `doc_xml` - The document XML bytes `rels` - Relationships for resolving rIds to URLs #
src/ooxml/docx/hyperlink.rs:237
Method
extract_from_document
Extract all fields from document XML bytes. # Arguments `doc_xml` - The document XML bytes # Returns A vector of fields
src/ooxml/docx/field.rs:110
Method
extract_from_document
Extract all bookmarks from document XML bytes. # Arguments `doc_xml` - The document XML bytes # Returns A vector of bookmarks
src/ooxml/docx/bookmark.rs:67
Method
extract_from_document
Extract content controls from document XML bytes.
src/ooxml/docx/content_control.rs:102
Method
extract_from_escher_record
Extract image from a single Escher record This method handles both BSE (0xF007) and BLIP type records directly. For BSE records, it extracts the embe
src/images/extractor.rs:269
Method
extract_from_escher_record_with_stream
Extract image from a single Escher record with optional data stream. This method handles both BSE (0xF007) and BLIP type records directly. For BSE re
src/images/extractor.rs:287
Method
extract_from_paragraph
Extract hyperlinks from paragraph XML bytes. # Arguments `para_xml` - The paragraph XML bytes `rels` - Relationships for resolving rIds to URLs # R
src/ooxml/docx/hyperlink.rs:125
Method
extract_from_part
Extract numbering from a numbering.xml part. # Arguments `part` - The numbering part # Returns A Numbering object
src/ooxml/docx/numbering.rs:105
Method
extract_from_part
Extract all comments from a comments.xml part. # Arguments `part` - The comments part # Returns A vector of comments
src/ooxml/docx/comment.rs:156
Method
extract_from_part
Extract settings from a settings.xml part. # Arguments `part` - The settings part # Returns A DocumentSettings object
src/ooxml/docx/settings.rs:120
Method
extract_from_part
Extract theme from a theme part.
src/ooxml/docx/theme.rs:74
Method
extract_from_pictures_stream
Extract images from Pictures stream (PPT specific) In PPT files, images are often stored in a separate "Pictures" stream. This method extracts all BL
src/images/extractor.rs:571
Method
extract_from_ppt
Extract all images from a PPT presentation # Arguments `ole` - Opened OLE file for the PPT presentation # Returns Vector of all extracted images
src/images/extractor.rs:593
Method
extract_from_settings_part
Extract variables from a settings.xml part. Variables are stored in the `<w:docVars>` section of settings.
src/ooxml/docx/variables.rs:82
Function
extract_geometry_rect
(props: &EscherProperties<'data>)
src/ole/ppt/shapes/geometry.rs:95
Method
extract_image
( &self, presentation: &crate::ole::ppt::Presentation, )
src/ole/ppt/shapes/picture.rs:128
Function
extract_images_from_doc
( path: P, )
src/images/mod.rs:295
Function
extract_images_from_escher
Extract images from raw Escher drawing data This is a lower-level function useful when you already have Escher data extracted from a document. # Arg
src/images/mod.rs:319
Function
extract_images_from_ppt
( path: P, )
src/images/mod.rs:260
Method
extract_inline_rich_text_runs
(cell_content: &str)
src/ooxml/xlsx/worksheet.rs:643
Function
extract_inline_string_multiple_runs
()
src/ooxml/xlsx/worksheet.rs:2028
Function
extract_inline_string_single_t
()
src/ooxml/xlsx/worksheet.rs:2021
Method
extract_inline_string_text
Extract concatenated text from an inline string cell (<is> ... </is>).
src/ooxml/xlsx/worksheet.rs:602
Function
extract_local_name
(tag: &[u8])
src/odf/elements/tag_matcher.rs:439
Method
extract_media
Extract a media asset by filename
src/iwa/document.rs:164
Method
extract_mtef_data
(ole: &mut OleFile<R>)
src/ole/doc/document.rs:198
Method
extract_mtef_from_stream
Extract MTEF data from an OLE stream path (internal use only) MTEF data is stored in streams named "Equation Native" within OLE storages. The stream
src/ole/mtef_extractor.rs:44
Method
extract_notes_from_part
Extract notes from a part (generic for footnotes and endnotes).
src/ooxml/docx/footnote.rs:298
Method
extract_notes_text
Extract text from notes XML.
src/ooxml/pptx/slide.rs:453
Method
extract_numbers_metadata
(doc: &crate::iwa::numbers::NumbersDocument)
src/sheet/workbook.rs:554
Method
extract_placeholder_info_from_record
Extract placeholder information from an Escher record. This follows POI's logic for parsing OEPlaceholderAtom records.
src/ole/ppt/shapes/placeholder.rs:239
Function
extract_prefix
(tag: &[u8])
src/odf/elements/tag_matcher.rs:418
Method
extract_quoted_string
Extract a quoted string from text
src/ole/doc/parts/hyperlinks.rs:115
Method
extract_rich_text_runs_from_si
Extract rich text runs (if any) from an <si> element.
src/ooxml/xlsx/shared_strings.rs:141
Function
extract_segment_info
(props: &EscherProperties<'data>)
src/ole/ppt/shapes/geometry.rs:317
Method
extract_shape_id
(container: &EscherContainer<'data>)
src/ole/escher/shape.rs:229
Function
extract_shape_path
(props: &EscherProperties<'data>)
src/ole/ppt/shapes/geometry.rs:149
Function
extract_shape_text
Extract text from all shapes in a Word document. # Arguments `ole` - The OLE file containing the document # Returns A string containing all text e
src/ole/doc/shapes.rs:76
Function
extract_shape_text
Extract text from shapes and text boxes This extracts text content from TSD.ShapeArchive objects, including text boxes, callouts, and grouped shapes.
src/iwa/structured.rs:375
Method
extract_shape_type
Extract auto shape type from raw shape data. In Escher records, the shape type is typically stored in the Sp (shape) record. The instance field of th
src/ole/ppt/shapes/autoshape.rs:158
Method
extract_shape_xml
Helper to extract complete shape XML.
src/ooxml/pptx/parts/slide.rs:153
Function
extract_shapes
Extract all shapes from a Word document's Data stream. # Arguments `ole` - The OLE file containing the document # Returns A vector of shapes found
src/ole/doc/shapes.rs:51
Method
extract_shapes
Extract all shape properties from parsed data.
src/ole/ppt/shapes/escher.rs:960
Method
extract_shapes_from_container
Recursively extract shapes from a container. # Implementation Notes Follows Apache POI's logic: - SpContainer: Single shape, add to results - SpgrCo
src/ole/escher/shape_factory.rs:45
Method
extract_shapes_from_drawing
Extract all shapes from an Escher/Drawing data. # Performance - Depth-first traversal - Pre-allocated results vector - Short-circuits on errors
src/ole/escher/shape_factory.rs:25
Method
extract_shapes_from_spgr_container
Extract shapes from SpgrContainer with proper skip-first logic. Based on Apache POI's HSLFGroupShape.getShapes(): - The first SpContainer in SpgrCont
src/ole/escher/shape_factory.rs:74
Method
extract_slide_data
Extract slide data from this record.
src/ole/ppt/records/record.rs:179
Method
extract_slide_info
Extract slide information from this record.
src/ole/ppt/records/record.rs:246
Method
extract_slide_list_with_texts
Extract SlideListWithText records from Document record.
src/ole/ppt/records/record.rs:324
Method
extract_structured_data
Extract structured data from the document This returns tables, slides, sections, and other structured content depending on the document type (Numbers
src/iwa/document.rs:176
Method
extract_table_name
Extract table name from table:table element
src/odf/ods/parser.rs:116
Method
extract_text
Extract all text from this SlideAtomsSet. Based on POI's text extraction logic for slide atom sets.
src/ole/ppt/records/slide_atoms_set.rs:23
Method
extract_text
Extract text content from this record and its children.
src/ole/ppt/records/record.rs:288
Method
extract_text
Extract all text content from decoded messages
src/iwa/archive.rs:278
Method
extract_text
Extract text content from the message if available
src/iwa/protobuf.rs:180
Method
extract_text
(&self)
src/iwa/protobuf.rs:194
Method
extract_text
Extract all text content from XML with improved handling of nested elements. This method handles various text elements including: - Paragraphs (text:
src/odf/elements/text.rs:655
Method
extract_text_content
Extract text content from current element
src/odf/core/metadata.rs:148
Method
extract_text_formatting
Extract text formatting information from Escher records. This follows POI's text formatting parsing logic.
src/ole/ppt/shapes/textbox.rs:95
Function
extract_text_from_bundle
Quick text extraction function for convenience
src/iwa/text/extractor.rs:89
Method
extract_text_from_piece_descriptors
Extract text from piece descriptors. Based on Apache POI's TextPieceTable logic, each piece descriptor maps a range of character positions (CP) to a
src/ole/doc/parts/text.rs:316
Method
extract_text_from_pieces
Extract text using the piece table (CLX structure). The piece table maps character positions in the document to file positions in the WordDocument st
src/ole/doc/parts/text.rs:95
Method
extract_text_from_records
Extract text from child records. Looks for TextCharsAtom or TextBytesAtom records.
src/ole/ppt/escher_textbox.rs:81
Method
extract_text_from_si
Extract text content from <si> element - optimized version.
src/ooxml/xlsx/shared_strings.rs:103
Method
extract_text_from_slide_data
Extract text content from slide data.
src/ole/ppt/parsers/parser.rs:190
Function
extract_text_from_storages
Extract text from multiple storage archives
src/iwa/text/storage.rs:128
Method
extract_text_margins_from_escher
Extract text margins from Escher properties. Text margins define the inset of text within the shape bounds. These are stored as Text* properties in t
src/ole/ppt/shapes/textbox.rs:479
Method
extract_text_properties_from_escher
Extract text properties from Escher properties. This function extracts text formatting properties following Apache POI's approach. It looks for GeoTe
src/ole/ppt/shapes/textbox.rs:438
Method
extract_text_simple
Extract text in a simple way (for Word 6.0 or simplified docs). In older or simplified DOC files, text may start at a fixed offset without a piece ta
src/ole/doc/parts/text.rs:397
Method
extract_to_file
Extract a media asset to a file
src/iwa/media.rs:225
Method
extract_url
Extract URL from HYPERLINK field instruction. HYPERLINK fields have format: HYPERLINK "url" \o "tooltip" # Returns URL if this is a hyperlink field
src/rtf/field.rs:107
Function
extract_vertices
(props: &EscherProperties<'data>)
src/ole/ppt/shapes/geometry.rs:276
Method
f64_to_rk
Convert f64 to RK format
src/ooxml/xlsb/writer/record.rs:179
Method
family
Get the style family
src/odf/elements/style.rs:380
Method
fat
Get the FAT table
src/ole/writer/fat.rs:185
Method
fence_from_selector
Part of public template mapping API
src/formula/mtef/templates.rs:1028
Method
fib
(&self)
src/ole/doc/document.rs:511
Method
field_count
Get the number of fields in the document. # Examples ```rust,no_run use litchi::ooxml::docx::Package; let pkg = Package::open("document.docx")?; le
src/ooxml/docx/document.rs:1013
Method
field_type
Get the field type
src/odf/elements/field.rs:55
Method
field_type
Get the field type from the instruction. Returns the first word of the instruction, which is typically the field type. # Examples ``` use litchi::o
src/ooxml/docx/field.rs:94
Method
fields
Get all fields in the document. Fields are dynamic content elements like page numbers, dates, and references. # Examples ```no_run use litchi::odf:
src/odf/odt/document.rs:553
Method
fields
Get all fields in the document. Returns all fields (hyperlinks, cross-references, etc.) from the RTF document. # Examples ```rust,no_run use litchi
src/rtf/document.rs:457
Method
fields_by_axis
(&self, axis: PivotAxis)
src/ooxml/pivot.rs:64
Method
fields_table
(&self)
src/ole/doc/document.rs:520
Method
file
Create file hyperlink
src/ole/ppt/writer/hyperlink.rs:278
Method
file_size
(&self)
src/ole/file.rs:238
Method
fill_count
(&self)
src/ooxml/xlsx/styles/mod.rs:139
Method
filter_records
Find all records matching a specific type (filtered).
src/ole/ppt/parsers/parser.rs:156
Method
find_all_shapes
Find all SpContainer (Shape Container) records recursively. # Performance - Depth-first traversal - Short-circuits on errors - Pre-allocated result
src/ole/escher/parser.rs:57
Method
find_all_textboxes
Find all ClientTextbox records (contains text). # Performance - Functional filter chain - Only traverses text-bearing containers
src/ole/escher/parser.rs:74
Function
find_attribute_fast
Alternative attribute lookup, reserved for optimization
src/formula/omml/utils.rs:98
Method
find_by_uid
Check if a picture with the given UID already exists
src/ole/ppt/writer/blip.rs:320
Method
find_by_uid
Find BSE entry by UID
src/images/bse.rs:266
Method
find_child_records
Find child PPT records in the Escher textbox data. Based on POI's Record.findChildRecords().
src/ole/ppt/escher_textbox.rs:52
Method
find_children
Find all children of a specific type. # Performance - Functional filter chain - Pre-allocated Vec with estimated capacity
src/ole/escher/container.rs:128
Method
find_children
Find all child records of a specific type.
src/ole/ppt/records/record.rs:171
Method
find_children
Find all child records of a specific type.
src/ole/ppt/shapes/escher.rs:513
Method
find_elements_with_attrs
Find all elements matching a tag name and extract their attributes. Returns a vector of HashMaps, where each HashMap contains the attributes of one m
src/ooxml/opc/part.rs:275
← previous
next →
4,801–4,900 of 11,583, ranked by callers