[#587] feat: Support link in style (#596)

* feat: Support link in style

* fix: style

* fix: snaps

* fix

* fix

* chore

Co-authored-by: bokuweb <bokuweb@bokuwebnoair.lan>
main
bokuweb 2022-12-20 12:01:08 +09:00 committed by GitHub
parent 838052be0f
commit bffbd468e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
17 changed files with 192 additions and 7 deletions

View File

@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## docx-wasm@0.0.277-rc1 (20. Dec, 2022)
- Support `link` in style.
## docx-wasm@0.0.277-rc0 (15. Dec, 2022)
- fix after contents in toc.
## docx-wasm@0.0.276 (13. Dec, 2022)
- Support outline_level in Paragraph and style.

View File

@ -0,0 +1,31 @@
use serde::{Serialize, Serializer};
use crate::documents::BuildXML;
use crate::xml_builder::*;
#[derive(Debug, Clone, PartialEq)]
pub struct Link {
val: String,
}
impl Link {
pub fn new(val: impl Into<String>) -> Link {
Link { val: val.into() }
}
}
impl Serialize for Link {
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where
S: Serializer,
{
serializer.serialize_str(&self.val)
}
}
impl BuildXML for Link {
fn build(&self) -> Vec<u8> {
let b = XMLBuilder::new();
b.next(&self.val).build()
}
}

View File

@ -50,6 +50,7 @@ mod level_override;
mod level_restart;
mod level_text;
mod line_spacing;
mod link;
mod mc_fallback;
mod name;
mod next;
@ -168,6 +169,7 @@ pub use level_override::*;
pub use level_restart::*;
pub use level_text::*;
pub use line_spacing::*;
pub use link::*;
pub use mc_fallback::*;
pub use name::*;
pub use next::*;

View File

@ -19,6 +19,8 @@ pub struct Style {
pub table_cell_property: TableCellProperty,
pub based_on: Option<BasedOn>,
pub next: Option<Next>,
#[serde(skip_serializing_if = "Option::is_none")]
pub link: Option<Link>,
}
impl Default for Style {
@ -36,6 +38,7 @@ impl Default for Style {
table_cell_property: TableCellProperty::new(),
based_on: None,
next: None,
link: None,
}
}
}
@ -65,6 +68,11 @@ impl Style {
self
}
pub fn link(mut self, link: impl Into<String>) -> Self {
self.link = Some(Link::new(link));
self
}
pub fn size(mut self, size: usize) -> Self {
self.run_property = self.run_property.size(size);
self
@ -219,7 +227,7 @@ impl BuildXML for Style {
.add_child(&self.table_cell_property)
.add_child(&self.table_property);
}
if let Some(ref based_on) = self.based_on {
b = b.add_child(based_on)
}
@ -228,6 +236,10 @@ impl BuildXML for Style {
b = b.add_child(next)
}
if let Some(ref link) = self.link {
b = b.add_child(link)
}
b.add_child(&QFormat::new())
.add_optional_child(&self.based_on)
.close()

View File

@ -42,6 +42,12 @@ impl ElementReader for Style {
}
continue;
}
XMLElement::Link => {
if let Some(v) = read_val(&attributes) {
style = style.link(v);
}
continue;
}
// pPr
XMLElement::ParagraphProperty => {
if let Ok(pr) = ParagraphProperty::read(r, attrs) {

View File

@ -78,7 +78,8 @@ mod tests {
Style::new("FootnoteTextChar", StyleType::Character)
.name("Footnote Text Char")
.size(20)
.based_on("DefaultParagraphFont"),
.based_on("DefaultParagraphFont")
.link("FootnoteText"),
);
assert_eq!(s, styles);
}

View File

@ -41,6 +41,7 @@ pub enum XMLElement {
Indent,
Name,
BasedOn,
Link,
Alignment,
NumberingProperty,
IndentLevel,
@ -320,6 +321,7 @@ impl FromStr for XMLElement {
"gridCol" => Ok(XMLElement::GridCol),
"style" => Ok(XMLElement::Style),
"basedOn" => Ok(XMLElement::BasedOn),
"link" => Ok(XMLElement::Link),
"bdr" => Ok(XMLElement::TextBorder),
"next" => Ok(XMLElement::Next),
"vertAlign" => Ok(XMLElement::VertAlign),

View File

@ -186,6 +186,8 @@ impl XMLBuilder {
// i.e. <w:next ... >
closed_with_str!(next, "w:next");
closed_with_str!(link, "w:link");
// i.e. <w:color ... >
closed_with_str!(color, "w:color");

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -13,6 +13,7 @@ export type StyleJSON = {
tableProperty: TablePropertyJSON;
tableCellProperty: TableCellPropertyJSON;
basedOn: string | null;
link?: string | null | undefined;
};
export type StylesJSON = {

View File

@ -35,6 +35,7 @@ export class Style {
_paragraphProperty: ParagraphProperty;
_tableProperty: TableProperty;
_basedOn: string | null;
_link: string | null;
constructor(id: string, type: StyleType) {
this._styleId = id;
@ -47,6 +48,7 @@ export class Style {
this._runProperty = createDefaultRunProperty();
this._paragraphProperty = createDefaultParagraphProperty();
this._basedOn = null;
this._link = null;
}
name = (n: string) => {
@ -59,6 +61,11 @@ export class Style {
return this;
};
link = (n: string) => {
this._link = n;
return this;
};
// TODO:
// runProperty = (n: RunProperty) => {
// this._runProperty = n;
@ -294,6 +301,10 @@ export class Style {
s = s.based_on(this._basedOn);
}
if (this._link) {
s = s.link(this._link);
}
s = setRunProperty(s, this._runProperty);
s = setParagraphProperty(s, this._paragraphProperty);

View File

@ -1,6 +1,6 @@
{
"name": "docx-wasm",
"version": "0.0.277-rc0",
"version": "0.0.277-rc1",
"main": "dist/node/index.js",
"browser": "dist/web/index.js",
"author": "bokuweb <bokuweb12@gmail.com>",

View File

@ -58,6 +58,11 @@ impl Style {
self
}
pub fn link(mut self, link: &str) -> Self {
self.0 = self.0.link(link);
self
}
pub fn vanish(mut self) -> Self {
self.0.run_property = self.0.run_property.vanish();
self

View File

@ -2991,6 +2991,7 @@ Object {
},
Object {
"basedOn": "a",
"link": "a4",
"name": "annotation text",
"next": null,
"paragraphProperty": Object {
@ -3086,6 +3087,7 @@ Object {
},
Object {
"basedOn": "a0",
"link": "a3",
"name": "コメント文字列 (文字)",
"next": null,
"paragraphProperty": Object {
@ -6274,6 +6276,7 @@ Object {
},
Object {
"basedOn": "a",
"link": "a5",
"name": "Subtitle",
"next": null,
"paragraphProperty": Object {
@ -6351,6 +6354,7 @@ Object {
},
Object {
"basedOn": "a0",
"link": "a4",
"name": "副題 (文字)",
"next": null,
"paragraphProperty": Object {
@ -7519,6 +7523,7 @@ Object {
},
Object {
"basedOn": "a",
"link": "a4",
"name": "header",
"next": null,
"paragraphProperty": Object {
@ -7591,6 +7596,7 @@ Object {
},
Object {
"basedOn": "a0",
"link": "a3",
"name": "ヘッダー (文字)",
"next": null,
"paragraphProperty": Object {
@ -7663,6 +7669,7 @@ Object {
},
Object {
"basedOn": "a",
"link": "a6",
"name": "footer",
"next": null,
"paragraphProperty": Object {
@ -7735,6 +7742,7 @@ Object {
},
Object {
"basedOn": "a0",
"link": "a5",
"name": "フッター (文字)",
"next": null,
"paragraphProperty": Object {
@ -12839,6 +12847,7 @@ Object {
},
Object {
"basedOn": "a",
"link": "10",
"name": "heading 1",
"next": null,
"paragraphProperty": Object {
@ -13416,6 +13425,7 @@ Object {
},
Object {
"basedOn": "a0",
"link": "1",
"name": "見出し 1 (文字)",
"next": null,
"paragraphProperty": Object {
@ -20899,6 +20909,7 @@ Object {
},
Object {
"basedOn": "Normal",
"link": "FootnoteTextChar",
"name": "footnote text",
"next": null,
"paragraphProperty": Object {
@ -20979,6 +20990,7 @@ Object {
},
Object {
"basedOn": "DefaultParagraphFont",
"link": "FootnoteText",
"name": "Footnote Text Char",
"next": null,
"paragraphProperty": Object {
@ -21211,6 +21223,7 @@ Object {
},
Object {
"basedOn": "Normal",
"link": "TitleChar",
"name": "Title",
"next": null,
"paragraphProperty": Object {
@ -21291,6 +21304,7 @@ Object {
},
Object {
"basedOn": "DefaultParagraphFont",
"link": "Title",
"name": "Title Char",
"next": null,
"paragraphProperty": Object {
@ -21366,6 +21380,7 @@ Object {
},
Object {
"basedOn": "Normal",
"link": "SubtitleChar",
"name": "Subtitle",
"next": null,
"paragraphProperty": Object {
@ -21440,6 +21455,7 @@ Object {
},
Object {
"basedOn": "DefaultParagraphFont",
"link": "Subtitle",
"name": "Subtitle Char",
"next": null,
"paragraphProperty": Object {
@ -21514,6 +21530,7 @@ Object {
},
Object {
"basedOn": "Normal",
"link": "Heading1Char",
"name": "Heading 1",
"next": null,
"paragraphProperty": Object {
@ -21597,6 +21614,7 @@ Object {
},
Object {
"basedOn": "DefaultParagraphFont",
"link": "Heading1",
"name": "Heading 1 Char",
"next": null,
"paragraphProperty": Object {
@ -21673,6 +21691,7 @@ Object {
},
Object {
"basedOn": "Normal",
"link": "Heading2Char",
"name": "Heading 2",
"next": null,
"paragraphProperty": Object {
@ -21756,6 +21775,7 @@ Object {
},
Object {
"basedOn": "DefaultParagraphFont",
"link": "Heading2",
"name": "Heading 2 Char",
"next": null,
"paragraphProperty": Object {
@ -21832,6 +21852,7 @@ Object {
},
Object {
"basedOn": "Normal",
"link": "Heading3Char",
"name": "Heading 3",
"next": null,
"paragraphProperty": Object {
@ -21915,6 +21936,7 @@ Object {
},
Object {
"basedOn": "DefaultParagraphFont",
"link": "Heading3",
"name": "Heading 3 Char",
"next": null,
"paragraphProperty": Object {
@ -21991,6 +22013,7 @@ Object {
},
Object {
"basedOn": "Normal",
"link": "Heading4Char",
"name": "Heading 4",
"next": null,
"paragraphProperty": Object {
@ -22074,6 +22097,7 @@ Object {
},
Object {
"basedOn": "DefaultParagraphFont",
"link": "Heading4",
"name": "Heading 4 Char",
"next": null,
"paragraphProperty": Object {
@ -22150,6 +22174,7 @@ Object {
},
Object {
"basedOn": "Normal",
"link": "Heading5Char",
"name": "Heading 5",
"next": null,
"paragraphProperty": Object {
@ -22231,6 +22256,7 @@ Object {
},
Object {
"basedOn": "DefaultParagraphFont",
"link": "Heading5",
"name": "Heading 5 Char",
"next": null,
"paragraphProperty": Object {
@ -22305,6 +22331,7 @@ Object {
},
Object {
"basedOn": "Normal",
"link": "Heading6Char",
"name": "Heading 6",
"next": null,
"paragraphProperty": Object {
@ -22386,6 +22413,7 @@ Object {
},
Object {
"basedOn": "DefaultParagraphFont",
"link": "Heading6",
"name": "Heading 6 Char",
"next": null,
"paragraphProperty": Object {
@ -22460,6 +22488,7 @@ Object {
},
Object {
"basedOn": "Normal",
"link": "QuoteChar",
"name": "Quote",
"next": null,
"paragraphProperty": Object {
@ -22548,6 +22577,7 @@ Object {
},
Object {
"basedOn": "Normal",
"link": "QuoteChar",
"name": "Quote",
"next": null,
"paragraphProperty": Object {
@ -26548,6 +26578,7 @@ Object {
},
Object {
"basedOn": "a",
"link": "a4",
"name": "annotation text",
"next": null,
"paragraphProperty": Object {
@ -26620,6 +26651,7 @@ Object {
},
Object {
"basedOn": "a0",
"link": "a3",
"name": "コメント文字列 (文字)",
"next": null,
"paragraphProperty": Object {
@ -26767,6 +26799,7 @@ Object {
},
Object {
"basedOn": "a3",
"link": "a7",
"name": "annotation subject",
"next": null,
"paragraphProperty": Object {
@ -26842,6 +26875,7 @@ Object {
},
Object {
"basedOn": "a4",
"link": "a6",
"name": "コメント内容 (文字)",
"next": null,
"paragraphProperty": Object {
@ -29921,6 +29955,7 @@ Object {
},
Object {
"basedOn": null,
"link": "10",
"name": "heading 1",
"next": null,
"paragraphProperty": Object {
@ -30024,6 +30059,7 @@ Object {
},
Object {
"basedOn": null,
"link": "20",
"name": "heading 2",
"next": null,
"paragraphProperty": Object {
@ -30117,6 +30153,7 @@ Object {
},
Object {
"basedOn": null,
"link": "30",
"name": "heading 3",
"next": null,
"paragraphProperty": Object {
@ -30213,6 +30250,7 @@ Object {
},
Object {
"basedOn": null,
"link": "40",
"name": "heading 4",
"next": null,
"paragraphProperty": Object {
@ -30309,6 +30347,7 @@ Object {
},
Object {
"basedOn": null,
"link": "50",
"name": "heading 5",
"next": null,
"paragraphProperty": Object {
@ -30408,6 +30447,7 @@ Object {
},
Object {
"basedOn": null,
"link": "60",
"name": "heading 6",
"next": null,
"paragraphProperty": Object {
@ -30504,6 +30544,7 @@ Object {
},
Object {
"basedOn": null,
"link": "70",
"name": "heading 7",
"next": null,
"paragraphProperty": Object {
@ -30791,6 +30832,7 @@ Object {
},
Object {
"basedOn": "a0",
"link": "1",
"name": "見出し 1 (文字)",
"next": null,
"paragraphProperty": Object {
@ -30874,6 +30916,7 @@ Object {
},
Object {
"basedOn": "a0",
"link": "2",
"name": "見出し 2 (文字)",
"next": null,
"paragraphProperty": Object {
@ -30955,6 +30998,7 @@ Object {
},
Object {
"basedOn": "a0",
"link": "3",
"name": "見出し 3 (文字)",
"next": null,
"paragraphProperty": Object {
@ -31034,6 +31078,7 @@ Object {
},
Object {
"basedOn": "a0",
"link": "4",
"name": "見出し 4 (文字)",
"next": null,
"paragraphProperty": Object {
@ -31113,6 +31158,7 @@ Object {
},
Object {
"basedOn": "a0",
"link": "5",
"name": "見出し 5 (文字)",
"next": null,
"paragraphProperty": Object {
@ -31192,6 +31238,7 @@ Object {
},
Object {
"basedOn": "a0",
"link": "6",
"name": "見出し 6 (文字)",
"next": null,
"paragraphProperty": Object {
@ -31271,6 +31318,7 @@ Object {
},
Object {
"basedOn": "a0",
"link": "7",
"name": "見出し 7 (文字)",
"next": null,
"paragraphProperty": Object {
@ -82256,6 +82304,7 @@ Object {
},
Object {
"basedOn": "a7",
"link": "af0",
"name": "Body Text Indent",
"next": null,
"paragraphProperty": Object {
@ -82351,6 +82400,7 @@ Object {
},
Object {
"basedOn": "a7",
"link": "24",
"name": "Body Text Indent 2",
"next": null,
"paragraphProperty": Object {
@ -82593,6 +82643,7 @@ Object {
},
Object {
"basedOn": "a7",
"link": "af4",
"name": "annotation text",
"next": null,
"paragraphProperty": Object {
@ -85101,6 +85152,7 @@ Object {
},
Object {
"basedOn": "a7",
"link": "34",
"name": "Body Text Indent 3",
"next": null,
"paragraphProperty": Object {
@ -86878,6 +86930,7 @@ Object {
},
Object {
"basedOn": "a7",
"link": "afa",
"name": "Body Text",
"next": null,
"paragraphProperty": Object {
@ -88896,6 +88949,7 @@ Object {
},
Object {
"basedOn": "a7",
"link": "29",
"name": "Body Text 2",
"next": null,
"paragraphProperty": Object {
@ -91763,6 +91817,7 @@ Object {
},
Object {
"basedOn": "a7",
"link": "39",
"name": "Body Text 3",
"next": null,
"paragraphProperty": Object {
@ -91838,6 +91893,7 @@ Object {
},
Object {
"basedOn": "af9",
"link": "afff5",
"name": "Body Text First Indent",
"next": null,
"paragraphProperty": Object {
@ -91924,6 +91980,7 @@ Object {
},
Object {
"basedOn": "af",
"link": "2d",
"name": "Body Text First Indent 2",
"next": null,
"paragraphProperty": Object {
@ -92019,6 +92076,7 @@ Object {
},
Object {
"basedOn": "a7",
"link": "afff7",
"name": "Balloon Text",
"next": null,
"paragraphProperty": Object {
@ -92102,6 +92160,7 @@ Object {
},
Object {
"basedOn": null,
"link": "afff6",
"name": "吹き出し (文字)",
"next": null,
"paragraphProperty": Object {
@ -92263,6 +92322,7 @@ Object {
},
Object {
"basedOn": null,
"link": "af3",
"name": "コメント文字列 (文字)",
"next": null,
"paragraphProperty": Object {
@ -92500,6 +92560,7 @@ Object {
},
Object {
"basedOn": null,
"link": "af9",
"name": "本文 (文字)",
"next": null,
"paragraphProperty": Object {
@ -92580,6 +92641,7 @@ Object {
},
Object {
"basedOn": null,
"link": "af",
"name": "本文インデント (文字)",
"next": null,
"paragraphProperty": Object {
@ -92896,6 +92958,7 @@ Object {
},
Object {
"basedOn": null,
"link": "2c",
"name": "本文字下げ 2 (文字)",
"next": null,
"paragraphProperty": Object {
@ -92976,6 +93039,7 @@ Object {
},
Object {
"basedOn": null,
"link": "23",
"name": "本文インデント 2 (文字)",
"next": null,
"paragraphProperty": Object {
@ -93132,6 +93196,7 @@ Object {
},
Object {
"basedOn": null,
"link": "28",
"name": "本文 2 (文字)",
"next": null,
"paragraphProperty": Object {
@ -93210,6 +93275,7 @@ Object {
},
Object {
"basedOn": null,
"link": "38",
"name": "本文 3 (文字)",
"next": null,
"paragraphProperty": Object {
@ -93290,6 +93356,7 @@ Object {
},
Object {
"basedOn": null,
"link": "33",
"name": "本文インデント 3 (文字)",
"next": null,
"paragraphProperty": Object {
@ -93371,6 +93438,7 @@ Object {
},
Object {
"basedOn": null,
"link": "afff4",
"name": "本文字下げ (文字)",
"next": null,
"paragraphProperty": Object {
@ -93543,6 +93611,7 @@ Object {
},
Object {
"basedOn": "af3",
"link": "afffc",
"name": "annotation subject",
"next": null,
"paragraphProperty": Object {
@ -93623,6 +93692,7 @@ Object {
},
Object {
"basedOn": null,
"link": "afffb",
"name": "コメント内容 (文字)",
"next": null,
"paragraphProperty": Object {
@ -102140,6 +102210,7 @@ Object {
},
Object {
"basedOn": "Normal",
"link": "Heading2Char",
"name": "heading 2",
"next": null,
"paragraphProperty": Object {
@ -106866,6 +106937,7 @@ Object {
},
Object {
"basedOn": "Normal",
"link": "BalloonTextChar",
"name": "Balloon Text",
"next": null,
"paragraphProperty": Object {
@ -106949,6 +107021,7 @@ Object {
},
Object {
"basedOn": null,
"link": "BalloonText",
"name": "Balloon Text Char",
"next": null,
"paragraphProperty": Object {
@ -107103,6 +107176,7 @@ Object {
},
Object {
"basedOn": "DefaultParagraphFont",
"link": "Heading2",
"name": "Heading 2 Char",
"next": null,
"paragraphProperty": Object {
@ -130185,6 +130259,7 @@ Object {
},
Object {
"basedOn": "a",
"link": "10",
"name": "heading 1",
"next": null,
"paragraphProperty": Object {
@ -130268,6 +130343,7 @@ Object {
},
Object {
"basedOn": "a",
"link": "20",
"name": "heading 2",
"next": null,
"paragraphProperty": Object {
@ -130547,6 +130623,7 @@ Object {
},
Object {
"basedOn": "a0",
"link": "1",
"name": "見出し 1 (文字)",
"next": null,
"paragraphProperty": Object {
@ -130628,6 +130705,7 @@ Object {
},
Object {
"basedOn": "a0",
"link": "2",
"name": "見出し 2 (文字)",
"next": null,
"paragraphProperty": Object {
@ -133629,6 +133707,7 @@ Object {
},
Object {
"basedOn": "a",
"link": "10",
"name": "heading 1",
"next": null,
"paragraphProperty": Object {
@ -133716,6 +133795,7 @@ Object {
},
Object {
"basedOn": "a",
"link": "20",
"name": "heading 2",
"next": null,
"paragraphProperty": Object {
@ -133801,6 +133881,7 @@ Object {
},
Object {
"basedOn": "a",
"link": "30",
"name": "heading 3",
"next": null,
"paragraphProperty": Object {
@ -133894,6 +133975,7 @@ Object {
},
Object {
"basedOn": "a",
"link": "40",
"name": "heading 4",
"next": null,
"paragraphProperty": Object {
@ -133983,6 +134065,7 @@ Object {
},
Object {
"basedOn": "a",
"link": "50",
"name": "heading 5",
"next": null,
"paragraphProperty": Object {
@ -134076,6 +134159,7 @@ Object {
},
Object {
"basedOn": "a",
"link": "60",
"name": "heading 6",
"next": null,
"paragraphProperty": Object {
@ -134165,6 +134249,7 @@ Object {
},
Object {
"basedOn": "a",
"link": "70",
"name": "heading 7",
"next": null,
"paragraphProperty": Object {
@ -134251,6 +134336,7 @@ Object {
},
Object {
"basedOn": "a",
"link": "80",
"name": "heading 8",
"next": null,
"paragraphProperty": Object {
@ -134337,6 +134423,7 @@ Object {
},
Object {
"basedOn": "a",
"link": "90",
"name": "heading 9",
"next": null,
"paragraphProperty": Object {
@ -134701,6 +134788,7 @@ Object {
},
Object {
"basedOn": "a0",
"link": "1",
"name": "見出し 1 (文字)",
"next": null,
"paragraphProperty": Object {
@ -135656,6 +135744,7 @@ Object {
},
Object {
"basedOn": "a0",
"link": "2",
"name": "見出し 2 (文字)",
"next": null,
"paragraphProperty": Object {
@ -135735,6 +135824,7 @@ Object {
},
Object {
"basedOn": "a0",
"link": "3",
"name": "見出し 3 (文字)",
"next": null,
"paragraphProperty": Object {
@ -135814,6 +135904,7 @@ Object {
},
Object {
"basedOn": "a0",
"link": "4",
"name": "見出し 4 (文字)",
"next": null,
"paragraphProperty": Object {
@ -135889,6 +135980,7 @@ Object {
},
Object {
"basedOn": "a0",
"link": "5",
"name": "見出し 5 (文字)",
"next": null,
"paragraphProperty": Object {
@ -135968,6 +136060,7 @@ Object {
},
Object {
"basedOn": "a0",
"link": "6",
"name": "見出し 6 (文字)",
"next": null,
"paragraphProperty": Object {
@ -136043,6 +136136,7 @@ Object {
},
Object {
"basedOn": "a0",
"link": "7",
"name": "見出し 7 (文字)",
"next": null,
"paragraphProperty": Object {
@ -136115,6 +136209,7 @@ Object {
},
Object {
"basedOn": "a0",
"link": "8",
"name": "見出し 8 (文字)",
"next": null,
"paragraphProperty": Object {
@ -136187,6 +136282,7 @@ Object {
},
Object {
"basedOn": "a0",
"link": "9",
"name": "見出し 9 (文字)",
"next": null,
"paragraphProperty": Object {
@ -149430,6 +149526,7 @@ Object {
},
Object {
"basedOn": "a",
"link": "Char",
"name": "項本文(複数項で番号あり)",
"next": null,
"paragraphProperty": Object {
@ -149851,6 +149948,7 @@ Object {
},
Object {
"basedOn": null,
"link": "ad",
"name": "項本文(複数項で番号あり) Char",
"next": null,
"paragraphProperty": Object {
@ -150995,6 +151093,7 @@ Object {
},
Object {
"basedOn": "a",
"link": "afc",
"name": "header",
"next": null,
"paragraphProperty": Object {
@ -151067,6 +151166,7 @@ Object {
},
Object {
"basedOn": null,
"link": "afb",
"name": "ヘッダー (文字)",
"next": null,
"paragraphProperty": Object {
@ -151142,6 +151242,7 @@ Object {
},
Object {
"basedOn": "a",
"link": "afe",
"name": "footer",
"next": null,
"paragraphProperty": Object {
@ -151214,6 +151315,7 @@ Object {
},
Object {
"basedOn": null,
"link": "afd",
"name": "フッター (文字)",
"next": null,
"paragraphProperty": Object {
@ -151289,6 +151391,7 @@ Object {
},
Object {
"basedOn": "a",
"link": "aff0",
"name": "footnote text",
"next": null,
"paragraphProperty": Object {
@ -151362,6 +151465,7 @@ Object {
},
Object {
"basedOn": null,
"link": "aff",
"name": "脚注文字列 (文字)",
"next": null,
"paragraphProperty": Object {