logisheets_workbook 0.7.0

Tools for LogiSheets to unarchive and write .xlsx file
Documentation
use super::simple_types::*;

pub fn fullwidth_katakana() -> StPhoneticType {
    StPhoneticType::FullwidthKatakana
}

pub fn st_phonetic_alignment_left() -> StPhoneticAlignment {
    StPhoneticAlignment::Left
}

pub fn default_zero_f64() -> f64 {
    0.0
}

pub fn default_zero_u32() -> u32 {
    0
}

pub fn default_one_u32() -> u32 {
    1
}

pub fn border_style_none() -> StBorderStyle {
    StBorderStyle::None
}

pub fn default_true() -> bool {
    true
}

pub fn default_false() -> bool {
    false
}

pub fn st_gradient_type_linear() -> StGradientType {
    StGradientType::Linear
}

pub fn st_underline_values_single() -> StUnderlineValues {
    StUnderlineValues::Single
}

pub fn st_text_h_align_left() -> StTextHAlign {
    StTextHAlign::Left
}

pub fn st_text_v_align_top() -> StTextVAlign {
    StTextVAlign::Top
}

pub fn st_calc_mode_auto() -> StCalcMode {
    StCalcMode::Auto
}

pub fn st_ref_mode_a1() -> StRefMode {
    StRefMode::A1
}

pub fn default_100_u32() -> u32 {
    100
}

pub fn default_iterate_delta() -> f64 {
    0.001
}

pub fn st_smart_tag_show_all() -> StSmartTagShow {
    StSmartTagShow::All
}

pub fn st_objects_all() -> StObjects {
    StObjects::All
}
pub fn st_update_links() -> StUpdateLinks {
    StUpdateLinks::UserSet
}

pub fn default_screen_size() -> StTargetScreenSize {
    StTargetScreenSize::EightSix
}

pub fn default_dpi() -> u32 {
    96
}

pub fn default_built_in_group_count() -> u32 {
    16
}

pub fn st_visibility_visible() -> StVisibility {
    StVisibility::Visible
}

pub fn default_tab_ratio() -> u32 {
    600
}

pub fn default_600_u32() -> u32 {
    600
}

pub fn st_comments_comm_indicator() -> StComments {
    StComments::CommIndicator
}

pub fn st_sheet_state_visible() -> StSheetState {
    StSheetState::Visible
}

pub fn st_sheet_view_type_normal() -> StSheetViewType {
    StSheetViewType::Normal
}

pub fn default_color_id() -> u32 {
    64
}

pub fn st_pane_top_left() -> StPane {
    StPane::TopLeft
}

pub fn st_pane_state_split() -> StPaneState {
    StPaneState::Split
}

pub fn st_pivot_area_type_normal() -> StPivotAreaType {
    StPivotAreaType::Normal
}

pub fn default_8_u32() -> u32 {
    8
}

pub fn default_string_pict() -> String {
    String::from("pict")
}

pub fn default_string_empty() -> String {
    String::from("")
}

pub fn st_dv_aspect_content() -> StDvAspect {
    StDvAspect::DvaspectContent
}

pub fn st_page_order_down_then_over() -> StPageOrder {
    StPageOrder::DownThenOver
}

pub fn st_orientation_default() -> StOrientation {
    StOrientation::Default
}

pub fn st_cell_comments_none() -> StCellComments {
    StCellComments::None
}

pub fn st_print_error_displayed() -> StPrintError {
    StPrintError::Displayed
}

pub fn st_sort_by_value() -> StSortBy {
    StSortBy::Value
}

pub fn st_icon_set_type_3arrows() -> StIconSetType {
    StIconSetType::ThreeArrows
}

pub fn st_calendar_type_none() -> StCalendarType {
    StCalendarType::None
}

pub fn st_filter_operator_equal() -> StFilterOperator {
    StFilterOperator::Equal
}

pub fn st_data_consolidate_function_sum() -> StDataConsolidateFunction {
    StDataConsolidateFunction::Sum
}

pub fn st_data_validation_type_none() -> StDataValidationType {
    StDataValidationType::None
}

pub fn st_data_validation_error_style_stop() -> StDataValidationErrorStyle {
    StDataValidationErrorStyle::Stop
}

pub fn st_data_validation_ime_mode_no_control() -> StDataValidationImeMode {
    StDataValidationImeMode::NoControl
}

pub fn st_data_validation_operator_between() -> StDataValidationOperator {
    StDataValidationOperator::Between
}

pub fn default_10_u32() -> u32 {
    10
}

pub fn default_90_u32() -> u32 {
    90
}

pub fn st_icon_set_type_3_traffic_lights1() -> StIconSetType {
    StIconSetType::ThreeTrafficLights1
}

pub fn default_zero_u8() -> u8 {
    0
}

pub fn default_zero_i32() -> i32 {
    0
}

pub fn st_cell_type_n() -> StCellType {
    StCellType::N
}

pub fn st_cell_formula_type_normal() -> StCellFormulaType {
    StCellFormulaType::Normal
}

pub fn empty_string() -> String {
    String::from("")
}

pub fn st_target_mode_internal() -> StTargetMode {
    StTargetMode::Internal
}

pub fn string_100_percent() -> String {
    String::from("100%")
}

pub fn string_0_percent() -> String {
    String::from("0%")
}