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
↓ 2 callers
Method
storages
Get all text storages
src/iwa/text/extractor.rs:67
↓ 2 callers
Function
style_to_latex
Convert style to LaTeX string
src/formula/latex/operators.rs:170
↓ 2 callers
Method
table_count
Get total number of tables
src/iwa/numbers/sheet.rs:54
↓ 2 callers
Method
table_count
Get the number of tables in the document. # Examples ```rust,no_run use litchi::ooxml::docx::Package; let pkg = Package::open("document.docx")?; le
src/ooxml/docx/document.rs:118
↓ 2 callers
Method
target_partname
Get the target partname for internal relationships. Resolves the relative target reference against the base URI to produce an absolute PackURI.
src/ooxml/opc/pkgreader.rs:72
↓ 2 callers
Method
text
Get the document's text content This method uses the modern text extraction API that efficiently processes TSWP storage objects across all iWork appl
src/iwa/document.rs:113
↓ 2 callers
Method
text
Get the text content of the cell.
src/document/table.rs:218
↓ 2 callers
Method
text
Get all text content from the document. This concatenates all text blocks with their natural separators.
src/rtf/document.rs:242
↓ 2 callers
Method
text
Get the text content of the slide. # Examples ```rust,no_run use litchi::Presentation; let pres = Presentation::open("presentation.ppt")?; for slid
src/presentation/slide.rs:34
↓ 2 callers
Method
text_content
Get combined text
src/ole/ppt/writer/notes.rs:202
↓ 2 callers
Method
time
Create a TIME field with optional format.
src/ooxml/docx/writer/field.rs:243
↓ 2 callers
Method
to_biff_payload
Convert this conditional format description into BIFF8 CFRule payload components. Returns `(condition_type, comparison_operator, formula1_bytes, form
src/ole/xls/writer/core/conditional_format.rs:29
↓ 2 callers
Method
to_bytes
Write this entry to bytes (128 bytes per OLE2 spec)
src/ole/writer/directory.rs:148
↓ 2 callers
Method
to_centimeters
Convert to centimeters # Examples ``` use litchi::common::unit::{Length, LengthUnit}; let inch = Length::new(1.0, LengthUnit::Inch); let cm = inch.
src/common/unit.rs:298
↓ 2 callers
Method
to_doper
Serialize to a 10-byte DOPER structure + optional string. Returns `(doper: [u8; 10], optional_string: Option<&str>)`.
src/ole/xls/writer/biff/worksheet.rs:332
↓ 2 callers
Method
to_owned
(&self)
src/images/emf/parser.rs:328
↓ 2 callers
Function
to_subscript
(c: char)
src/markdown/unicode.rs:210
↓ 2 callers
Function
to_superscript
(c: char)
src/markdown/unicode.rs:186
↓ 2 callers
Method
to_svg
Convert to SVG path string
src/images/svg.rs:41
↓ 2 callers
Method
to_xml
Generate XML content for the custom properties. This creates the XML structure for `docProps/custom.xml`.
src/ooxml/custom_properties.rs:404
↓ 2 callers
Method
to_xml
Generate handout master XML. Structure matches Apache POI PowerPoint-created files.
src/ooxml/pptx/handout.rs:228
↓ 2 callers
Method
to_xml
Generate XML for this section.
src/ooxml/pptx/sections.rs:51
↓ 2 callers
Method
to_xml
(self)
src/ooxml/docx/enums.rs:40
↓ 2 callers
Method
to_xml
Generate core.xml content for this properties set.
src/ooxml/common/properties.rs:99
↓ 2 callers
Method
to_xml_internal
Internal method for XML serialization with optional hyperlink relationship IDs.
src/ooxml/xlsx/writer/sheet.rs:2104
↓ 2 callers
Method
to_xml_start
(&self)
src/ooxml/docx/writer/content_control.rs:221
↓ 2 callers
Method
to_xml_with_rel_map
Generate custom shows XML with proper relationship ID mapping. # Arguments `slide_id_to_rel_id` - Mapping from slide ID (e.g., 256) to relationship I
src/ooxml/pptx/customshow.rs:210
↓ 2 callers
Method
to_xml_with_rels
Generate slide XML content with relationship IDs from the mapper. # Arguments `slide_index` - The index of this slide (used to look up relationships)
src/ooxml/pptx/writer/slide.rs:898
↓ 2 callers
Method
transform_and_format_points
Transform points in-place and write to string buffer (optimized for SVG generation) This is a specialized method that transforms points and immediate
src/images/wmf/svg/transform.rs:108
↓ 2 callers
Method
transform_point
Apply transform to a point
src/images/emf/device_context.rs:125
↓ 2 callers
Method
transform_points_batch
( &self, xs: &[i16], ys: &[i16], out_x: &mut [f64], out_y: &mut [f64],
src/images/wmf/svg/transform.rs:76
↓ 2 callers
Function
transform_points_scalar
(points: &mut [PointL], xform: &XForm)
src/images/emf/simd_ops.rs:43
↓ 2 callers
Method
try_normalize
(self)
soapberry-zip/src/path.rs:300
↓ 2 callers
Method
try_parse_cell_ref
Try to parse a cell reference
src/odf/ods/formula.rs:352
↓ 2 callers
Method
try_read_at_least_at
( &self, buffer: &mut [u8], mut size: usize, offset: u64, )
soapberry-zip/src/reader_at.rs:55
↓ 2 callers
Function
unescape_sheet_name
(sheet: &str)
src/sheet/eval/parser/reference.rs:77
↓ 2 callers
Function
unix_timestamp_to_components
Convert Unix timestamp to broken down date/time components Based on Howard Hinnant's date library algorithm `civil_from_days`: <https://howardhinnan
soapberry-zip/src/time.rs:659
↓ 2 callers
Method
validate
(&self)
soapberry-zip/src/locator.rs:515
↓ 2 callers
Method
value
(&self)
src/ooxml/xlsb/cell.rs:151
↓ 2 callers
Method
vertical_position
(&self)
src/rtf/types.rs:383
↓ 2 callers
Method
width
(&self, w: f64)
src/images/wmf/svg/transform.rs:44
↓ 2 callers
Function
wildcard_match
(pattern: &str, text: &str)
src/sheet/eval/engine/criteria.rs:74
↓ 2 callers
Function
windows_1252_to_char
Convert a Windows-1252 byte to a Unicode character. Windows-1252 is mostly compatible with ISO-8859-1, but has additional printable characters in the
src/ole/doc/parts/text.rs:438
↓ 2 callers
Function
windows_1252_to_char
(byte: u8)
src/common/binary.rs:291
↓ 2 callers
Method
with_display_text
Set display text
src/ole/ppt/writer/hyperlink.rs:318
↓ 2 callers
Method
with_duration
Set the duration.
src/ooxml/pptx/animations.rs:182
↓ 2 callers
Method
with_eocd_offset
Sets the false signature offset on this error
soapberry-zip/src/errors.rs:16
↓ 2 callers
Method
with_fill
Set fill style
src/ole/ppt/writer/shapes.rs:521
↓ 2 callers
Method
with_formula_style
(mut self, style: FormulaStyle)
src/markdown/config.rs:165
↓ 2 callers
Method
with_initials
Set the author initials explicitly.
src/ole/ppt/writer/comments.rs:105
↓ 2 callers
Method
with_line
Set line style
src/ole/ppt/writer/shapes.rs:545
↓ 2 callers
Method
with_metadata
(mut self, include: bool)
src/markdown/config.rs:116
↓ 2 callers
Method
with_rotation
Set rotation
src/ole/ppt/writer/shapes.rs:569
↓ 2 callers
Method
with_script_style
(mut self, style: ScriptStyle)
src/markdown/config.rs:198
↓ 2 callers
Method
with_slides
Set slides with builder pattern.
src/ooxml/pptx/customshow.rs:43
↓ 2 callers
Method
with_speed
Set the transition speed.
src/ooxml/pptx/transitions.rs:221
↓ 2 callers
Method
with_strikethrough_style
(mut self, style: StrikethroughStyle)
src/markdown/config.rs:214
↓ 2 callers
Method
with_styles
(mut self, include: bool)
src/markdown/config.rs:98
↓ 2 callers
Method
with_table_style
(mut self, style: TableStyle)
src/markdown/config.rs:132
↓ 2 callers
Method
with_title
Set the chart title.
src/ooxml/pptx/parts/chart.rs:239
↓ 2 callers
Method
with_tooltip
Set tooltip
src/ooxml/xlsb/hyperlinks.rs:139
↓ 2 callers
Method
with_trigger
Set the trigger type.
src/ooxml/pptx/animations.rs:176
↓ 2 callers
Function
workday_core
( start: NaiveDate, days: i64, holidays: &[NaiveDate], weekend: &WeekendConfig, )
src/sheet/eval/engine/date_time/helpers.rs:256
↓ 2 callers
Method
worksheet_by_index
(&self, index: usize)
src/ole/xls/workbook.rs:447
↓ 2 callers
Method
worksheet_by_index
(&self, index: usize)
src/ooxml/xlsb/workbook.rs:229
↓ 2 callers
Method
worksheet_names
(&self)
src/sheet/text/workbook.rs:284
↓ 2 callers
Method
write
Write header to writer
src/ole/ppt/writer/escher.rs:181
↓ 2 callers
Method
write
Write the header to a writer (8 bytes)
src/ole/ppt/writer/records.rs:121
↓ 2 callers
Method
write
Write worksheet to binary format Following Excel's required structure
src/ooxml/xlsb/writer/worksheet.rs:503
↓ 2 callers
Function
write_a_stretch_fill_rect
(xml: &mut String)
src/ooxml/drawings/fill.rs:2
↓ 2 callers
Function
write_bof
Write BOF (Beginning of File) record Record type: 0x0809 # Arguments `writer` - Output writer `substream_type` - Type of substream (0x0005 = Workbo
src/ole/xls/writer/biff.rs:335
↓ 2 callers
Function
write_bof
Write BOF (Beginning of File) record Record type: 0x0809 # Arguments `writer` - Output writer `substream_type` - Type of substream (0x0005 = Workbo
src/ole/xls/writer/biff/workbook.rs:349
↓ 2 callers
Method
write_bool_cell
Write a boolean cell (BrtCellBool - Cell + u8 = 9 bytes)
src/ooxml/xlsb/writer/worksheet.rs:988
↓ 2 callers
Method
write_boolean
Write a boolean value to a cell # Arguments `sheet` - Worksheet index `row` - Row index (0-based) `col` - Column index (0-based) `value` - Boolean v
src/ole/xls/writer/core.rs:350
↓ 2 callers
Method
write_break_list
( &self, xml: &mut String, tag: &str, breaks: &[PageBreak], )
src/ooxml/xlsx/writer/sheet.rs:3297
↓ 2 callers
Function
write_build_atom
Write BuildAtom record.
src/ole/ppt/animation/writer.rs:336
↓ 2 callers
Function
write_date1904
Write DATE1904 record Record type: 0x0022 # Arguments `writer` - Output writer `is_1904` - True for 1904 date system (Mac), false for 1900 (Windows
src/ole/xls/writer/biff.rs:366
↓ 2 callers
Function
write_dimensions
Write DIMENSIONS record (worksheet dimensions) Record type: 0x0200 # Arguments `writer` - Output writer `first_row` - First used row `last_row` - L
src/ole/xls/writer/biff/worksheet.rs:757
↓ 2 callers
Method
write_document_header
Write document header
src/rtf/writer.rs:130
↓ 2 callers
Function
write_empty_tag
(out: &mut Vec<u8>, e: &quick_xml::events::BytesStart<'_>)
src/ooxml/docx/parts/document_part.rs:429
↓ 2 callers
Function
write_end_tag
(out: &mut Vec<u8>, name: &[u8])
src/ooxml/docx/parts/document_part.rs:447
↓ 2 callers
Method
write_error_cell
Write an error cell (BrtCellError - Cell + u8 = 9 bytes)
src/ooxml/xlsb/writer/worksheet.rs:1007
↓ 2 callers
Function
write_escher_group_shape
(writer: &mut W, shape_id: u32)
src/ole/xls/writer/biff/pivot.rs:704
↓ 2 callers
Function
write_escher_header
Write an Escher record header
src/ole/ppt/writer/blip.rs:490
↓ 2 callers
Function
write_escher_properties
( writer: &mut W, properties: &[EscherProperty], )
src/ole/xls/writer/biff/pivot.rs:628
↓ 2 callers
Function
write_excel9_file
Write EXCEL9FILE record. Record type: 0x01C0
src/ole/xls/writer/biff/workbook.rs:220
↓ 2 callers
Function
write_fixed_width
( data: &[Vec<CellValue>], writer: &mut W, config: FixedWidthConfig, )
src/sheet/text/formats/fixed_width.rs:176
↓ 2 callers
Function
write_frt_header
(writer: &mut W, record_id: u16)
src/ole/xls/writer/biff/pivot_xfext.rs:21
↓ 2 callers
Method
write_html_table
(&mut self, table: &Table, styled: bool)
src/markdown/writer.rs:1029
↓ 2 callers
Function
write_index
Write INDEX record. Record type: 0x020B, Length: 16 + 4 * cDbCell
src/ole/xls/writer/biff/worksheet.rs:20
↓ 2 callers
Method
write_local_header
Writes a local file header with filtered extra fields.
soapberry-zip/src/writer.rs:602
↓ 2 callers
Method
write_markdown_escaped
(&mut self, text: &str)
src/markdown/writer.rs:953
↓ 2 callers
Function
write_mergedcells_chunk
( writer: &mut W, ranges: &[(u16, u16, u16, u16)], )
src/ole/xls/writer/biff/worksheet.rs:875
↓ 2 callers
Method
write_metadata
Write document metadata as YAML front matter. If metadata is available and include_metadata is enabled, this writes the metadata as YAML front matter
src/markdown/writer.rs:1317
↓ 2 callers
Function
write_number
Write NUMBER record (floating point cell) Record type: 0x0203 # Arguments `writer` - Output writer `row` - Row index (0-based) `col` - Column index
src/ole/xls/writer/biff.rs:511
↓ 2 callers
Method
write_number
Write a number value to a cell # Arguments `sheet` - Worksheet index `row` - Row index (0-based) `col` - Column index (0-based) `value` - Numeric va
src/ole/xls/writer/core.rs:327
↓ 2 callers
Method
write_paragraph_properties
Write paragraph properties
src/rtf/writer.rs:344
↓ 2 callers
Function
write_protect
(writer: &mut W, protect: bool)
src/ole/xls/writer/biff.rs:176
↓ 2 callers
Function
write_row_col_items
(xml: &mut String, tag_name: &str, items: &[RowColItem])
src/ooxml/xlsx/pivot/writer.rs:269
↓ 2 callers
Method
write_shared_string_cell
Write a shared string cell (BrtCellIsst - Cell + u32 = 12 bytes)
src/ooxml/xlsb/writer/worksheet.rs:946
← previous
next →
1,901–2,000 of 11,583, ranked by callers