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
↓ 4 callers
Function
eval_variance
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], sample: bool, )
src/sheet/eval/engine/statistical/simple.rs:467
↓ 4 callers
Function
eval_variance_a
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], sample: bool, )
src/sheet/eval/engine/statistical/simple.rs:428
↓ 4 callers
Function
eval_webservice
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/web/functions.rs:29
↓ 4 callers
Function
eval_workday
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/date_time/workdays.rs:10
↓ 4 callers
Function
eval_yearfrac
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/date_time/differences.rs:347
↓ 4 callers
Function
excel_serial_to_unix
(serial: f64, is_1904: bool)
src/ooxml/xlsb/date_utils.rs:54
↓ 4 callers
Method
extension
Get the file extension for this BLIP type
src/images/blip.rs:67
↓ 4 callers
Function
extract_char_flags
Extract formatting from character flags. Character flags (mask 0x0001) contains packed boolean properties: - Bit 0: Bold - Bit 1: Italic - Bit 2: Und
src/ole/ppt/text_prop.rs:251
↓ 4 callers
Function
extract_metadata
Extract metadata from an OOXML package. This function looks for the core properties part in the OOXML package and extracts standard document metadata
src/ooxml/metadata.rs:29
↓ 4 callers
Method
extract_metadata
Extract basic metadata
src/odf/core/xml.rs:167
↓ 4 callers
Function
extract_text
Extract text from any supported Office document format. # Arguments `path` - Path to the document file # Examples ```rust,no_run use litchi::ooxml:
src/ooxml/api.rs:425
↓ 4 callers
Function
extract_text_from_escher
Extract all text from an Escher record hierarchy. # Performance - Depth-first traversal - Short-circuits on first text found per container - Pre-all
src/ole/escher/text.rs:21
↓ 4 callers
Function
find_end_of_central_dir
( reader: T, buffer: &mut [u8], max_search_space: u64, end_offset: u64, )
soapberry-zip/src/locator.rs:742
↓ 4 callers
Function
find_end_of_central_dir_signature
( data: &[u8], max_search_space: usize, )
soapberry-zip/src/locator.rs:730
↓ 4 callers
Method
find_entry
Find a directory entry by path
src/ole/file.rs:771
↓ 4 callers
Method
find_property_element
Find a property element by tag name, returning a reference
src/odf/elements/style.rs:271
↓ 4 callers
Method
flush
Flush all pending buffered elements
src/images/emf/svg/buffer.rs:211
↓ 4 callers
Method
generate
Generate the OLE2 header block
src/ole/writer/header.rs:78
↓ 4 callers
Function
generate_bin_table_from_pages
Generate a bin table from multi-page FKP results. Takes the FC ranges from [`FkpPages`] and associates each with a page number. # Arguments `ranges
src/ole/doc/writer/bin_table.rs:49
↓ 4 callers
Method
generate_workbook_xml_with_rels
Generate workbook.xml content with actual relationship IDs. # Arguments `worksheet_rel_ids` - Vector of relationship IDs for worksheets (e.g., ["rId1
src/ooxml/xlsx/writer/workbook.rs:635
↓ 4 callers
Function
get_charset_attributes
Get character set attributes for a given typeface index
src/formula/mtef/binary/charset.rs:634
↓ 4 callers
Method
get_children_mut
Get mutable child shapes if this is a group shape.
src/ooxml/pptx/writer/shape.rs:406
↓ 4 callers
Method
get_file
Get a file from the package by path
src/odf/core/package.rs:74
↓ 4 callers
Method
get_image_data
Get image data if this shape is a picture.
src/ooxml/pptx/writer/shape.rs:389
↓ 4 callers
Method
get_line_style
(&mut self, key: &str)
src/formula/omml/attributes.rs:662
↓ 4 callers
Method
grid_span
Get the grid span (colspan) of this cell. Returns the number of columns this cell spans. Default is 1 (no merge). Note**: Currently only implemented
src/document/table.rs:239
↓ 4 callers
Method
has_data
Check if the metadata contains any actual data. Returns true if at least one field is populated.
src/common/metadata.rs:84
↓ 4 callers
Function
hex_encode_avx2
(bytes: &[u8], output: &mut String, lowercase: bool)
src/common/simd/fmt.rs:307
↓ 4 callers
Method
id
Get the sound ID for this built-in sound.
src/ole/ppt/animation/sound.rs:32
↓ 4 callers
Method
index_string
(&mut self, s: &str)
src/ooxml/xlsx/writer/workbook.rs:973
↓ 4 callers
Function
is_1d
(range: &FlatRange)
src/sheet/eval/engine/lookup/helpers.rs:39
↓ 4 callers
Method
is_empty
Check if empty
src/ole/ppt/writer/notes.rs:731
↓ 4 callers
Method
is_zip64
(&self)
soapberry-zip/src/locator.rs:526
↓ 4 callers
Method
kind
The kind of error that occurred
soapberry-zip/src/errors.rs:36
↓ 4 callers
Method
len
Get number of hyperlinks
src/ole/ppt/writer/hyperlink.rs:398
↓ 4 callers
Method
len
(&self)
src/common/xml_slice.rs:49
↓ 4 callers
Method
media_type
Get the media type (audio or video) for this format.
src/ooxml/pptx/media.rs:165
↓ 4 callers
Method
metadata
Get metadata from the workbook. Returns the cached metadata that was extracted during workbook initialization. # Examples ```rust,no_run use litchi
src/sheet/workbook.rs:545
↓ 4 callers
Method
name
Get the table name
src/odf/elements/table.rs:39
↓ 4 callers
Method
next_r_id
Get the next available relationship ID. Generates IDs in the format "rId1", "rId2", etc., filling in gaps if any exist. Uses efficient integer parsin
src/ooxml/opc/rel.rs:212
↓ 4 callers
Method
optimize
Optimize path (remove redundant commands, simplify)
src/images/emf/svg/path.rs:229
↓ 4 callers
Function
pad_zero_to_block_multiple
(input: &[u8], block_size: usize)
src/ooxml/crypto/agile.rs:211
↓ 4 callers
Method
paragraphs
Get all paragraphs in the document. Returns a vector of `Paragraph` objects representing paragraphs from all subdocuments (main, headers, footers, fo
src/ole/doc/document.rs:870
↓ 4 callers
Method
parse
Parse EMF header from data
src/images/emf/parser.rs:146
↓ 4 callers
Function
parse_axis_position
(e: &BytesStart)
src/ooxml/charts/reader.rs:826
↓ 4 callers
Function
parse_cell_reference
Parse Excel cell reference to row and column indices Returns 0-based row and column indices
src/ooxml/xlsb/utils.rs:48
↓ 4 callers
Function
parse_color
Parse a color attribute (hex format like "#FF0000") Returns RGB components as (r, g, b) where each is 0-255. # Arguments `value` - The attribute va
src/odf/elements/attr_parser.rs:394
↓ 4 callers
Function
parse_cstring
Parse CString record (null-terminated string).
src/ole/ppt/text/extractor.rs:123
↓ 4 callers
Function
parse_drawing_objects
Parse drawing objects from paragraph XML. Extracts all `<w:drawing>` elements containing shapes, text boxes, and other DrawingML objects from the par
src/ooxml/docx/drawing.rs:373
↓ 4 callers
Function
parse_general_properties
Parse general element properties from attributes
src/formula/omml/properties.rs:716
↓ 4 callers
Method
parse_group
Parse a group (content between braces).
src/rtf/parser.rs:222
↓ 4 callers
Function
parse_grouping
(e: &BytesStart)
src/ooxml/charts/reader.rs:812
↓ 4 callers
Function
parse_inline_images
Parse inline images from paragraph XML. Extracts all `<w:drawing>` elements containing `<wp:inline>` images from the paragraph XML. # Arguments `xm
src/ooxml/docx/image.rs:245
↓ 4 callers
Function
parse_iwa_files_from_archive
Parse all IWA files from a ZIP archive and return parsed Archives. This function iterates through all files in a ZIP archive, identifies IWA files, d
src/iwa/zip_utils.rs:41
↓ 4 callers
Function
parse_line_style
Parse line style for underline/overline
src/formula/omml/attributes.rs:453
↓ 4 callers
Function
parse_signed_binary
(bits: &str, func_name: &str)
src/sheet/eval/engine/math/helpers.rs:173
↓ 4 callers
Function
parse_styles
Parse styles from xl/styles.xml XML content. This is the main entry point for parsing Excel styles. It processes the XML and extracts all formatting
src/ooxml/xlsx/styles/parser.rs:18
↓ 4 callers
Method
peek
Reserved for advanced stack operations
src/formula/omml/utils.rs:228
↓ 4 callers
Function
ppt_master_i64_to_emu_i32
(master: i64)
src/common/unit.rs:80
↓ 4 callers
Method
presentation
Get the main presentation. Returns the `Presentation` object which provides access to the presentation's content, slides, and other features. # Exam
src/ole/ppt/package.rs:174
↓ 4 callers
Method
protection_mut
Get a mutable reference to the sheet protection state.
src/ole/xls/worksheet.rs:204
↓ 4 callers
Method
push_operator
(&self, output: &mut Vec<Ptg>, op: &str)
src/ole/xls/writer/formula.rs:342
↓ 4 callers
Function
read_dif
( reader: &mut R, config: DifConfig, )
src/sheet/text/formats/dif.rs:162
↓ 4 callers
Function
read_fixed_width
( reader: &mut R, config: FixedWidthConfig, )
src/sheet/text/formats/fixed_width.rs:164
↓ 4 callers
Function
read_optional_string
Read optional string from XLSB data
src/ooxml/xlsb/conditional_formatting.rs:282
↓ 4 callers
Method
read_stream_from_fat
Read a stream by following the FAT chain with optimized batching This implementation batches contiguous sector reads to minimize system calls (lseek
src/ole/file.rs:490
↓ 4 callers
Function
read_sylk
( reader: &mut R, config: SylkConfig, )
src/sheet/text/formats/sylk.rs:160
↓ 4 callers
Method
read_u16
(&mut self)
src/formula/mtef/binary/parser.rs:834
↓ 4 callers
Method
read_u8
(&mut self)
src/ooxml/xlsb/records.rs:952
↓ 4 callers
Method
reader
Get a reader for parsing the XML content. Returns a quick-xml Reader configured for efficient parsing. The reader uses zero-copy parsing where possib
src/ooxml/opc/part.rs:212
↓ 4 callers
Function
rect_to_native
(rect: &mut super::types::PictRect)
src/images/pict/converter.rs:35
↓ 4 callers
Function
register
Registers sheet types with the Python module
pyo3-litchi/src/sheet.rs:11
↓ 4 callers
Method
relate_to_ext
Add or get an external relationship.
src/ooxml/opc/part.rs:57
↓ 4 callers
Method
rels_uri
Get the PackURI of the .rels part corresponding to this PackURI. For example, "/word/_rels/document.xml.rels" for "/word/document.xml".
src/ooxml/opc/packuri.rs:179
↓ 4 callers
Function
replace_placeholders_with_markers
Replace format placeholders with unique markers that won't confuse the XML parser Returns the modified string and a map of marker -> placeholder
xml-minifier/src/lib.rs:211
↓ 4 callers
Function
resolve_field_indexes
(field_index: &HashMap<String, u32>, selected: &[String])
src/ooxml/xlsx/writer/workbook.rs:1493
↓ 4 callers
Method
rowspan
Get the number of rows this cell spans
src/odf/elements/table.rs:407
↓ 4 callers
Function
serialize_cf_rule
Serialize a single `BrtBeginCFRule` payload. Follows the field order observed in LibreOffice's `importCfRule` reader.
src/ooxml/xlsb/writer/conditional_formatting.rs:106
↓ 4 callers
Method
set_cell
Set a cell value at a specific position in the current sheet # Arguments `row` - Row index (0-based) `col` - Column index (0-based) `value` - Cell v
src/odf/ods/builder.rs:288
↓ 4 callers
Method
set_colspan
Set the number of columns this cell spans
src/odf/elements/table.rs:401
↓ 4 callers
Method
set_formula
Set the formula in the cell
src/odf/elements/table.rs:378
↓ 4 callers
Method
set_quick_style
Set whether to show in quick style gallery.
src/ooxml/docx/writer/style.rs:191
↓ 4 callers
Method
set_rowspan
Set the number of rows this cell spans
src/odf/elements/table.rs:415
↓ 4 callers
Method
set_space_before
Set space before paragraph in twips (1/1440 inch).
src/ooxml/docx/writer/style.rs:241
↓ 4 callers
Method
sheets
Get all sheets.
src/odf/ods/mutable.rs:182
↓ 4 callers
Function
simd_eq_u8_scalar
Used as fallback on non-SIMD platforms
src/common/simd/cmp.rs:2296
↓ 4 callers
Method
stream_offset
Returns the current offset in the output stream. Analagous to [`std::io::Cursor::position`]. This can be used to determine various offsets during ZI
soapberry-zip/src/writer.rs:217
↓ 4 callers
Method
text
Get the text content of the paragraph
src/odf/elements/text.rs:40
↓ 4 callers
Method
text
Get the text content of the cell
src/odf/elements/table.rs:294
↓ 4 callers
Method
text
Get all text content from the document. This extracts all text from all paragraphs in the document, concatenated together. # Examples ```rust,no_ru
src/ooxml/docx/document.rs:84
↓ 4 callers
Method
text
Extract all text from all worksheets. # Examples ```rust,no_run use litchi::sheet::Workbook; let workbook = Workbook::open("data.numbers")?; let te
src/sheet/workbook.rs:281
↓ 4 callers
Method
text_at_range
Extract text for a specific character position (CP) range. This is used for subdocument text extraction (headers, footnotes, etc.) where the text occ
src/ole/doc/parts/text.rs:74
↓ 4 callers
Method
threaded_comments
Read threaded comments for a specific worksheet by index. Threaded comments are the modern comment format in Excel with support for conversation thre
src/ooxml/xlsx/workbook.rs:538
↓ 4 callers
Method
to_biff_pattern
Convert the optional pattern into BIFF8 PatternFormatting triple `(pattern_code, fg_index, bg_index)`.
src/ole/xls/writer/core/conditional_format.rs:77
↓ 4 callers
Method
to_header_xml
Generate watermark XML for a header paragraph. This creates a VML shape-based watermark that appears behind document content. The watermark is embedd
src/ooxml/docx/writer/watermark.rs:80
↓ 4 callers
Method
to_xml
Generate XML for this style.
src/ooxml/docx/writer/style.rs:271
↓ 4 callers
Method
to_xml
Generate the XML for [Content_Types].xml.
src/ooxml/opc/pkgwriter.rs:204
↓ 4 callers
Function
unix_to_excel_serial
(unix_timestamp: f64, is_1904: bool)
src/ooxml/xlsb/date_utils.rs:90
↓ 4 callers
Method
with_categories
Set the category names.
src/ooxml/pptx/parts/chart.rs:196
↓ 4 callers
Method
with_categories
(mut self, categories: StringData)
src/ooxml/charts/series.rs:306
← previous
next →
801–900 of 11,583, ranked by callers