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
Method
set_cell
Set a cell value. # Arguments `sheet_index` - Index of the sheet `row` - Row index `col` - Column index `value` - New cell value # Examples ```no_
src/odf/ods/mutable.rs:282
Method
set_cell_comment
Add a comment to a cell. # Arguments `row` - Row index (1-based) `col` - Column index (1-based) `text` - The comment text `author` - Author of the co
src/ooxml/xlsx/writer/sheet.rs:924
Method
set_cell_format
Set cell formatting.
src/ooxml/xlsx/writer/sheet.rs:578
Method
set_cell_formula
Set a cell formula. # Arguments `row` - 1-based row number `col` - 1-based column number
src/ooxml/xlsx/writer/sheet.rs:491
Method
set_cell_formula_with_cache
Set a cell formula with a cached result value.
src/ooxml/xlsx/writer/sheet.rs:506
Method
set_charset
Reserved for future use when charset detection is implemented
src/rtf/lexer.rs:321
Method
set_column_width
(&mut self, col: u16, width: u16)
src/ole/xls/writer/core/worksheet.rs:202
Method
set_column_width
Set column width in characters (Excel default is 8.43). # Arguments `col` - 1-based column number (1 = column A)
src/ooxml/xlsx/writer/sheet.rs:702
Method
set_date
Set the comment date (ISO 8601 format).
src/ooxml/docx/writer/comment.rs:76
Method
set_display_style
Set display style
src/formula/ast/mod.rs:68
Method
set_escher_data
(&mut self, data: Vec<u8>)
src/ole/ppt/shapes/picture.rs:102
Method
set_font_rotation
Set font rotation angle (16.16 fixed-point degrees).
src/ole/ppt/shapes/shape.rs:530
Method
set_force_formula_recalculation
Force formula recalculation when the workbook is opened. # Arguments `force` - Whether to force recalculation # Examples ```rust,no_run use litchi:
src/ooxml/xlsx/workbook.rs:1604
Method
set_force_formula_recalculation
Force formula recalculation when the workbook is opened.
src/ooxml/xlsx/writer/workbook.rs:825
Method
set_handout_master
Set handout master settings for printing. The handout master defines the layout for printed handouts that show multiple slides per page. # Examples
src/ooxml/pptx/writer/pres.rs:550
Method
set_header_footer
Set header and footer for the worksheet. # Arguments `header_footer` - Header and footer configuration # Examples ```rust,no_run use litchi::ooxml:
src/ooxml/xlsx/writer/sheet.rs:1611
Method
set_hidden
Set whether hidden from UI.
src/ooxml/docx/writer/style.rs:196
Method
set_hyperlink
Set a hyperlink for a single cell. Row and column indices are 0-based, matching the rest of the XLS writer APIs. The hyperlink target can be a standa
src/ole/xls/writer/core.rs:482
Method
set_hyperlink
Set a hyperlink for a cell. # Arguments `row` - Row index (1-based) `col` - Column index (1-based) `url` - The URL or internal reference # Examples
src/ooxml/xlsx/writer/sheet.rs:865
Method
set_indent_first_line
Set first line indent in twips (negative for hanging indent).
src/ooxml/docx/writer/style.rs:266
Method
set_indent_first_line
Set first line indentation (in inches).
src/ooxml/docx/writer/paragraph.rs:215
Method
set_indent_left
Set left indentation (in inches).
src/ooxml/docx/writer/paragraph.rs:205
Method
set_indent_right
Set right indent in twips.
src/ooxml/docx/writer/style.rs:261
Method
set_indent_right
Set right indentation (in inches).
src/ooxml/docx/writer/paragraph.rs:210
Method
set_instruction
Set the field instruction (for Complete fields only).
src/ooxml/docx/writer/field.rs:112
Method
set_line_spacing
Set line spacing (e.g., 240 for single, 480 for double).
src/ooxml/docx/writer/style.rs:251
Method
set_line_spacing
Set line spacing for this paragraph.
src/ooxml/docx/writer/paragraph.rs:200
Method
set_list
Set this paragraph as a list item. The num_id values correspond to the numbering definitions in numbering.xml: - numId 1: Bullet list (using Symbol f
src/ooxml/docx/writer/paragraph.rs:225
Method
set_locked
Set whether locked (formatting protection).
src/ooxml/docx/writer/style.rs:201
Method
set_metadata
Set document metadata # Arguments `metadata` - Document metadata (title, author, etc.)
src/odf/odp/builder.rs:61
Method
set_modify_password
Set modify password (hashes the password). Note: This is a simplified implementation. Real implementation would use proper OOXML password hashing algo
src/ooxml/pptx/protection.rs:156
Method
set_name
Set the bookmark name
src/odf/elements/bookmark.rs:39
Method
set_name
Set the style name.
src/ooxml/docx/writer/style.rs:140
Method
set_name
Set the bookmark name.
src/ooxml/docx/writer/bookmark.rs:41
Method
set_name
Set the theme name.
src/ooxml/docx/writer/theme.rs:95
Method
set_namespace_context
Set namespace context
src/odf/elements/element.rs:183
Method
set_notes_page
Set rich notes page for a slide # Arguments `slide` - Slide index `notes_page` - Full notes page with formatting
src/ole/ppt/writer/core.rs:1036
Method
set_open_password
(&mut self, password: &str)
src/ooxml/pptx/protection.rs:214
Method
set_open_password_encryption
Set the open-password encryption mode (Standard 2007 vs Agile).
src/ooxml/pptx/protection.rs:209
Method
set_page_setup
===== Page Setup ===== Configure page setup for printing. # Arguments `orientation` - "portrait" or "landscape" `paper_size` - Paper size code (1 = L
src/ooxml/xlsx/writer/sheet.rs:1513
Method
set_page_setup_with_options
Set page setup with scaling options. # Arguments `orientation` - "portrait" or "landscape" `paper_size` - Paper size code `scale` - Scale percentage
src/ooxml/xlsx/writer/sheet.rs:1532
Method
set_person_list
Set the person list for threaded comments. Persons are used to identify authors of threaded comments. # Arguments `person_list` - List of persons wh
src/ooxml/xlsx/workbook.rs:725
Method
set_placeholder
Set placeholder text.
src/ooxml/docx/writer/content_control.rs:208
Method
set_placeholder_size
Set the placeholder size.
src/ole/ppt/shapes/placeholder.rs:360
Method
set_print_area
Set the print area for the worksheet. # Arguments `range` - Cell range (e.g., "A1:D20") # Examples ```rust,no_run use litchi::ooxml::xlsx::Workbook
src/ooxml/xlsx/writer/sheet.rs:1571
Method
set_property
Set a property value (alias for `add_property`). This method has the same behavior as `add_property` but uses a more intuitive name for updating exis
src/ooxml/custom_properties.rs:275
Method
set_protection
Set presentation protection settings. # Examples ```rust use litchi::ooxml::pptx::{MutablePresentation, PresentationProtection}; let mut pres = Mut
src/ooxml/pptx/writer/pres.rs:505
Method
set_protection
Set document protection. # Arguments `protection_type` - Type of protection to apply # Examples ```rust,ignore use litchi::ooxml::docx::settings::
src/ooxml/docx/writer/doc.rs:384
Method
set_protection_with_password
Set document protection with password. Note: For simplicity, this implementation stores the hash directly. In a production system, you would use prop
src/ooxml/docx/writer/doc.rs:403
Method
set_read_only_recommended
Set read-only recommended flag.
src/ooxml/pptx/writer/pres.rs:522
Method
set_repeating_columns
Set repeating columns for printing (print titles). # Arguments `columns` - Column range (e.g., "A:B" for columns A-B) # Examples ```rust,no_run use
src/ooxml/xlsx/writer/sheet.rs:1677
Method
set_repeating_rows
Set repeating rows for printing (print titles). # Arguments `rows` - Row range (e.g., "1:2" for rows 1-2) # Examples ```rust,no_run use litchi::oox
src/ooxml/xlsx/writer/sheet.rs:1645
Method
set_result
Set the field result (for Complete fields only).
src/ooxml/docx/writer/field.rs:131
Method
set_root_clsid
Set the CLSID for the root directory entry # Arguments `clsid` - 16-byte CLSID
src/ole/writer/directory.rs:233
Method
set_rotate_text
Set rotate text with shape flag.
src/ole/ppt/shapes/shape.rs:525
Method
set_row_height
Set the height of a row in points. The row index is 0-based (0 = first row), and the height is specified in typographic points. Internally this is co
src/ole/xls/writer/core.rs:1291
Method
set_row_height
(&mut self, row: u32, height: u16)
src/ole/xls/writer/core/worksheet.rs:218
Method
set_row_height
Set row height in points (Excel default is 15). # Arguments `row` - 1-based row number (1 = first row)
src/ooxml/xlsx/writer/sheet.rs:732
Method
set_save_options
Set save options for the package.
src/ooxml/opc/package.rs:66
Method
set_shape_animation
Set animation for a specific shape # Arguments `slide` - Slide index `shape_index` - Shape index on the slide (0-based) `animation` - Animation info
src/ole/ppt/writer/core.rs:1057
Method
set_sheet_protection
Set sheet protection options. Passing `None` clears protection.
src/ooxml/xlsb/writer/worksheet.rs:265
Method
set_sheet_view
Set sheet view settings.
src/ooxml/xlsx/writer/sheet.rs:1754
Method
set_sheet_visibility
Set sheet visibility state. # Arguments `index` - Worksheet index (0-based) `visibility` - Visibility state: "visible", "hidden", or "veryHidden" #
src/ooxml/xlsx/workbook.rs:1524
Method
set_sheet_visibility
Set sheet visibility state.
src/ooxml/xlsx/writer/workbook.rs:795
Method
set_slide_height
Set the slide height in EMUs.
src/ooxml/pptx/writer/pres.rs:164
Method
set_slide_timing
Set per-slide timing (auto-advance, hidden, etc.). # Arguments `slide` - Slide index (0-based) `timing` - Timing configuration
src/ole/ppt/writer/core.rs:1119
Method
set_slide_width
Set the slide width in EMUs.
src/ooxml/pptx/writer/pres.rs:153
Method
set_sort
Set the sort configuration for a worksheet. # Arguments `sheet` — worksheet index (0-based) `case_sensitive` — whether sorting is case-sensitive `so
src/ole/xls/writer/core.rs:646
Method
set_space_after
Set spacing after this paragraph (in points).
src/ooxml/docx/writer/paragraph.rs:195
Method
set_space_before
Set spacing before this paragraph (in points).
src/ooxml/docx/writer/paragraph.rs:190
Method
set_standard_slide_size
Set slide size to standard 4:3 aspect ratio (10" x 7.5"). # Examples ```rust use litchi::ooxml::pptx::MutablePresentation; let mut pres = MutablePr
src/ooxml/pptx/writer/pres.rs:384
Method
set_tab_color
Set the tab color for a worksheet. # Arguments `index` - Worksheet index (0-based) `color` - RGB hex color (e.g., "FF0000" for red) # Examples ```r
src/ooxml/xlsx/workbook.rs:1674
Method
set_tab_color
Set the tab color for the worksheet. # Arguments `color` - RGB hex color (e.g., "FF0000" for red)
src/ooxml/xlsx/writer/sheet.rs:828
Method
set_table_size
Set table stream size
src/ole/doc/writer/fib.rs:172
Method
set_tag
Set the control tag.
src/ooxml/docx/writer/content_control.rs:182
Method
set_text
(&mut self, text: String)
src/ooxml/docx/revision.rs:166
Method
set_text
Set the comment text.
src/ooxml/docx/writer/comment.rs:65
Method
set_text
Set text in the first paragraph.
src/ooxml/docx/writer/table.rs:292
Method
set_text_color
Set text color from COLORREF
src/images/emf/device_context.rs:245
Method
set_theme
Set the document theme. # Arguments `theme` - Theme to apply to the document # Examples ```rust,ignore use litchi::ooxml::docx::writer::MutableThe
src/ooxml/docx/writer/doc.rs:447
Method
set_underline
Set underline formatting.
src/ole/ppt/shapes/textbox.rs:542
Method
set_visible
Set visibility
src/ooxml/xlsb/comments.rs:41
Method
set_watermark
Set a watermark for the document. # Arguments `watermark` - Watermark to apply # Examples ```rust,ignore use litchi::ooxml::docx::writer::Watermar
src/ooxml/docx/writer/doc.rs:477
Method
set_widescreen_slide_size
Set slide size to widescreen 16:9 aspect ratio (10" x 5.625"). # Examples ```rust use litchi::ooxml::pptx::MutablePresentation; let mut pres = Muta
src/ooxml/pptx/writer/pres.rs:399
Method
set_width_dxa
Set cell width in DXA units (twentieth of a point).
src/ooxml/docx/writer/table.rs:304
Method
set_width_percent
Set table width as percentage (100-500 where 100=20%, 500=100%).
src/ooxml/docx/writer/table.rs:98
Method
set_worksheet_name
Set the worksheet name
src/sheet/text/workbook.rs:191
Method
shape
Get a specific shape by index. # Arguments `index` - Zero-based index of the shape # Examples ```rust,no_run use litchi::ooxml::pptx::Package; let
src/ooxml/pptx/slide.rs:195
Method
shape_count
Get the number of shapes on the slide.
src/ooxml/pptx/writer/slide.rs:520
Method
shape_groups
Get all shape groups in the document. Returns grouped shapes.
src/rtf/document.rs:499
Method
shape_has_text
Check if a shape contains text content
src/iwa/shapes/text_extractor.rs:191
Method
shape_id
(&self)
src/ole/escher/shape.rs:107
Method
shape_type
(&self)
src/ole/escher/shape.rs:102
Method
shape_type
Get the shape type.
src/ole/ppt/shapes/shape.rs:189
Method
shape_type
Get the shape type.
src/odf/odp/slide.rs:103
Method
shape_type
(&self)
src/ooxml/pptx/shapes/base.rs:78
Method
shape_type
(&self)
src/ooxml/docx/drawing.rs:313
Method
shapes
Get all shapes on the slide. Returns a slice of shapes contained in this slide.
src/odf/odp/slide.rs:40
Method
shapes
Parse and return all shapes on this slide. Returns a vector of BaseShape objects that can be checked for type and converted to specific shape types.
src/ooxml/pptx/parts/slide.rs:110
Method
shapes
Get all shapes in the document. Returns drawing objects, text boxes, and other shapes.
src/rtf/document.rs:492
← previous
next →
6,901–7,000 of 11,583, ranked by callers