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
↓ 7 callers
Method
wayfinder
(&self)
soapberry-zip/src/archive.rs:1490
↓ 7 callers
Method
width
Get the width of the metafile in device units
src/images/emf/parser.rs:201
↓ 7 callers
Method
worksheet_names
Get all worksheet names. # Examples ```rust,no_run use litchi::sheet::Workbook; let workbook = Workbook::open("data.numbers")?; let names = workboo
src/sheet/workbook.rs:188
↓ 7 callers
Function
write_color_hex
(buf: &mut String, color: u32)
src/images/svg_utils.rs:84
↓ 6 callers
Method
add_namespace
Add a namespace declaration
src/odf/elements/namespace.rs:423
↓ 6 callers
Method
add_run
Add a run to the hyperlink.
src/ooxml/docx/writer/hyperlink.rs:95
↓ 6 callers
Method
add_style
Add a style to the registry
src/odf/elements/style.rs:416
↓ 6 callers
Method
all
(self)
src/common/simd/cmp.rs:75
↓ 6 callers
Method
allocate_mini_chain
Allocate a chain of mini sectors for a small stream # Arguments `data` - Stream data (must be < 4096 bytes) # Returns `u32` - The starting mini se
src/ole/writer/minifat.rs:68
↓ 6 callers
Method
archives
Get all archives in the bundle
src/iwa/bundle.rs:313
↓ 6 callers
Function
binary_string_from_value
( value: &CellValue, func_name: &str, )
src/sheet/eval/engine/math/helpers.rs:123
↓ 6 callers
Method
bold
(&self)
src/rtf/types.rs:359
↓ 6 callers
Method
build
Build optimized SVG path string
src/images/emf/svg/path.rs:126
↓ 6 callers
Method
cell
(&self, row: u32, column: u32)
src/sheet/text/worksheet.rs:68
↓ 6 callers
Method
cells
Get all cells in the row
src/odf/elements/table.rs:177
↓ 6 callers
Function
check_office_signatures
Fast parallel check for common Office format signatures. This specialized function checks for OLE2, ZIP, and RTF signatures simultaneously using opti
src/common/detection/simd_utils.rs:192
↓ 6 callers
Method
decode
Decode ODF boolean string to Rust bool # Arguments `data` - ODF boolean string ("true" or "false") # Returns `Ok(bool)` on success, `Err` if the s
src/odf/datatype.rs:50
↓ 6 callers
Function
default_styles_xml
Generate default styles.xml content Uses theme references for fonts instead of direct font names to ensure compatibility.
src/ooxml/docx/template.rs:17
↓ 6 callers
Method
document
Get the main document. Returns the `Document` object which provides access to the document's content, formatting, tables, and other features. # Exam
src/ole/doc/package.rs:174
↓ 6 callers
Function
encode_varint
Encode a u64 value as a variable-length integer
src/iwa/varint.rs:10
↓ 6 callers
Function
eval_arabic
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/text/numbering.rs:5
↓ 6 callers
Function
eval_dget
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/database/mod.rs:9
↓ 6 callers
Function
eval_index
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/lookup/index.rs:6
↓ 6 callers
Function
eval_roman
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/text/numbering.rs:52
↓ 6 callers
Function
eval_text
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/text/formatting.rs:94
↓ 6 callers
Function
eval_weeknum
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/date_time/week.rs:52
↓ 6 callers
Function
extend_buffer_with_capacity
(buffer: &mut String, text: &str, additional_capacity: usize)
src/formula/latex/conv/utils.rs:84
↓ 6 callers
Method
extract_text
Extract text content from this record. This follows POI's text extraction logic for Escher text records.
src/ole/ppt/shapes/escher.rs:808
↓ 6 callers
Function
extract_text_element
(xml: &str, tag: &str)
src/ooxml/xlsx/sparkline.rs:615
↓ 6 callers
Method
fill_buffer
(&mut self, buf: &mut Vec<u8>)
src/ooxml/xlsb/records.rs:968
↓ 6 callers
Method
finish
Finish writing the archive.
soapberry-zip/src/office.rs:334
↓ 6 callers
Function
flatten_numeric_values
( ctx: EvalCtx<'_>, current_sheet: &str, expr: &Expr, )
src/sheet/eval/engine/math/helpers.rs:55
↓ 6 callers
Function
format_excel_f64
(value: f64, format: Option<&CellFormat>, is_1904: bool)
src/sheet/eval/engine/text/excel_formatter.rs:171
↓ 6 callers
Function
from_utf16le_lossy
Convert UTF-16LE bytes to String (lossy conversion). This follows POI's StringUtil.getFromUnicodeLE logic. Optimized for performance with minimal allo
src/ole/ppt/text/extractor.rs:72
↓ 6 callers
Function
future_value
(rate: f64, nper: f64, pmt: f64, pv: f64, typ: f64)
src/sheet/eval/engine/financial/helpers.rs:26
↓ 6 callers
Method
get_attribute
Get attribute byte(s) according to MTEF version (matches rtf2latex2e GetAttribute)
src/formula/mtef/binary/parser.rs:46
↓ 6 callers
Method
get_fill_attr
Get SVG fill attribute
src/images/emf/svg/state.rs:225
↓ 6 callers
Method
get_nudge
Get nudge values (matches rtf2latex2e GetNudge)
src/formula/mtef/binary/parser.rs:58
↓ 6 callers
Method
get_stroke_attrs
Get SVG stroke attributes (optimized - no format! macros)
src/images/emf/svg/state.rs:164
↓ 6 callers
Method
get_value
Get a property value by name.
src/ole/ppt/text_prop.rs:75
↓ 6 callers
Method
is_empty
Check if section is empty
src/iwa/pages/section.rs:62
↓ 6 callers
Method
is_empty
(&self)
src/formula/omml/elements.rs:200
↓ 6 callers
Method
is_file
Check if this is a file hyperlink
src/ole/doc/hyperlink.rs:51
↓ 6 callers
Method
is_true
(&self, id: EscherPropertyId)
src/ole/escher/properties.rs:846
↓ 6 callers
Method
iter
Iterate over all vertices as (x, y) pairs. # Performance - Zero-copy iteration - No allocations
src/ole/ppt/shapes/geometry.rs:242
↓ 6 callers
Function
make_data
(block_type: u8, mm_mode: u8)
src/ole/doc/image.rs:314
↓ 6 callers
Method
mimetype
Get the MIME type from the mimetype file
src/odf/core/package.rs:68
↓ 6 callers
Method
next
(&mut self)
src/ooxml/xlsx/cell.rs:111
↓ 6 callers
Function
numerical_derivative
(f: F, x: f64)
src/sheet/eval/engine/financial/helpers.rs:150
↓ 6 callers
Function
parse_color
Parse color from a color element. Colors can be specified as: - RGB hex value (rgb attribute) - Theme color (theme attribute with optional tint) - In
src/ooxml/xlsx/styles/parser.rs:607
↓ 6 callers
Function
parse_datetime
Parse an ISO 8601 datetime string into a DateTime<Utc>. Supports formats like: - 2023-10-10T14:30:00Z - 2023-10-10T14:30:00.1234567Z - 2023-10-10T14:
src/ooxml/metadata.rs:200
↓ 6 callers
Function
parse_decimal_for_conversion
( value: &CellValue, func_name: &str, min: i64, max: i64, )
src/sheet/eval/engine/math/helpers.rs:262
↓ 6 callers
Function
parse_hex_string
(value: &CellValue, func_name: &str)
src/sheet/eval/engine/math/helpers.rs:313
↓ 6 callers
Function
parse_length
Parse a length attribute with unit (e.g., "2.5cm", "10pt") Returns the value and unit as separate components. # Arguments `value` - The attribute v
src/odf/elements/attr_parser.rs:330
↓ 6 callers
Function
parse_series
(reader: &mut Reader<R>)
src/ooxml/charts/reader.rs:513
↓ 6 callers
Method
partial_cmp
(&self, other: &Self)
src/common/unit.rs:397
↓ 6 callers
Function
push_i16
(grp: &mut Vec<u8>, opcode: u16, val: i16)
src/ole/doc/writer/core.rs:1928
↓ 6 callers
Function
read_utf16le_string
Read a NUL-terminated UTF-16LE string of `n_chars` characters from `data` at `offset`. Returns the decoded string (without trailing NUL) and number o
src/ole/xls/hyperlinks.rs:97
↓ 6 callers
Method
register_number_format
Register a number format pattern and return its BIFF format index. This mirrors POI's `HSSFDataFormat.getFormat` behavior: - Built-in formats (see `B
src/ole/xls/writer/formatting.rs:494
↓ 6 callers
Method
root_container
Get the root container (typically DgContainer or DggContainer). # Performance - Parses only first record - Returns None if not a container
src/ole/escher/parser.rs:32
↓ 6 callers
Method
rows
Get all rows in the table
src/odf/elements/table.rs:59
↓ 6 callers
Method
rows
Get all rows.
src/rtf/table.rs:32
↓ 6 callers
Method
set_data
Set the internal data directly (used by format-specific parsers)
src/sheet/text/workbook.rs:196
↓ 6 callers
Method
tail_eocd_offset
(&self)
soapberry-zip/src/locator.rs:550
↓ 6 callers
Method
text
Extract all text content from the slide. This extracts text from all text elements in the slide, including shapes, text boxes, and tables. # Example
src/ooxml/pptx/slide.rs:103
↓ 6 callers
Function
to_positive_index
( value: f64, func_name: &str, arg_name: &str, )
src/sheet/eval/engine/statistical/helpers.rs:80
↓ 6 callers
Method
to_svg_color
Convert to SVG color string (compact format)
src/images/emf/records/types.rs:486
↓ 6 callers
Method
transform_batch_scalar
( &self, xs: &[i16], ys: &[i16], out_x: &mut [f64], out_y: &mut [f64],
src/images/wmf/svg/simd.rs:99
↓ 6 callers
Function
unicode_string_size
(value: &str)
src/ole/xls/writer/biff.rs:89
↓ 6 callers
Method
worksheet_mut
Get a mutable worksheet for writing and modification. # Arguments `index` - Worksheet index (0-based) ... (rest of the code remains the same) # Exa
src/ooxml/xlsx/workbook.rs:501
↓ 6 callers
Method
write
Write the Opt record.
src/ole/escher/writer.rs:234
↓ 6 callers
Method
write_coords
Write coordinates with optimal precision
src/images/emf/svg/path.rs:202
↓ 6 callers
Method
write_number_cell
Write a number cell (BrtCellReal - Cell + f64 = 16 bytes)
src/ooxml/xlsb/writer/worksheet.rs:969
↓ 6 callers
Function
write_numeric_data_ref
( writer: &mut W, tag: &str, data: &NumericData, )
src/ooxml/charts/writer.rs:776
↓ 6 callers
Function
write_unicode_lpp4
(buf: &mut Vec<u8>, s: &str)
src/ooxml/crypto/ole_encrypted_package.rs:107
↓ 6 callers
Method
write_variable_length_u16
Write a u16 value with variable-length encoding (1-3 bytes)
src/ooxml/xlsb/writer/record.rs:56
↓ 6 callers
Function
write_xl_wide_string
Write an `XLWideString` (u32 character count + UTF-16LE code units).
src/ooxml/xlsb/writer/data_validation.rs:132
↓ 6 callers
Method
xml_bytes
(&self)
src/ooxml/docx/parts/document_part.rs:39
↓ 5 callers
Method
add_chart
Add a chart relationship mapping for a specific slide. # Arguments `slide_index` - The index of the slide (0-based) `chart_idx` - The chart index (1-
src/ooxml/pptx/writer/relmap.rs:166
↓ 5 callers
Method
add_comment
Add a comment to a slide. # Arguments `slide` - Slide index (0-based) `comment` - The comment to add
src/ole/ppt/writer/core.rs:1100
↓ 5 callers
Method
add_field
( &mut self, id: ExtraFieldId, data: &[u8], location: Header, )
soapberry-zip/src/extra_fields.rs:144
↓ 5 callers
Method
add_paragraph
Add a paragraph with plain text # Arguments `text` - Paragraph text # Returns `Result<(), DocWriteError>` - Success or error
src/ole/doc/writer/core.rs:304
↓ 5 callers
Method
add_paragraph
Add a new paragraph to the end of the document.
src/ooxml/docx/writer/doc.rs:200
↓ 5 callers
Method
add_string
Add a string to the shared strings table and return its index. If the string already exists, returns the existing index.
src/ooxml/xlsx/writer/strings.rs:31
↓ 5 callers
Method
add_type_group
(mut self, group: TypeGroup)
src/ooxml/charts/plot_area.rs:35
↓ 5 callers
Method
all_object_ids
Get all object IDs
src/iwa/object_index.rs:576
↓ 5 callers
Method
append_cached_command
(&mut self, cmd: &str)
src/formula/latex/conv/converter.rs:149
↓ 5 callers
Method
as_str
(self)
src/ooxml/xlsx/sparkline.rs:25
↓ 5 callers
Function
assert_float
(value: CellValue, expected: f64)
src/sheet/eval/engine/tests/aggregate_logical.rs:98
↓ 5 callers
Function
build_chp_sprms
Helper to create character property SPRMs
src/ole/doc/writer/sprm.rs:98
↓ 5 callers
Function
build_document_atom
DocumentAtom builder per MS-PPT section 2.4.2 Creates a 40-byte payload with: - slideSize (8 bytes): Slide dimensions in master units - notesSize (8
src/ole/ppt/writer/atoms.rs:18
↓ 5 callers
Function
build_named_shows
Build the NamedShows container for the Document. Returns the serialized NamedShows container bytes, or an empty Vec if there are no custom shows. #
src/ole/ppt/writer/custom_shows.rs:61
↓ 5 callers
Method
build_placeholder_container
Build a placeholder SpContainer
src/ole/ppt/writer/master_drawing.rs:285
↓ 5 callers
Method
build_plflst
Generate PlfLst (List Table). Returns `(plflst_for_lcb, lvl_data)` where: - `plflst_for_lcb` = cLst (u16) + LSTF array (28 bytes each) — this is what
src/ole/doc/writer/numbering.rs:278
↓ 5 callers
Function
build_ptg_for_value
Build the most appropriate PTG token for a formula value string. # Token formats (per LO `formulaparser.cxx`) - `PtgInt` (0x1E): `opcode(1) + value
src/ooxml/xlsb/writer/data_validation.rs:193
↓ 5 callers
Function
build_slide_timing
Build an SSSlideInfoAtom record for per-slide timing. This is used when the slide has timing but no transition effect. If the slide also has a transi
src/ole/ppt/writer/slide_timing.rs:102
↓ 5 callers
Function
build_sound_collection
Build a SoundCollection container with embedded WAV data for each sound. `AnimationInfoAtom.nSoundRef` is the 1-based index into this collection, whi
src/ole/ppt/writer/sound_collection.rs:173
↓ 5 callers
Function
classify_reference
( ctx: EvalCtx<'_>, current_sheet: &str, expr: &Expr, )
src/sheet/eval/engine/info/mod.rs:54
↓ 5 callers
Function
collect_aligned_numeric_pairs
( ctx: EvalCtx<'_>, current_sheet: &str, arg1: &Expr, arg2: &Expr, )
src/sheet/eval/engine/statistical/simple.rs:767
↓ 5 callers
Method
content
Get the raw XML content
src/odf/core/xml.rs:23
← previous
next →
501–600 of 11,583, ranked by callers