feat: Add grid span and vmerge

main
bokuweb 2019-11-13 15:00:53 +09:00
parent 2df62a9f98
commit 8c657d1d85
22 changed files with 451 additions and 5 deletions

View File

@ -0,0 +1,34 @@
use crate::documents::BuildXML;
use crate::xml_builder::*;
#[derive(Debug, Clone)]
pub struct GridSpan {
val: usize,
}
impl GridSpan {
pub fn new(v: usize) -> GridSpan {
GridSpan { val: v }
}
}
impl BuildXML for GridSpan {
fn build(&self) -> Vec<u8> {
XMLBuilder::new().grid_span(self.val).build()
}
}
#[cfg(test)]
mod tests {
use super::*;
#[cfg(test)]
use pretty_assertions::assert_eq;
use std::str;
#[test]
fn test_grid_span() {
let b = GridSpan::new(3).build();
assert_eq!(str::from_utf8(&b).unwrap(), r#"<w:gridSpan w:val="3" />"#);
}
}

View File

@ -1,6 +1,7 @@
mod based_on; mod based_on;
mod color; mod color;
mod doc_defaults; mod doc_defaults;
mod grid_span;
mod indent; mod indent;
mod justification; mod justification;
mod name; mod name;
@ -29,10 +30,12 @@ mod table_row;
mod table_row_property; mod table_row_property;
mod table_width; mod table_width;
mod text; mod text;
mod vertical_merge;
pub use based_on::*; pub use based_on::*;
pub use color::*; pub use color::*;
pub use doc_defaults::*; pub use doc_defaults::*;
pub use grid_span::*;
pub use indent::*; pub use indent::*;
pub use justification::*; pub use justification::*;
pub use name::*; pub use name::*;
@ -61,3 +64,4 @@ pub use table_row::*;
pub use table_row_property::*; pub use table_row_property::*;
pub use table_width::*; pub use table_width::*;
pub use text::*; pub use text::*;
pub use vertical_merge::*;

View File

@ -56,7 +56,7 @@ mod tests {
<w:left w:w="54" w:type="dxa" /> <w:left w:w="54" w:type="dxa" />
<w:bottom w:w="55" w:type="dxa" /> <w:bottom w:w="55" w:type="dxa" />
<w:right w:w="55" w:type="dxa" /> <w:right w:w="55" w:type="dxa" />
</w:tblCellMar></w:tblPr><w:tr><w:trPr /></w:tr></w:tbl>"# </w:tblCellMar></w:tblPr><w:tblGrid /><w:tr><w:trPr /></w:tr></w:tbl>"#
); );
} }

View File

@ -1,5 +1,6 @@
use super::{Paragraph, TableCellProperty}; use super::{Paragraph, TableCellProperty};
use crate::documents::BuildXML; use crate::documents::BuildXML;
use crate::types::*;
use crate::xml_builder::*; use crate::xml_builder::*;
#[derive(Debug, Clone)] #[derive(Debug, Clone)]
@ -24,6 +25,16 @@ impl TableCell {
self.contents.push(TableCellContent::Paragraph(p)); self.contents.push(TableCellContent::Paragraph(p));
self self
} }
pub fn vertical_merge(mut self, t: VMergeType) -> TableCell {
self.property = self.property.vertical_merge(t);
self
}
pub fn grid_span(mut self, v: usize) -> TableCell {
self.property = self.property.grid_span(v);
self
}
} }
impl BuildXML for TableCell { impl BuildXML for TableCell {

View File

@ -1,4 +1,4 @@
use super::{TableCellBorders, TableCellWidth}; use super::{GridSpan, TableCellBorders, TableCellWidth, VMerge};
use crate::documents::BuildXML; use crate::documents::BuildXML;
use crate::types::*; use crate::types::*;
use crate::xml_builder::*; use crate::xml_builder::*;
@ -7,6 +7,8 @@ use crate::xml_builder::*;
pub struct TableCellProperty { pub struct TableCellProperty {
width: Option<TableCellWidth>, width: Option<TableCellWidth>,
borders: Option<TableCellBorders>, borders: Option<TableCellBorders>,
grid_span: Option<GridSpan>,
vertical_merge: Option<VMerge>,
} }
impl TableCellProperty { impl TableCellProperty {
@ -14,6 +16,8 @@ impl TableCellProperty {
TableCellProperty { TableCellProperty {
width: None, width: None,
borders: None, borders: None,
grid_span: None,
vertical_merge: None,
} }
} }
@ -21,6 +25,16 @@ impl TableCellProperty {
self.width = Some(TableCellWidth::new(v, t)); self.width = Some(TableCellWidth::new(v, t));
self self
} }
pub fn vertical_merge(mut self, t: VMergeType) -> TableCellProperty {
self.vertical_merge = Some(VMerge::new(t));
self
}
pub fn grid_span(mut self, v: usize) -> TableCellProperty {
self.grid_span = Some(GridSpan::new(v));
self
}
} }
impl BuildXML for TableCellProperty { impl BuildXML for TableCellProperty {
@ -29,6 +43,8 @@ impl BuildXML for TableCellProperty {
.open_table_cell_property() .open_table_cell_property()
.add_optional_child(&self.width) .add_optional_child(&self.width)
.add_optional_child(&self.borders) .add_optional_child(&self.borders)
.add_optional_child(&self.grid_span)
.add_optional_child(&self.vertical_merge)
.close() .close()
.build() .build()
} }
@ -48,4 +64,24 @@ mod tests {
let b = c.build(); let b = c.build();
assert_eq!(str::from_utf8(&b).unwrap(), r#"<w:tcPr />"#); assert_eq!(str::from_utf8(&b).unwrap(), r#"<w:tcPr />"#);
} }
#[test]
fn test_grid_span() {
let c = TableCellProperty::new().grid_span(3);
let b = c.build();
assert_eq!(
str::from_utf8(&b).unwrap(),
r#"<w:tcPr><w:gridSpan w:val="3" /></w:tcPr>"#
);
}
#[test]
fn test_vmerge() {
let c = TableCellProperty::new().vertical_merge(VMergeType::Continue);
let b = c.build();
assert_eq!(
str::from_utf8(&b).unwrap(),
r#"<w:tcPr><w:vMerge w:val="continue" /></w:tcPr>"#
);
}
} }

View File

@ -15,7 +15,7 @@ pub struct TableProperty {
impl Default for TableProperty { impl Default for TableProperty {
fn default() -> Self { fn default() -> Self {
TableProperty { TableProperty {
width: TableWidth::new(0, WidthType::AUTO), width: TableWidth::new(0, WidthType::Auto),
justification: Justification::new("left"), justification: Justification::new("left"),
borders: TableBorders::new(), borders: TableBorders::new(),
margins: TableCellMargins::new(), margins: TableCellMargins::new(),

View File

@ -0,0 +1,40 @@
use crate::documents::BuildXML;
use crate::types::*;
use crate::xml_builder::*;
#[derive(Debug, Clone)]
pub struct VMerge {
val: VMergeType,
}
impl VMerge {
pub fn new(v: VMergeType) -> VMerge {
VMerge { val: v }
}
}
impl BuildXML for VMerge {
fn build(&self) -> Vec<u8> {
XMLBuilder::new()
.vertical_merge(&self.val.to_string())
.build()
}
}
#[cfg(test)]
mod tests {
use super::*;
#[cfg(test)]
use pretty_assertions::assert_eq;
use std::str;
#[test]
fn test_build() {
let b = VMerge::new(VMergeType::Continue).build();
assert_eq!(
str::from_utf8(&b).unwrap(),
r#"<w:vMerge w:val="continue" />"#
);
}
}

View File

@ -4,6 +4,7 @@ pub mod border_type;
pub mod special_indent_type; pub mod special_indent_type;
pub mod style_type; pub mod style_type;
pub mod table_alignment_type; pub mod table_alignment_type;
pub mod vertical_merge_type;
pub mod width_type; pub mod width_type;
pub use alignment_type::*; pub use alignment_type::*;
@ -12,4 +13,5 @@ pub use border_type::*;
pub use special_indent_type::*; pub use special_indent_type::*;
pub use style_type::*; pub use style_type::*;
pub use table_alignment_type::*; pub use table_alignment_type::*;
pub use vertical_merge_type::*;
pub use width_type::*; pub use width_type::*;

View File

@ -0,0 +1,18 @@
use std::fmt;
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
#[derive(Copy, Clone, Debug)]
pub enum VMergeType {
Continue,
Restart,
}
impl fmt::Display for VMergeType {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
match *self {
VMergeType::Continue => write!(f, "continue"),
VMergeType::Restart => write!(f, "restart"),
}
}
}

View File

@ -5,14 +5,14 @@ use wasm_bindgen::prelude::*;
#[derive(Copy, Clone, Debug)] #[derive(Copy, Clone, Debug)]
pub enum WidthType { pub enum WidthType {
DXA, DXA,
AUTO, Auto,
} }
impl fmt::Display for WidthType { impl fmt::Display for WidthType {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
match *self { match *self {
WidthType::DXA => write!(f, "dxa"), WidthType::DXA => write!(f, "dxa"),
WidthType::AUTO => write!(f, "auto"), WidthType::Auto => write!(f, "auto"),
} }
} }
} }

View File

@ -107,6 +107,9 @@ impl XMLBuilder {
closed_w_with_type_el!(grid_column, "w:gridCol"); closed_w_with_type_el!(grid_column, "w:gridCol");
closed_w_with_type_el!(table_cell_width, "w:tcW"); closed_w_with_type_el!(table_cell_width, "w:tcW");
only_usize_val_el!(grid_span, "w:gridSpan");
only_str_val_el!(vertical_merge, "w:vMerge");
closed_w_with_type_el!(margin_top, "w:top"); closed_w_with_type_el!(margin_top, "w:top");
closed_w_with_type_el!(margin_left, "w:left"); closed_w_with_type_el!(margin_left, "w:left");
closed_w_with_type_el!(margin_bottom, "w:bottom"); closed_w_with_type_el!(margin_bottom, "w:bottom");

View File

@ -97,3 +97,41 @@ pub fn table_with_grid() -> Result<(), DocxError> {
Docx::new().add_table(table).build().pack(file)?; Docx::new().add_table(table).build().pack(file)?;
Ok(()) Ok(())
} }
#[test]
pub fn table_merged() -> Result<(), DocxError> {
let path = std::path::Path::new("./tests/output/table_merged.docx");
let file = std::fs::File::create(&path).unwrap();
let table = Table::new(vec![
TableRow::new(vec![
TableCell::new()
.add_paragraph(Paragraph::new())
.grid_span(2),
TableCell::new()
.add_paragraph(Paragraph::new().add_run(Run::new("Hello")))
.vertical_merge(VMergeType::Restart),
]),
TableRow::new(vec![
TableCell::new()
.add_paragraph(Paragraph::new())
.vertical_merge(VMergeType::Restart),
TableCell::new().add_paragraph(Paragraph::new()),
TableCell::new()
.add_paragraph(Paragraph::new())
.vertical_merge(VMergeType::Continue),
]),
TableRow::new(vec![
TableCell::new()
.add_paragraph(Paragraph::new())
.vertical_merge(VMergeType::Continue),
TableCell::new().add_paragraph(Paragraph::new()),
TableCell::new()
.add_paragraph(Paragraph::new())
.vertical_merge(VMergeType::Continue),
]),
])
.set_grid(vec![2000, 2000, 2000]);
Docx::new().add_table(table).build().pack(file)?;
Ok(())
}

View File

@ -0,0 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Override PartName="/_rels/.rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/><Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml"/><Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml"/><Override PartName="/word/_rels/document.xml.rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/><Override PartName="/word/settings.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml"/><Override PartName="/word/fontTable.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml"/><Override PartName="/word/document.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml"/><Override PartName="/word/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml"/>
</Types>

View File

@ -0,0 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="docProps/core.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml"/><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="word/document.xml"/>
</Relationships>

View File

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"><Template></Template><TotalTime>1</TotalTime><Application>LibreOffice/6.0.7.3$Linux_X86_64 LibreOffice_project/00m0$Build-3</Application><Pages>1</Pages><Words>0</Words><Characters>0</Characters><CharactersWithSpaces>0</CharactersWithSpaces><Paragraphs>0</Paragraphs></Properties>

View File

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<cp:coreProperties xmlns:cp="http://schemas.openxmlformats.org/package/2006/metadata/core-properties" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dcmitype="http://purl.org/dc/dcmitype/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><dcterms:created xsi:type="dcterms:W3CDTF">2019-11-13T14:09:27Z</dcterms:created><dc:creator></dc:creator><dc:description></dc:description><dc:language>ja-JP</dc:language><cp:lastModifiedBy></cp:lastModifiedBy><dcterms:modified xsi:type="dcterms:W3CDTF">2019-11-13T14:10:33Z</dcterms:modified><cp:revision>1</cp:revision><dc:subject></dc:subject><dc:title></dc:title></cp:coreProperties>

View File

@ -0,0 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" Target="styles.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable" Target="fontTable.xml"/><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings" Target="settings.xml"/>
</Relationships>

View File

@ -0,0 +1,241 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<w:document xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"
xmlns:w10="urn:schemas-microsoft-com:office:word"
xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"
xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape"
xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing"
xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" mc:Ignorable="w14 wp14">
<w:body>
<w:tbl>
<w:tblPr>
<w:tblW w:w="9638" w:type="dxa"/>
<w:jc w:val="left"/>
<w:tblInd w:w="0" w:type="dxa"/>
<w:tblBorders>
<w:top w:val="single" w:sz="2" w:space="0" w:color="000000"/>
<w:left w:val="single" w:sz="2" w:space="0" w:color="000000"/>
<w:bottom w:val="single" w:sz="2" w:space="0" w:color="000000"/>
<w:insideH w:val="single" w:sz="2" w:space="0" w:color="000000"/>
</w:tblBorders>
<w:tblCellMar>
<w:top w:w="55" w:type="dxa"/>
<w:left w:w="54" w:type="dxa"/>
<w:bottom w:w="55" w:type="dxa"/>
<w:right w:w="55" w:type="dxa"/>
</w:tblCellMar>
</w:tblPr>
<w:tblGrid>
<w:gridCol w:w="3212"/>
<w:gridCol w:w="3213"/>
<w:gridCol w:w="3213"/>
</w:tblGrid>
<w:tr>
<w:trPr></w:trPr>
<w:tc>
<w:tcPr>
<w:tcW w:w="6425" w:type="dxa"/>
<w:gridSpan w:val="2"/>
<w:tcBorders>
<w:top w:val="single" w:sz="2" w:space="0" w:color="000000"/>
<w:left w:val="single" w:sz="2" w:space="0" w:color="000000"/>
<w:bottom w:val="single" w:sz="2" w:space="0" w:color="000000"/>
<w:insideH w:val="single" w:sz="2" w:space="0" w:color="000000"/>
</w:tcBorders>
<w:shd w:fill="auto" w:val="clear"/>
</w:tcPr>
<w:p>
<w:pPr>
<w:pStyle w:val="Style19"/>
<w:rPr></w:rPr>
</w:pPr>
<w:r>
<w:rPr></w:rPr>
</w:r>
</w:p>
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="3213" w:type="dxa"/>
<w:vMerge w:val="restart"/>
<w:tcBorders>
<w:top w:val="single" w:sz="2" w:space="0" w:color="000000"/>
<w:left w:val="single" w:sz="2" w:space="0" w:color="000000"/>
<w:bottom w:val="single" w:sz="2" w:space="0" w:color="000000"/>
<w:right w:val="single" w:sz="2" w:space="0" w:color="000000"/>
<w:insideH w:val="single" w:sz="2" w:space="0" w:color="000000"/>
<w:insideV w:val="single" w:sz="2" w:space="0" w:color="000000"/>
</w:tcBorders>
<w:shd w:fill="auto" w:val="clear"/>
</w:tcPr>
<w:p>
<w:pPr>
<w:pStyle w:val="Style19"/>
<w:rPr></w:rPr>
</w:pPr>
<w:r>
<w:rPr></w:rPr>
</w:r>
</w:p>
</w:tc>
</w:tr>
<w:tr>
<w:trPr></w:trPr>
<w:tc>
<w:tcPr>
<w:tcW w:w="3212" w:type="dxa"/>
<w:vMerge w:val="restart"/>
<w:tcBorders>
<w:left w:val="single" w:sz="2" w:space="0" w:color="000000"/>
<w:bottom w:val="single" w:sz="2" w:space="0" w:color="000000"/>
<w:insideH w:val="single" w:sz="2" w:space="0" w:color="000000"/>
</w:tcBorders>
<w:shd w:fill="auto" w:val="clear"/>
</w:tcPr>
<w:p>
<w:pPr>
<w:pStyle w:val="Style19"/>
<w:rPr></w:rPr>
</w:pPr>
<w:r>
<w:rPr></w:rPr>
</w:r>
</w:p>
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="3213" w:type="dxa"/>
<w:tcBorders>
<w:left w:val="single" w:sz="2" w:space="0" w:color="000000"/>
<w:bottom w:val="single" w:sz="2" w:space="0" w:color="000000"/>
<w:insideH w:val="single" w:sz="2" w:space="0" w:color="000000"/>
</w:tcBorders>
<w:shd w:fill="auto" w:val="clear"/>
</w:tcPr>
<w:p>
<w:pPr>
<w:pStyle w:val="Normal"/>
<w:rPr></w:rPr>
</w:pPr>
<w:r>
<w:rPr></w:rPr>
</w:r>
</w:p>
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="3213" w:type="dxa"/>
<w:vMerge w:val="continue"/>
<w:tcBorders>
<w:top w:val="single" w:sz="2" w:space="0" w:color="000000"/>
<w:left w:val="single" w:sz="2" w:space="0" w:color="000000"/>
<w:bottom w:val="single" w:sz="2" w:space="0" w:color="000000"/>
<w:right w:val="single" w:sz="2" w:space="0" w:color="000000"/>
<w:insideH w:val="single" w:sz="2" w:space="0" w:color="000000"/>
<w:insideV w:val="single" w:sz="2" w:space="0" w:color="000000"/>
</w:tcBorders>
<w:shd w:fill="auto" w:val="clear"/>
</w:tcPr>
<w:p>
<w:pPr>
<w:pStyle w:val="Style19"/>
<w:rPr></w:rPr>
</w:pPr>
<w:r>
<w:rPr></w:rPr>
</w:r>
</w:p>
</w:tc>
</w:tr>
<w:tr>
<w:trPr></w:trPr>
<w:tc>
<w:tcPr>
<w:tcW w:w="3212" w:type="dxa"/>
<w:vMerge w:val="continue"/>
<w:tcBorders>
<w:left w:val="single" w:sz="2" w:space="0" w:color="000000"/>
<w:bottom w:val="single" w:sz="2" w:space="0" w:color="000000"/>
<w:insideH w:val="single" w:sz="2" w:space="0" w:color="000000"/>
</w:tcBorders>
<w:shd w:fill="auto" w:val="clear"/>
</w:tcPr>
<w:p>
<w:pPr>
<w:pStyle w:val="Style19"/>
<w:rPr></w:rPr>
</w:pPr>
<w:r>
<w:rPr></w:rPr>
</w:r>
</w:p>
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="3213" w:type="dxa"/>
<w:tcBorders>
<w:left w:val="single" w:sz="2" w:space="0" w:color="000000"/>
<w:bottom w:val="single" w:sz="2" w:space="0" w:color="000000"/>
<w:insideH w:val="single" w:sz="2" w:space="0" w:color="000000"/>
</w:tcBorders>
<w:shd w:fill="auto" w:val="clear"/>
</w:tcPr>
<w:p>
<w:pPr>
<w:pStyle w:val="Normal"/>
<w:rPr></w:rPr>
</w:pPr>
<w:r>
<w:rPr></w:rPr>
</w:r>
</w:p>
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="3213" w:type="dxa"/>
<w:vMerge w:val="continue"/>
<w:tcBorders>
<w:top w:val="single" w:sz="2" w:space="0" w:color="000000"/>
<w:left w:val="single" w:sz="2" w:space="0" w:color="000000"/>
<w:bottom w:val="single" w:sz="2" w:space="0" w:color="000000"/>
<w:right w:val="single" w:sz="2" w:space="0" w:color="000000"/>
<w:insideH w:val="single" w:sz="2" w:space="0" w:color="000000"/>
<w:insideV w:val="single" w:sz="2" w:space="0" w:color="000000"/>
</w:tcBorders>
<w:shd w:fill="auto" w:val="clear"/>
</w:tcPr>
<w:p>
<w:pPr>
<w:pStyle w:val="Style19"/>
<w:rPr></w:rPr>
</w:pPr>
<w:r>
<w:rPr></w:rPr>
</w:r>
</w:p>
</w:tc>
</w:tr>
</w:tbl>
<w:p>
<w:pPr>
<w:pStyle w:val="Normal"/>
<w:rPr></w:rPr>
</w:pPr>
<w:r>
<w:rPr></w:rPr>
</w:r>
</w:p>
<w:sectPr>
<w:type w:val="nextPage"/>
<w:pgSz w:w="11906" w:h="16838"/>
<w:pgMar w:left="1134" w:right="1134" w:header="0" w:top="1134" w:footer="0" w:bottom="1134" w:gutter="0"/>
<w:pgNumType w:fmt="decimal"/>
<w:formProt w:val="false"/>
<w:textDirection w:val="lrTb"/>
</w:sectPr>
</w:body>
</w:document>

View File

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<w:fonts xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"><w:font w:name="Times New Roman"><w:charset w:val="00"/><w:family w:val="roman"/><w:pitch w:val="variable"/></w:font><w:font w:name="Symbol"><w:charset w:val="02"/><w:family w:val="roman"/><w:pitch w:val="variable"/></w:font><w:font w:name="Arial"><w:charset w:val="00"/><w:family w:val="swiss"/><w:pitch w:val="variable"/></w:font><w:font w:name="Liberation Serif"><w:altName w:val="Times New Roman"/><w:charset w:val="01"/><w:family w:val="roman"/><w:pitch w:val="variable"/></w:font><w:font w:name="Liberation Sans"><w:altName w:val="Arial"/><w:charset w:val="01"/><w:family w:val="swiss"/><w:pitch w:val="variable"/></w:font></w:fonts>

View File

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<w:settings xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"><w:zoom w:percent="100"/><w:defaultTabStop w:val="709"/><w:compat><w:doNotExpandShiftReturn/></w:compat></w:settings>

View File

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<w:styles xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="w14"><w:docDefaults><w:rPrDefault><w:rPr><w:rFonts w:ascii="Liberation Serif" w:hAnsi="Liberation Serif" w:eastAsia="Noto Sans CJK JP" w:cs="Lohit Devanagari"/><w:kern w:val="2"/><w:sz w:val="24"/><w:szCs w:val="24"/><w:lang w:val="en-US" w:eastAsia="ja-JP" w:bidi="hi-IN"/></w:rPr></w:rPrDefault><w:pPrDefault><w:pPr><w:widowControl/></w:pPr></w:pPrDefault></w:docDefaults><w:style w:type="paragraph" w:styleId="Normal"><w:name w:val="Normal"/><w:qFormat/><w:pPr><w:widowControl/></w:pPr><w:rPr><w:rFonts w:ascii="Liberation Serif" w:hAnsi="Liberation Serif" w:eastAsia="Noto Sans CJK JP" w:cs="Lohit Devanagari"/><w:color w:val="auto"/><w:kern w:val="2"/><w:sz w:val="24"/><w:szCs w:val="24"/><w:lang w:val="en-US" w:eastAsia="ja-JP" w:bidi="hi-IN"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="Style14"><w:name w:val="見出し"/><w:basedOn w:val="Normal"/><w:next w:val="Style15"/><w:qFormat/><w:pPr><w:keepNext w:val="true"/><w:spacing w:before="240" w:after="120"/></w:pPr><w:rPr><w:rFonts w:ascii="Liberation Sans" w:hAnsi="Liberation Sans" w:eastAsia="Noto Sans CJK JP" w:cs="Lohit Devanagari"/><w:sz w:val="28"/><w:szCs w:val="28"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="Style15"><w:name w:val="Body Text"/><w:basedOn w:val="Normal"/><w:pPr><w:spacing w:lineRule="auto" w:line="276" w:before="0" w:after="140"/></w:pPr><w:rPr></w:rPr></w:style><w:style w:type="paragraph" w:styleId="Style16"><w:name w:val="List"/><w:basedOn w:val="Style15"/><w:pPr></w:pPr><w:rPr><w:rFonts w:cs="Lohit Devanagari"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="Style17"><w:name w:val="Caption"/><w:basedOn w:val="Normal"/><w:qFormat/><w:pPr><w:suppressLineNumbers/><w:spacing w:before="120" w:after="120"/></w:pPr><w:rPr><w:rFonts w:cs="Lohit Devanagari"/><w:i/><w:iCs/><w:sz w:val="24"/><w:szCs w:val="24"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="Style18"><w:name w:val="索引"/><w:basedOn w:val="Normal"/><w:qFormat/><w:pPr><w:suppressLineNumbers/></w:pPr><w:rPr><w:rFonts w:cs="Lohit Devanagari"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="Style19"><w:name w:val="表の内容"/><w:basedOn w:val="Normal"/><w:qFormat/><w:pPr><w:suppressLineNumbers/></w:pPr><w:rPr></w:rPr></w:style><w:style w:type="paragraph" w:styleId="Style20"><w:name w:val="表の見出し"/><w:basedOn w:val="Style19"/><w:qFormat/><w:pPr><w:suppressLineNumbers/><w:jc w:val="center"/></w:pPr><w:rPr><w:b/><w:bCs/></w:rPr></w:style></w:styles>