Commit Graph

53 Commits

Author SHA1 Message Date
5552f9d834 The page number type attribute of the sections was always been created, leading Word to always reset page numbers to zero in new sections.
The page number type DECIMAL is already the default in Word, there is no need to force this to be the default option in the default section, like it was.
2018-11-09 09:13:27 -02:00
7980f14efb Introduce some functional programming techniques 2018-11-02 02:51:57 +00:00
61411fd0f3 Add tests 2018-11-01 02:22:32 +00:00
4742cf0f3f Clean imports 2018-10-26 01:04:07 +01:00
9c66db97ff Use single media instead of multiple 2018-10-23 00:31:51 +01:00
97f76fb62c Change to new header API 2018-10-05 01:33:17 +01:00
466e880bfc Merge from master 2018-09-25 23:46:55 +01:00
17d696e33a merge with master, demo27 became demo28 2018-09-21 07:40:58 -03:00
f2b50478bf Fix tests and use proper types for disregarding XMLComponent 2018-09-20 00:41:57 +01:00
50569224c3 Fixed tests (included mirrorMargins attr) 2018-09-18 23:50:10 -03:00
fcb542471b Added mirror margins options 2018-09-18 21:03:20 -03:00
8e911698a5 generating the content for a table of contents 2018-09-18 05:24:19 -03:00
d63e6bf6b1 Revert back body test 2018-09-17 21:44:12 +01:00
1c376abeb6 Fix demo 8 2018-09-17 21:15:24 +01:00
d1d1e01aff lint fix 2018-09-17 11:29:01 +03:00
980bc597e2 test fixes 2018-09-17 11:24:56 +03:00
385ad92331 Fix linting errors 2018-09-07 21:48:59 +01:00
4994bca34c Fix some linting errors 2018-09-06 08:30:23 +01:00
e08be3d7a4 update template 2018-09-04 17:31:30 +03:00
03c4190c2c works! 2018-09-04 17:16:31 +03:00
5f594a822f Fix and enable linting on tests 2018-08-09 23:29:40 +01:00
89df3c48e0 Fix linting errors 2018-08-09 23:22:03 +01:00
3436a1584c Merge branch 'master' of https://github.com/h4buli/docx into feat/h4-update
# Conflicts:
#	package.json
#	src/file/document/body/body.ts
#	src/file/document/body/section-properties/section-properties.ts
#	src/file/file.ts
#	src/file/media/media.ts
#	src/file/styles/external-styles-factory.ts
#	src/file/table/table-cell.ts
2018-08-09 23:21:24 +01:00
e9aecfac1c Updated lint rules 2018-08-07 01:38:15 +01:00
efe7d594b0 Add accessor to getter and setters 2018-08-03 02:29:58 +01:00
796e000826 feature: add support for section page borders 2018-07-03 13:48:31 +02:00
cee091fa58 Use method approach to different first page header 2018-06-26 00:03:28 +01:00
84ebf8e6c3 Remove old implementation of first page header 2018-06-25 22:13:12 +01:00
2a0b45dc20 make default settings in the addSection 2018-06-25 21:53:01 +01:00
00955d2e4f Fix imports 2018-06-25 19:53:40 +01:00
9d3b32a841 fix: fixed wrong import causing exported SectionProperties class to be unusable 2018-06-25 12:53:25 +02:00
d63adc7a6b Fix linting 2018-06-22 23:04:03 +01:00
f1ac646518 Merge branch 'feature/multiple-sections' of https://github.com/h4buli/docx into feat/multiple-headers
# Conflicts:
#	src/export/packer/compiler.ts
#	src/file/content-types/content-types.ts
#	src/file/document/body/section-properties/header-reference/header-reference.ts
#	src/file/document/body/section-properties/section-properties.ts
#	src/file/file.ts
#	src/file/media/media.ts
2018-06-22 22:59:38 +01:00
0b963ec3b8 feature: add support to add mutiple sections to the document inc. headers and footers
- write missing tests
2018-06-21 12:03:34 +02:00
7584671312 Fixed TSLint Errors 2018-05-18 09:21:27 -06:00
8d35dc1bb0 Added tests, renamed pagenumber to page-number 2018-05-17 13:32:33 -06:00
0fedfcf709 Renamed titlepage to title-page 2018-05-17 11:54:13 -06:00
6c2eb882bb Added differentFirstPageHeader section property 2018-05-17 11:45:06 -06:00
87648a742c Initial Commit 2018-05-12 20:04:54 -04:00
2f0ad3eeb2 Add and fix tests 2018-01-31 23:24:55 +00:00
989446ef36 Add tests 2018-01-29 23:09:54 +00:00
5e921f1dfc Add footer 2018-01-29 21:53:22 +00:00
8b8c664f0f Add header objects and demo 2018-01-29 02:56:35 +00:00
bbe2e1e46e Fix styles 2018-01-28 20:34:49 +00:00
635c58c131 Fix tests 2018-01-28 20:23:30 +00:00
355e97cb5e Landscape mode 2018-01-25 01:47:47 +00:00
4339f8cfc0 Add section properties 2018-01-25 01:21:03 +00:00
448572d7a1 Add section properties to root File 2018-01-24 13:09:34 +00:00
d0bd83d6c5 Fix tests 2018-01-24 13:08:22 +00:00
df197f73ea Create section properties section 2018-01-24 00:01:38 +00:00