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
↓ 5 callers
Function
convert_symbol
Convert a symbol to LaTeX format Handles both named symbols (Greek letters, special symbols) and Unicode characters. Uses efficient lookup tables for
src/formula/latex/symbols.rs:249
↓ 5 callers
Method
crc
Returns the expected CRC32 checksum.
soapberry-zip/src/archive.rs:787
↓ 5 callers
Function
crc32
(data: &[u8])
soapberry-zip/src/crc.rs:7
↓ 5 callers
Function
create_dgg_container
Create a DggContainer (Drawing Group Container) per MS-ODRAW # Arguments `master_shapes` - Number of shapes in the master (6 for POI template) `slide
src/ole/ppt/writer/escher.rs:416
↓ 5 callers
Function
create_environment_minimal
Create a minimal Environment container with an empty FontCollection child.
src/ole/ppt/writer/records.rs:441
↓ 5 callers
Function
create_slide_list_with_text_slides
Create a SlideListWithText (instance=SLIDES) containing SlidePersistAtom entries. Each entry is (persist_id_ref, slide_identifier).
src/ole/ppt/writer/records.rs:499
↓ 5 callers
Method
data
Returns the raw, compressed data of the entry as a byte slice.
soapberry-zip/src/archive.rs:194
↓ 5 callers
Method
define_name
Define a named range. Named ranges allow you to refer to cells or ranges by meaningful names.
src/ooxml/xlsx/writer/workbook.rs:432
↓ 5 callers
Method
ensure_styles_loaded
Ensure styles are loaded from XML.
src/ooxml/docx/styles.rs:113
↓ 5 callers
Function
error_code
(value: &CellValue)
src/sheet/eval/engine/info/mod.rs:8
↓ 5 callers
Function
eval_and
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/logical.rs:50
↓ 5 callers
Function
eval_atan2
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/math/trig.rs:221
↓ 5 callers
Function
eval_datedif
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/date_time/differences.rs:101
↓ 5 callers
Function
eval_fixed
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/text/formatting.rs:11
↓ 5 callers
Function
eval_isoweeknum
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/date_time/week.rs:92
↓ 5 callers
Function
eval_not
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/logical.rs:121
↓ 5 callers
Function
eval_switch
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/logical.rs:147
↓ 5 callers
Function
eval_unary_math
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], name: &str, f: F, )
src/sheet/eval/engine/math/arithmetic.rs:214
↓ 5 callers
Function
eval_unichar
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/text/unicode.rs:5
↓ 5 callers
Function
eval_unicode
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/text/unicode.rs:28
↓ 5 callers
Function
eval_vlookup
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/lookup/table.rs:7
↓ 5 callers
Function
eval_xlookup
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/lookup/xlookup.rs:7
↓ 5 callers
Function
eval_xor
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/logical.rs:98
↓ 5 callers
Function
eval_yield
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/financial/bond.rs:7
↓ 5 callers
Method
extract_shape_properties
Extract shape properties from this record and its children. This follows POI's HSLF shape property extraction logic.
src/ole/ppt/shapes/escher.rs:579
↓ 5 callers
Method
finish
Finish writing the package and return the bytes. This method writes the mimetype file, manifest, and finalizes the ZIP archive. # Errors Returns an
src/odf/core/writer.rs:221
↓ 5 callers
Method
flush_text_buffer
Flush text buffer to a style block.
src/rtf/parser.rs:521
↓ 5 callers
Method
format
Detect the image format from binary data. # Arguments `opc` - Reference to the OPC package `rels` - Relationships from the document part
src/ooxml/docx/image.rs:204
↓ 5 callers
Method
generate
Generate the piece table (Clx structure) as bytes # Returns Clx structure containing piece descriptors Based on Apache POI's ComplexFileTable.write
src/ole/doc/writer/piece_table.rs:71
↓ 5 callers
Method
generate_content_xml
Generate the complete content.xml for spreadsheet
src/odf/ods/builder.rs:639
↓ 5 callers
Function
generate_guid_braced
Generate a random GUID in the form {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}
src/common/id.rs:16
↓ 5 callers
Method
generate_record
Generate the PersistPtrHolder (PersistDirectoryAtom) PPT record bytes. Uses incremental block (6002) matching POI's empty.ppt format.
src/ole/ppt/writer/persist.rs:99
↓ 5 callers
Function
get_embellishment_template
Get embellishment template for a given embellishment type
src/formula/mtef/binary/charset.rs:678
↓ 5 callers
Method
get_ref
Returns a reference to the underlying reader.
soapberry-zip/src/archive.rs:430
↓ 5 callers
Method
get_text
Get all extracted text as a single string
src/iwa/text/extractor.rs:58
↓ 5 callers
Method
has_properties
(&self)
src/ooxml/docx/writer/run.rs:351
↓ 5 callers
Method
height
(&self)
src/ole/ppt/shapes/geometry.rs:50
↓ 5 callers
Function
hex_encode_ssse3
(bytes: &[u8], output: &mut String, lowercase: bool)
src/common/simd/fmt.rs:246
↓ 5 callers
Function
is_blank
(value: &CellValue)
src/sheet/eval/engine.rs:254
↓ 5 callers
Method
is_external
(&self)
src/ooxml/opc/rel.rs:82
↓ 5 callers
Function
is_namespace
(tag: &[u8], namespace: &[u8])
src/odf/elements/tag_matcher.rs:497
↓ 5 callers
Function
is_valid_column_name
(name: &str)
src/sheet/eval/parser/structured_ref.rs:237
↓ 5 callers
Method
iter_mut
(&mut self)
src/ooxml/docx/section.rs:469
↓ 5 callers
Function
last_day_of_month
(date: NaiveDate)
src/sheet/eval/engine/date_time/helpers.rs:148
↓ 5 callers
Method
len
(&self)
soapberry-zip/src/office.rs:115
↓ 5 callers
Function
lookup_character
Lookup a character in the character mapping table
src/formula/mtef/binary/charset.rs:648
↓ 5 callers
Method
name
Get the worksheet name.
src/ooxml/xlsx/writer/sheet.rs:421
↓ 5 callers
Method
next_entry
(&mut self)
soapberry-zip/src/archive.rs:308
↓ 5 callers
Method
package
Get the OPC package (for internal use by worksheet)
src/ooxml/xlsx/workbook.rs:404
↓ 5 callers
Method
paragraphs
Get all paragraphs in the document. Returns a vector of `Paragraph` objects representing all `<w:p>` elements in the document body. # Examples ```r
src/ooxml/docx/document.rs:153
↓ 5 callers
Method
parse
Parse styles from xl/styles.xml content. # Example ```rust,no_run use litchi::ooxml::xlsx::Styles; let xml_content = std::fs::read_to_string("xl/st
src/ooxml/xlsx/styles/mod.rs:92
↓ 5 callers
Function
parse_hlink_record
Parse a single HLINK record.
src/ole/xls/hyperlinks.rs:144
↓ 5 callers
Method
parse_object_list
( &mut self, num_objs: usize, )
src/formula/mtef/binary/parser.rs:204
↓ 5 callers
Function
parse_octal_string
( value: &CellValue, func_name: &str, )
src/sheet/eval/engine/math/helpers.rs:389
↓ 5 callers
Function
parse_position_type
API for position type parsing
src/formula/omml/attributes.rs:511
↓ 5 callers
Function
parse_revisions
Parse revisions from paragraph XML. Extracts all tracked changes (w:ins, w:del, w:moveFrom, w:moveTo) from the paragraph XML. # Arguments `xml_byte
src/ooxml/docx/revision.rs:210
↓ 5 callers
Function
parse_sprms
Parse SPRMs from a byte array (grpprl - group of SPRMs). Based on Apache POI's SprmBuffer.findSprms() and SprmIterator. Important:** Apache POI alwa
src/ole/sprm.rs:111
↓ 5 callers
Function
present_value
(rate: f64, nper: f64, pmt: f64, fv: f64, typ: f64)
src/sheet/eval/engine/financial/helpers.rs:14
↓ 5 callers
Method
property
(&self, index: usize)
src/ole/plcf.rs:129
↓ 5 callers
Method
property_number
Get the property number (lower 14 bits)
src/ole/ppt/shapes/escher.rs:140
↓ 5 callers
Method
r_id
(&self)
src/ooxml/opc/rel.rs:61
↓ 5 callers
Method
range
Get character range for element at index. Returns (start_cp, end_cp) tuple.
src/ole/plcf.rs:138
↓ 5 callers
Method
read_at
(&self, buf: &mut [u8], offset: u64)
soapberry-zip/src/reader_at.rs:113
↓ 5 callers
Method
read_type
Read next type, until we have no future record
src/ooxml/xlsb/records.rs:958
↓ 5 callers
Function
read_xl_string_no_cch
Read an XLUnicodeStringNoCch: 1-byte flags then `cch` chars.
src/ole/xls/pivot_table.rs:570
↓ 5 callers
Method
row_count
Get the number of rows in the table.
src/document/table.rs:28
↓ 5 callers
Method
rows
(&self)
src/sheet/text/worksheet.rs:122
↓ 5 callers
Function
serialize_data_validation
Serialize a single [`DataValidation`] into the `BrtDVal` binary payload.
src/ooxml/xlsb/writer/data_validation.rs:75
↓ 5 callers
Method
set_cell
Set a cell value at the specified position
src/iwa/structured.rs:47
↓ 5 callers
Method
set_color
Set the font color (RGB hex format, e.g., "FF0000" for red).
src/ooxml/docx/writer/style.rs:231
↓ 5 callers
Method
set_fat_sectors
Add FAT sector IDs beyond the first 109 # Arguments `fat_sectors` - Complete list of FAT sector IDs The first 109 IDs will be skipped (they go in t
src/ole/writer/difat.rs:60
↓ 5 callers
Method
set_font_name
Set the font name.
src/ooxml/docx/writer/style.rs:206
↓ 5 callers
Method
set_position
(&mut self, x_emu: i64, y_emu: i64)
src/ooxml/docx/drawing.rs:282
↓ 5 callers
Method
set_repeat_count
Set the number of times this row should be repeated.
src/odf/elements/table.rs:239
↓ 5 callers
Method
set_root_clsid
Set the CLSID (Class ID) for the root entry This is required for Microsoft Office to recognize the document type. For Word 97-2003 documents, use: `{
src/ole/writer/core.rs:211
↓ 5 callers
Method
set_table_cell_text
Set text in a table cell # Arguments `table_idx` - Table index `row` - Row index (0-based) `col` - Column index (0-based) `text` - Cell text
src/ole/doc/writer/core.rs:821
↓ 5 callers
Method
set_text
(&mut self, text: &str)
src/odf/elements/element.rs:419
↓ 5 callers
Method
set_text
Set the text content.
src/ooxml/docx/writer/run.rs:79
↓ 5 callers
Method
sheets
Get all sheets in the spreadsheet. Returns a vector of `Sheet` objects representing all sheets in the document.
src/odf/ods/spreadsheet.rs:147
↓ 5 callers
Function
signed_hex_to_decimal
(hex: &str, func_name: &str)
src/sheet/eval/engine/math/helpers.rs:359
↓ 5 callers
Function
signed_octal_to_decimal
(oct: &str, func_name: &str)
src/sheet/eval/engine/math/helpers.rs:437
↓ 5 callers
Method
size
Returns the expected uncompressed size.
soapberry-zip/src/archive.rs:792
↓ 5 callers
Function
solve_irr
(cash_flows: &[f64], guess: f64)
src/sheet/eval/engine/financial/helpers.rs:69
↓ 5 callers
Method
style_name
Get the style name
src/odf/elements/text.rs:80
↓ 5 callers
Function
test_data_path
()
src/document/paragraph.rs:85
↓ 5 callers
Function
test_data_path
()
src/document/run.rs:137
↓ 5 callers
Function
test_data_path
()
src/presentation/slide.rs:148
↓ 5 callers
Method
text
Get the text content of the paragraph.
src/document/paragraph.rs:31
↓ 5 callers
Method
text
Extract all text content from this header/footer. This performs a quick extraction of all text content by finding `<w:t>` elements in the XML, simila
src/ooxml/docx/header_footer.rs:107
↓ 5 callers
Method
to_unix
(&self)
soapberry-zip/src/time.rs:443
↓ 5 callers
Method
uncompressed_size_hint
(&self)
soapberry-zip/src/archive.rs:1505
↓ 5 callers
Function
unpack_bits
UnpackBits decompression algorithm Decompresses PackBits-compressed data as used in PICT files. This is a run-length encoding scheme where: - Positiv
src/images/pict/data.rs:26
↓ 5 callers
Function
validate_enum
(value: &str, valid_set: &Set<&'static str>)
src/odf/elements/attr_parser.rs:447
↓ 5 callers
Method
value
(&self)
src/ole/xls/cell.rs:132
↓ 5 callers
Method
verifying_reader
Returns a reader that wraps a decompressor and verify the size and CRC of the decompressed data once finished.
soapberry-zip/src/archive.rs:209
↓ 5 callers
Method
width
(&self)
src/ole/ppt/shapes/geometry.rs:44
↓ 5 callers
Method
with_index
Create a new comment with index.
src/ooxml/pptx/parts/comment.rs:85
↓ 5 callers
Method
with_slides
Create a section with slide IDs.
src/ooxml/pptx/sections.rs:45
↓ 5 callers
Method
with_text
Set notes text from a string
src/ole/ppt/writer/notes.rs:159
↓ 5 callers
Method
write
Write a part to the package with Deflate compression. # Arguments `pack_uri` - The PackURI for the part `blob` - The binary content to write
src/ooxml/opc/phys_pkg.rs:270
← previous
next →
601–700 of 11,583, ranked by callers