Sign in

    vectie/moonleaf/scene does not have a README file

    Cell

    pub(all) struct Cell {
    row : Int
    column : Int
    value : CellValue
    style_id : Int?
    } derive(Eq,
    Debug
    )

    CellRange

    pub(all) struct CellRange {
    start_row : Int
    start_column : Int
    end_row : Int
    end_column : Int
    } derive(Eq,
    Debug
    )

    CellValue

    pub(all) enum CellValue {
    Empty
    Text(String)
    Number(String)
    Boolean(Bool)
    Formula(expression~ : String, cached~ : String?)
    Error(String)
    } derive(Eq,
    Debug
    )

    Document

    pub(all) enum Document {
    TextDocument(TextDocument)
    WorkbookDocument(Workbook)
    PresentationDocument(Presentation)
    } derive(Eq,
    Debug
    )

    DocumentKind

    pub(all) enum DocumentKind {
    Text
    Spreadsheet
    Presentation
    } derive(Eq,
    Debug
    )

    Presentation

    pub(all) struct Presentation {
    slides : Array[Slide]
    warnings : Array[Warning]
    } derive(Eq,
    Debug
    )

    Rect

    pub(all) struct Rect {
    x : Int
    y : Int
    width : Int
    height : Int
    } derive(Eq,
    Debug
    )

    Sheet

    pub(all) struct Sheet {
    name : String
    cells : Array[Cell]
    merged_ranges : Array[CellRange]
    } derive(Eq,
    Debug
    )

    Slide

    pub(all) struct Slide {
    name : String
    width : Int
    height : Int
    elements : Array[SlideElement]
    } derive(Eq,
    Debug
    )

    SlideElement

    pub(all) enum SlideElement {
    TextBox(bounds~ : Rect, runs~ : Array[TextRun])
    Shape(kind~ : String, bounds~ : Rect, text~ : Array[TextRun])
    Image(bounds~ : Rect, relationship_id~ : String)
    } derive(Eq,
    Debug
    )

    TextBlock

    pub(all) enum TextBlock {
    Paragraph(Array[TextRun])
    Heading(Int, Array[TextRun])
    ListItem(level~ : Int, ordered~ : Bool, Array[TextRun])
    Table(Array[Array[String]])
    } derive(Eq,
    Debug
    )

    TextDocument

    pub(all) struct TextDocument {
    blocks : Array[TextBlock]
    warnings : Array[Warning]
    } derive(Eq,
    Debug
    )

    TextRun

    pub(all) struct TextRun {
    text : String
    style : TextStyle
    } derive(Eq,
    Debug
    )

    TextStyle

    pub(all) struct TextStyle {
    bold : Bool
    italic : Bool
    underline : Bool
    font_size_half_points : Int?
    color : String?
    } derive(Eq,
    Debug
    )

    TextStyle::plain

    fn TextStyle::plain() -> TextStyle

    Warning

    pub(all) struct Warning {
    code : String
    message : String
    part : String?
    } derive(Eq,
    Debug
    )

    Workbook

    pub(all) struct Workbook {
    sheets : Array[Sheet]
    warnings : Array[Warning]
    } derive(Eq,
    Debug
    )

    Source Files

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io