MCPcopy Create free account

hub / github.com/DevExzh/litchi / functions

Functions11,583 in github.com/DevExzh/litchi

Methodto_csv
Export spreadsheet data as CSV. Converts all sheets to CSV format, with sheets separated by double newlines. Properly escapes CSV special characters.
src/odf/ods/spreadsheet.rs:218
Methodto_emus
Convert to EMUs
pyo3-litchi/src/common.rs:213
Methodto_escher_type
Convert to Escher shape type code
src/ole/ppt/writer/shapes.rs:327
Methodto_hex
Convert to hex string (without # prefix, uppercase). # Examples ```rust use litchi::common::RGBColor; let color = RGBColor::new(255, 0, 0); assert_
src/common/style/color.rs:168
Methodto_hex_string
(&self)
src/common/style/color.rs:183
Methodto_inches
(self)
src/ooxml/docx/section.rs:44
Methodto_inches
Convert to inches
pyo3-litchi/src/common.rs:223
Methodto_jpeg
(&self, width: Option<u32>, height: Option<u32>)
src/images/extractor.rs:94
Methodto_markdown
Convert this item to Markdown with default options. # Examples ```rust,no_run use litchi::{Document, markdown::ToMarkdown}; # fn main() -> Result<(
src/markdown/traits.rs:46
Methodto_markdown_with_options
(&self, options: &MarkdownOptions)
src/markdown/presentation.rs:18
Methodto_picf
Generate PICF (Picture Descriptor) structure This is a simplified version of the PICF structure
src/ole/doc/writer/images.rs:120
Methodto_pivot_value_function
(self)
src/ooxml/xlsx/pivot/fields.rs:195
Methodto_points
Convert to points
pyo3-litchi/src/common.rs:218
Methodto_pres_props_xml
Generate XML for presProps.xml (read-only recommended flag).
src/ooxml/pptx/protection.rs:352
Methodto_preset
(&self)
src/ooxml/pptx/animations.rs:109
Methodto_preset
(&self)
src/ooxml/docx/drawing.rs:129
Methodto_pt
(self)
src/ooxml/docx/section.rs:56
Functionto_py_err
Converts a Rust litchi::Error to a Python exception
pyo3-litchi/src/common.rs:19
Methodto_range_string
Get the cell range as a string (e.g., "A1:B2")
src/ooxml/xlsb/merged_cells.rs:70
Methodto_shape_xml
Generate the picture shape XML for video/audio placeholder. # Arguments `shape_id` - Shape ID `media_rel_id` - Relationship ID for the media file `im
src/ooxml/pptx/media.rs:278
Methodto_svg_anchor
(&self)
src/images/emf/device_context.rs:40
Methodto_svg_attrs
Convert to SVG stroke attributes
src/images/emf/gdi_objects.rs:266
Methodto_svg_fill_rule
(&self)
src/images/emf/device_context.rs:86
Methodto_svg_fill_rule
Convert to SVG fill-rule
src/images/emf/records/drawing.rs:168
Methodto_svg_matrix
Convert to SVG transform matrix
src/images/emf/device_context.rs:132
Methodto_twips
(self)
src/ooxml/docx/section.rs:62
Methodto_xml
Generate timing XML for a slide.
src/ooxml/pptx/animations.rs:269
Methodto_xml
Generate XML for presentation.xml modification protection.
src/ooxml/pptx/protection.rs:308
Methodto_xml
Get XML value for this protection type.
src/ooxml/docx/settings.rs:66
Methodto_xml
(&self, xml: &mut String)
src/ooxml/docx/writer/table.rs:139
Methodto_xml
(&self, xml: &mut String)
src/ooxml/docx/writer/run.rs:175
Methodto_xml
Serialize relationships to XML format. Generates the XML for a .rels file, with relationships sorted by rId for consistent output.
src/ooxml/opc/rel.rs:294
Methodto_xml
Serialize the shared strings table to XML.
src/ooxml/xlsx/writer/strings.rs:48
Methodto_xml_end
()
src/ooxml/docx/writer/content_control.rs:300
Methodto_xml_with_rels
Generate XML with actual relationship IDs from the mapper. The hyperlink_counter and image_counter are used to track the global index across all para
src/ooxml/docx/writer/paragraph.rs:417
Methodtoc
Create a TOC (Table of Contents) field. # Arguments `instruction` - The complete TOC field instruction (e.g., `TOC \o "1-3" \h \z`) `placeholder_tex
src/ooxml/docx/writer/field.rs:276
Methodtoc1
Create a TOC level 1 style.
src/ooxml/docx/writer/style.rs:521
Methodtoc2
Create a TOC level 2 style.
src/ooxml/docx/writer/style.rs:531
Methodtoc3
Create a TOC level 3 style.
src/ooxml/docx/writer/style.rs:542
Methodtoc_heading
Create a TOC heading style (for "Table of Contents" title).
src/ooxml/docx/writer/style.rs:512
Methodtokens_to_string
Convert formula tokens to string representation Uses RPN to infix conversion with proper operator precedence.
src/ooxml/xlsb/formula.rs:438
Methodtooltip
Get the tooltip if present.
src/ooxml/pptx/hyperlinks.rs:122
Methodtooltip
(&self)
src/ooxml/docx/hyperlink.rs:99
Methodtop
Get the Y position (top edge) in EMUs.
src/ooxml/pptx/shapes/base.rs:123
Methodtop_margin
Get the top margin for this section.
src/ooxml/docx/section.rs:190
Methodtotal_cell_count
Get total number of cells across all tables
src/iwa/numbers/sheet.rs:59
Methodtotal_chars
Get total character count
src/ole/ppt/writer/text_format.rs:669
Methodtotal_child_count
(&self)
src/formula/omml/elements.rs:356
Methodtotal_cps
Get the total number of characters (last CP).
src/ole/doc/parts/piece_table.rs:227
Methodtotal_shape_count
Get the total number of shapes across all slides. # Examples ```rust,no_run use litchi::ooxml::pptx::Package; let pkg = Package::open("presentation
src/ooxml/pptx/presentation.rs:384
Methodtotal_size_human
Format the total size as a human-readable string
src/iwa/media.rs:279
Methodtrack_changes
Get all tracked changes in the document. Tracked changes include insertions, deletions, and format changes made by document collaborators. # Example
src/odf/odt/document.rs:435
Methodtrack_revisions
(&self)
src/ooxml/docx/settings.rs:101
Methodtransform_point
(&self, x: f64, y: f64)
src/images/emf/records/types.rs:597
Methodtransition
Get the transition effect for this slide. Returns `None` if no transition is defined for this slide. # Examples ```rust,no_run use litchi::ooxml::p
src/ooxml/pptx/slide.rs:370
Methodtransition
Get the transition effect for this slide. Parses the `<p:transition>` element from the slide XML. Returns `None` if no transition is defined.
src/ooxml/pptx/parts/slide.rs:219
Methodtransition
Get the transition effect for the slide. Returns `None` if no transition is set.
src/ooxml/pptx/writer/slide.rs:167
Functiontrunc_comment_zips
()
soapberry-zip/src/archive.rs:1905
Functiontrunc_eocd64
()
soapberry-zip/src/archive.rs:1919
Functiontrunc_eocd_entry
()
soapberry-zip/src/archive.rs:1935
Methodtry_from
(v: u8)
src/ole/doc/image.rs:39
Methodtry_from_escher_record
(blip_record: &EscherRecord)
src/images/blip.rs:489
Methodtry_parse
Try to parse PictureFields from raw bytes # Arguments `data` - Raw byte slice `offset` - Starting offset within the data # Returns `Some(PictureFiel
src/ole/doc/image.rs:174
Methodtsv
Create TSV (tab-separated) configuration
src/sheet/text/workbook.rs:111
Methodtsv
()
src/sheet/text/formats/delimited.rs:35
Functiontwip_to_emu_i64
(twips: i64)
src/common/unit.rs:60
Methoduncompressed_size
Returns the uncompressed size of the data.
soapberry-zip/src/writer.rs:1134
Methodunderline
Check if the text is underlined.
src/ole/ppt/shapes/textbox.rs:537
Methodunderline
Set underline
src/ole/ppt/writer/text_format.rs:317
Methodunderline
Check if this run is underlined. Returns `Some(true)` if underline is present, `None` if not specified.
src/ole/doc/paragraph.rs:267
Methodunderline
Check if this run is underlined. Returns `Some(true)` if underline is present, `None` if not specified. Note: This is simplified. Full implementatio
src/ooxml/docx/paragraph.rs:694
Methodunderline
Set underline style.
src/ooxml/docx/writer/run.rs:104
Methodunderline
(&self)
src/rtf/types.rs:377
Methodunderline
Check if the run is underlined Returns: True if underlined, False if not underlined, None if unspecified Note: This method may not be supported for
pyo3-litchi/src/document.rs:190
Methodunderline_style
Get the underline style for this run. Returns the specific underline style if applied.
src/ole/doc/paragraph.rs:277
Methodunfreeze_panes
Remove any freeze panes from the specified worksheet.
src/ole/xls/writer/core.rs:1277
Methodunfreeze_panes
Remove freeze panes.
src/ooxml/xlsx/writer/sheet.rs:770
Methodungroup_columns
Ungroup columns. # Arguments `start_col` - Starting column (1-based, inclusive) `end_col` - Ending column (1-based, inclusive)
src/ooxml/xlsx/writer/sheet.rs:2025
Methodungroup_rows
Ungroup rows. # Arguments `start_row` - Starting row (1-based, inclusive) `end_row` - Ending row (1-based, inclusive)
src/ooxml/xlsx/writer/sheet.rs:1985
Methodunhide_sheet
Unhide a worksheet by index. # Arguments `index` - Worksheet index (0-based)
src/ooxml/xlsx/workbook.rs:1445
Methodunit
(&self)
src/common/unit.rs:209
Methodunits_per_inch
Get logical units per inch
src/images/emf/records/state.rs:66
Methodunix_permissions
(mut self, permissions: u32)
soapberry-zip/src/writer.rs:291
Methodunmarshal
Unmarshal a package from a package reader. This is the main deserialization logic that converts serialized parts and relationships into the in-memory
src/ooxml/opc/package.rs:130
Methodunprotect_sheet
(&mut self, sheet: usize)
src/ole/xls/writer/core.rs:1508
Methodunprotect_sheet
Unprotect the worksheet.
src/ooxml/xlsx/writer/sheet.rs:1916
Methodunprotect_workbook
(&mut self)
src/ole/xls/writer/core.rs:1482
Methodunprotect_workbook
Unprotect the workbook.
src/ooxml/xlsx/workbook.rs:1733
Methodunprotect_workbook
Unprotect the workbook.
src/ooxml/xlsx/writer/workbook.rs:871
Methodupdate_endnotes_part
Kept for future use
src/ooxml/docx/package.rs:1090
Methodupdate_footnotes_part
Kept for future use
src/ooxml/docx/package.rs:1063
Methodupdate_from_points
Update bounds from a sequence of points with SIMD acceleration Points are stored as interleaved x,y coordinates in the params buffer. Format: [x0_lo,
src/images/wmf/svg/bounds.rs:141
Methodupdate_from_points_avx2
( left: &mut i16, top: &mut i16, right: &mut i16, bottom: &mut i16, pa
src/images/wmf/svg/bounds.rs:354
Methodupdate_from_points_neon
( left: &mut i16, top: &mut i16, right: &mut i16, bottom: &mut i16, pa
src/images/wmf/svg/bounds.rs:459
Methodupdate_from_points_scalar
( left: &mut i16, top: &mut i16, right: &mut i16, bottom: &mut i16, pa
src/images/wmf/svg/bounds.rs:190
Methodupdate_from_points_sse2
( left: &mut i16, top: &mut i16, right: &mut i16, bottom: &mut i16, pa
src/images/wmf/svg/bounds.rs:212
Methodupdate_from_points_sse41
( left: &mut i16, top: &mut i16, right: &mut i16, bottom: &mut i16, pa
src/images/wmf/svg/bounds.rs:279
Methodupdate_paragraph
Update a paragraph at a specific index. # Arguments `index` - Index of the paragraph to update (0-based) `text` - New text content # Examples ```n
src/odf/odt/mutable.rs:327
Methodupdate_slide
Update a slide at a specific index. # Arguments `index` - Index of the slide to update (0-based) `title` - New title for the slide `text` - New text
src/odf/odp/mutable.rs:257
Methodupdate_watermark_headers
Kept for future use
src/ooxml/docx/package.rs:1193
← previousnext →11,201–11,300 of 11,583, ranked by callers