UNPKG
docx2html
Version:
latest (1.3.2)
1.3.2
1.3.1
1.3.0
1.1.0
1.0.0
0.10.0
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
a javascript docx converter to html based on docx4js
github.com/lalalic/docx2html
lalalic/docx2html
docx2html
/
src
/
docx
/
html
/
header.js
11 lines
(8 loc)
•
226 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
Converter
from
'./converter'
export
default
class
Header
extends
Converter
{
get
wordType
(){
return
'header'
}
get
tag
(){
return
'header'
}
_shouldIgnore
(
){
return
this
.
wordModel
.
location
!=
'default'
} }