/
githubmirror
/
pandoc
Обзор
Документация
Войти
/
githubmirror
/
pandoc
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/docx/sdt_elements.native
60 строк
2 KB
John MacFarlane
Docx reader: properly calculate table column widths.
17 сен 2025, 15:24
17 сен 2025, 15:24
d820620
Код
Авторство
О чём код?
[ Table ( "" , [] , [] ) (Caption Nothing []) [ ( AlignDefault , ColWidth 0.16167023554603854 ) , ( AlignDefault , ColWidth 0.16167023554603854 ) , ( AlignDefault , ColWidth 0.40920770877944324 ) ] (TableHead ( "" , [] , [] ) [ Row ( "" , [] , [] ) [ Cell ( "" , [] , [] ) AlignCenter (RowSpan 1) (ColSpan 1) [ Plain [ Strong [ Str "col1Header" ] ] ] , Cell ( "" , [] , [] ) AlignCenter (RowSpan 1) (ColSpan 1) [ Plain [ Strong [ Str "col2Header" ] ] ] , Cell ( "" , [] , [] ) AlignCenter (RowSpan 1) (ColSpan 1) [ Plain [ Strong [ Str "col3Header" ] ] ] ] ]) [ TableBody ( "" , [] , [] ) (RowHeadColumns 0) [] [ Row ( "" , [] , [] ) [ Cell ( "" , [] , [] ) AlignDefault (RowSpan 1) (ColSpan 1) [ Plain [ Str "col1" , Space , Str "content" ] ] , Cell ( "" , [] , [] ) AlignDefault (RowSpan 1) (ColSpan 1) [ Plain [ Str "Body" , Space , Str "copy" ] ] , Cell ( "" , [] , [] ) AlignDefault (RowSpan 1) (ColSpan 1) [ Plain [ Str "col3" , Space , Str "content" ] ] ] ] ] (TableFoot ( "" , [] , [] ) []) ]