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
write_biff12_formula
Write a BIFF12 formula. Layout (per `OoxFormulaParserImpl::importBiff12Formula` in LO): ```text cb_ptg i32 — byte count of PTG token stream pt
src/ooxml/xlsb/writer/data_validation.rs:160
↓ 5 callers
Method
write_border_side
Write a single border side to XML.
src/ooxml/xlsx/writer/styles.rs:388
↓ 5 callers
Method
write_command
Write command letter (omit if repeating same command)
src/images/emf/svg/path.rs:195
↓ 5 callers
Function
write_series
(xml: &mut String, series: &ChartSeries, idx: u32, is_pie: bool)
src/ooxml/pptx/parts/chart.rs:501
↓ 5 callers
Function
write_unicode_string_biff8
(writer: &mut W, value: &str)
src/ole/xls/writer/biff.rs:98
↓ 5 callers
Method
write_validation_attributes
Write common validation attributes.
src/ooxml/xlsx/writer/sheet.rs:2812
↓ 5 callers
Method
xml_bytes
(&self)
src/ooxml/pptx/parts/presentation.rs:43
↓ 5 callers
Method
xml_bytes
(&self)
src/ooxml/docx/comment.rs:94
↓ 5 callers
Function
xnpv
(rate: f64, cash_flows: &[f64], dates: &[f64])
src/sheet/eval/engine/financial/helpers.rs:93
↓ 5 callers
Function
xor_32_bytes_inplace
(data: &mut [u8], key: &[u8; 16])
src/common/simd/xor.rs:50
↓ 4 callers
Method
add
(&mut self, color: Color)
src/rtf/types.rs:59
↓ 4 callers
Method
add_bulleted_list
Add a bulleted list # Arguments `items` - Vector of list item texts # Examples ``` use litchi::odf::DocumentBuilder; # fn main() -> litchi::Resul
src/odf/odt/builder.rs:199
↓ 4 callers
Method
add_cell
(&mut self, mut cell: Cell)
src/odf/ods/parser.rs:228
↓ 4 callers
Method
add_cell
Add a cell to the row.
src/rtf/table.rs:57
↓ 4 callers
Method
add_cell_format
Add a cell format and return its style index. If the format has already been added, returns the existing index.
src/ooxml/xlsx/writer/styles.rs:111
↓ 4 callers
Method
add_font
Add a font to the font collection and return its index
src/ole/ppt/writer/core.rs:1008
↓ 4 callers
Method
add_hyperlink
Add a hyperlink relationship mapping.
src/ooxml/docx/writer/relmap.rs:36
↓ 4 callers
Method
add_item
Add a list item
src/odf/elements/text.rs:412
↓ 4 callers
Method
add_list
Add a list structure
src/ole/doc/writer/numbering.rs:257
↓ 4 callers
Function
add_months
(date: NaiveDate, months: i32)
src/sheet/eval/engine/date_time/helpers.rs:159
↓ 4 callers
Method
add_notes
Add a notes slide relationship mapping for a specific slide. # Arguments `slide_index` - The index of the slide (0-based) `rel_id` - The relationship
src/ooxml/pptx/writer/relmap.rs:59
↓ 4 callers
Method
add_override
Add a list format override
src/ole/doc/writer/numbering.rs:262
↓ 4 callers
Method
add_paragraph
(&mut self, paragraph: HeaderFooterParagraph<'a>)
src/rtf/section.rs:173
↓ 4 callers
Method
add_row
Add a row to the table.
src/rtf/table.rs:22
↓ 4 callers
Method
add_slide
Add a slide to the show
src/iwa/keynote/show.rs:35
↓ 4 callers
Method
add_slide
Add a new slide to the end of the presentation. # Arguments `title` - Optional title for the slide `text` - Text content for the slide # Examples
src/odf/odp/mutable.rs:140
↓ 4 callers
Method
add_slide
Add a new slide to the presentation.
src/ooxml/pptx/writer/pres.rs:129
↓ 4 callers
Method
add_table
Create a new table with the specified dimensions # Arguments `rows` - Number of rows `cols` - Number of columns # Returns `Result<usize, DocWriteE
src/ole/doc/writer/core.rs:783
↓ 4 callers
Method
as_bytes
Get a reference to the underlying data
src/odf/core/package.rs:61
↓ 4 callers
Method
as_id
(&self)
soapberry-zip/src/archive.rs:1261
↓ 4 callers
Method
as_u16
(self)
src/ole/ppt/shapes/escher.rs:304
↓ 4 callers
Function
assert_int
(value: CellValue, expected: i64)
src/sheet/eval/engine/tests/lookup_text.rs:88
↓ 4 callers
Function
bit_shift_value
(value: &CellValue, func_name: &str)
src/sheet/eval/engine/math/helpers.rs:106
↓ 4 callers
Method
blip_type
Get the BLIP type
src/images/extractor.rs:30
↓ 4 callers
Method
bounds
Get bounds as (left, top, right, bottom)
src/ole/ppt/writer/shapes.rs:639
↓ 4 callers
Method
build
(self)
src/odf/odp/parser.rs:42
↓ 4 callers
Method
build
Build the document and return as bytes # Examples ```no_run use litchi::odf::DocumentBuilder; # fn main() -> litchi::Result<()> { let mut builder =
src/odf/odt/builder.rs:462
↓ 4 callers
Method
build
(self)
src/common/xml_slice.rs:119
↓ 4 callers
Function
build_client_textbox
Build ClientTextBox record with plain text content (no formatting) Based on Apache POI EscherTextboxWrapper and HSLFTextShape text_type: 0=Title, 1=Bo
src/ole/ppt/writer/escher.rs:1168
↓ 4 callers
Function
build_client_textbox_formatted
Build ClientTextBox record with rich text formatting (paragraphs with runs) text_type: 0=Title, 1=Body, 2=Notes, 4=Other
src/ole/ppt/writer/escher.rs:1212
↓ 4 callers
Function
build_color_scheme_atom
ColorSchemeAtom builder per MS-PPT section 2.4.17 Creates a 32-byte payload with 8 RGBX colors
src/ole/ppt/writer/atoms.rs:133
↓ 4 callers
Method
build_field_instruction
Build the TOC field instruction string. Format: TOC \o "1-3" \h \z \u - \o "1-3" = outline levels 1 through 3 - \h = hyperlinks - \z = hide tab leade
src/ooxml/docx/writer/toc.rs:119
↓ 4 callers
Method
build_plflfo
Generate PlfLfo (List Format Override Table)
src/ole/doc/writer/numbering.rs:301
↓ 4 callers
Function
build_slide_atom
SlideAtom builder per MS-PPT section 2.5.2 Creates a 24-byte payload with: - geom (4 bytes): Slide layout geometry - rgPlaceholderTypes (8 bytes): Pl
src/ole/ppt/writer/atoms.rs:72
↓ 4 callers
Function
build_slide_persist_atom
SlidePersistAtom builder per MS-PPT section 2.4.14.5 Creates a 20-byte payload with: - persistIdRef (4 bytes) - flags (4 bytes) - numberTexts (4 byte
src/ole/ppt/writer/atoms.rs:106
↓ 4 callers
Method
build_subdocument_text
Get the subdocument text content Returns the concatenated text of all headers/footers and the character positions
src/ole/doc/writer/headers.rs:70
↓ 4 callers
Method
by_type
Get hyperlinks by type
src/ole/doc/parts/hyperlinks.rs:212
↓ 4 callers
Method
cell_value
Get a cell value.
src/ooxml/xlsx/writer/sheet.rs:674
↓ 4 callers
Method
char_count
Get character count (including any trailing CR/LF)
src/ole/ppt/writer/text_format.rs:347
↓ 4 callers
Method
close
Add Close command
src/images/emf/svg/path.rs:121
↓ 4 callers
Function
collect_holiday_dates
( ctx: EvalCtx<'_>, current_sheet: &str, expr: &Expr, )
src/sheet/eval/engine/date_time/helpers.rs:177
↓ 4 callers
Function
colorref_to_hex
Convert COLORREF (Windows color format) to hex string
src/images/svg.rs:655
↓ 4 callers
Method
colspan
Get the number of columns this cell spans
src/odf/elements/table.rs:393
↓ 4 callers
Method
compressed_data_range
Returns the byte range of the compressed data within the archive. See [`ZipEntry::compressed_data_range`] for more details.
soapberry-zip/src/archive.rs:224
↓ 4 callers
Method
compression_method
(mut self, compression_method: CompressionMethod)
soapberry-zip/src/writer.rs:265
↓ 4 callers
Method
content_type
(&self)
src/ooxml/docx/footnote.rs:434
↓ 4 callers
Function
convert_emf
Convert EMF data to a raster image in the specified format # Arguments `emf_data` - Raw EMF file data `format` - Target image format (PNG, JPEG, WebP
src/images/emf/mod.rs:52
↓ 4 callers
Method
convert_legacy_template
( &self, tmpl_obj: &MtefTemplate, )
src/formula/mtef/binary/converter.rs:458
↓ 4 callers
Function
convert_pict
Convert PICT data to a raster image in the specified format # Arguments `pict_data` - Raw PICT file data `format` - Target image format (PNG, JPEG, W
src/images/pict/mod.rs:49
↓ 4 callers
Method
convert_to_format
Convert EMF to specified image format # Arguments `format` - Target image format (PNG, JPEG, WebP, etc.) # Returns Encoded image bytes in the target
src/images/emf/converter.rs:229
↓ 4 callers
Method
convert_to_format
Convert WMF to specified image format
src/images/wmf/converter.rs:189
↓ 4 callers
Method
convert_to_format
Convert PICT to specified image format
src/images/pict/converter.rs:340
↓ 4 callers
Function
convert_wmf
Convert WMF data to a raster image in the specified format # Arguments `wmf_data` - Raw WMF file data `format` - Target image format (PNG, JPEG, WebP
src/images/wmf/mod.rs:48
↓ 4 callers
Method
crc32
(mut self, crc32_option: Crc32Option)
soapberry-zip/src/writer.rs:407
↓ 4 callers
Function
crc32_chunk
(data: &[u8], prev: u32)
soapberry-zip/src/crc.rs:15
↓ 4 callers
Method
create
Create and add a new custom show.
src/ooxml/pptx/customshow.rs:81
↓ 4 callers
Function
create_simple_table
Helper to create a simple table
src/ole/doc/writer/tap.rs:95
↓ 4 callers
Function
create_text_atom
Create a text chars atom (for Unicode text)
src/ole/ppt/writer/records.rs:586
↓ 4 callers
Method
data
Get the decompressed data as a slice
src/iwa/snappy.rs:91
↓ 4 callers
Function
decode_hex_scalar
(hex_bytes: &[u8])
src/common/encoding.rs:299
↓ 4 callers
Method
decompress
Decompress the picture data if compressed # Returns Uncompressed picture data or the original data if not compressed
src/images/blip.rs:265
↓ 4 callers
Function
decrypt_ooxml_if_encrypted
(bytes: &[u8], password: &str)
src/ooxml/crypto/mod.rs:46
↓ 4 callers
Function
detect_file_format_from_bytes
Detect file format from a byte slice. This function analyzes the byte signature in memory without requiring file I/O, making it ideal for network dat
src/common/detection/functions.rs:85
↓ 4 callers
Function
detect_workbook_format_from_signature
For format detection, it is better to use the smart detection function, but the function is still useful for other purposes
src/sheet/workbook_types.rs:62
↓ 4 callers
Function
emu_i32_to_ppt_master_i16_round
(emu: i32)
src/common/unit.rs:75
↓ 4 callers
Function
emu_to_pt_f64
(emu: i64)
src/common/unit.rs:35
↓ 4 callers
Function
emu_to_px_96
(emu: i64)
src/common/unit.rs:55
↓ 4 callers
Function
encode_xl_unicode_string
Encode a string as **XLUnicodeString**: `[u16 cch][u8 flags][chars…]`. This is the standard Excel string format used by SXFDB field names and SXDB us
src/ole/xls/writer/biff/pivot.rs:1090
↓ 4 callers
Method
ensure_geometry
Ensure geometry is parsed and cached.
src/ooxml/pptx/shapes/base.rs:222
↓ 4 callers
Function
ensure_number_in_range
( value: i64, min: i64, max: i64, func_name: &str, )
src/sheet/eval/engine/math/helpers.rs:292
↓ 4 callers
Function
eval_accrint
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/financial/bond.rs:197
↓ 4 callers
Function
eval_beta_dist
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/statistical/distributions.rs:133
↓ 4 callers
Function
eval_complex
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/engineering/complex.rs:98
↓ 4 callers
Function
eval_dollar
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/text/formatting.rs:56
↓ 4 callers
Function
eval_duration
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/financial/bond.rs:118
↓ 4 callers
Function
eval_edate
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/date_time/offsets.rs:9
↓ 4 callers
Function
eval_encodeurl
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/web/functions.rs:7
↓ 4 callers
Function
eval_erf
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/engineering/special.rs:6
↓ 4 callers
Function
eval_if
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/logical.rs:6
↓ 4 callers
Function
eval_ifs
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/logical.rs:28
↓ 4 callers
Function
eval_info
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/info/mod.rs:313
↓ 4 callers
Function
eval_ipmt
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/financial/cashflows.rs:779
↓ 4 callers
Function
eval_match
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/lookup/matchers.rs:7
↓ 4 callers
Function
eval_n
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/info/mod.rs:394
↓ 4 callers
Function
eval_norm_dist
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/statistical/distributions.rs:14
↓ 4 callers
Function
eval_or
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/logical.rs:74
↓ 4 callers
Function
eval_pmt
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/financial/cashflows.rs:729
↓ 4 callers
Function
eval_sin
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/math/trig.rs:9
↓ 4 callers
Function
eval_type
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/info/mod.rs:431
↓ 4 callers
Function
eval_valuetotext
( ctx: EvalCtx<'_>, current_sheet: &str, args: &[Expr], )
src/sheet/eval/engine/text/modern.rs:5
← previous
next →
701–800 of 11,583, ranked by callers