MCPcopy Create free account

hub / github.com/DevExzh/litchi / functions

Functions11,583 in github.com/DevExzh/litchi

Methodfrom_escher
Create a DocShape from an EscherShape.
src/ole/doc/shapes.rs:27
Methodfrom_escher_record
Create a text box from an Escher record with zero-copy parsing.
src/ole/ppt/shapes/textbox.rs:47
Methodfrom_escher_record
Create a placeholder from an Escher record with zero-copy parsing.
src/ole/ppt/shapes/placeholder.rs:168
Methodfrom_extension
Detect media type from file extension
src/iwa/media.rs:31
Methodfrom_extension
Detect format from file extension.
src/ooxml/pptx/media.rs:65
Methodfrom_fields
Parse hyperlinks from the fields table and document text # Arguments `fields_table` - The parsed fields table `text_extractor` - Function to extract
src/ole/doc/parts/hyperlinks.rs:160
Methodfrom_file
Parses an archive from a file by reading the End of Central Directory. A buffer is required to read parts of the file. [`RECOMMENDED_BUFFER_SIZE`] ca
soapberry-zip/src/archive.rs:385
Methodfrom_graphic_frame_xml
Extract table XML from graphic frame XML. GraphicFrames contain the table within their structure, so we need to extract just the table portion.
src/ooxml/pptx/shapes/table.rs:40
Methodfrom_hex
Create from hex value (0xRRGGBB)
src/ole/ppt/writer/text_format.rs:233
Methodfrom_hex
Create from hex value (0xRRGGBB)
src/ole/ppt/writer/shape_style.rs:303
Methodfrom_hex
Create an RGB color from a hex string. Supports both #RRGGBB and #RGB formats. # Arguments `hex` - Hex color string (e.g., "FF0000", "#FF0000", or
src/common/style/color.rs:73
Methodfrom_i32
Parse alignment from integer value
src/iwa/text/style.rs:88
Methodfrom_id
Parse a built-in sound from ID.
src/ole/ppt/animation/sound.rs:111
Methodfrom_inches
(inches: f64)
src/ooxml/docx/section.rs:20
Methodfrom_inches
(inches: f64)
src/common/style/len.rs:59
Methodfrom_inches
(inches: f64)
pyo3-litchi/src/common.rs:206
Methodfrom_internal
Create from internal hyperlink
src/ole/doc/hyperlink.rs:20
Methodfrom_jpeg_data
Create from JPEG data
src/images/svg.rs:503
Methodfrom_layout_uri
Parse diagram type from layout type URI.
src/ooxml/pptx/smartart.rs:36
Methodfrom_name
Parse a built-in sound from name (case-insensitive).
src/ole/ppt/animation/sound.rs:84
Methodfrom_name
Create from CSS3 named color. # Arguments `name` - CSS3 color name (case-insensitive) # Examples ```rust use litchi::common::RGBColor; let red =
src/common/style/color.rs:122
Methodfrom_ntfs
Creates a ZipDateTime from an NTFS timestamp (100ns ticks since 1601)
soapberry-zip/src/time.rs:422
Methodfrom_ole
Create a new Presentation from an OLE file.
src/ole/ppt/presentation.rs:53
Methodfrom_ole
Create a new Document from an OLE file. This is typically called internally by `Package::document()`.
src/ole/doc/document.rs:109
Methodfrom_ole_file
Create an XLS workbook from an already-parsed OLE file. This is used for single-pass parsing where the OLE file has already been parsed during format
src/ole/xls/workbook.rs:55
Methodfrom_ole_file
Create a Package from an already-parsed OLE file. This is used for single-pass parsing where the OLE file has already been parsed during format detec
src/ole/ppt/package.rs:149
Methodfrom_ole_file
Create a Package from an already-parsed OLE file. This is used for single-pass parsing where the OLE file has already been parsed during format detec
src/ole/doc/package.rs:149
Methodfrom_opc_error
(err: crate::ooxml::opc::error::OpcError)
src/common/error/conversions.rs:87
Methodfrom_opc_package
Create a Package from an already-parsed OPC package. This is used for single-pass parsing where the OPC package has already been parsed during format
src/ooxml/pptx/package.rs:427
Methodfrom_opc_package
Create a Package from an already-parsed OPC package. This is used for single-pass parsing where the OPC package has already been parsed during format
src/ooxml/docx/package.rs:445
Methodfrom_opc_package
Create an XLSB workbook from an already-parsed OPC package. This is used for single-pass parsing where the OPC package has already been parsed during
src/ooxml/xlsb/workbook.rs:56
Methodfrom_opt_record
(opt: &EscherRecord<'data>)
src/ole/escher/properties.rs:662
Methodfrom_owned
Create a new WMF parser from owned data (zero-copy) This is more efficient than [`Self::new`] as it takes ownership of the data without copying. # E
src/images/wmf/parser.rs:265
Methodfrom_package
Build ContentTypesItem from an OPC package.
src/ooxml/opc/pkgwriter.rs:156
Methodfrom_part
Create a SlidePart from an OPC Part.
src/ooxml/pptx/parts/slide.rs:20
Methodfrom_part
Create a CommentsPart from an OPC Part.
src/ooxml/pptx/parts/comment.rs:180
Methodfrom_part
Create a ChartPart from an OPC Part.
src/ooxml/pptx/parts/chart.rs:61
Methodfrom_part
Create a ThemePart from an OPC Part.
src/ooxml/pptx/parts/theme.rs:52
Methodfrom_part
Create a PresentationPart from an OPC Part. # Arguments `part` - The underlying OPC part # Example ```rust,ignore let pres_part = PresentationPart
src/ooxml/pptx/parts/presentation.rs:37
Methodfrom_part
(part: &'a dyn Part)
src/ooxml/docx/styles.rs:52
Methodfrom_part
Extract custom XML part from a part.
src/ooxml/docx/custom_xml.rs:72
Methodfrom_part
Create a new HeaderFooter from a Part. # Arguments `part` - The part containing the header/footer XML content `hdr_ftr_type` - The type of header/fo
src/ooxml/docx/header_footer.rs:55
Methodfrom_part
Create a DocumentPart from a Part. # Arguments `part` - The part containing the document.xml content
src/ooxml/docx/parts/document_part.rs:27
Methodfrom_parts
(offset: u64, record: Zip64EndOfCentralDirectoryRecord)
soapberry-zip/src/archive.rs:1101
Methodfrom_parts
(offset: u64, eocd: EndOfCentralDirectoryRecordFixed)
soapberry-zip/src/locator.rs:625
Methodfrom_path_with_config
Open a text workbook from a file path with custom configuration
src/sheet/text/workbook.rs:142
Methodfrom_phys_reader
Open and parse an OPC package from a byte slice. Uses lazy decompression for maximum throughput: 1. Decompress files on-demand during relationship gr
src/ooxml/opc/pkgreader.rs:249
Methodfrom_png_data
Create from PNG data
src/images/svg.rs:487
Methodfrom_points
(points: f64)
pyo3-litchi/src/common.rs:195
Methodfrom_poly16
Create from 16-bit polygon record
src/images/emf/records/drawing.rs:287
Methodfrom_poly32
Create from 32-bit polygon record
src/images/emf/records/drawing.rs:274
Methodfrom_presentation
Create a mutable presentation from an existing Presentation. This parses the presentation structure into mutable elements. # Arguments `presentatio
src/odf/odp/mutable.rs:66
Methodfrom_preset
Parse from preset class string (for backwards compatibility).
src/ooxml/pptx/animations.rs:52
Methodfrom_preset
(prst: &str)
src/ooxml/docx/drawing.rs:102
Methodfrom_preset_id
Parse from preset ID.
src/ooxml/pptx/animations.rs:38
Methodfrom_properties
Create from shape properties
src/ole/ppt/shapes/picture.rs:72
Methodfrom_pt
(pt: f64)
src/ooxml/docx/section.rs:32
Methodfrom_reader
Create a Package from any reader that implements Read + Seek. # Arguments `reader` - A reader containing the .ppt file data # Examples ```rust,no_
src/ole/ppt/package.rs:116
Methodfrom_reader
Create a Package from any reader that implements Read + Seek. # Arguments `reader` - A reader containing the .doc file data # Examples ```rust,no_
src/ole/doc/package.rs:116
Methodfrom_reader
Open an ODF package from a reader
src/odf/core/package.rs:30
Methodfrom_reader
Create a .pptx package from a reader. # Arguments `reader` - A reader containing the .pptx file data (must implement Read + Seek) # Examples ```ru
src/ooxml/pptx/package.rs:470
Methodfrom_reader
Create a .docx package from a reader. # Arguments `reader` - A reader containing the .docx file data (must implement Read + Seek) # Examples ```ru
src/ooxml/docx/package.rs:488
Methodfrom_reader
Load styles from styles.bin file content
src/ooxml/xlsb/styles_table.rs:99
Methodfrom_reader
Create a new OwnedPhysPkgReader from a reader. # Arguments `reader` - A reader that implements Read # Returns A new OwnedPhysPkgReader instance
src/ooxml/opc/phys_pkg.rs:69
Methodfrom_reader
Load an OPC package from a reader. # Arguments `reader` - A reader that implements Read
src/ooxml/opc/package.rs:107
Methodfrom_reader
Create a text workbook from any reader with configuration
src/sheet/text/workbook.rs:149
Methodfrom_reader_with_password
( mut reader: R, password: &str, )
src/ooxml/docx/package.rs:517
Methodfrom_record
Create cell from BIFF record
src/ole/xls/cell.rs:38
Methodfrom_record
Create cell from XLSB record
src/ooxml/xlsb/cell.rs:44
Methodfrom_record_id
Parse BlipType from record type ID
src/images/blip.rs:43
Methodfrom_ref
(formula: impl Into<String>)
src/ooxml/charts/models.rs:47
Methodfrom_rel_ref
Create a PackURI from a relative reference and a base URI. This translates a relative reference (like "../styles.xml") onto a base URI (like "/word")
src/ooxml/opc/packuri.rs:41
Methodfrom_rgb
(r: u8, g: u8, b: u8)
src/images/emf/records/types.rs:461
Methodfrom_seekable
Parses an archive from a seekable reader. Prefer [`ZipArchive::from_file`] and [`ZipArchive::from_slice`] when possible, as they are more efficient d
soapberry-zip/src/archive.rs:409
Methodfrom_shared_string
Helper to check a CellValue for a shared string reference.
src/ooxml/xlsx/worksheet.rs:1876
Methodfrom_slice
Parses an archive from in-memory data.
soapberry-zip/src/archive.rs:377
Methodfrom_slice
(slice: XmlSlice)
src/ooxml/docx/paragraph.rs:86
Methodfrom_slide_data
Create a slide from parsed slide data.
src/ole/ppt/slide/types.rs:34
Methodfrom_spreadsheet
Create a mutable spreadsheet from an existing Spreadsheet. # Examples ```no_run use litchi::odf::{Spreadsheet, MutableSpreadsheet}; # fn main() ->
src/odf/ods/mutable.rs:154
Methodfrom_sprm
Parse paragraph properties from SPRM (Single Property Modifier) data. SPRMs are variable-length records that modify properties. Based on Apache POI'
src/ole/doc/parts/pap.rs:286
Methodfrom_sprm
Parse table properties from SPRM (Single Property Modifier) data. # Arguments `grpprl` - Group of SPRMs (property modifications)
src/ole/doc/parts/tap.rs:219
Methodfrom_sprm
Parse character properties from SPRM (Single Property Modifier) data. SPRMs are variable-length records that modify properties. Format: 2-byte opcode
src/ole/doc/parts/chp.rs:152
Methodfrom_str
Can't implement FromStr due to lifetime issues
soapberry-zip/src/path.rs:174
Methodfrom_str
(s: &str)
src/iwa/registry.rs:24
Methodfrom_str
Parse cell coordinate from A1 notation # Examples ``` use litchi::odf::coordinates::CellCoord; let coord: CellCoord = "A1".parse().unwrap(); assert
src/odf/coordinates.rs:180
Methodfrom_str
(s: &str)
src/odf/elements/style.rs:36
Methodfrom_str
(s: &str)
src/ooxml/pptx/handout.rs:64
Methodfrom_str
(s: &str)
src/common/unit.rs:148
Methodfrom_str
Parse color from string (hex or named). # Examples ```rust use litchi::common::RGBColor; let color: RGBColor = "#ff0000".parse().unwrap(); let colo
src/common/style/color.rs:246
Methodfrom_str_internal
Parse unit from string
src/common/unit.rs:128
Methodfrom_string
Parse qualified name from string
src/odf/elements/namespace.rs:354
Methodfrom_string
(text: impl Into<String>)
src/ooxml/charts/models.rs:266
Methodfrom_string_with_context
(name: &str, context: Option<&NamespaceContext>)
src/odf/elements/namespace.rs:449
Methodfrom_text
Create text storage from a string
src/iwa/text/storage.rs:30
Methodfrom_twips
(twips: i64)
src/ooxml/docx/section.rs:38
Methodfrom_u16
(val: u16)
src/ole/xls/pivot_table.rs:57
Methodfrom_u16
Create from u16 value
src/images/pict/parser.rs:169
Methodfrom_u32
Create from u32 value
src/images/emf/parser.rs:38
Methodfrom_u32
(value: u32)
src/images/emf/gdi_objects.rs:24
Methodfrom_u32
(value: u32)
src/images/emf/device_context.rs:60
← previousnext →5,101–5,200 of 11,583, ranked by callers