diff options
author | Albert Krewinkel <albert+github@zeitkraut.de> | 2019-02-04 22:52:31 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-02-04 13:52:31 -0800 |
commit | 37a82b0b11b0214f00cdcd232e33c0a1e9f79361 (patch) | |
tree | ad1c09cdf14e578ebd7f31843ecce2bd7c4abd17 /src/Text/Pandoc/Readers/Docx | |
parent | 4b8931108104db71c1bc70fb33c00179a315b6d6 (diff) | |
download | pandoc-37a82b0b11b0214f00cdcd232e33c0a1e9f79361.tar.gz |
Add missing copyright notices and remove license boilerplate (#5112)
Quite a few modules were missing copyright notices.
This commit adds copyright notices everywhere via haddock module
headers. The old license boilerplate comment is redundant with this and has
been removed.
Update copyright years to 2019.
Closes #4592.
Diffstat (limited to 'src/Text/Pandoc/Readers/Docx')
-rw-r--r-- | src/Text/Pandoc/Readers/Docx/Combine.hs | 13 | ||||
-rw-r--r-- | src/Text/Pandoc/Readers/Docx/Fields.hs | 4 | ||||
-rw-r--r-- | src/Text/Pandoc/Readers/Docx/Lists.hs | 4 | ||||
-rw-r--r-- | src/Text/Pandoc/Readers/Docx/Parse.hs | 4 | ||||
-rw-r--r-- | src/Text/Pandoc/Readers/Docx/StyleMap.hs | 13 | ||||
-rw-r--r-- | src/Text/Pandoc/Readers/Docx/Util.hs | 13 |
6 files changed, 44 insertions, 7 deletions
diff --git a/src/Text/Pandoc/Readers/Docx/Combine.hs b/src/Text/Pandoc/Readers/Docx/Combine.hs index 108c4bbe5..855675b37 100644 --- a/src/Text/Pandoc/Readers/Docx/Combine.hs +++ b/src/Text/Pandoc/Readers/Docx/Combine.hs @@ -2,7 +2,18 @@ {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE PatternGuards #-} {-# LANGUAGE TypeSynonymInstances #-} - +{- | + Module : Text.Pandoc.Readers.Docx.Combine + Copyright : © 2014-2019 Jesse Rosenthal <jrosenthal@jhu.edu>, + 2014-2019 John MacFarlane <jgm@berkeley.edu> + License : GNU GPL, version 2 or above + + Maintainer : Jesse Rosenthal <jrosenthal@jhu.edu> + Stability : alpha + Portability : portable + +Flatten sequences of elements. +-} module Text.Pandoc.Readers.Docx.Combine ( smushInlines , smushBlocks ) diff --git a/src/Text/Pandoc/Readers/Docx/Fields.hs b/src/Text/Pandoc/Readers/Docx/Fields.hs index c3f54560b..c95dcc2a8 100644 --- a/src/Text/Pandoc/Readers/Docx/Fields.hs +++ b/src/Text/Pandoc/Readers/Docx/Fields.hs @@ -1,6 +1,6 @@ {-# LANGUAGE NoImplicitPrelude #-} {- -Copyright (C) 2014-2018 Jesse Rosenthal <jrosenthal@jhu.edu> +Copyright (C) 2014-2019 Jesse Rosenthal <jrosenthal@jhu.edu> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA {- | Module : Text.Pandoc.Readers.Docx.Fields - Copyright : Copyright (C) 2014-2018 Jesse Rosenthal + Copyright : Copyright (C) 2014-2019 Jesse Rosenthal License : GNU GPL, version 2 or above Maintainer : Jesse Rosenthal <jrosenthal@jhu.edu> diff --git a/src/Text/Pandoc/Readers/Docx/Lists.hs b/src/Text/Pandoc/Readers/Docx/Lists.hs index 72d49c6fa..3cb0917fd 100644 --- a/src/Text/Pandoc/Readers/Docx/Lists.hs +++ b/src/Text/Pandoc/Readers/Docx/Lists.hs @@ -1,6 +1,6 @@ {-# LANGUAGE NoImplicitPrelude #-} {- -Copyright (C) 2014-2018 Jesse Rosenthal <jrosenthal@jhu.edu> +Copyright (C) 2014-2019 Jesse Rosenthal <jrosenthal@jhu.edu> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA {- | Module : Text.Pandoc.Readers.Docx.Lists - Copyright : Copyright (C) 2014-2018 Jesse Rosenthal + Copyright : Copyright (C) 2014-2019 Jesse Rosenthal License : GNU GPL, version 2 or above Maintainer : Jesse Rosenthal <jrosenthal@jhu.edu> diff --git a/src/Text/Pandoc/Readers/Docx/Parse.hs b/src/Text/Pandoc/Readers/Docx/Parse.hs index 127d93615..843f2cdcd 100644 --- a/src/Text/Pandoc/Readers/Docx/Parse.hs +++ b/src/Text/Pandoc/Readers/Docx/Parse.hs @@ -4,7 +4,7 @@ {-# LANGUAGE ViewPatterns #-} {- -Copyright (C) 2014-2018 Jesse Rosenthal <jrosenthal@jhu.edu> +Copyright (C) 2014-2019 Jesse Rosenthal <jrosenthal@jhu.edu> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -23,7 +23,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA {- | Module : Text.Pandoc.Readers.Docx.Parse - Copyright : Copyright (C) 2014-2018 Jesse Rosenthal + Copyright : Copyright (C) 2014-2019 Jesse Rosenthal License : GNU GPL, version 2 or above Maintainer : Jesse Rosenthal <jrosenthal@jhu.edu> diff --git a/src/Text/Pandoc/Readers/Docx/StyleMap.hs b/src/Text/Pandoc/Readers/Docx/StyleMap.hs index 6ccda3ccc..bdf7b4df2 100644 --- a/src/Text/Pandoc/Readers/Docx/StyleMap.hs +++ b/src/Text/Pandoc/Readers/Docx/StyleMap.hs @@ -1,4 +1,17 @@ {-# LANGUAGE NoImplicitPrelude #-} +{- | + Module : Text.Pandoc.Readers.Docx.StyleMaps + Copyright : © 2014-2019 Jesse Rosenthal <jrosenthal@jhu.edu>, + 2014-2019 John MacFarlane <jgm@berkeley.edu>, + 2015 Nikolay Yakimov <root@livid.pp.ru> + License : GNU GPL, version 2 or above + + Maintainer : Jesse Rosenthal <jrosenthal@jhu.edu> + Stability : alpha + Portability : portable + +Mappings of element styles (word to pandoc-internal). +-} module Text.Pandoc.Readers.Docx.StyleMap ( StyleMaps(..) , alterMap , getMap diff --git a/src/Text/Pandoc/Readers/Docx/Util.hs b/src/Text/Pandoc/Readers/Docx/Util.hs index 088950d26..f4855efd2 100644 --- a/src/Text/Pandoc/Readers/Docx/Util.hs +++ b/src/Text/Pandoc/Readers/Docx/Util.hs @@ -1,4 +1,17 @@ {-# LANGUAGE NoImplicitPrelude #-} +{- | + Module : Text.Pandoc.Readers.Docx.StyleMaps + Copyright : © 2014-2019 Jesse Rosenthal <jrosenthal@jhu.edu>, + 2014-2019 John MacFarlane <jgm@berkeley.edu>, + 2015 Nikolay Yakimov <root@livid.pp.ru> + License : GNU GPL, version 2 or above + + Maintainer : Jesse Rosenthal <jrosenthal@jhu.edu> + Stability : alpha + Portability : portable + +Docx reader utility functions. +-} module Text.Pandoc.Readers.Docx.Util ( NameSpaces , elemName |