Skip to content

Commit

Permalink
Files and Licensing info
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitaliy-1 committed May 8, 2019
1 parent 39de040 commit d3b5b44
Show file tree
Hide file tree
Showing 8 changed files with 398 additions and 34 deletions.
10 changes: 10 additions & 0 deletions DOCXConverterHandler.inc.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
<?php

/**
* @file plugins/generic/docxConverter/DOCXConverterHandler.inc.php
*
* Copyright (c) 2014-2019 Simon Fraser University Library
* Copyright (c) 2003-2019 John Willinsky
* Distributed under the GNU GPL v2.
*
* @brief handler for the grid's conversion
*/

import('classes.handler.Handler');
import('plugins.generic.docxConverter.classes.DOCXConverterDocument');
require_once __DIR__ . "/docxToJats/vendor/autoload.php";
Expand Down
10 changes: 5 additions & 5 deletions DocxToJatsPlugin.inc.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php

/**
* @file plugins/generic/docxToJats/DocxToJatsPlugin.inc.php
* @file plugins/generic/docxConverter/DocxToJatsPlugin.inc.php
*
* @class DocxToJatsPlugin
* @ingroup plugins_generic_docxToJats
*
* @brief DOCX to JATS XML parser
* Copyright (c) 2014-2019 Simon Fraser University Library
* Copyright (c) 2003-2019 John Willinsky
* Distributed under the GNU GPL v2.
*
* @brief main class of the DOCX to JATS XML Converter Plugin
*/

import('lib.pkp.classes.plugins.GenericPlugin');
Expand Down
340 changes: 340 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions classes/DOCXConverterDocument.inc.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
<?php

/**
* @file plugins/generic/docxConverter/classes/DOCXConverterDocument.inc.php
*
* Copyright (c) 2014-2019 Simon Fraser University Library
* Copyright (c) 2003-2019 John Willinsky
* Distributed under the GNU GPL v2.
*
* @brief extends the creator class for JATS XML
*/

require_once __DIR__ . "/../docxToJats/vendor/autoload.php";
use docx2jats\jats\Document;
use docx2jats\DOCXArchive;
Expand Down
16 changes: 6 additions & 10 deletions index.php
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
<?php

/**
* @defgroup plugins_generic_DocxToJats
*/

/**
* @file plugins/generic/docxToJats/index.php
* @file plugins/generic/docxConverter/index.php
*
* Copyright (c) 2019 Vitalii Bezsheiko
* Distributed under the GNU GPL v3.
*
* @ingroup plugins_generic_docxToJats
* @brief Wrapper for Docx to JATS plugin.
* Copyright (c) 2014-2019 Simon Fraser University Library
* Copyright (c) 2003-2019 John Willinsky
* Distributed under the GNU GPL v2.
*
* @brief wrapper for driver plugin
*/

require_once('DocxToJatsPlugin.inc.php');

return new DocxToJatsPlugin();
15 changes: 9 additions & 6 deletions locale/en_US/locale.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,15 @@
<!DOCTYPE locale SYSTEM "../../../../../lib/pkp/dtd/locale.dtd">

<!--
* plugins/generic/jatsParser/locale/en_US/locale.xml
*
* Copyright (c) 2019 Vitaliy Bezsheiko, MD, Distributed under the GNU GPL v3.
*
* DOCX Converter plugin localization strings
-->
* @file plugins/generic/docxConverter/locale/en_US/locale.xml
*
* Copyright (c) 2014-2019 Simon Fraser University Library
* Copyright (c) 2003-2019 John Willinsky
* Distributed under the GNU GPL v2.
*
* @brief localization strings
*
-->

<locale name="en_US" full_name="U.S. English">
<message key="plugins.generic.docxToJats.displayName">DOCX to JATS XML Converter Plugin</message>
Expand Down
13 changes: 8 additions & 5 deletions locale/uk_UA/locale.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@
<!DOCTYPE locale SYSTEM "../../../../../lib/pkp/dtd/locale.dtd">

<!--
* plugins/generic/jatsParser/locale/en_US/locale.xml
*
* Copyright (c) 2017 Vitaliy Bezsheiko, MD, Distributed under the GNU GPL v3.
*
* DOCX converter plugin localization strings
* @file plugins/generic/docxConverter/locale/uk_UA/locale.xml
*
* Copyright (c) 2014-2019 Simon Fraser University Library
* Copyright (c) 2003-2019 John Willinsky
* Distributed under the GNU GPL v2.
*
* @brief localization strings
*
-->

<locale name="en_US" full_name="U.S. English">
Expand Down
18 changes: 10 additions & 8 deletions version.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,21 @@
<!DOCTYPE version SYSTEM "../../../lib/pkp/dtd/pluginVersion.dtd">

<!--
* version.xml
*
* Copyright (c) 2019 Vitalii Bezsheiko
* Distributed under the GNU GPL v3.
*
* Plugin version information.
* @file plugins/generic/docxConverter/version.xml
*
* Copyright (c) 2014-2019 Simon Fraser University Library
* Copyright (c) 2003-2019 John Willinsky
* Distributed under the GNU GPL v2.
*
* @brief plugin's information
*
-->

<version>
<application>docxConverter</application>
<type>plugins.generic</type>
<release>1.0.0.0</release>
<date>2019-03-03</date>
<release>0.5.0.0</release>
<date>2019-05-08</date>
<lazy-load>1</lazy-load>
<class>docxToJatsPlugin</class>
</version>

0 comments on commit d3b5b44

Please sign in to comment.