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
↓ 1 callers
Method
resolve_prefix
Resolve prefix to namespace URI
src/odf/elements/namespace.rs:432
↓ 1 callers
Method
resolve_table_reference
( &self, _current_sheet: &str, name: &str, )
src/sheet/eval/mod.rs:308
↓ 1 callers
Method
result_range
Get the character range for the field result (between separator and end)
src/ole/doc/parts/fields.rs:117
↓ 1 callers
Function
rgb_to_hex
Convert RGB color to hex string
src/images/svg.rs:650
↓ 1 callers
Method
rich_text_runs
Get rich text runs for a specific shared string index, if present.
src/ooxml/xlsx/shared_strings.rs:98
↓ 1 callers
Function
rk_to_f64
Convert RK value to f64 (same as XLS)
src/ooxml/xlsb/records.rs:683
↓ 1 callers
Function
round_to_significance
(value: f64, significance: u32)
src/sheet/eval/engine/statistical/ranking.rs:747
↓ 1 callers
Method
row
Get a row by index
src/odf/elements/table.rs:77
↓ 1 callers
Method
row_count
(&self)
src/ole/xls/worksheet.rs:214
↓ 1 callers
Method
row_count
(&self)
src/ooxml/xlsb/worksheet.rs:86
↓ 1 callers
Method
row_count
Get the number of rows.
src/rtf/table.rs:27
↓ 1 callers
Method
row_count
Get the number of rows in the table Returns: Number of rows
pyo3-litchi/src/document.rs:221
↓ 1 callers
Method
rows
Get number of rows.
src/ole/ppt/shapes/shape_enum.rs:178
↓ 1 callers
Method
runs
Get an iterator over the runs in this paragraph. Each run represents a `<w:r>` element and may have different formatting. # Performance Uses zero-c
src/ooxml/docx/paragraph.rs:159
↓ 1 callers
Method
runs
Get all runs in the document. A run is a contiguous block of text with the same formatting.
src/rtf/document.rs:350
↓ 1 callers
Method
runs_in_range
Find runs that overlap with a character position range. Returns an iterator to avoid unnecessary allocations. Use `.collect()` only if you need a Vec
src/ole/doc/parts/chp_bin_table.rs:209
↓ 1 callers
Method
save
Save the XLS file # Arguments `path` - Output file path # Returns `Result<(), XlsError>` - Success or error # Implementation Status ✅ Basic stru
src/ole/xls/writer/core.rs:1537
↓ 1 callers
Method
save
Build and save the spreadsheet to a file # Arguments `path` - Path where the ODS file should be saved # Examples ```no_run use litchi::odf::Spread
src/odf/ods/builder.rs:738
↓ 1 callers
Method
save
Build and save the document to a file # Arguments `path` - Path where the ODT file should be saved # Examples ```no_run use litchi::odf::DocumentB
src/odf/odt/builder.rs:502
↓ 1 callers
Method
save_options
Get current save options.
src/ooxml/opc/package.rs:71
↓ 1 callers
Method
sections
Extract sections from the document Pages documents are organized into sections. This method parses the document structure and returns all sections wi
src/iwa/pages/document.rs:139
↓ 1 callers
Method
serialize
Serialize to XLSB BrtMergeCell record
src/ooxml/xlsb/merged_cells.rs:60
↓ 1 callers
Function
serialize_raw_record
Serialize raw record (for preserving unknown/complex records).
src/ole/ppt/animation/writer.rs:563
↓ 1 callers
Function
serialize_sort_state
( xml: &mut String, sort_state: &crate::ooxml::xlsx::sort::SortState, )
src/ooxml/xlsx/writer/table.rs:83
↓ 1 callers
Function
serialize_table_column
(xml: &mut String, column: &TableColumn)
src/ooxml/xlsx/writer/table.rs:136
↓ 1 callers
Function
serialize_table_style_info
(xml: &mut String, style_info: &TableStyleInfo)
src/ooxml/xlsx/writer/table.rs:195
↓ 1 callers
Function
series_name_strategy
Strategy to generate valid series names (non-empty, no control chars)
src/ooxml/pptx/writer/excel_embed.rs:306
↓ 1 callers
Function
series_strategy
Strategy to generate a chart series
src/ooxml/pptx/writer/excel_embed.rs:316
↓ 1 callers
Method
set_alignment
Set paragraph alignment ("left", "center", "right", "justify").
src/ooxml/docx/writer/style.rs:236
↓ 1 callers
Method
set_allow_delete
Set whether the control can be deleted.
src/ooxml/docx/writer/content_control.rs:198
↓ 1 callers
Method
set_allow_edit
Set whether the content can be edited.
src/ooxml/docx/writer/content_control.rs:203
↓ 1 callers
Method
set_anchor_text
Set text anchor (vertical alignment). # Values - 0: Top - 1: Middle - 2: Bottom - 3: Top centered - 4: Middle centered - 5: Bottom centered - 6: Top
src/ole/ppt/shapes/shape.rs:515
↓ 1 callers
Method
set_auto_filter
Configure a basic auto-filter range for the worksheet. The indices are 0-based and inclusive.
src/ooxml/xlsb/writer/worksheet.rs:249
↓ 1 callers
Method
set_auto_filter
Add an auto-filter to a range. # Arguments `range` - Cell range (e.g., "A1:D10") # Examples ```rust,no_run use litchi::ooxml::xlsx::Workbook; let
src/ooxml/xlsx/writer/sheet.rs:1711
↓ 1 callers
Method
set_autofilter_info
Initialize AutoFilter with the given column count (from AUTOFILTERINFO).
src/ole/xls/worksheet.rs:153
↓ 1 callers
Method
set_background
Set a background for the slide. # Arguments `background` - The background configuration # Examples ```rust use litchi::ooxml::pptx::{MutablePresent
src/ooxml/pptx/writer/slide.rs:193
↓ 1 callers
Method
set_bold
Set bold formatting.
src/ole/ppt/shapes/textbox.rs:522
↓ 1 callers
Method
set_bold
Set bold formatting.
src/ooxml/docx/writer/style.rs:216
↓ 1 callers
Method
set_character_count_no_spaces
(&mut self, count: usize)
src/ooxml/docx/statistics.rs:139
↓ 1 callers
Method
set_clsid
Set the CLSID (Class ID) for this entry # Arguments `clsid` - 16-byte CLSID (GUID in little-endian format) # Example ```ignore use litchi::ole::wr
src/ole/writer/directory.rs:115
↓ 1 callers
Method
set_color
Set line color.
src/ole/ppt/shapes/shape_enum.rs:293
↓ 1 callers
Method
set_color
Set the color.
src/ooxml/docx/writer/watermark.rs:62
↓ 1 callers
Method
set_column_count
Set the number of columns and create default column definitions # Arguments `count` - Number of columns
src/odf/elements/table.rs:122
↓ 1 callers
Method
set_column_width
Set the width of a column in character units. The column index is 0-based (0 = column A), matching the rest of the XLS writer API. The width is speci
src/ole/xls/writer/core.rs:1154
↓ 1 callers
Method
set_date_system
Set the date system (1900 or 1904) # Arguments `is_1904` - `true` for 1904 date system (Mac), `false` for 1900 (Windows, default)
src/ooxml/xlsb/writer/workbook.rs:85
↓ 1 callers
Method
set_difat
Set DIFAT information
src/ole/writer/header.rs:65
↓ 1 callers
Method
set_dimensions
Set worksheet dimensions
src/ole/xls/worksheet.rs:87
↓ 1 callers
Method
set_drawing_count
(&mut self, count: usize)
src/ooxml/docx/statistics.rs:175
↓ 1 callers
Method
set_even_footer
Set the even-page footer text (HeaderStories index 8)
src/ole/doc/writer/core.rs:452
↓ 1 callers
Method
set_even_header
Set the even-page header text (HeaderStories index 6)
src/ole/doc/writer/core.rs:440
↓ 1 callers
Method
set_first_footer
Set the first-page footer text (HeaderStories index 11)
src/ole/doc/writer/core.rs:456
↓ 1 callers
Method
set_first_header
Set the first-page header text (HeaderStories index 10)
src/ole/doc/writer/core.rs:444
↓ 1 callers
Method
set_font
Set the font family.
src/ooxml/docx/writer/watermark.rs:52
↓ 1 callers
Method
set_font_color
Set the font color (RGB).
src/ole/ppt/shapes/textbox.rs:512
↓ 1 callers
Method
set_font_size
Set the font size in points.
src/ole/ppt/shapes/textbox.rs:502
↓ 1 callers
Method
set_font_size
Set the font size in points.
src/ooxml/docx/writer/watermark.rs:57
↓ 1 callers
Method
set_href
Set the hyperlink URL
src/odf/elements/text.rs:220
↓ 1 callers
Method
set_image_count
(&mut self, count: usize)
src/ooxml/docx/statistics.rs:169
↓ 1 callers
Method
set_index
Set the placeholder index.
src/ole/ppt/shapes/placeholder.rs:316
↓ 1 callers
Method
set_initials
Set the author initials.
src/ooxml/docx/writer/comment.rs:87
↓ 1 callers
Method
set_inline
(&mut self, is_inline: bool)
src/ooxml/docx/drawing.rs:325
↓ 1 callers
Method
set_italic
Set italic formatting.
src/ole/ppt/shapes/textbox.rs:532
↓ 1 callers
Method
set_italic
Set italic formatting.
src/ooxml/docx/writer/style.rs:221
↓ 1 callers
Method
set_last_shape_hyperlink
Attach a hyperlink to the last shape added on a slide
src/ole/ppt/writer/core.rs:989
↓ 1 callers
Method
set_level
Set the outline level
src/odf/elements/text.rs:343
↓ 1 callers
Method
set_line_count
(&mut self, count: usize)
src/ooxml/docx/statistics.rs:151
↓ 1 callers
Method
set_major_font
Set the major font (used for headings).
src/ooxml/docx/writer/theme.rs:106
↓ 1 callers
Method
set_metadata
Set document metadata # Arguments `metadata` - Document metadata (title, author, etc.)
src/odf/ods/builder.rs:62
↓ 1 callers
Method
set_minifat
Set MiniFAT information
src/ole/writer/header.rs:53
↓ 1 callers
Method
set_minor_font
Set the minor font (used for body text).
src/ooxml/docx/writer/theme.rs:117
↓ 1 callers
Method
set_name
(&mut self, name: &str)
src/odf/elements/draw.rs:33
↓ 1 callers
Method
set_name
Rename the worksheet
src/ooxml/xlsb/writer/worksheet.rs:144
↓ 1 callers
Method
set_name
Set the worksheet name.
src/ooxml/xlsx/writer/sheet.rs:426
↓ 1 callers
Method
set_num_dir_sectors
Set number of directory sectors (csectDir) For 512-byte sectors, this must be set to 0.
src/ole/writer/header.rs:60
↓ 1 callers
Method
set_odd_footer
Set the odd-page footer text (HeaderStories index 9)
src/ole/doc/writer/core.rs:448
↓ 1 callers
Method
set_odd_header
Set the odd-page header text (HeaderStories index 7)
src/ole/doc/writer/core.rs:436
↓ 1 callers
Method
set_origin
Set the origin point.
src/ole/ppt/animation/motion_path.rs:65
↓ 1 callers
Method
set_page_count
(&mut self, count: usize)
src/ooxml/docx/statistics.rs:157
↓ 1 callers
Method
set_properties
Set the paragraph properties (internal use).
src/ole/doc/paragraph.rs:106
↓ 1 callers
Method
set_rich_text_cell
Set a rich text cell composed of multiple formatted runs. This also sets the plain string value for the cell by concatenating all runs, so generic co
src/ooxml/xlsx/writer/sheet.rs:452
↓ 1 callers
Method
set_runs
Set the runs for this paragraph (internal use).
src/ole/doc/paragraph.rs:101
↓ 1 callers
Method
set_size
Set the placeholder size.
src/ole/ppt/shapes/placeholder.rs:306
↓ 1 callers
Method
set_sort_config
(&mut self, config: SortConfig)
src/ole/xls/writer/core/worksheet.rs:234
↓ 1 callers
Method
set_sort_info
Set the sort configuration (from SORT record).
src/ole/xls/worksheet.rs:175
↓ 1 callers
Method
set_table_count
(&mut self, count: usize)
src/ooxml/docx/statistics.rs:163
↓ 1 callers
Method
set_table_property
Set a table property # Arguments `property` - Property name `value` - Property value
src/odf/elements/style.rs:218
↓ 1 callers
Method
set_text
Set the text content of the text box.
src/ole/ppt/shapes/textbox.rs:491
↓ 1 callers
Method
set_text
Set the text content of this shape.
src/ole/ppt/shapes/shape.rs:449
↓ 1 callers
Method
set_text
(&mut self, text: String)
src/ooxml/docx/drawing.rs:252
↓ 1 callers
Method
set_text_flow
Set text flow direction. # Values - 0: Horizontal (left to right) - 1: Vertical (top to bottom) - 2: Vertical rotated - 3: Word art vertical
src/ole/ppt/shapes/shape.rs:498
↓ 1 callers
Method
set_text_format
Set text formatting for this shape (only for text boxes).
src/ooxml/pptx/writer/shape.rs:193
↓ 1 callers
Method
set_text_margins
Set text margins from a 4-value tuple (left, top, right, bottom). # Arguments `margins` - Tuple of (left, top, right, bottom) margins in master unit
src/ole/ppt/shapes/shape.rs:464
↓ 1 callers
Method
set_title
Set the control title.
src/ooxml/docx/writer/content_control.rs:193
↓ 1 callers
Method
set_tooltip
Set the tooltip text.
src/ooxml/docx/writer/hyperlink.rs:100
↓ 1 callers
Method
set_transition
Set a transition effect for the slide. # Arguments `transition` - The transition configuration # Examples ```rust use litchi::ooxml::pptx::{Mutable
src/ooxml/pptx/writer/slide.rs:159
↓ 1 callers
Method
set_visibility
Set worksheet visibility state. # Arguments `visibility` - Visibility state: "visible", "hidden", or "veryHidden"
src/ooxml/xlsx/writer/sheet.rs:802
↓ 1 callers
Method
set_width
Set line width.
src/ole/ppt/shapes/shape_enum.rs:288
↓ 1 callers
Method
set_wrap_text
Set wrap text flag.
src/ole/ppt/shapes/shape.rs:520
↓ 1 callers
Method
settings
Get the document settings including protection status. Returns a `DocumentSettings` object providing access to document settings such as protection s
src/ooxml/docx/document.rs:1081
↓ 1 callers
Method
shape_count
Get the number of shapes (triggers parsing if not yet loaded).
src/ole/ppt/slide/types.rs:72
← previous
next →
3,301–3,400 of 11,583, ranked by callers