This reverts commit fbe87945e0
.
main
parent
fbe87945e0
commit
d95137cb9f
|
@ -6,7 +6,7 @@ use crate::xml_builder::*;
|
||||||
|
|
||||||
#[derive(Debug, Clone, Deserialize, PartialEq)]
|
#[derive(Debug, Clone, Deserialize, PartialEq)]
|
||||||
pub struct Bold {
|
pub struct Bold {
|
||||||
pub val: bool,
|
val: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Bold {
|
impl Bold {
|
||||||
|
|
|
@ -6,7 +6,7 @@ use crate::xml_builder::*;
|
||||||
|
|
||||||
#[derive(Debug, Clone, Deserialize, PartialEq)]
|
#[derive(Debug, Clone, Deserialize, PartialEq)]
|
||||||
pub struct BoldCs {
|
pub struct BoldCs {
|
||||||
pub val: bool,
|
val: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl BoldCs {
|
impl BoldCs {
|
||||||
|
|
|
@ -8,7 +8,7 @@ use crate::{xml_builder::XMLBuilder, BuildXML};
|
||||||
|
|
||||||
#[derive(Debug, Clone, Deserialize, PartialEq)]
|
#[derive(Debug, Clone, Deserialize, PartialEq)]
|
||||||
pub struct Caps {
|
pub struct Caps {
|
||||||
pub val: bool,
|
val: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Caps {
|
impl Caps {
|
||||||
|
|
|
@ -7,7 +7,7 @@ use serde::*;
|
||||||
#[derive(Debug, Clone, Deserialize, PartialEq)]
|
#[derive(Debug, Clone, Deserialize, PartialEq)]
|
||||||
#[serde(rename_all = "camelCase")]
|
#[serde(rename_all = "camelCase")]
|
||||||
pub struct CharacterSpacing {
|
pub struct CharacterSpacing {
|
||||||
pub value: i32,
|
value: i32,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl CharacterSpacing {
|
impl CharacterSpacing {
|
||||||
|
|
|
@ -6,7 +6,7 @@ use crate::xml_builder::*;
|
||||||
|
|
||||||
#[derive(Deserialize, Debug, Clone, PartialEq)]
|
#[derive(Deserialize, Debug, Clone, PartialEq)]
|
||||||
pub struct Color {
|
pub struct Color {
|
||||||
pub val: String,
|
val: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Color {
|
impl Color {
|
||||||
|
|
|
@ -6,7 +6,7 @@ use crate::xml_builder::*;
|
||||||
|
|
||||||
#[derive(Debug, Clone, Deserialize, PartialEq)]
|
#[derive(Debug, Clone, Deserialize, PartialEq)]
|
||||||
pub struct Highlight {
|
pub struct Highlight {
|
||||||
pub val: String,
|
val: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Highlight {
|
impl Highlight {
|
||||||
|
|
|
@ -6,7 +6,7 @@ use crate::xml_builder::*;
|
||||||
|
|
||||||
#[derive(Debug, Clone, Deserialize, PartialEq)]
|
#[derive(Debug, Clone, Deserialize, PartialEq)]
|
||||||
pub struct Italic {
|
pub struct Italic {
|
||||||
pub val: bool,
|
val: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Italic {
|
impl Italic {
|
||||||
|
|
|
@ -6,7 +6,7 @@ use crate::xml_builder::*;
|
||||||
|
|
||||||
#[derive(Debug, Clone, Deserialize, PartialEq)]
|
#[derive(Debug, Clone, Deserialize, PartialEq)]
|
||||||
pub struct ItalicCs {
|
pub struct ItalicCs {
|
||||||
pub val: bool,
|
val: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl ItalicCs {
|
impl ItalicCs {
|
||||||
|
|
|
@ -9,17 +9,17 @@ use serde::*;
|
||||||
#[serde(rename_all = "camelCase")]
|
#[serde(rename_all = "camelCase")]
|
||||||
pub struct LineSpacing {
|
pub struct LineSpacing {
|
||||||
#[serde(skip_serializing_if = "Option::is_none")]
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
pub line_rule: Option<LineSpacingType>,
|
line_rule: Option<LineSpacingType>,
|
||||||
#[serde(skip_serializing_if = "Option::is_none")]
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
pub before: Option<u32>,
|
before: Option<u32>,
|
||||||
#[serde(skip_serializing_if = "Option::is_none")]
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
pub after: Option<u32>,
|
after: Option<u32>,
|
||||||
#[serde(skip_serializing_if = "Option::is_none")]
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
pub before_lines: Option<u32>,
|
before_lines: Option<u32>,
|
||||||
#[serde(skip_serializing_if = "Option::is_none")]
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
pub after_lines: Option<u32>,
|
after_lines: Option<u32>,
|
||||||
#[serde(skip_serializing_if = "Option::is_none")]
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
pub line: Option<i32>,
|
line: Option<i32>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl LineSpacing {
|
impl LineSpacing {
|
||||||
|
|
|
@ -7,7 +7,7 @@ use crate::xml_builder::*;
|
||||||
|
|
||||||
#[derive(Debug, Clone, PartialEq)]
|
#[derive(Debug, Clone, PartialEq)]
|
||||||
pub struct Link {
|
pub struct Link {
|
||||||
pub val: String,
|
val: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Link {
|
impl Link {
|
||||||
|
|
|
@ -17,23 +17,23 @@ use crate::xml_builder::*;
|
||||||
#[serde(rename_all = "camelCase")]
|
#[serde(rename_all = "camelCase")]
|
||||||
pub struct RunFonts {
|
pub struct RunFonts {
|
||||||
#[serde(skip_serializing_if = "Option::is_none")]
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
pub ascii: Option<String>,
|
ascii: Option<String>,
|
||||||
#[serde(skip_serializing_if = "Option::is_none")]
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
pub hi_ansi: Option<String>,
|
hi_ansi: Option<String>,
|
||||||
#[serde(skip_serializing_if = "Option::is_none")]
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
pub east_asia: Option<String>,
|
east_asia: Option<String>,
|
||||||
#[serde(skip_serializing_if = "Option::is_none")]
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
pub cs: Option<String>,
|
cs: Option<String>,
|
||||||
#[serde(skip_serializing_if = "Option::is_none")]
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
pub ascii_theme: Option<String>,
|
ascii_theme: Option<String>,
|
||||||
#[serde(skip_serializing_if = "Option::is_none")]
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
pub hi_ansi_theme: Option<String>,
|
hi_ansi_theme: Option<String>,
|
||||||
#[serde(skip_serializing_if = "Option::is_none")]
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
pub east_asia_theme: Option<String>,
|
east_asia_theme: Option<String>,
|
||||||
#[serde(skip_serializing_if = "Option::is_none")]
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
pub cs_theme: Option<String>,
|
cs_theme: Option<String>,
|
||||||
#[serde(skip_serializing_if = "Option::is_none")]
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
pub hint: Option<String>,
|
hint: Option<String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl RunFonts {
|
impl RunFonts {
|
||||||
|
|
|
@ -6,7 +6,7 @@ use crate::xml_builder::*;
|
||||||
|
|
||||||
#[derive(Debug, Clone, Deserialize, PartialEq)]
|
#[derive(Debug, Clone, Deserialize, PartialEq)]
|
||||||
pub struct Sz {
|
pub struct Sz {
|
||||||
pub val: usize,
|
val: usize,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Sz {
|
impl Sz {
|
||||||
|
|
|
@ -5,7 +5,7 @@ use std::io::Write;
|
||||||
|
|
||||||
#[derive(Deserialize, Debug, Clone, PartialEq)]
|
#[derive(Deserialize, Debug, Clone, PartialEq)]
|
||||||
pub struct SzCs {
|
pub struct SzCs {
|
||||||
pub val: usize,
|
val: usize,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SzCs {
|
impl SzCs {
|
||||||
|
|
|
@ -6,7 +6,7 @@ use crate::xml_builder::*;
|
||||||
|
|
||||||
#[derive(Debug, Clone, Deserialize, PartialEq)]
|
#[derive(Debug, Clone, Deserialize, PartialEq)]
|
||||||
pub struct Underline {
|
pub struct Underline {
|
||||||
pub val: String,
|
val: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Underline {
|
impl Underline {
|
||||||
|
|
|
@ -7,7 +7,7 @@ use crate::xml_builder::*;
|
||||||
|
|
||||||
#[derive(Debug, Clone, PartialEq)]
|
#[derive(Debug, Clone, PartialEq)]
|
||||||
pub struct VertAlign {
|
pub struct VertAlign {
|
||||||
pub val: VertAlignType,
|
val: VertAlignType,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl VertAlign {
|
impl VertAlign {
|
||||||
|
|
Loading…
Reference in New Issue