Skip to content

Commit

Permalink
Merge pull request #36 from AntennaHouse/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
ToshihikoMakita authored Jan 4, 2019
2 parents 2220ecd + 1f790fb commit a9945ed
Show file tree
Hide file tree
Showing 34 changed files with 3,050 additions and 388 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ This folder contains the HTML file that describes how to integrate PDF-ML with o


## Copyright
Copyright (C) 2009-2016 Antenna House, Inc. All rights reserved.
Copyright (C) 2009-2019 Antenna House, Inc. All rights reserved.
Antenna House is a trademark of [Antenna House, Inc.] [2]

This plug-in uses graphics from www.vectorbackground.net under the Creative Commons Attribution license.
Expand Down
6 changes: 3 additions & 3 deletions com.antennahouse.pdf5.ml/config/default_style.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1516,7 +1516,7 @@ URL : http://www.antennahouse.com/

<attribute-set name="atsPropertyTableNoKeyCol">
<attribute name="font-weight">normal</attribute>
<attribute name="background-color">white</attribute>
<!--attribute name="background-color">white</attribute-->
</attribute-set>

</reference-elements-attribute>
Expand Down Expand Up @@ -1586,7 +1586,7 @@ URL : http://www.antennahouse.com/
<attribute-set name="atsChoiceTableFixed" use-attribute-sets="atsSimpleTableFixed"></attribute-set>

<attribute-set name="atsChhead" use-attribute-sets="atsSimpleTableHeader atsChNoKeyCol">
<attribute name="background-color">white</attribute>
<!--attribute name="background-color">white</attribute-->
</attribute-set>

<attribute-set name="atsChheadRow"></attribute-set>
Expand Down Expand Up @@ -2110,7 +2110,7 @@ URL : http://www.antennahouse.com/

<attribute-set name="atsSimpleTableNoKeyCol">
<attribute name="font-weight">normal</attribute>
<attribute name="background-color">$General_Table_No_Background_Color</attribute>
<!--attribute name="background-color">$General_Table_No_Background_Color</attribute-->
</attribute-set>

</table-elements-attribute>
Expand Down
41 changes: 31 additions & 10 deletions com.antennahouse.pdf5.ml/pdf5.ml.xpr
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="19.0">
<project version="20.1">
<meta>
<filters directoryPatterns="" filePatterns="" positiveFilePatterns="" showHiddenFiles="false"/>
<options>
<serialized version="19.0" xml:space="preserve">
<serialized version="20.1" xml:space="preserve">
<serializableOrderedMap>
<entry>
<String>catalogs.v5</String>
Expand Down Expand Up @@ -227,6 +227,9 @@
<field name="webhelpResponsiveTemplate">
<null/>
</field>
<field name="publishingTemplateDataPO">
<null/>
</field>
<field name="additionalAntArgs">
<String></String>
</field>
Expand Down Expand Up @@ -423,6 +426,9 @@
<field name="webhelpResponsiveTemplate">
<null/>
</field>
<field name="publishingTemplateDataPO">
<null/>
</field>
<field name="additionalAntArgs">
<String></String>
</field>
Expand Down Expand Up @@ -5210,7 +5216,7 @@
<scenarioAssociation-array>
<scenarioAssociation>
<field name="url">
<String>xsl/dita2fo_title.xsl</String>
<String>xsl/dita2fo_change_bar.xsl</String>
</field>
<field name="scenarioIds">
<list>
Expand All @@ -5225,7 +5231,7 @@
</scenarioAssociation>
<scenarioAssociation>
<field name="url">
<String>xsl/dita2fo_convmerged_sort_glossary.xsl</String>
<String>xsl/dita2fo_flag_ditaval.xsl</String>
</field>
<field name="scenarioIds">
<list>
Expand Down Expand Up @@ -5255,11 +5261,11 @@
</scenarioAssociation>
<scenarioAssociation>
<field name="url">
<String>xsl/dita2fo_sort_util.xsl</String>
<String>xsl/dita2fo_title.xsl</String>
</field>
<field name="scenarioIds">
<list>
<String>dita2fo_convmerged</String>
<String>PDF5-ML</String>
</list>
</field>
<field name="scenarioTypes">
Expand All @@ -5270,7 +5276,7 @@
</scenarioAssociation>
<scenarioAssociation>
<field name="url">
<String>xsl/dita2fo_convmerged_shell.xsl</String>
<String>xsl/dita2fo_convmerged_sort_glossary.xsl</String>
</field>
<field name="scenarioIds">
<list>
Expand All @@ -5285,11 +5291,11 @@
</scenarioAssociation>
<scenarioAssociation>
<field name="url">
<String>xsl/dita2fo_bookmark.xsl</String>
<String>xsl/dita2fo_sort_util.xsl</String>
</field>
<field name="scenarioIds">
<list>
<String>PDF5-ML</String>
<String>dita2fo_convmerged</String>
</list>
</field>
<field name="scenarioTypes">
Expand All @@ -5300,7 +5306,7 @@
</scenarioAssociation>
<scenarioAssociation>
<field name="url">
<String>xsl/dita2fo_flag_ditaval.xsl</String>
<String>xsl/dita2fo_convmerged_shell.xsl</String>
</field>
<field name="scenarioIds">
<list>
Expand All @@ -5313,6 +5319,21 @@
</list>
</field>
</scenarioAssociation>
<scenarioAssociation>
<field name="url">
<String>xsl/dita2fo_bookmark.xsl</String>
</field>
<field name="scenarioIds">
<list>
<String>PDF5-ML</String>
</list>
</field>
<field name="scenarioTypes">
<list>
<String>Validation_scenario</String>
</list>
</field>
</scenarioAssociation>
</scenarioAssociation-array>
</entry>
<entry>
Expand Down
8 changes: 7 additions & 1 deletion com.antennahouse.pdf5.ml/revision.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@

Antenna House PDF5-ML Plugin Revision Notes

Copyright (C) 2009-2016 Antenna House, Inc. All rights reserved.
Copyright (C) 2009-2019 Antenna House, Inc. All rights reserved.
Antenna House is a trademark of Antenna House, Inc.
_______________________________________________________________________________
Jan 2019
V1.0.3
- Refine flagging template
- Add revprop/@changebar support
- Fix several bugs since previous release.

Mar 2016
V1.0.2
- Add output.index parameter
Expand Down
2 changes: 2 additions & 0 deletions com.antennahouse.pdf5.ml/xsl/dita2fo_backmatter.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,7 @@ E-mail : [email protected]
[not(contains(@class, ' bookmap/backmatter '))]
)"/>
<xsl:variable name="isTopLevelTopic" as="xs:boolean" select="empty(ancestor::*[contains(@class,' topic/topic ')])"/>
<xsl:copy-of select="ahf:genChangeBarBeginElem(.)"/>
<fo:block>
<xsl:call-template name="getAttributeSetWithLang"/>
<xsl:call-template name="ahf:getIdAtts"/>
Expand Down Expand Up @@ -482,6 +483,7 @@ E-mail : [email protected]
<xsl:with-param name="prmTitleMode" select="$prmTitleMode"/>
</xsl:apply-templates>
</fo:block>
<xsl:copy-of select="ahf:genChangeBarEndElem(.)"/>
</xsl:template>

</xsl:stylesheet>
40 changes: 20 additions & 20 deletions com.antennahouse.pdf5.ml/xsl/dita2fo_bodyelements.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ E-mail : [email protected]
<xsl:call-template name="ahf:getUnivAtts"/>
<xsl:copy-of select="ahf:getFoStyleAndProperty(.)"/>
<xsl:apply-templates>
<xsl:with-param name="prmNumberFormat" select="$numberFormat"/>
<xsl:with-param name="prmNumberFormat" tunnel="yes" select="$numberFormat"/>
</xsl:apply-templates>
</fo:list-block>
<xsl:if test="not($pDisplayFnAtEndOfTopic)">
Expand All @@ -166,7 +166,7 @@ E-mail : [email protected]
</xsl:template>

<xsl:template match="*[contains(@class,' topic/ol ')]/*[contains(@class,' topic/li ')]">
<xsl:param name="prmNumberFormat" required="yes" as="xs:string"/>
<xsl:param name="prmNumberFormat" required="yes" tunnel="yes" as="xs:string"/>

<xsl:call-template name="processOlLi">
<xsl:with-param name="prmNumberFormat" select="$prmNumberFormat"/>
Expand Down Expand Up @@ -331,7 +331,7 @@ E-mail : [email protected]
<xsl:call-template name="ahf:getUnivAtts"/>
<xsl:copy-of select="ahf:getFoStyleAndProperty(.)"/>
<xsl:apply-templates>
<xsl:with-param name="prmDoCompact" select="$doCompact"/>
<xsl:with-param name="prmDoCompact" tunnel="yes" select="$doCompact"/>
</xsl:apply-templates>
</fo:list-block>
</xsl:template>
Expand All @@ -342,7 +342,7 @@ E-mail : [email protected]
</xsl:template>

<xsl:template match="*[contains(@class,' topic/sl ')]/*[contains(@class,' topic/sli ')]">
<xsl:param name="prmDoCompact" required="yes" as="xs:boolean"/>
<xsl:param name="prmDoCompact" required="yes" tunnel="yes" as="xs:boolean"/>

<fo:list-item>
<xsl:call-template name="getAttributeSetWithLang"/>
Expand Down Expand Up @@ -407,10 +407,10 @@ E-mail : [email protected]
<xsl:call-template name="ahf:getUnivAtts"/>
<xsl:copy-of select="ahf:getFoStyleAndProperty(.)"/>
<xsl:apply-templates select="*[contains(@class, ' topic/dlhead ')]">
<xsl:with-param name="prmDoCompact" select="$doCompact"/>
<xsl:with-param name="prmDoCompact" tunnel="yes" select="$doCompact"/>
</xsl:apply-templates>
<xsl:apply-templates select="*[contains(@class, ' topic/dlentry ')]">
<xsl:with-param name="prmDoCompact" select="$doCompact"/>
<xsl:with-param name="prmDoCompact" tunnel="yes" select="$doCompact"/>
</xsl:apply-templates>
<xsl:if test="not($pDisplayFnAtEndOfTopic)">
<xsl:call-template name="makeFootNote">
Expand All @@ -427,12 +427,12 @@ E-mail : [email protected]
<xsl:call-template name="ahf:getUnivAtts"/>
<xsl:copy-of select="ahf:getFoStyleAndProperty(.)"/>
<xsl:apply-templates select="*[contains(@class, ' topic/dlhead ')]">
<xsl:with-param name="prmDoCompact" select="$doCompact"/>
<xsl:with-param name="prmDoCompact" tunnel="yes" select="$doCompact"/>
</xsl:apply-templates>
<fo:table-body>
<xsl:copy-of select="ahf:getAttributeSet('atsDlbody')"/>
<xsl:apply-templates select="*[contains(@class, ' topic/dlentry ')]">
<xsl:with-param name="prmDoCompact" select="$doCompact"/>
<xsl:with-param name="prmDoCompact" tunnel="yes" select="$doCompact"/>
</xsl:apply-templates>
</fo:table-body>
</fo:table>
Expand All @@ -451,15 +451,15 @@ E-mail : [email protected]
</xsl:template>

<xsl:template match="*[contains(@class, ' topic/dlhead ')][$pFormatDlAsBlock]">
<xsl:param name="prmDoCompact" required="yes" as="xs:boolean"/>
<xsl:param name="prmDoCompact" required="yes" tunnel="yes" as="xs:boolean"/>
<xsl:call-template name="warningContinue">
<xsl:with-param name="prmMes"
select="ahf:replace($stMes055,('%file'),(string(@xtrf)))"/>
</xsl:call-template>
</xsl:template>

<xsl:template match="*[contains(@class, ' topic/dlhead ')][not($pFormatDlAsBlock)]">
<xsl:param name="prmDoCompact" required="yes" as="xs:boolean"/>
<xsl:param name="prmDoCompact" required="yes" tunnel="yes" as="xs:boolean"/>

<fo:table-header>
<xsl:call-template name="getAttributeSetWithLang"/>
Expand All @@ -478,7 +478,7 @@ E-mail : [email protected]
</xsl:template>

<xsl:template match="*[contains(@class, ' topic/dthd ')]">
<xsl:param name="prmDoCompact" required="yes" as="xs:boolean"/>
<xsl:param name="prmDoCompact" required="yes" tunnel="yes" as="xs:boolean"/>

<fo:table-cell>
<fo:block>
Expand Down Expand Up @@ -517,7 +517,7 @@ E-mail : [email protected]
</xsl:template>

<xsl:template match="*[contains(@class, ' topic/ddhd ')]">
<xsl:param name="prmDoCompact" required="yes" as="xs:boolean"/>
<xsl:param name="prmDoCompact" required="yes" tunnel="yes" as="xs:boolean"/>

<fo:table-cell>
<fo:block>
Expand Down Expand Up @@ -560,27 +560,27 @@ E-mail : [email protected]
</xsl:template>

<xsl:template match="*[contains(@class, ' topic/dlentry ')][$pFormatDlAsBlock]">
<xsl:param name="prmDoCompact" required="yes" as="xs:boolean"/>
<xsl:param name="prmDoCompact" required="yes" tunnel="yes" as="xs:boolean"/>

<fo:block>
<xsl:call-template name="getAttributeSetWithLang"/>
<xsl:call-template name="ahf:getUnivAtts"/>
<xsl:copy-of select="ahf:getFoStyleAndProperty(.)"/>
<xsl:apply-templates>
<xsl:with-param name="prmDoCompact" select="$prmDoCompact"/>
<xsl:with-param name="prmDoCompact" tunnel="yes" select="$prmDoCompact"/>
</xsl:apply-templates>
</fo:block>
</xsl:template>

<xsl:template match="*[contains(@class, ' topic/dlentry ')][not($pFormatDlAsBlock)]">
<xsl:param name="prmDoCompact" required="yes" as="xs:boolean"/>
<xsl:param name="prmDoCompact" required="yes" tunnel="yes" as="xs:boolean"/>

<fo:table-row>
<xsl:call-template name="getAttributeSetWithLang"/>
<xsl:call-template name="ahf:getUnivAtts"/>
<xsl:copy-of select="ahf:getFoStyleAndProperty(.)"/>
<xsl:apply-templates>
<xsl:with-param name="prmDoCompact" select="$prmDoCompact"/>
<xsl:with-param name="prmDoCompact" tunnel="yes" select="$prmDoCompact"/>
</xsl:apply-templates>
</fo:table-row>
</xsl:template>
Expand All @@ -594,7 +594,7 @@ E-mail : [email protected]
</xsl:template>

<xsl:template match="*[contains(@class, ' topic/dt ')][$pFormatDlAsBlock]">
<xsl:param name="prmDoCompact" required="yes" as="xs:boolean"/>
<xsl:param name="prmDoCompact" required="yes" tunnel="yes" as="xs:boolean"/>

<fo:block>
<xsl:call-template name="getAttributeSetWithLang"/>
Expand Down Expand Up @@ -627,7 +627,7 @@ E-mail : [email protected]
</xsl:template>

<xsl:template match="*[contains(@class, ' topic/dt ')][not($pFormatDlAsBlock)]">
<xsl:param name="prmDoCompact" required="yes" as="xs:boolean"/>
<xsl:param name="prmDoCompact" required="yes" tunnel="yes" as="xs:boolean"/>

<xsl:variable name="hasDlhead" as="xs:boolean" select="exists(ancestor::*[contains(@class,' topic/dl ')]/child::*[contains(@class,' topic/dlhead ')])"/>
<fo:table-cell>
Expand Down Expand Up @@ -676,7 +676,7 @@ E-mail : [email protected]
</xsl:template>

<xsl:template match="*[contains(@class, ' topic/dd ')][$pFormatDlAsBlock]">
<xsl:param name="prmDoCompact" required="yes" as="xs:boolean"/>
<xsl:param name="prmDoCompact" required="yes" tunnel="yes" as="xs:boolean"/>

<fo:block>
<xsl:call-template name="getAttributeSetWithLang"/>
Expand Down Expand Up @@ -709,7 +709,7 @@ E-mail : [email protected]
</xsl:template>

<xsl:template match="*[contains(@class, ' topic/dd ')][not($pFormatDlAsBlock)]">
<xsl:param name="prmDoCompact" required="yes" as="xs:boolean"/>
<xsl:param name="prmDoCompact" required="yes" tunnel="yes" as="xs:boolean"/>

<fo:table-cell>
<xsl:copy-of select="ahf:getFoStyleAndProperty(.)"/>
Expand Down
Loading

0 comments on commit a9945ed

Please sign in to comment.