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