Initial Commit.

master
unknown 2015-08-28 17:30:48 -04:00
commit 163cd640b6
1101 changed files with 157955 additions and 0 deletions

46
.classpath 100644
View File

@ -0,0 +1,46 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="build/eclipse/core" path="src/core"/>
<classpathentry kind="src" output="build/eclipse/run" path="src/launcher"/>
<classpathentry excluding="rdf/*" kind="src" output="build/eclipse/report" path="src/report"/>
<classpathentry kind="src" output="build/eclipse/contrib" path="src/contrib"/>
<classpathentry kind="src" output="build/eclipse/tst" path="src/tst"/>
<classpathentry exported="true" kind="lib" path="images"/>
<classpathentry exported="true" kind="lib" path="lib/graphj.jar"/>
<classpathentry exported="true" kind="lib" path="language/en"/>
<classpathentry exported="true" kind="lib" path="lib/junit.jar"/>
<classpathentry exported="true" kind="lib" path="lib/jfreechart-1.0.13.jar"/>
<classpathentry exported="true" kind="lib" path="lib/jcommon-1.0.16.jar"/>
<classpathentry kind="lib" path="language/de"/>
<classpathentry kind="lib" path="language/es"/>
<classpathentry kind="lib" path="language/fr"/>
<classpathentry kind="lib" path="language/hu"/>
<classpathentry kind="lib" path="language/nl"/>
<classpathentry kind="lib" path="language/pl"/>
<classpathentry kind="lib" path="language/pt_BR"/>
<classpathentry kind="lib" path="language/ru"/>
<classpathentry kind="lib" path="language/sv"/>
<classpathentry kind="lib" path="contrib/fop/avalon-framework-4.2.0.jar"/>
<classpathentry kind="lib" path="contrib/fop/commons-io-1.0.jar"/>
<classpathentry kind="lib" path="contrib/fop/fop.jar"/>
<classpathentry kind="lib" path="contrib/fop/commons-logging-api-1.0.4.jar"/>
<classpathentry kind="lib" path="contrib/fop/batik-awt-util.jar"/>
<classpathentry kind="lib" path="contrib/fop/batik-bridge.jar"/>
<classpathentry kind="lib" path="contrib/fop/batik-css.jar"/>
<classpathentry kind="lib" path="contrib/fop/batik-dom.jar"/>
<classpathentry kind="lib" path="contrib/fop/batik-ext.jar"/>
<classpathentry kind="lib" path="contrib/fop/batik-gvt.jar"/>
<classpathentry kind="lib" path="contrib/fop/batik-svg-dom.jar"/>
<classpathentry kind="lib" path="contrib/fop/batik-svggen.jar"/>
<classpathentry kind="lib" path="contrib/fop/batik-util.jar"/>
<classpathentry kind="lib" path="contrib/fop/batik-xml.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="lib/swingx-0.7.jar" sourcepath="C:/Documents and Settings/Netbook/My Documents/Workspace/swingx/trunk/swingx/src/main/java"/>
<classpathentry exported="true" kind="lib" path="lib/spin-1.5.jar"/>
<classpathentry kind="lib" path="lib/AppleJavaExtensions.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/3"/>
<classpathentry kind="lib" path="language/cs"/>
<classpathentry kind="lib" path="language/fi"/>
<classpathentry kind="lib" path="language/it"/>
<classpathentry kind="output" path="build/eclipse/lostnfound"/>
</classpath>

17
.project 100644
View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>genj</name>
<comment>GenJ Eclipse Project</comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.jdt.junit.launchconfig">
<stringAttribute key="bad_container_name" value="\GenJ\.settings\GenJUnitTests"/>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/genj"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="4"/>
</listAttribute>
<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
<mapAttribute key="org.eclipse.debug.core.preferred_launchers"/>
<stringAttribute key="org.eclipse.jdt.junit.CONTAINER" value="=genj"/>
<booleanAttribute key="org.eclipse.jdt.junit.KEEPRUNNING_ATTR" value="false"/>
<stringAttribute key="org.eclipse.jdt.junit.TESTNAME" value=""/>
<stringAttribute key="org.eclipse.jdt.junit.TEST_KIND" value="org.eclipse.jdt.junit.loader.junit3"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value=""/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="genj"/>
</launchConfiguration>

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/genj/src/core/genj/app/App.java"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="1"/>
</listAttribute>
<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
<listEntry value="org.eclipse.debug.ui.launchGroup.debug"/>
<listEntry value="org.eclipse.debug.ui.launchGroup.run"/>
</listAttribute>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="genj.app.App"/>
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="gedcom/royal92.ged"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="genj"/>
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dgenj.debug.level=FINE -Duser.language=DE -Xmx1024m -Dgenj.edit.beans.cache=false -Dcom.sun.management.jmxremote"/>
</launchConfiguration>

View File

@ -0,0 +1,15 @@
<FindBugsFilter>
<Match>
<Class name="genj.report.Report"/>
<Method name="getImage"/>
<Bug code="UI"/>
</Match>
<Match>
<Class name="swingx.dnd.tree.AbstractDnDTreeModel"/>
<Bug code="ST"/>
</Match>
<Match>
<Class name="swingx.dnd.tree.DefaultDnDTreeModel"/>
<Bug code="ST"/>
</Match>
</FindBugsFilter>

View File

@ -0,0 +1,276 @@
#Sun Jan 09 21:54:58 EST 2011
eclipse.preferences.version=1
encoding//language/cs/genj/almanac/resources_cs.properties=UTF-8
encoding//language/cs/genj/app/resources_cs.properties=UTF-8
encoding//language/cs/genj/applet/resources_cs.properties=UTF-8
encoding//language/cs/genj/edit/actions/resources_cs.properties=UTF-8
encoding//language/cs/genj/edit/beans/resources_cs.properties=UTF-8
encoding//language/cs/genj/edit/resources_cs.properties=UTF-8
encoding//language/cs/genj/entity/resources_cs.properties=UTF-8
encoding//language/cs/genj/gedcom/resources_cs.properties=UTF-8
encoding//language/cs/genj/gedcom/time/resources_cs.properties=UTF-8
encoding//language/cs/genj/io/resources_cs.properties=UTF-8
encoding//language/cs/genj/nav/resources_cs.properties=UTF-8
encoding//language/cs/genj/print/resources_cs.properties=UTF-8
encoding//language/cs/genj/renderer/resources_cs.properties=UTF-8
encoding//language/cs/genj/report/resources_cs.properties=UTF-8
encoding//language/cs/genj/search/resources_cs.properties=UTF-8
encoding//language/cs/genj/table/resources_cs.properties=UTF-8
encoding//language/cs/genj/timeline/resources_cs.properties=UTF-8
encoding//language/cs/genj/tree/resources_cs.properties=UTF-8
encoding//language/cs/genj/view/resources_cs.properties=UTF-8
encoding//language/de/genj/almanac/resources_de.properties=UTF-8
encoding//language/de/genj/app/resources_de.properties=UTF-8
encoding//language/de/genj/applet/resources_de.properties=UTF-8
encoding//language/de/genj/common/resources_de.properties=UTF-8
encoding//language/de/genj/edit/actions/resources_de.properties=UTF-8
encoding//language/de/genj/edit/beans/resources_de.properties=UTF-8
encoding//language/de/genj/edit/resources_de.properties=UTF-8
encoding//language/de/genj/entity/resources_de.properties=UTF-8
encoding//language/de/genj/fo/resources_de.properties=UTF-8
encoding//language/de/genj/gedcom/resources_de.properties=UTF-8
encoding//language/de/genj/gedcom/time/resources_de.properties=UTF-8
encoding//language/de/genj/io/resources_de.properties=UTF-8
encoding//language/de/genj/layout/resources_de.properties=UTF-8
encoding//language/de/genj/nav/resources_de.properties=UTF-8
encoding//language/de/genj/print/resources_de.properties=UTF-8
encoding//language/de/genj/renderer/resources_de.properties=UTF-8
encoding//language/de/genj/report/resources_de.properties=UTF-8
encoding//language/de/genj/search/resources_de.properties=UTF-8
encoding//language/de/genj/table/resources_de.properties=UTF-8
encoding//language/de/genj/timeline/resources_de.properties=UTF-8
encoding//language/de/genj/tree/resources_de.properties=UTF-8
encoding//language/de/genj/view/resources_de.properties=UTF-8
encoding//language/en/genj/almanac/resources.properties=UTF-8
encoding//language/en/genj/app/resources.properties=UTF-8
encoding//language/en/genj/applet/resources.properties=UTF-8
encoding//language/en/genj/common/resources.properties=UTF-8
encoding//language/en/genj/entity/resources.properties=UTF-8
encoding//language/en/genj/fo/resources.properties=UTF-8
encoding//language/en/genj/gedcom/resources.properties=UTF-8
encoding//language/en/genj/gedcom/time/resources.properties=UTF-8
encoding//language/en/genj/io/resources.properties=UTF-8
encoding//language/en/genj/nav/resources.properties=UTF-8
encoding//language/en/genj/print/resources.properties=UTF-8
encoding//language/en/genj/renderer/resources.properties=UTF-8
encoding//language/en/genj/report/resources.properties=UTF-8
encoding//language/en/genj/search/resources.properties=UTF-8
encoding//language/en/genj/table/resources.properties=UTF-8
encoding//language/en/genj/timeline/resources.properties=UTF-8
encoding//language/en/genj/tree/resources.properties=UTF-8
encoding//language/en/genj/view/resources.properties=UTF-8
encoding//language/es/genj/almanac/resources_es.properties=UTF-8
encoding//language/es/genj/app/resources_es.properties=UTF-8
encoding//language/es/genj/applet/resources_es.properties=UTF-8
encoding//language/es/genj/edit/actions/resources_es.properties=UTF-8
encoding//language/es/genj/edit/beans/resources_es.properties=UTF-8
encoding//language/es/genj/edit/resources_es.properties=UTF-8
encoding//language/es/genj/entity/resources_es.properties=UTF-8
encoding//language/es/genj/gedcom/resources_es.properties=UTF-8
encoding//language/es/genj/gedcom/time/resources_es.properties=UTF-8
encoding//language/es/genj/io/resources_es.properties=UTF-8
encoding//language/es/genj/nav/resources_es.properties=UTF-8
encoding//language/es/genj/print/resources_es.properties=UTF-8
encoding//language/es/genj/renderer/resources_es.properties=UTF-8
encoding//language/es/genj/report/resources_es.properties=UTF-8
encoding//language/es/genj/search/resources_es.properties=UTF-8
encoding//language/es/genj/table/resources_es.properties=UTF-8
encoding//language/es/genj/timeline/resources_es.properties=UTF-8
encoding//language/es/genj/tree/resources_es.properties=UTF-8
encoding//language/es/genj/view/resources_es.properties=UTF-8
encoding//language/fi/genj/almanac/resources_fi.properties=UTF-8
encoding//language/fi/genj/app/resources_fi.properties=UTF-8
encoding//language/fi/genj/applet/resources_fi.properties=UTF-8
encoding//language/fi/genj/common/resources_fi.properties=UTF-8
encoding//language/fi/genj/edit/actions/resources_fi.properties=UTF-8
encoding//language/fi/genj/edit/beans/resources_fi.properties=UTF-8
encoding//language/fi/genj/edit/resources_fi.properties=UTF-8
encoding//language/fi/genj/entity/resources_fi.properties=UTF-8
encoding//language/fi/genj/fo/resources_fi.properties=UTF-8
encoding//language/fi/genj/gedcom/resources_fi.properties=UTF-8
encoding//language/fi/genj/gedcom/time/resources_fi.properties=UTF-8
encoding//language/fi/genj/io/resources_fi.properties=UTF-8
encoding//language/fi/genj/nav/resources_fi.properties=UTF-8
encoding//language/fi/genj/print/resources_fi.properties=UTF-8
encoding//language/fi/genj/renderer/resources_fi.properties=UTF-8
encoding//language/fi/genj/report/resources_fi.properties=UTF-8
encoding//language/fi/genj/search/resources_fi.properties=UTF-8
encoding//language/fi/genj/table/resources_fi.properties=UTF-8
encoding//language/fi/genj/timeline/resources_fi.properties=UTF-8
encoding//language/fi/genj/tree/resources_fi.properties=UTF-8
encoding//language/fi/genj/view/resources_fi.properties=UTF-8
encoding//language/fr/genj/almanac/resources_fr.properties=UTF-8
encoding//language/fr/genj/app/resources_fr.properties=UTF-8
encoding//language/fr/genj/applet/resources_fr.properties=UTF-8
encoding//language/fr/genj/common/resources_fr.properties=UTF-8
encoding//language/fr/genj/edit/actions/resources_fr.properties=UTF-8
encoding//language/fr/genj/edit/beans/resources_fr.properties=UTF-8
encoding//language/fr/genj/edit/resources_fr.properties=UTF-8
encoding//language/fr/genj/entity/resources_fr.properties=UTF-8
encoding//language/fr/genj/fo/resources_fr.properties=UTF-8
encoding//language/fr/genj/gedcom/resources_fr.properties=UTF-8
encoding//language/fr/genj/gedcom/time/resources_fr.properties=UTF-8
encoding//language/fr/genj/io/resources_fr.properties=UTF-8
encoding//language/fr/genj/layout/resources_fr.properties=UTF-8
encoding//language/fr/genj/nav/resources_fr.properties=UTF-8
encoding//language/fr/genj/print/resources_fr.properties=UTF-8
encoding//language/fr/genj/renderer/resources_fr.properties=UTF-8
encoding//language/fr/genj/report/resources_fr.properties=UTF-8
encoding//language/fr/genj/search/resources_fr.properties=UTF-8
encoding//language/fr/genj/table/resources_fr.properties=UTF-8
encoding//language/fr/genj/timeline/resources_fr.properties=UTF-8
encoding//language/fr/genj/tree/resources_fr.properties=UTF-8
encoding//language/fr/genj/view/resources_fr.properties=UTF-8
encoding//language/hu/genj/app/resources_hu.properties=UTF-8
encoding//language/hu/genj/applet/resources_hu.properties=UTF-8
encoding//language/hu/genj/common/resources_hu.properties=UTF-8
encoding//language/hu/genj/edit/actions/resources_hu.properties=UTF-8
encoding//language/hu/genj/edit/beans/resources_hu.properties=UTF-8
encoding//language/hu/genj/edit/resources_hu.properties=UTF-8
encoding//language/hu/genj/entity/resources_hu.properties=UTF-8
encoding//language/hu/genj/gedcom/resources_hu.properties=UTF-8
encoding//language/hu/genj/gedcom/time/resources_hu.properties=UTF-8
encoding//language/hu/genj/nav/resources_hu.properties=UTF-8
encoding//language/hu/genj/print/resources_hu.properties=UTF-8
encoding//language/hu/genj/renderer/resources_hu.properties=UTF-8
encoding//language/hu/genj/report/resources_hu.properties=UTF-8
encoding//language/hu/genj/search/resources_hu.properties=UTF-8
encoding//language/hu/genj/table/resources_hu.properties=UTF-8
encoding//language/hu/genj/timeline/resources_hu.properties=UTF-8
encoding//language/hu/genj/tree/resources_hu.properties=UTF-8
encoding//language/hu/genj/view/resources_hu.properties=UTF-8
encoding//language/it/genj/almanac/resources_it.properties=UTF-8
encoding//language/it/genj/app/resources_it.properties=UTF-8
encoding//language/it/genj/applet/resources_it.properties=UTF-8
encoding//language/it/genj/common/resources_it.properties=UTF-8
encoding//language/it/genj/edit/actions/resources_it.properties=UTF-8
encoding//language/it/genj/edit/beans/resources_it.properties=UTF-8
encoding//language/it/genj/edit/resources_it.properties=UTF-8
encoding//language/it/genj/entity/resources_it.properties=UTF-8
encoding//language/it/genj/fo/resources_it.properties=UTF-8
encoding//language/it/genj/gedcom/resources_it.properties=UTF-8
encoding//language/it/genj/gedcom/time/resources_it.properties=UTF-8
encoding//language/it/genj/help/resources_it.properties=UTF-8
encoding//language/it/genj/io/resources_it.properties=UTF-8
encoding//language/it/genj/layout/resources_it.properties=UTF-8
encoding//language/it/genj/nav/resources_it.properties=UTF-8
encoding//language/it/genj/print/resources_it.properties=UTF-8
encoding//language/it/genj/renderer/resources_it.properties=UTF-8
encoding//language/it/genj/report/resources_it.properties=UTF-8
encoding//language/it/genj/search/resources_it.properties=UTF-8
encoding//language/it/genj/table/resources_it.properties=UTF-8
encoding//language/it/genj/timeline/resources_it.properties=UTF-8
encoding//language/it/genj/tree/resources_it.properties=UTF-8
encoding//language/it/genj/util/resources_it.properties=UTF-8
encoding//language/it/genj/view/resources_it.properties=UTF-8
encoding//language/nl/genj/app/resources_nl.properties=UTF-8
encoding//language/nl/genj/applet/resources_nl.properties=UTF-8
encoding//language/nl/genj/edit/actions/resources_nl.properties=UTF-8
encoding//language/nl/genj/edit/beans/resources_nl.properties=UTF-8
encoding//language/nl/genj/edit/resources_nl.properties=UTF-8
encoding//language/nl/genj/entity/resources_nl.properties=UTF-8
encoding//language/nl/genj/gedcom/resources_nl.properties=UTF-8
encoding//language/nl/genj/gedcom/time/resources_nl.properties=UTF-8
encoding//language/nl/genj/io/resources_nl.properties=UTF-8
encoding//language/nl/genj/nav/resources_nl.properties=UTF-8
encoding//language/nl/genj/print/resources_nl.properties=UTF-8
encoding//language/nl/genj/renderer/resources_nl.properties=UTF-8
encoding//language/nl/genj/report/resources_nl.properties=UTF-8
encoding//language/nl/genj/search/resources_nl.properties=UTF-8
encoding//language/nl/genj/table/resources_nl.properties=UTF-8
encoding//language/nl/genj/timeline/resources_nl.properties=UTF-8
encoding//language/nl/genj/tree/resources_nl.properties=UTF-8
encoding//language/nl/genj/view/resources_nl.properties=UTF-8
encoding//language/pl/genj/almanac/resources_pl.properties=UTF-8
encoding//language/pl/genj/app/resources_pl.properties=UTF-8
encoding//language/pl/genj/applet/resources_pl.properties=UTF-8
encoding//language/pl/genj/common/resources_pl.properties=UTF-8
encoding//language/pl/genj/edit/actions/resources_pl.properties=UTF-8
encoding//language/pl/genj/edit/beans/resources_pl.properties=UTF-8
encoding//language/pl/genj/edit/resources_pl.properties=UTF-8
encoding//language/pl/genj/entity/resources_pl.properties=UTF-8
encoding//language/pl/genj/fo/resources_pl.properties=UTF-8
encoding//language/pl/genj/gedcom/resources_pl.properties=UTF-8
encoding//language/pl/genj/gedcom/time/resources_pl.properties=UTF-8
encoding//language/pl/genj/io/resources_pl.properties=UTF-8
encoding//language/pl/genj/nav/resources_pl.properties=UTF-8
encoding//language/pl/genj/print/resources_pl.properties=UTF-8
encoding//language/pl/genj/renderer/resources_pl.properties=UTF-8
encoding//language/pl/genj/report/resources_pl.properties=UTF-8
encoding//language/pl/genj/search/resources_pl.properties=UTF-8
encoding//language/pl/genj/table/resources_pl.properties=UTF-8
encoding//language/pl/genj/timeline/resources_pl.properties=UTF-8
encoding//language/pl/genj/tree/resources_pl.properties=UTF-8
encoding//language/pl/genj/view/resources_pl.properties=UTF-8
encoding//language/pt_BR/genj/app/resources_pt_BR.properties=UTF-8
encoding//language/pt_BR/genj/applet/resources_pt_BR.properties=UTF-8
encoding//language/pt_BR/genj/edit/actions/resources_pt_BR.properties=UTF-8
encoding//language/pt_BR/genj/edit/beans/resources_pt_BR.properties=UTF-8
encoding//language/pt_BR/genj/edit/resources_pt_BR.properties=UTF-8
encoding//language/pt_BR/genj/entity/resources_pt_BR.properties=UTF-8
encoding//language/pt_BR/genj/gedcom/resources_pt_BR.properties=UTF-8
encoding//language/pt_BR/genj/gedcom/time/resources_pt_BR.properties=UTF-8
encoding//language/pt_BR/genj/io/resources_pt_BR.properties=UTF-8
encoding//language/pt_BR/genj/nav/resources_pt_BR.properties=UTF-8
encoding//language/pt_BR/genj/print/resources_pt_BR.properties=UTF-8
encoding//language/pt_BR/genj/renderer/resources_pt_BR.properties=UTF-8
encoding//language/pt_BR/genj/report/resources_pt_BR.properties=UTF-8
encoding//language/pt_BR/genj/search/resources_pt_BR.properties=UTF-8
encoding//language/pt_BR/genj/table/resources_pt_BR.properties=UTF-8
encoding//language/pt_BR/genj/timeline/resources_pt_BR.properties=UTF-8
encoding//language/pt_BR/genj/tree/resources_pt_BR.properties=UTF-8
encoding//language/pt_BR/genj/view/resources_pt_BR.properties=UTF-8
encoding//language/ru/genj/almanac/resources_ru.properties=UTF-8
encoding//language/ru/genj/app/resources_ru.properties=UTF-8
encoding//language/ru/genj/applet/resources_ru.properties=UTF-8
encoding//language/ru/genj/edit/actions/resources_ru.properties=UTF-8
encoding//language/ru/genj/edit/beans/resources_ru.properties=UTF-8
encoding//language/ru/genj/edit/resources_ru.properties=UTF-8
encoding//language/ru/genj/entity/resources_ru.properties=UTF-8
encoding//language/ru/genj/gedcom/resources_ru.properties=UTF-8
encoding//language/ru/genj/gedcom/time/resources_ru.properties=UTF-8
encoding//language/ru/genj/io/resources_ru.properties=UTF-8
encoding//language/ru/genj/nav/resources_ru.properties=UTF-8
encoding//language/ru/genj/print/resources_ru.properties=UTF-8
encoding//language/ru/genj/renderer/resources_ru.properties=UTF-8
encoding//language/ru/genj/report/resources_ru.properties=UTF-8
encoding//language/ru/genj/search/resources_ru.properties=UTF-8
encoding//language/ru/genj/table/resources_ru.properties=UTF-8
encoding//language/ru/genj/timeline/resources_ru.properties=UTF-8
encoding//language/ru/genj/tree/resources_ru.properties=UTF-8
encoding//language/ru/genj/view/resources_ru.properties=UTF-8
encoding//language/sv/genj/edit/actions/resources_sv.properties=UTF-8
encoding//src/report/Report4Generations.properties=UTF-8
encoding//src/report/ReportAges.java=UTF-8
encoding//src/report/ReportAges.properties=UTF-8
encoding//src/report/ReportAncestorStatistics.properties=UTF-8
encoding//src/report/ReportCGW.properties=UTF-8
encoding//src/report/ReportCommonAncestor.properties=UTF-8
encoding//src/report/ReportDateCalculator.properties=UTF-8
encoding//src/report/ReportDemography.properties=UTF-8
encoding//src/report/ReportEvents.properties=UTF-8
encoding//src/report/ReportEventsByMonths.properties=UTF-8
encoding//src/report/ReportEventsByPlace.properties=UTF-8
encoding//src/report/ReportExec.properties=UTF-8
encoding//src/report/ReportFamily.properties=UTF-8
encoding//src/report/ReportFlashList.properties=UTF-8
encoding//src/report/ReportGedcomStatistics.properties=UTF-8
encoding//src/report/ReportLinesAscent.properties=UTF-8
encoding//src/report/ReportLinesCirc.properties=UTF-8
encoding//src/report/ReportLinesFan.properties=UTF-8
encoding//src/report/ReportMultDesc.properties=UTF-8
encoding//src/report/ReportNameHistory.properties=UTF-8
encoding//src/report/ReportPlaceHistory.properties=UTF-8
encoding//src/report/ReportRecompile.java=UTF-8
encoding//src/report/ReportRecompile.properties=UTF-8
encoding//src/report/ReportRelatives.properties=UTF-8
encoding//src/report/ReportSameValues.properties=UTF-8
encoding//src/report/ReportSosa.properties=UTF-8
encoding//src/report/ReportSummaryOfRecords.properties=UTF-8
encoding//src/report/ReportToDo.properties=UTF-8
encoding//src/report/ReportTrees.properties=UTF-8
encoding//src/report/narrative/ReportNarrative.properties=UTF-8
encoding//src/report/phonetics/ReportPhonetics.properties=UTF-8
encoding//src/report/phonetics/Soundex.java=UTF-8
encoding//src/report/tree/ReportGraphicalTree.properties=UTF-8
encoding//src/report/validate/ReportValidate.properties=UTF-8

View File

@ -0,0 +1,103 @@
#Thu Feb 14 16:25:27 EST 2013
eclipse.preferences.version=1
org.eclipse.jdt.core.builder.cleanOutputFolder=clean
org.eclipse.jdt.core.builder.duplicateResourceTask=warning
org.eclipse.jdt.core.builder.invalidClasspath=abort
org.eclipse.jdt.core.builder.resourceCopyExclusionFilter=*.launch
org.eclipse.jdt.core.circularClasspath=error
org.eclipse.jdt.core.classpath.exclusionPatterns=enabled
org.eclipse.jdt.core.classpath.multipleOutputLocations=enabled
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.doc.comment.support=disabled
org.eclipse.jdt.core.compiler.maxProblemPerUnit=100
org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
org.eclipse.jdt.core.compiler.problem.deadCode=ignore
org.eclipse.jdt.core.compiler.problem.deprecation=warning
org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
org.eclipse.jdt.core.compiler.problem.fatalOptionalError=enabled
org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
org.eclipse.jdt.core.compiler.problem.finalParameterBound=ignore
org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
org.eclipse.jdt.core.compiler.problem.invalidJavadoc=warning
org.eclipse.jdt.core.compiler.problem.invalidJavadocTags=enabled
org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsDeprecatedRef=enabled
org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef=enabled
org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility=private
org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=error
org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
org.eclipse.jdt.core.compiler.problem.missingJavadocComments=ignore
org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled
org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=public
org.eclipse.jdt.core.compiler.problem.missingJavadocTags=ignore
org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled
org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=private
org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore
org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
org.eclipse.jdt.core.compiler.problem.nullReference=warning
org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning
org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
org.eclipse.jdt.core.compiler.problem.rawTypeReference=ignore
org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore
org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore
org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=error
org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled
org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=ignore
org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
org.eclipse.jdt.core.compiler.problem.unusedImport=ignore
org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
org.eclipse.jdt.core.compiler.problem.unusedLocal=ignore
org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore
org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=ignore
org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
org.eclipse.jdt.core.compiler.source=1.6
org.eclipse.jdt.core.incompatibleJDKLevel=ignore
org.eclipse.jdt.core.incompleteClasspath=error

30
build.cmd 100644
View File

@ -0,0 +1,30 @@
@echo off
setlocal
if exist "%JAVA_HOME%" goto gothome
:nohome
for /F %%i in ('dir /b "c:\program files\java\jdk1.6*"') do set JAVA_HOME=c:\program files\java\%%i
if exist "%JAVA_HOME%" goto gothome
echo please set JAVA_HOME pointing to the Java 1.6 JDK installation directory
goto end
:gothome
set classpath=%JAVA_HOME%/lib/tools.jar;contrib/ant/ant.jar
goto build
:build
"%JAVA_HOME%\bin\java" org.apache.tools.ant.Main %1 %2 %3 %4
:end
endlocal

11
build.properties 100644
View File

@ -0,0 +1,11 @@
# version
#version = 3.1
# whether to create javadocs
javadoc = on
# javac options - either 'off' or 'on'
javac.debug = on
# java options for target RUN - allow for max of 256MB heap
java.jvmargs = -Xmx256m -Dgenj.debug.level=FINE

11
build.sh 100644
View File

@ -0,0 +1,11 @@
#!/bin/sh
#
if [ ! -d "$JAVA_HOME" ]; then
JAVA=`which java`
BIN=`dirname $JAVA`
JAVA_HOME=${BIN%/*}
fi
"$JAVA_HOME/bin/java" -cp ./contrib/ant/ant.jar org.apache.tools.ant.Main $1 $2 $3

373
build.xml 100644
View File

@ -0,0 +1,373 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="GenJ" default="dist" basedir=".">
<path id="project.class.path">
<pathelement path ="./build/version"/>
<pathelement path ="./build/classes/contrib"/>
<pathelement path ="./build/classes/core"/>
<pathelement path ="./build/classes/tst"/>
<fileset dir=".">
<include name="lib/*.jar"/>
<include name="contrib/**/*.jar"/>
</fileset>
<dirset dir="./language" includes="*"/>
<dirset dir="./src" includes="*"/>
<pathelement path ="./images"/>
</path>
<property name="project.class.path" refid="project.class.path"/>
<!--
Initialization
-->
<target name="init">
<echo level="info">Creating output directories</echo>
<mkdir dir="./build"/>
<mkdir dir="./build/run"/>
<mkdir dir="./build/dist"/>
<mkdir dir="./build/lib"/>
</target>
<!--
Create Applet Keyfile
-->
<target name="keyfile" depends="init">
<!-- generate a key -->
<delete file="./build/keyfile"/>
<genkey alias="genj" storepass="password" dname="CN=Nils Meier, OU=Unknown, O=genj.sourceforge.net, C=CA" keystore="./build/keyfile"/>
</target>
<!--
Launcher Compilation
-->
<target name="compile.launcher" depends="init">
<mkdir dir="./build/classes/launcher"/>
<javac srcdir="src/launcher" destdir="./build/classes/launcher"
debug="${javac.debug}" source="1.5" target="1.5" optimize="off" deprecation="on" encoding="ASCII" >
</javac>
</target>
<!--
Contrib Compilation
-->
<target name="compile.contrib" depends="init">
<mkdir dir="./build/classes/contrib"/>
<javac srcdir="src/contrib" destdir="./build/classes/contrib"
debug="${javac.debug}" source="1.5" target="1.5" optimize="off" deprecation="on" encoding="ASCII" >
<classpath refid="project.class.path"/>
</javac>
</target>
<!--
Core Compilation
-->
<target name="compile.core" depends="init">
<mkdir dir="./build/classes/core"/>
<javac srcdir="src/core" destdir="./build/classes/core"
debug="${javac.debug}" source="1.5" target="1.5" optimize="on" deprecation="on" encoding="ASCII" >
<classpath refid="project.class.path"/>
</javac>
</target>
<!--
Report Compilation
-->
<target name="compile.report" depends="init">
<mkdir dir="./build/classes/report"/>
<javac srcdir="src/report" destdir="./build/classes/report" excludes="rdf/**"
debug="${javac.debug}" source="1.5" target="1.5" optimize="off" deprecation="on" encoding="UTF-8" >
<classpath refid="project.class.path"/>
</javac>
<copy todir="./build/classes/report">
<fileset dir="src/report"/>
</copy>
</target>
<!--
Tests Compilation
-->
<target name="compile.tst" depends="init">
<mkdir dir="./build/classes/tst"/>
<javac srcdir="src/tst" destdir="./build/classes/tst"
debug="${javac.debug}" target="1.5" optimize="off" deprecation="on" encoding="ASCII" >
<classpath refid="project.class.path"/>
</javac>
</target>
<!--
Compilation
-->
<target name="compile" depends="compile.contrib, compile.core, compile.report, compile.launcher">
</target>
<!--
Cleaning
-->
<target name="clean">
<echo level="info">Cleaning output directories</echo>
<delete includeemptydirs="true" failonerror="false">
<fileset dir="./build" excludes="eclipse/**"/>
</delete>
</target>
<!--
Version
-->
<target name="version" depends="init">
<echo level="info">Generating version number</echo>
<exec failifexecutionfails="false" failonerror="true" executable="svnversion" spawn="false" dir="." outputproperty="revision">
<arg line="-n"/>
</exec>
<tstamp><format property="now" pattern="yyyy/MM/dd HH:mm:ss"/></tstamp>
<loadproperties srcfile="build.properties"/>
<property name="version" value="${revision}"/>
<property name="build" value="${version} (${revision}) ${now} ${user.name}"/>
<echo level="info">version=${version}</echo>
<echo level="info">build=${build}</echo>
<echo file="./build/version.properties">version = ${version}</echo>
<mkdir dir="./build/version/genj"/>
<echo file="./build/version/genj/resources.properties">version=${version}${line.separator}build=${build}</echo>
</target>
<!--
JavaDoc
-->
<target name="javadoc" depends="init, version">
<echo level="info">Generating API documentation</echo>
<delete dir="./build/javadoc"/>
<mkdir dir="./build/javadoc"/>
<javadoc destdir="./build/javadoc"
classpathref="project.class.path"
access="public"
windowtitle="GenealogyJ - ${version}"
doctitle="GenealogyJ - ${version}&lt;br&gt;Package Overview"
bottom="&lt;a href=http://genj.sourceforge.net target=sourceforge &gt;genj.sourceforge.net&lt;/a&gt;"
noindex="yes"
nohelp="yes"
nodeprecatedlist="yes">
<fileset dir="./src/core" defaultexcludes="yes">
<include name="genj/gedcom/*.java" />
<include name="genj/gedcom/time/*.java" />
<include name="genj/report/Report.java" />
<include name="genj/io/Gedcom*.java" />
<include name="genj/util/Origin.java" />
<include name="genj/util/Trackable.java" />
<include name="genj/chart/**.java" />
</fileset>
</javadoc>
</target>
<!--
Distribution - javadocs
-->
<target name="dist.javadoc" depends="javadoc, version" if="javadoc">
<zip zipfile="./build/dist/genj_javadoc-${version}.zip" update="True">
<fileset dir="./build" includes="javadoc/**"/>
</zip>
</target>
<!--
Distribution - a language
-->
<target name="dist.language" depends="version">
<!-- zip all resources_xx.properties files into genj_ll.jar -->
<jar jarfile="./build/lib/genj_${language}.jar" update="True">
<fileset dir="./language/${language}"/>
</jar>
<!-- create genj_ll-xyz.zip -->
<zip zipfile="./build/dist/genj_${language}-${version}.zip" update="True">
<fileset dir="./build" includes="lib/genj_${language}.jar"/>
</zip>
</target>
<!--
Distribution - All languages
-->
<target name="dist.languages" depends="init">
<antcall target="dist.language"><param name="language" value="cs"/></antcall>
<antcall target="dist.language"><param name="language" value="de"/></antcall>
<antcall target="dist.language"><param name="language" value="en"/></antcall>
<antcall target="dist.language"><param name="language" value="es"/></antcall>
<antcall target="dist.language"><param name="language" value="fi"/></antcall>
<antcall target="dist.language"><param name="language" value="fr"/></antcall>
<antcall target="dist.language"><param name="language" value="hu"/></antcall>
<antcall target="dist.language"><param name="language" value="nl"/></antcall>
<antcall target="dist.language"><param name="language" value="pl"/></antcall>
<antcall target="dist.language"><param name="language" value="pt_BR"/></antcall>
<antcall target="dist.language"><param name="language" value="ru"/></antcall>
<antcall target="dist.language"><param name="language" value="sv"/></antcall>
<antcall target="dist.language"><param name="language" value="it"/></antcall>
<antcall target="dist.language"><param name="language" value="no"/></antcall>
</target>
<!--
Distribution - Application
-->
<target name="dist.app" depends="compile, version">
<!-- create genj.jar -->
<delete file="./build/lib/genj.jar"/>
<jar jarfile="./build/lib/genj.jar" update="True">
<fileset dir="./build/classes/contrib" includes="**/*.class"/>
<fileset dir="./build/classes/core" includes="**/*.class"/>
<fileset dir="./build/version"/>
<fileset dir="./images"/>
<fileset dir="./language/en"/>
<fileset dir="./src/core" includes="**/*.properties,**/*.xml,**/*.html,META-INF/**"/>
</jar>
<!-- create run.jar -->
<delete file="./build/lib/run.jar"/>
<jar jarfile="./build/lib/run.jar" update="True">
<fileset dir="./build/classes/launcher" includes="**"/>
<fileset dir="./images" includes="splash.png"/>
<manifest>
<attribute name="Main-Class" value="launcher.Launcher"/>
<attribute name="Launch-Classpath" value="lib, contrib, $${java.home}/lib/tools.jar, $${java.home}/../lib/tools.jar"/>
<attribute name="Launch-Class" value="genj.app.App"/>
<attribute name="Launch-Port" value="2505"/>
<attribute name="Launch-Splash" value="/splash.png"/>
</manifest>
</jar>
<!-- create genj_app-xyz.zip -->
<zip zipfile="./build/dist/genj_app-${version}.zip" update="True">
<!-- some libraries -->
<zipfileset dir="./build/lib" includes="run.jar"/>
<zipfileset dir="./build" includes="lib/genj.jar"/>
<zipfileset dir="." includes="lib/graphj.jar"/>
<zipfileset dir="." includes="lib/jcommon*.jar"/>
<zipfileset dir="." includes="lib/jfreechart*.jar"/>
<zipfileset dir="." includes="lib/spin*.jar"/>
<zipfileset dir="." includes="lib/swingx*.jar"/>
<!-- stuff for reports (classes, sources, scripts)-->
<zipfileset dir="./build/classes" includes="report/**"/>
<!-- sample gedcom file -->
<zipfileset dir="." includes="gedcom/**"/>
<!-- contrib files -->
<zipfileset dir="." includes="contrib/xslt/**"/>
<zipfileset dir="." includes="contrib/fop/**"/>
<zipfileset dir="." includes="contrib/LDS/**"/>
<!-- readme files -->
<zipfileset dir="." includes="doc/*"/>
<!-- start scripts -->
<zipfileset dir="./script" includes="run.*" filemode="755"/>
</zip>
</target>
<!--
Distribution
-->
<target name="dist" depends="init,compile,version,dist.languages,dist.app">
</target>
<!--
Diff to languages' resources
-->
<target name="diff" depends="compile.tst">
<java fork="true" classname="genj.util.ResourcesTest" classpathref="project.class.path">
<arg value="all"/>
</java>
</target>
<!--
Run
-->
<target name="run" depends="compile, version">
<echo level="info">Generating and running GenJ test-run</echo>
<java classname="genj.app.App" fork="true" dir="${basedir}">
<classpath refid="project.class.path"/>
<jvmarg line="${java.jvmargs}"/>
<sysproperty key="genj.gedcom.dir" value="${basedir}/gedcom"/>
<sysproperty key="genj.language.dir" value="${basedir}/language"/>
<sysproperty key="genj.report.dir" value="${basedir}/build/classes/report"/>
</java>
</target>
<!--
Run Applet
-->
<target name="run.applet" depends="compile">
<mkdir dir="./build/run"/>
<!-- create policy file simulating applet security -->
<echo file="./build/run/applet.policy">
grant {
permission java.util.PropertyPermission "user.home", "read";
permission java.io.FilePermission "./build/classes/-", "read";
permission java.io.FilePermission "${basedir}/src/core/-", "read";
permission java.io.FilePermission "${basedir}/images/-", "read";
permission java.io.FilePermission "${basedir}/language/en/-", "read";
permission java.io.FilePermission "${basedir}/gedcom/-", "read";
permission java.lang.RuntimePermission "modifyThread";
permission java.lang.RuntimePermission "modifyThreadGroup";
};
</echo>
<replace file="./build/run/applet.policy" value="\\">
<replacefilter token="\"/>
<replacefilter token="/"/>
</replace>
<!-- create applet.html -->
<echo file="./build/run/applet.html"><![CDATA[
<html><body>
<applet code="genj.applet.Applet.class" width="200" height="200">
<param name="gedcom" value="file:/${basedir}/gedcom/royal92.ged">
</applet>
</body></html>
]]></echo>
<!-- run appletviewer -->
<concat><filelist dir="./build/run" files="applet.html,applet.policy"/></concat>
<java classname="sun.applet.AppletViewer" fork="true">
<arg value="file:/./build/run/applet.html"/>
<jvmarg value="-Djava.security.policy=./build/run/applet.policy"/>
<classpath refid="project.class.path"/>
</java>
<!-- done -->
</target>
<!--
Information about classpath
-->
<target name="classpath" depends="dist">
<echo level="info">Classpath is: ${project.class.path}</echo>
</target>
<!--
About
-->
<target name="about" depends="version">
<echo level="info">GenJ - Build ${version}</echo>
<echo level="info">Please specify one of the basic options: clean, run or dist</echo>
</target>
</project>

View File

@ -0,0 +1,319 @@
<GEDCOM version="5.5.1">
ELEMENT - gedcom element name
type - the java type (without package) wrapping that element (defaults to genj.gedcom.PropertySimpleValue)
img - the image to use for that wrapped property
hide - if element should not be entered by user through "Add Property"
singleton - if element should only appear once at maximum
xref - determines that a nested property shows up *if* its parent is
0 not a reference
1 a reference
default - whether that element is created by default
super - what 'super element' to inherit properties and nested elements from
*************************************
************ Individuals ************
*************************************
<INDI type="Indi" img="Indi" img.male="IndiMale" img.female="IndiFemale">
+++++++++++++ Name and Sex +++++++++++++
<NAME default="1" type="PropertyName" img="Name">
<TYPE type="PropertySimpleValue" img="Name"/>
<NPFX type="PropertySimpleValue" img="Name"/>
<GIVN type="PropertySimpleValue" img="Name"/>
<NICK type="PropertySimpleValue" img="Name"/>
<SPFX type="PropertySimpleValue" img="Name"/>
<SURN type="PropertySimpleValue" img="Name"/>
<NSFX type="PropertySimpleValue" img="Name"/>
<SOUR type="PropertySource|PropertyMultilineValue" img="Source">
<PAGE xref="1" type="PropertySimpleValue" img="Attribute" cardinality="0:1"/>
<EVEN xref="1" type="PropertyChoiceValue" img="Blob" cardinality="0:1">
<ROLE type="PropertyChoiceValue" img="Blob"/>
</EVEN>
<DATA xref="1" type="PropertySimpleReadOnly" img="Blob" cardinality="0:1">
<DATE type="PropertyDate" img="Date"/>
<TEXT type="PropertyMultilineValue" img="Blob"/>
</DATA>
<QUAY xref="1" type="PropertyQuality" img="Blob" cardinality="0:1"/>
<OBJE xref="1" type="PropertyMedia|PropertySimpleReadOnly" img="Media">
<TITL default="1" xref="0" type="PropertySimpleValue" img="Attribute" cardinality="0:1"/>
<FILE default="1" xref="0" type="PropertyFile" img="Disk" cardinality="0:M">
<FORM default="1" xref="0" type="PropertyChoiceValue" img="Format" cardinality="1:1"/>
</FILE>
<NOTE default="1" xref="0" type="PropertyNote|PropertyMultilineValue" img="Note" cardinality="0:1"/>
</OBJE>
<TEXT xref="0" type="PropertyMultilineValue" img="Note" cardinality="0:1"/>
<NOTE type="PropertyNote|PropertyMultilineValue" img="Note"/>
</SOUR>
<NOTE type="PropertyNote|PropertyMultilineValue" img="Note">
<SOUR super="INDI:NAME:SOUR"/>
</NOTE>
</NAME>
<SEX default="1" cardinality="0:1" type="PropertySex" img="Sex" img.male="Male" img.female="Female"/>
+++++++++++++ Events +++++++++++++
<BIRT default="1" type="PropertyEvent" img="Birth" cardinality="0:1">
<TYPE type="PropertyChoiceValue" img="Type"/>
<DATE default="1" cardinality="0:1" type="PropertyDate" img="Date"/>
<PLAC default="1" cardinality="0:1" type="PropertyPlace" img="Place">
<FORM type="PropertySimpleValue" img="Format"/>
<SOUR super="INDI:NAME:SOUR"/>
<NOTE super="INDI:NAME:NOTE"/>
<MAP default="0" cardinality="0:1" type="PropertySimpleReadOnly" img="Place">
<LATI default="1" cardinality="1:1" type="PropertySimpleValue" img="Place"/>
<LONG default="1" cardinality="1:1" type="PropertySimpleValue" img="Place"/>
</MAP>
</PLAC>
<ADDR type="PropertyMultilineValue" img="Addr">
<ADR1 hide="1" type="PropertySimpleValue" img="Addr"/>
<ADR2 hide="1" type="PropertySimpleValue" img="Addr"/>
<CITY default="1" cardinality="0:1" type="PropertyChoiceValue" img="Place"/>
<POST default="1" cardinality="0:1" type="PropertyChoiceValue" img="Code"/>
<STAE default="1" cardinality="0:1" type="PropertyChoiceValue" img="Place"/>
<CTRY default="1" cardinality="0:1" type="PropertyChoiceValue" img="Place"/>
</ADDR>
<PHON type="PropertySimpleValue" img="Phone"/>
<EMAIL cardinality="0:3" type="PropertySimpleValue" img="Web"/>
<FAX cardinality="0:3" type="PropertySimpleValue" img="Phone" />
<WWW cardinality="0:3" type="PropertySimpleValue" img="Web"/>
<AGE type="PropertyAge" img="Time" cardinality="0:1"/>
<AGNC type="PropertySimpleValue" img="Phone"/>
<CAUS type="PropertyChoiceValue" img="Cause"/>
<NOTE super="INDI:NAME:NOTE"/>
<SOUR super="INDI:NAME:SOUR"/>
<OBJE super="INDI:NAME:SOUR:OBJE"/>
<FAMC inherit="0" hide="1" type="PropertyFamilyChild" img="Fam"/>
</BIRT>
<ADOP cardinality="0:M" super="INDI:BIRT" img="Adoption">
<FAMC inherit="0" hide="1" type="PropertyFamilyChild" img="Fam">
<ADOP type="PropertyChoiceValue" img="Fam"/>
</FAMC>
</ADOP>
<DEAT img="Death" super="INDI:BIRT"/>
+++++++++++++ Attributes are not events but have event_details +++++++++++++
<RESI cardinality="0:M" type="PropertySimpleReadOnly" img="Residency" super="INDI:BIRT">
<PLAC default="0"/>
<ADDR default="1"/>
</RESI>
<OCCU type="PropertyChoiceValue" img="Occupation" super="INDI:BIRT" cardinality="0:M"/>
<RELI type="PropertyChoiceValue" img="Religion" super="INDI:BIRT" cardinality="0:M">
<DATE default="0"/>
<PLAC default="0"/>
</RELI>
<CAST hide="1" type="PropertySimpleValue" img="Caste" super="INDI:RELI" />
<DSCR hide="1" type="PropertyChoiceValue" img="Description" super="INDI:RELI" />
<EDUC type="PropertyChoiceValue" img="Education" super="INDI:RELI" cardinality="0:M"/>
<IDNO type="PropertySimpleValue" img="IDNumber" super="INDI:RELI"/>
<NATI type="PropertyChoiceValue" img="Nationality" super="INDI:RELI" />
<NCHI hide="1" type="PropertySimpleValue" img="NumChildren" super="INDI:RELI" />
<PROP hide="1" type="PropertyChoiceValue" img="Property" super="INDI:RELI" />
<SSN type="PropertySimpleValue" img="SSN" super="INDI:RELI" />
<TITL type="PropertyChoiceValue" img="Title" super="INDI:RELI"/>
<FACT type="PropertySimpleValue" img="Title" super="INDI:BIRT" />
<NMR hide="1" type="PropertySimpleValue" img="Marriage" super="INDI:RELI" />
+++++++++++++ More Events +++++++++++++
<GRAD cardinality="0:M" img="Graduation" super="INDI:BIRT"/>
<CHR img="Baptism" super="INDI:GRAD">
<FAMC inherit="0" hide="1" type="PropertyFamilyChild" img="Fam"/>
</CHR>
<BURI img="Burial" super="INDI:BIRT"/>
<CREM img="Cremation" super="INDI:BIRT"/>
<BAPM img="Baptism" super="INDI:BIRT"/>
<BARM img="Bar" super="INDI:BIRT"/>
<BASM img="Bas" super="INDI:BIRT"/>
<BLES img="Blessing" super="INDI:BIRT"/>
<CHRA hide="1" img="AdultChristening" super="INDI:BIRT"/>
<CONF super="INDI:BIRT"/>
<FCOM img="FirstCommunion" super="INDI:BIRT"/>
<ORDN img="Ordination" super="INDI:BIRT"/>
<NATU img="Naturalisation" super="INDI:GRAD"/>
<EMIG img="Emmigration" super="INDI:GRAD" cardinality="0:M"/>
<IMMI img="Immigration" super="INDI:GRAD" cardinality="0:M"/>
<CENS img="Census" super="INDI:GRAD" cardinality="0:M"/>
<PROB img="Probate" super="INDI:GRAD"/>
<WILL img="Will" super="INDI:GRAD" cardinality="0:M"/>
<RETI img="Retirement" super="INDI:GRAD" cardinality="0:M"/>
<EVEN img="Event" super="INDI:GRAD">
<TYPE default="1"/>
</EVEN>
++++++++++++++++ LDS ++++++++++++++++++
<BAPL hide="1" img="Baptism" type="PropertySimpleReadOnly">
<STAT type="PropertySimpleValue" img="Baptism"/>
<DATE super="INDI:BIRT:DATE"/>
<TEMP type="PropertySimpleValue" img="Baptism"/>
<PLAC super="INDI:BIRT:PLAC"/>
<SOUR super="INDI:BIRT:SOUR"/>
<NOTE super="INDI:BIRT:NOTE"/>
</BAPL>
<CONL super="INDI:BAPL"/>
<ENDL super="INDI:BAPL"/>
<SLGC super="INDI:BAPL">
<FAMC hide="1" type="PropertyFamilyChild" img="Fam"/>
</SLGC>
+++++++++++++ Relationships +++++++++++++
<NOTE super="INDI:NAME:NOTE"/>
<FAMC hide="1" type="PropertyFamilyChild" img="Fam">
<PEDI type="PropertyChoiceValue" img="Type"/>
<NOTE super="INDI:NAME:NOTE"/>
</FAMC>
<FAMS hide="1" type="PropertyFamilySpouse" img="Fam">
<NOTE super="INDI:NAME:NOTE"/>
</FAMS>
<OBJE super="INDI:BIRT:OBJE"/>
<SUBM hide="1" type="PropertySubmitter" img="Submitter"/>
<ANCI super="INDI:SUBM"/>
<DESI super="INDI:SUBM"/>
<SOUR super="INDI:NAME:SOUR"/>
<ASSO hide="1" type="PropertyAssociation" img="Association">
<RELA default="1" cardinality="0:1" type="PropertyRelationship" img="Type"/>
<SOUR super="INDI:SOUR"/>
<NOTE super="INDI:NAME:NOTE"/>
</ASSO>
<ALIA hide="1" type="PropertyAlias" img="Indi"/>
+++++++++++++ numbers / processing +++++++++++++
<RFN hide="1" type="PropertySimpleValue" img="Code" cardinality="0:1"/>
<AFN hide="1" type="PropertyNumericValue" img="Code"/>
<REFN type="PropertySimpleValue" img="Code">
<TYPE type="PropertySimpleValue" img="Type"/>
</REFN>
<RIN hide="1" type="PropertySimpleValue" img="Blob" cardinality="0:1"/>
<RESN hide="1" type="PropertySimpleReadOnly" img="Description" cardinality="0:1"/>
+++++++++++++ change - it swallows subs DATE|TIME - no need to declare in grammar +++++++++++++
<CHAN hide="1" type="PropertyChange" img="Time">
<NOTE super="INDI:NAME:NOTE"/>
</CHAN>
</INDI>
*************************************
************ Families ************
*************************************
<FAM type="Fam" img="Fam">
<HUSB hide="1" type="PropertyHusband" img="IndiMale"/>
<WIFE hide="1" type="PropertyWife" img="IndiFemale"/>
<NCHI img="NumChildren" type="PropertySimpleValue"/>
<ENGA img="Engagement" super="INDI:BIRT" cardinality="0:M">
<HUSB type="PropertySimpleReadOnly" img="IndiMale" cardinality="0:1">
<AGE default="1" type="PropertyAge" img="Time" cardinality="1:1"/>
</HUSB>
<WIFE type="PropertySimpleReadOnly" img="IndiFemale" cardinality="0:1">
<AGE default="1" type="PropertyAge" img="Time" cardinality="1:1"/>
</WIFE>
</ENGA>
<MARB img="MarriageBann" super="FAM:ENGA"/>
<MARC img="MarriageContract" super="FAM:ENGA"/>
<MARL img="MarriageLicence" super="FAM:ENGA"/>
<MARR img="Marriage" super="FAM:ENGA"/>
<ANUL img="Annulment" super="FAM:ENGA"/>
<MARS img="MarriageSettlement" super="FAM:ENGA"/>
<CHIL hide="1" type="PropertyChild" img="Child" img.male="MaleChild" img.female="FemaleChild"/>
<DIVF img="DivorceFiled" super="FAM:ENGA"/>
<DIV img="Divorce" super="FAM:ENGA"/>
<CENS img="Census" super="FAM:ENGA"/>
<EVEN super="FAM:ENGA" cardinality="0:M">
<TYPE default="1" super="INDI:EVEN:TYPE"/>
</EVEN>
<SLGS hide="1" img="Marriage" super="INDI:BAPL"/>
<OBJE super="INDI:OBJE"/>
<NOTE super="INDI:NOTE"/>
<SUBM hide="1" super="INDI:SUBM"/>
<SOUR super="INDI:SOUR"/>
<REFN super="INDI:REFN"/>
<RIN super="INDI:RIN"/>
<CHAN hide="1" super="INDI:CHAN"/>
</FAM>
*************************************
************ Notes ************
*************************************
<NOTE type="Note" img="Note">
+++++++++++++ we use inline NOTE to store the entity's content (GEDCOM anomalie) +++++++++++++
<NOTE hide="1" type="PropertyMultilineValue" img="Note"/>
+++++++++++++ References +++++++++++++
<SOUR super="INDI:SOUR"/>
<REFN super="INDI:REFN"/>
<RIN super="INDI:RIN"/>
+++++++++++++ change +++++++++++++
<CHAN hide="1" super="INDI:CHAN"/>
</NOTE>
*************************************
************ Medias ************
*************************************
<OBJE type="Media" img="Media">
<FILE default="1" xref="0" type="PropertyFile" img="Disk" cardinality="0:M">
<FORM default="1" type="PropertyChoiceValue" img="Format" cardinality="1:1"/>
<TITL default="1" type="PropertySimpleValue" img="Attribute" cardinality="0:1"/>
</FILE>
+++++++++++++ References +++++++++++++
<NOTE super="INDI:NOTE"/>
<SOUR super="INDI:SOUR"/>
<REFN super="INDI:REFN"/>
<RIN super="INDI:RIN"/>
+++++++++++++ change +++++++++++++
<CHAN hide="1" super="INDI:CHAN"/>
</OBJE>
*************************************
************ Repositories ***********
*************************************
<REPO type="Repository" img="Repository">
<NAME default="1" type="PropertySimpleValue" img="Attribute"/>
<ADDR default="1" super="INDI:BIRT:ADDR"/>
<PHON type="PropertySimpleValue" img="Phone"/>
<NOTE type="PropertyMultilineValue" img="Note"/>
+++++++++++++ References +++++++++++++
<REFN super="INDI:REFN"/>
<RIN super="INDI:RIN"/>
+++++++++++++ change +++++++++++++
<CHAN hide="1" super="INDI:CHAN"/>
</REPO>
*************************************
************ Sources ************
*************************************
<SOUR type="Source" img="Source">
<DATA type="PropertySimpleReadOnly" img="Attribute">
<EVEN default="1" type="PropertyChoiceValue" img="Event">
<DATE type="PropertySimpleValue" img="Date"/>
<PLAC super="INDI:BIRT:PLAC"/>
</EVEN>
<AGNC type="PropertySimpleValue" img="Attribute"/>
<NOTE super="INDI:NOTE"/>
</DATA>
<AUTH default="1" type="PropertyMultilineValue" img="Note" cardinality="0:1"/>
<TITL default="1" type="PropertyMultilineValue" img="Attribute" cardinality="0:1"/>
<ABBR type="PropertySimpleValue" img="Note" cardinality="0:1"/>
<PUBL type="PropertyMultilineValue" img="Note" cardinality="0:1"/>
<TEXT default="1" type="PropertyMultilineValue" img="Note" cardinality="0:1"/>
+++++++++++++ References +++++++++++++
<OBJE super="INDI:OBJE"/>
<NOTE super="INDI:NOTE"/>
<REPO hide="1" type="PropertyRepository" img="Repository">
<NOTE xref="1" type="PropertyNote|PropertyMultilineValue" img="Note"/>
<CALN xref="1" type="PropertySimpleValue" img="Attribute">
<MEDI type="PropertyChoiceValue" img="Attribute"/>
</CALN>
</REPO>
<REFN super="INDI:REFN"/>
<RIN super="INDI:RIN"/>
+++++++++++++ change +++++++++++++
<CHAN hide="1" super="INDI:CHAN"/>
</SOUR>
*************************************
************ Submitters ************
*************************************
<SUBM type="Submitter" img="Submitter">
<NAME default="1" type="PropertySimpleValue" img="Name" cardinality="1:1"/>
<ADDR super="INDI:BIRT:ADDR"/>
<PHON type="PropertySimpleValue" img="Phone"/>
<LANG type="PropertySimpleValue" img="Place"/>
<RFN super="INDI:RFN"/>
<RIN super="INDI:RIN"/>
+++++++++++++ References +++++++++++++
<OBJE super="INDI:OBJE"/>
<NOTE super="INDI:NOTE"/>
+++++++++++++ change +++++++++++++
<CHAN hide="1" super="INDI:CHAN"/>
</SUBM>
*************************************
</GEDCOM>

View File

@ -0,0 +1,309 @@
<GEDCOM version="5.5">
ELEMENT - gedcom element name
type - the java type (without package) wrapping that element (defaults to genj.gedcom.PropertySimpleValue)
img - the image to use for that wrapped property
hide - if element should not be entered by user through "Add Property"
singleton - if element should only appear once at maximum
xref - determines that a nested property shows up *if* its parent is
0 not a reference
1 a reference
default - whether that element is created by default
super - what 'super element' to inherit properties and nested elements from
*************************************
************ Individuals ************
*************************************
<INDI type="Indi" img="Indi" img.male="IndiMale" img.female="IndiFemale">
+++++++++++++ Name and Sex +++++++++++++
<NAME default="1" type="PropertyName" img="Name">
<NPFX type="PropertySimpleValue" img="Name"/>
<GIVN type="PropertySimpleValue" img="Name"/>
<NICK type="PropertySimpleValue" img="Name"/>
<SPFX type="PropertySimpleValue" img="Name"/>
<SURN type="PropertySimpleValue" img="Name"/>
<NSFX type="PropertySimpleValue" img="Name"/>
<SOUR type="PropertySource|PropertyMultilineValue" img="Source">
<PAGE xref="1" type="PropertySimpleValue" img="Attribute" cardinality="0:1"/>
<EVEN xref="1" type="PropertyChoiceValue" img="Blob" cardinality="0:1">
<ROLE type="PropertyChoiceValue" img="Blob"/>
</EVEN>
<DATA xref="1" type="PropertySimpleReadOnly" img="Blob" cardinality="0:1">
<DATE type="PropertyDate" img="Date"/>
<TEXT type="PropertyMultilineValue" img="Blob"/>
</DATA>
<QUAY xref="1" type="PropertyQuality" img="Blob" cardinality="0:1"/>
<OBJE xref="1" type="PropertyMedia|PropertySimpleReadOnly" img="Media">
<TITL default="1" xref="0" type="PropertySimpleValue" img="Attribute" cardinality="0:1"/>
<FORM default="1" hide="1" xref="0" type="PropertyChoiceValue" img="Format" cardinality="1:1"/>
<FILE default="1" xref="0" type="PropertyFile" img="Disk" cardinality="0:M">
</FILE>
<NOTE default="1" xref="0" type="PropertyNote|PropertyMultilineValue" img="Note" cardinality="0:1"/>
</OBJE>
<TEXT xref="0" type="PropertyMultilineValue" img="Note" cardinality="0:1"/>
<NOTE type="PropertyNote|PropertyMultilineValue" img="Note"/>
</SOUR>
<NOTE type="PropertyNote|PropertyMultilineValue" img="Note">
<SOUR super="INDI:NAME:SOUR"/>
</NOTE>
</NAME>
<SEX default="1" cardinality="0:1" type="PropertySex" img="Sex" img.male="Male" img.female="Female"/>
+++++++++++++ Events +++++++++++++
<BIRT default="1" type="PropertyEvent" img="Birth" cardinality="0:1">
<TYPE type="PropertyChoiceValue" img="Type"/>
<DATE default="1" cardinality="0:1" type="PropertyDate" img="Date"/>
<PLAC default="1" cardinality="0:1" type="PropertyPlace" img="Place">
<FORM type="PropertySimpleValue" img="Format"/>
<SOUR super="INDI:NAME:SOUR"/>
<NOTE super="INDI:NAME:NOTE"/>
</PLAC>
<ADDR type="PropertyMultilineValue" img="Addr">
<ADR1 hide="1" type="PropertySimpleValue" img="Addr"/>
<ADR2 hide="1" type="PropertySimpleValue" img="Addr"/>
<CITY default="1" cardinality="0:1" type="PropertyChoiceValue" img="Place"/>
<POST default="1" cardinality="0:1" type="PropertyChoiceValue" img="Code"/>
<STAE default="1" cardinality="0:1" type="PropertyChoiceValue" img="Place"/>
<CTRY default="1" cardinality="0:1" type="PropertyChoiceValue" img="Place"/>
</ADDR>
<PHON type="PropertySimpleValue" img="Phone"/>
<AGE type="PropertyAge" img="Time" cardinality="0:1"/>
<AGNC type="PropertySimpleValue" img="Phone"/>
<CAUS type="PropertyChoiceValue" img="Cause"/>
<NOTE super="INDI:NAME:NOTE"/>
<SOUR super="INDI:NAME:SOUR"/>
<OBJE super="INDI:NAME:SOUR:OBJE"/>
<FAMC inherit="0" hide="1" type="PropertyFamilyChild" img="Fam"/>
</BIRT>
<ADOP cardinality="0:M" super="INDI:BIRT" img="Adoption">
<FAMC inherit="0" hide="1" type="PropertyFamilyChild" img="Fam">
<ADOP type="PropertyChoiceValue" img="Fam"/>
</FAMC>
</ADOP>
<DEAT img="Death" super="INDI:BIRT"/>
+++++++++++++ Attributes are not events but have event_details +++++++++++++
<RESI cardinality="0:M" type="PropertySimpleReadOnly" img="Residency" super="INDI:BIRT">
<PLAC default="0"/>
<ADDR default="1"/>
</RESI>
<OCCU type="PropertyChoiceValue" img="Occupation" super="INDI:BIRT" cardinality="0:M"/>
<RELI type="PropertyChoiceValue" img="Religion" super="INDI:BIRT" cardinality="0:M">
<DATE default="0"/>
<PLAC default="0"/>
</RELI>
<CAST hide="1" type="PropertySimpleValue" img="Caste" super="INDI:RELI"/>
<DSCR hide="1" type="PropertyChoiceValue" img="Description" super="INDI:RELI"/>
<EDUC type="PropertyChoiceValue" img="Education" super="INDI:RELI" cardinality="0:M"/>
<IDNO type="PropertySimpleValue" img="IDNumber" super="INDI:RELI"/>
<NATI type="PropertyChoiceValue" img="Nationality" super="INDI:RELI"/>
<NCHI hide="1" type="PropertySimpleValue" img="NumChildren" super="INDI:RELI"/>
<PROP hide="1" type="PropertyChoiceValue" img="Property" super="INDI:RELI"/>
<SSN type="PropertySimpleValue" img="SSN" super="INDI:RELI"/>
<TITL type="PropertyChoiceValue" img="Title" super="INDI:RELI"/>
<NMR hide="1" type="PropertySimpleValue" img="Marriage" super="INDI:RELI"/>
+++++++++++++ More Events +++++++++++++
<GRAD cardinality="0:M" img="Graduation" super="INDI:BIRT"/>
<CHR img="Baptism" super="INDI:GRAD">
<FAMC inherit="0" hide="1" type="PropertyFamilyChild" img="Fam"/>
</CHR>
<BURI img="Burial" super="INDI:BIRT"/>
<CREM img="Cremation" super="INDI:BIRT"/>
<BAPM img="Baptism" super="INDI:BIRT"/>
<BARM img="Bar" super="INDI:BIRT"/>
<BASM img="Bas" super="INDI:BIRT"/>
<BLES img="Blessing" super="INDI:BIRT"/>
<CHRA hide="1" img="AdultChristening" super="INDI:BIRT"/>
<CONF super="INDI:BIRT"/>
<FCOM img="FirstCommunion" super="INDI:BIRT"/>
<ORDN img="Ordination" super="INDI:BIRT"/>
<NATU img="Naturalisation" super="INDI:GRAD"/>
<EMIG img="Emmigration" super="INDI:GRAD" cardinality="0:M"/>
<IMMI img="Immigration" super="INDI:GRAD" cardinality="0:M"/>
<CENS img="Census" super="INDI:GRAD" cardinality="0:M"/>
<PROB img="Probate" super="INDI:GRAD"/>
<WILL img="Will" super="INDI:GRAD" cardinality="0:M"/>
<RETI img="Retirement" super="INDI:GRAD" cardinality="0:M"/>
<EVEN img="Event" super="INDI:GRAD">
<TYPE default="1"/>
</EVEN>
++++++++++++++++ LDS ++++++++++++++++++
<BAPL hide="1" img="Baptism" type="PropertySimpleReadOnly">
<STAT type="PropertySimpleValue" img="Baptism"/>
<DATE super="INDI:BIRT:DATE"/>
<TEMP type="PropertySimpleValue" img="Baptism"/>
<PLAC super="INDI:BIRT:PLAC"/>
<SOUR super="INDI:BIRT:SOUR"/>
<NOTE super="INDI:BIRT:NOTE"/>
</BAPL>
<CONL super="INDI:BAPL"/>
<ENDL super="INDI:BAPL"/>
<SLGC super="INDI:BAPL">
<FAMC hide="1" type="PropertyFamilyChild" img="Fam"/>
</SLGC>
+++++++++++++ Relationships +++++++++++++
<NOTE super="INDI:NAME:NOTE"/>
<FAMC hide="1" type="PropertyFamilyChild" img="Fam">
<PEDI type="PropertyChoiceValue" img="Type"/>
<NOTE super="INDI:NAME:NOTE"/>
</FAMC>
<FAMS hide="1" type="PropertyFamilySpouse" img="Fam">
<NOTE super="INDI:NAME:NOTE"/>
</FAMS>
<OBJE super="INDI:BIRT:OBJE"/>
<SUBM hide="1" type="PropertySubmitter" img="Submitter"/>
<ANCI super="INDI:SUBM"/>
<DESI super="INDI:SUBM"/>
<SOUR super="INDI:NAME:SOUR"/>
<ASSO hide="1" type="PropertyAssociation" img="Association">
<TYPE default="1" cardinality="0:1" type="PropertySimpleValue" img="Type"/>
<RELA default="1" cardinality="0:1" type="PropertyRelationship" img="Type"/>
<SOUR super="INDI:SOUR"/>
<NOTE super="INDI:NAME:NOTE"/>
</ASSO>
<ALIA hide="1" type="PropertyAlias" img="Indi"/>
+++++++++++++ numbers / processing +++++++++++++
<RFN hide="1" type="PropertySimpleValue" img="Code" cardinality="0:1"/>
<AFN hide="1" type="PropertyNumericValue" img="Code"/>
<REFN type="PropertySimpleValue" img="Code">
<TYPE type="PropertySimpleValue" img="Type"/>
</REFN>
<RIN hide="1" type="PropertySimpleValue" img="Blob" cardinality="0:1"/>
<RESN hide="1" type="PropertySimpleReadOnly" img="Description" cardinality="0:1"/>
+++++++++++++ change - it swallows subs DATE|TIME - no need to declare in grammar +++++++++++++
<CHAN hide="1" type="PropertyChange" img="Time">
<NOTE super="INDI:NAME:NOTE"/>
</CHAN>
</INDI>
*************************************
************ Families ************
*************************************
<FAM type="Fam" img="Fam">
<HUSB hide="1" type="PropertyHusband" img="IndiMale"/>
<WIFE hide="1" type="PropertyWife" img="IndiFemale"/>
<NCHI img="NumChildren" type="PropertySimpleValue"/>
<ENGA img="Engagement" super="INDI:BIRT" cardinality="0:M">
<HUSB type="PropertySimpleReadOnly" img="IndiMale" cardinality="0:1">
<AGE default="1" type="PropertyAge" img="Time" cardinality="1:1"/>
</HUSB>
<WIFE type="PropertySimpleReadOnly" img="IndiFemale" cardinality="0:1">
<AGE default="1" type="PropertyAge" img="Time" cardinality="1:1"/>
</WIFE>
</ENGA>
<MARB img="MarriageBann" super="FAM:ENGA"/>
<MARC img="MarriageContract" super="FAM:ENGA"/>
<MARL img="MarriageLicence" super="FAM:ENGA"/>
<MARR img="Marriage" super="FAM:ENGA"/>
<ANUL img="Annulment" super="FAM:ENGA"/>
<MARS img="MarriageSettlement" super="FAM:ENGA"/>
<CHIL hide="1" type="PropertyChild" img="Child" img.male="MaleChild" img.female="FemaleChild"/>
<DIVF img="DivorceFiled" super="FAM:ENGA"/>
<DIV img="Divorce" super="FAM:ENGA"/>
<CENS img="Census" super="FAM:ENGA"/>
<EVEN super="FAM:ENGA" cardinality="0:M">
<TYPE default="1" super="INDI:EVEN:TYPE"/>
</EVEN>
<SLGS hide="1" img="Marriage" super="INDI:BAPL"/>
<OBJE super="INDI:OBJE"/>
<NOTE super="INDI:NOTE"/>
<SUBM hide="1" super="INDI:SUBM"/>
<SOUR super="INDI:SOUR"/>
<REFN super="INDI:REFN"/>
<RIN super="INDI:RIN"/>
<CHAN hide="1" super="INDI:CHAN"/>
</FAM>
*************************************
************ Notes ************
*************************************
<NOTE type="Note" img="Note">
+++++++++++++ we use inline NOTE to store the entity's content (GEDCOM anomalie) +++++++++++++
<NOTE hide="1" type="PropertyMultilineValue" img="Note"/>
+++++++++++++ References +++++++++++++
<SOUR super="INDI:SOUR"/>
<REFN super="INDI:REFN"/>
<RIN super="INDI:RIN"/>
+++++++++++++ change +++++++++++++
<CHAN hide="1" super="INDI:CHAN"/>
</NOTE>
*************************************
************ Medias ************
*************************************
<OBJE type="Media" img="Media">
<TITL default="0" type="PropertySimpleValue" img="Attribute" cardinality="1:1"/>
<FORM default="0" type="PropertyChoiceValue" img="Format" cardinality="1:1"/>
<BLOB default="0" type="PropertyBlob" img="Blob" cardinality="1:1"/>
+++++++++++++ References +++++++++++++
<NOTE super="INDI:NOTE"/>
<SOUR super="INDI:SOUR"/>
<REFN super="INDI:REFN"/>
<RIN super="INDI:RIN"/>
+++++++++++++ change +++++++++++++
<CHAN hide="1" super="INDI:CHAN"/>
</OBJE>
*************************************
************ Repositories ***********
*************************************
<REPO type="Repository" img="Repository">
<NAME default="1" type="PropertySimpleValue" img="Attribute"/>
<ADDR default="1" super="INDI:BIRT:ADDR"/>
<PHON type="PropertySimpleValue" img="Phone"/>
<NOTE type="PropertyMultilineValue" img="Note"/>
+++++++++++++ References +++++++++++++
<REFN super="INDI:REFN"/>
<RIN super="INDI:RIN"/>
+++++++++++++ change +++++++++++++
<CHAN hide="1" super="INDI:CHAN"/>
</REPO>
*************************************
************ Sources ************
*************************************
<SOUR type="Source" img="Source">
<DATA type="PropertySimpleReadOnly" img="Attribute">
<EVEN default="1" type="PropertyChoiceValue" img="Event">
<DATE type="PropertySimpleValue" img="Date"/>
<PLAC super="INDI:BIRT:PLAC"/>
</EVEN>
<AGNC type="PropertySimpleValue" img="Attribute"/>
<NOTE super="INDI:NOTE"/>
</DATA>
<AUTH default="1" type="PropertyMultilineValue" img="Note" cardinality="0:1"/>
<TITL default="1" type="PropertyMultilineValue" img="Attribute" cardinality="0:1"/>
<ABBR type="PropertySimpleValue" img="Note" cardinality="0:1"/>
<PUBL type="PropertyMultilineValue" img="Note" cardinality="0:1"/>
<TEXT default="1" type="PropertyMultilineValue" img="Note" cardinality="0:1"/>
+++++++++++++ References +++++++++++++
<OBJE super="INDI:OBJE"/>
<NOTE super="INDI:NOTE"/>
<REPO hide="1" type="PropertyRepository" img="Repository">
<NOTE xref="1" type="PropertyNote|PropertyMultilineValue" img="Note"/>
<CALN xref="1" type="PropertySimpleValue" img="Attribute">
<MEDI type="PropertyChoiceValue" img="Attribute"/>
</CALN>
</REPO>
<REFN super="INDI:REFN"/>
<RIN super="INDI:RIN"/>
+++++++++++++ change +++++++++++++
<CHAN hide="1" super="INDI:CHAN"/>
</SOUR>
*************************************
************ Submitters ************
*************************************
<SUBM type="Submitter" img="Submitter">
<NAME default="1" type="PropertySimpleValue" img="Name" cardinality="1:1"/>
<ADDR super="INDI:BIRT:ADDR"/>
<PHON type="PropertySimpleValue" img="Phone"/>
<LANG type="PropertySimpleValue" img="Place"/>
<RFN super="INDI:RFN"/>
<RIN super="INDI:RIN"/>
+++++++++++++ References +++++++++++++
<OBJE super="INDI:OBJE"/>
+++++++++++++ change +++++++++++++
<CHAN hide="1" super="INDI:CHAN"/>
</SUBM>
*************************************
</GEDCOM>

BIN
contrib/ant/ant.jar 100644

Binary file not shown.

View File

@ -0,0 +1,203 @@
/*
* Apache License
* Version 2.0, January 2004
* http://www.apache.org/licenses/
*
* TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
*
* 1. Definitions.
*
* "License" shall mean the terms and conditions for use, reproduction,
* and distribution as defined by Sections 1 through 9 of this document.
*
* "Licensor" shall mean the copyright owner or entity authorized by
* the copyright owner that is granting the License.
*
* "Legal Entity" shall mean the union of the acting entity and all
* other entities that control, are controlled by, or are under common
* control with that entity. For the purposes of this definition,
* "control" means (i) the power, direct or indirect, to cause the
* direction or management of such entity, whether by contract or
* otherwise, or (ii) ownership of fifty percent (50%) or more of the
* outstanding shares, or (iii) beneficial ownership of such entity.
*
* "You" (or "Your") shall mean an individual or Legal Entity
* exercising permissions granted by this License.
*
* "Source" form shall mean the preferred form for making modifications,
* including but not limited to software source code, documentation
* source, and configuration files.
*
* "Object" form shall mean any form resulting from mechanical
* transformation or translation of a Source form, including but
* not limited to compiled object code, generated documentation,
* and conversions to other media types.
*
* "Work" shall mean the work of authorship, whether in Source or
* Object form, made available under the License, as indicated by a
* copyright notice that is included in or attached to the work
* (an example is provided in the Appendix below).
*
* "Derivative Works" shall mean any work, whether in Source or Object
* form, that is based on (or derived from) the Work and for which the
* editorial revisions, annotations, elaborations, or other modifications
* represent, as a whole, an original work of authorship. For the purposes
* of this License, Derivative Works shall not include works that remain
* separable from, or merely link (or bind by name) to the interfaces of,
* the Work and Derivative Works thereof.
*
* "Contribution" shall mean any work of authorship, including
* the original version of the Work and any modifications or additions
* to that Work or Derivative Works thereof, that is intentionally
* submitted to Licensor for inclusion in the Work by the copyright owner
* or by an individual or Legal Entity authorized to submit on behalf of
* the copyright owner. For the purposes of this definition, "submitted"
* means any form of electronic, verbal, or written communication sent
* to the Licensor or its representatives, including but not limited to
* communication on electronic mailing lists, source code control systems,
* and issue tracking systems that are managed by, or on behalf of, the
* Licensor for the purpose of discussing and improving the Work, but
* excluding communication that is conspicuously marked or otherwise
* designated in writing by the copyright owner as "Not a Contribution."
*
* "Contributor" shall mean Licensor and any individual or Legal Entity
* on behalf of whom a Contribution has been received by Licensor and
* subsequently incorporated within the Work.
*
* 2. Grant of Copyright License. Subject to the terms and conditions of
* this License, each Contributor hereby grants to You a perpetual,
* worldwide, non-exclusive, no-charge, royalty-free, irrevocable
* copyright license to reproduce, prepare Derivative Works of,
* publicly display, publicly perform, sublicense, and distribute the
* Work and such Derivative Works in Source or Object form.
*
* 3. Grant of Patent License. Subject to the terms and conditions of
* this License, each Contributor hereby grants to You a perpetual,
* worldwide, non-exclusive, no-charge, royalty-free, irrevocable
* (except as stated in this section) patent license to make, have made,
* use, offer to sell, sell, import, and otherwise transfer the Work,
* where such license applies only to those patent claims licensable
* by such Contributor that are necessarily infringed by their
* Contribution(s) alone or by combination of their Contribution(s)
* with the Work to which such Contribution(s) was submitted. If You
* institute patent litigation against any entity (including a
* cross-claim or counterclaim in a lawsuit) alleging that the Work
* or a Contribution incorporated within the Work constitutes direct
* or contributory patent infringement, then any patent licenses
* granted to You under this License for that Work shall terminate
* as of the date such litigation is filed.
*
* 4. Redistribution. You may reproduce and distribute copies of the
* Work or Derivative Works thereof in any medium, with or without
* modifications, and in Source or Object form, provided that You
* meet the following conditions:
*
* (a) You must give any other recipients of the Work or
* Derivative Works a copy of this License; and
*
* (b) You must cause any modified files to carry prominent notices
* stating that You changed the files; and
*
* (c) You must retain, in the Source form of any Derivative Works
* that You distribute, all copyright, patent, trademark, and
* attribution notices from the Source form of the Work,
* excluding those notices that do not pertain to any part of
* the Derivative Works; and
*
* (d) If the Work includes a "NOTICE" text file as part of its
* distribution, then any Derivative Works that You distribute must
* include a readable copy of the attribution notices contained
* within such NOTICE file, excluding those notices that do not
* pertain to any part of the Derivative Works, in at least one
* of the following places: within a NOTICE text file distributed
* as part of the Derivative Works; within the Source form or
* documentation, if provided along with the Derivative Works; or,
* within a display generated by the Derivative Works, if and
* wherever such third-party notices normally appear. The contents
* of the NOTICE file are for informational purposes only and
* do not modify the License. You may add Your own attribution
* notices within Derivative Works that You distribute, alongside
* or as an addendum to the NOTICE text from the Work, provided
* that such additional attribution notices cannot be construed
* as modifying the License.
*
* You may add Your own copyright statement to Your modifications and
* may provide additional or different license terms and conditions
* for use, reproduction, or distribution of Your modifications, or
* for any such Derivative Works as a whole, provided Your use,
* reproduction, and distribution of the Work otherwise complies with
* the conditions stated in this License.
*
* 5. Submission of Contributions. Unless You explicitly state otherwise,
* any Contribution intentionally submitted for inclusion in the Work
* by You to the Licensor shall be under the terms and conditions of
* this License, without any additional terms or conditions.
* Notwithstanding the above, nothing herein shall supersede or modify
* the terms of any separate license agreement you may have executed
* with Licensor regarding such Contributions.
*
* 6. Trademarks. This License does not grant permission to use the trade
* names, trademarks, service marks, or product names of the Licensor,
* except as required for reasonable and customary use in describing the
* origin of the Work and reproducing the content of the NOTICE file.
*
* 7. Disclaimer of Warranty. Unless required by applicable law or
* agreed to in writing, Licensor provides the Work (and each
* Contributor provides its Contributions) on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
* implied, including, without limitation, any warranties or conditions
* of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
* PARTICULAR PURPOSE. You are solely responsible for determining the
* appropriateness of using or redistributing the Work and assume any
* risks associated with Your exercise of permissions under this License.
*
* 8. Limitation of Liability. In no event and under no legal theory,
* whether in tort (including negligence), contract, or otherwise,
* unless required by applicable law (such as deliberate and grossly
* negligent acts) or agreed to in writing, shall any Contributor be
* liable to You for damages, including any direct, indirect, special,
* incidental, or consequential damages of any character arising as a
* result of this License or out of the use or inability to use the
* Work (including but not limited to damages for loss of goodwill,
* work stoppage, computer failure or malfunction, or any and all
* other commercial damages or losses), even if such Contributor
* has been advised of the possibility of such damages.
*
* 9. Accepting Warranty or Additional Liability. While redistributing
* the Work or Derivative Works thereof, You may choose to offer,
* and charge a fee for, acceptance of support, warranty, indemnity,
* or other liability obligations and/or rights consistent with this
* License. However, in accepting such obligations, You may act only
* on Your own behalf and on Your sole responsibility, not on behalf
* of any other Contributor, and only if You agree to indemnify,
* defend, and hold each Contributor harmless for any liability
* incurred by, or claims asserted against, such Contributor by reason
* of your accepting any such warranty or additional liability.
*
* END OF TERMS AND CONDITIONS
*
* APPENDIX: How to apply the Apache License to your work.
*
* To apply the Apache License to your work, attach the following
* boilerplate notice, with the fields enclosed by brackets "[]"
* replaced with your own identifying information. (Don't include
* the brackets!) The text should be enclosed in the appropriate
* comment syntax for the file format. We also recommend that a
* file or class name and description of purpose be included on the
* same "printed page" as the copyright notice for easier
* identification within third-party archives.
*
* Copyright [yyyy] [name of copyright owner]
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
contrib/fop/fop.jar 100644

Binary file not shown.

View File

@ -0,0 +1,39 @@
<?xml version='1.0' encoding='ISO-8859-1'?>
<!-- =============================================================== -->
<!-- -->
<!-- Convert XSL FO to CSV (comma separated values) -->
<!-- -->
<!-- Author: Nils Meier, nmeier at users dot sourceforge dot net -->
<!-- -->
<!-- =============================================================== -->
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:genj="http://genj.sourceforge.net/XSL/Format"
exclude-result-prefixes="fo">
<xsl:output method="text" encoding="utf-8" indent="no"/>
<xsl:template match="fo:table">
<xsl:if test="@genj:csv='true'">
<xsl:apply-templates/>
</xsl:if>
</xsl:template>
<xsl:template match="fo:table-row">
<xsl:if test="../../@genj:csvprefix"><xsl:value-of select="../../@genj:csvprefix"/>;</xsl:if>
<xsl:apply-templates select="fo:table-cell"/>
<xsl:value-of select="'&#xA;'"/>
</xsl:template>
<xsl:template match="fo:table-cell">
<xsl:value-of select="."/>
<xsl:if test="position()!=last()">;</xsl:if>
</xsl:template>
<xsl:template match="text()">
</xsl:template>
</xsl:stylesheet>

View File

@ -0,0 +1,819 @@
<?xml version='1.0' encoding='ISO-8859-1'?>
<!-- =============================================================== -->
<!-- -->
<!-- Convert XSL FO (as in REC 2001-10-15) to HTML -->
<!-- -->
<!-- © RenderX 2000-2001 -->
<!-- Permission to copy and modify is granted, provided this notice -->
<!-- is included in all copies and/or derived work. -->
<!-- -->
<!-- Author: Nikolai Grigoriev, grig at renderx dot com -->
<!-- Nils Meier, nmeier at users dot sourceforge dot net -->
<!-- -->
<!-- =============================================================== -->
<!DOCTYPE xsl:stylesheet [
<!ENTITY anchor "<xsl:apply-templates select='@id' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'/>">
<!ENTITY add-style "<xsl:call-template name='add-style-attribute' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'/>">
]>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:genj="http://genj.sourceforge.net/XSL/Format"
exclude-result-prefixes="fo">
<xsl:output method="html"
version="4.0"
encoding="utf-8"
doctype-public="-//W3C//DTD HTML 4.0 Transitional//EN"
indent="no"/>
<!-- =============================================================== -->
<!-- Root. Create the bone and call templates for each page sequence -->
<!-- =============================================================== -->
<xsl:template match="fo:root">
<html>
<head>
<title>
<xsl:choose>
<xsl:when test="descendant::fo:title[1]">
<!-- NM20060219 this was just select="fo:title" but that didn't pick up the title -->
<xsl:value-of select="descendant::fo:title[1]"/>
</xsl:when>
<xsl:when test="@genj:title">
<!-- NM20060220 since FOP crashes when encountering title we workaround with a root attribute -->
<xsl:value-of select="@genj:title"/>
</xsl:when>
<xsl:otherwise>XSL FO Document</xsl:otherwise>
</xsl:choose>
</title>
<META http-equiv="Content-Style-Type" content="text/css"/>
<style type="text/css">
a { color: black; border: none; text-decoration: underline; }
img { border: none; }
</style>
</head>
<body bgcolor="white" marginwidth="6" marginheight="6" leftmargin="6" topmargin="6">
<xsl:apply-templates select="fo:page-sequence"/>
</body>
</html>
</xsl:template>
<!-- =============================================================== -->
<!-- fo:page-sequence. Draws a header before and a footer after. -->
<!-- Sidebars are skipped: there's no way to rotate the text in HTML -->
<!-- and horizontal text in the sidebars eats up too much space. -->
<!-- =============================================================== -->
<xsl:template match="fo:page-sequence">
<xsl:variable name="current-master"><xsl:value-of select="@master-reference"/></xsl:variable>
<!-- One page master will be used for the whole page sequence -->
<xsl:variable name="page-master-name">
<xsl:choose>
<xsl:when test="../fo:layout-master-set/fo:simple-page-master[@master-name=$current-master]">
<!-- specified master is a page master: use it -->
<xsl:value-of select="$current-master"/>
</xsl:when>
<xsl:otherwise>
<!-- specified master is a page sequence master: -->
<!-- find master name for the first page -->
<xsl:apply-templates select="../fo:layout-master-set/fo:page-sequence-master[@master-name=$current-master]"/>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<!-- Load the page master into a variable. No problem if it's null; should work the same ;-) -->
<xsl:variable name="page-master" select="../fo:layout-master-set/fo:simple-page-master[@master-name=$page-master-name]"/>
<!-- Start real drawing -->
<br/> <!-- make an offset before each page sequence -->
<!-- Header -->
<xsl:variable name="header-region" select="$page-master/fo:region-before"/>
<xsl:apply-templates select="fo:static-content[@flow-name = $header-region/@region-name
or (@flow-name='xsl-region-before' and not($header-region/@region-name))]">
<xsl:with-param name="region" select="$header-region"/>
</xsl:apply-templates>
<!-- Body -->
<xsl:apply-templates select="fo:flow">
<xsl:with-param name="region" select="$page-master/fo:region-body"/>
</xsl:apply-templates>
<!-- Footer -->
<xsl:variable name="footer-region" select="$page-master/fo:region-after"/>
<xsl:apply-templates select="fo:static-content[@flow-name = $footer-region/@region-name
or (@flow-name='xsl-region-after' and not($footer-region/@region-name))]">
<xsl:with-param name="region" select="$footer-region"/>
</xsl:apply-templates>
<br/> <!-- make an offset after each page sequence -->
</xsl:template>
<!-- =============================================================== -->
<!-- fo:block -->
<!-- =============================================================== -->
<xsl:template match="fo:block">
&anchor;<div>&add-style;<xsl:apply-templates mode="check-for-pre"/></div>
</xsl:template>
<!-- =============================================================== -->
<!-- fo:inline-sequence -->
<!-- =============================================================== -->
<xsl:template match="fo:inline | fo:wrapper">
&anchor;<span>&add-style;<xsl:apply-templates/></span>
</xsl:template>
<!-- =============================================================== -->
<!-- fo:list-block -->
<!-- =============================================================== -->
<xsl:template match="fo:list-block">
<xsl:variable name="label-separation">
<xsl:choose>
<xsl:when test="@provisional-label-separation">
<xsl:apply-templates select="@provisional-label-separation"
mode="convert-to-pixels"/>
</xsl:when>
<xsl:otherwise>8</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="body-offset">
<xsl:choose>
<xsl:when test="@provisional-distance-between-starts">
<xsl:apply-templates select="@provisional-distance-between-starts"
mode="convert-to-pixels"/>
</xsl:when>
<xsl:otherwise>32</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<div>&add-style;
&anchor;
<table width="100%">
<xsl:apply-templates select="fo:list-item | fo:list-item-label">
<xsl:with-param name="label-width"
select="$body-offset - $label-separation"/>
<xsl:with-param name="gap-width"
select="$label-separation"/>
</xsl:apply-templates>
</table>
</div>
</xsl:template>
<!-- =============================================================== -->
<!-- fo:list-item -->
<!-- =============================================================== -->
<xsl:template match="fo:list-item">
<xsl:param name="label-width"/>
<xsl:param name="gap-width"/>
<tr>&add-style;
<xsl:apply-templates select="fo:list-item-label" mode="draw-cell">
<xsl:with-param name="width" select="$label-width"/>
</xsl:apply-templates>
<xsl:if test="$gap-width &gt; 0">
<td width="{$gap-width}">&#160;</td>
</xsl:if>
<xsl:apply-templates select="fo:list-item-body" mode="draw-cell"/>
</tr>
</xsl:template>
<!-- =============================================================== -->
<!-- fo:list-item-label - itemless lists -->
<!-- =============================================================== -->
<xsl:template match="fo:list-block/fo:list-item-label">
<xsl:param name="label-width"/>
<xsl:param name="gap-width"/>
<tr>
<xsl:apply-templates select="." mode="draw-cell">
<xsl:with-param name="width" select="$label-width"/>
</xsl:apply-templates>
<xsl:if test="$gap-width &gt; 0">
<td width="{$gap-width}">&#160;</td>
</xsl:if>
<xsl:apply-templates select="following-sibling::fo:list-item-body[1]" mode="draw-cell"/>
</tr>
</xsl:template>
<!-- =============================================================== -->
<!-- fo:list-item-body - itemless lists -->
<!-- =============================================================== -->
<xsl:template match="fo:list-item-label | fo:list-item-body" mode="draw-cell">
<xsl:param name="width" select="'auto'"/>
<td valign="top">&add-style;&anchor;
<xsl:if test="$width != 'auto'">
<xsl:attribute name="width">
<xsl:value-of select="$width"/>
</xsl:attribute>
</xsl:if>
<xsl:apply-templates mode="check-for-pre"/>
</td>
</xsl:template>
<!-- =============================================================== -->
<!-- fo:table and its components -->
<!-- =============================================================== -->
<xsl:template match="fo:table">
&anchor;
<table cellspacing="0">&add-style;
<xsl:if test="not(@display-align)">
<xsl:attribute name="valign">top</xsl:attribute>
</xsl:if>
<xsl:if test="@width">
<xsl:attribute name="width"><xsl:value-of select="@width"/></xsl:attribute>
</xsl:if>
<xsl:apply-templates/>
</table>
</xsl:template>
<xsl:template match="fo:table-column">
&anchor;
<xsl:if test="@column-width">
<col>
<xsl:attribute name="width"><xsl:value-of select="@column-width"/></xsl:attribute>
</col>
</xsl:if>
</xsl:template>
<xsl:template match="fo:table-header">
<thead>&add-style;
<xsl:apply-templates/>
</thead>
</xsl:template>
<xsl:template match="fo:table-footer">
<tfoot>&add-style;
<xsl:apply-templates/>
</tfoot>
</xsl:template>
<xsl:template match="fo:table-body">
<tbody>&add-style;
<xsl:apply-templates/>
</tbody>
</xsl:template>
<xsl:template match="fo:table-row">
<tr>&add-style;
<xsl:apply-templates mode="display"/>
</tr>
</xsl:template>
<xsl:template match="fo:table-cell" mode="display">
<td>&add-style;
<xsl:if test="not(@display-align)">
<xsl:attribute name="valign">top</xsl:attribute>
</xsl:if>
<xsl:apply-templates select="@*" mode="get-table-attributes"/>
<!-- NM20060218 patch empty table cells with a nbsp -->
<xsl:choose>
<xsl:when test=".=''">
&#160;
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates mode="check-for-pre"/>
</xsl:otherwise>
</xsl:choose>
</td>
</xsl:template>
<xsl:template match="fo:table-cell" priority="-1"/>
<!-- This template accounts for "rowless" tables -->
<xsl:template priority="1"
match="fo:table-cell[not(parent::fo:table-row)]
[not(preceding-sibling::fo:table-cell) or @starts-row='true'
or preceding-sibling::fo:table-cell[1][@ends-row='true']]">
<tr>
<xsl:call-template name="enumerate-rowless-cells"/>
</tr>
</xsl:template>
<xsl:template name="enumerate-rowless-cells">
<xsl:apply-templates select="." mode="display"/>
<xsl:if test="not(@ends-row='true')">
<xsl:for-each select="following-sibling::fo:table-cell[1]
[not(@starts-row='true')]">
<xsl:call-template name="enumerate-rowless-cells"/>
</xsl:for-each>
</xsl:if>
</xsl:template>
<!-- =============================================================== -->
<!-- fo:inline-graphic -->
<!-- =============================================================== -->
<xsl:template match="fo:external-graphic">
<xsl:variable name="cleaned-url">
<xsl:apply-templates select="@src" mode="unbracket-url"/>
</xsl:variable>
&anchor;<img src="{$cleaned-url}"><xsl:apply-templates select="@height|@width|@*[starts-with(name(),'border')]"/></img>
</xsl:template>
<!-- =============================================================== -->
<!-- fo:basic-link -->
<!-- =============================================================== -->
<xsl:template match="fo:basic-link[@external-destination]">
<xsl:variable name="cleaned-url">
<xsl:apply-templates select="@external-destination" mode="unbracket-url"/>
</xsl:variable>
&anchor;<a href="{$cleaned-url}">&add-style;<xsl:apply-templates/></a>
</xsl:template>
<xsl:template match="fo:basic-link[@internal-destination]">
&anchor;<a href="#{@internal-destination}">&add-style;<xsl:apply-templates/></a>
</xsl:template>
<!-- =============================================================== -->
<!-- fo:marker/fo:retrieve-marker -->
<!-- =============================================================== -->
<xsl:template match="fo:marker"/>
<xsl:template match="fo:marker" mode="retrieve-marker">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="fo:retrieve-marker">
<xsl:variable name="class-name" select="@retrieve-class-name"/>
<xsl:variable name="matching-markers"
select="ancestor::fo:page-sequence/descendant::fo:marker[@marker-class-name=$class-name]"/>
<xsl:choose>
<xsl:when test="@retrieve-position='last-starting-within-page'
or @retrieve-position='last-ending-within-page'">
<xsl:apply-templates select="$matching-markers[position()=last()]" mode="retrieve-marker"/>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="$matching-markers[1]" mode="retrieve-marker"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<!-- *************************************************************** -->
<!-- Treatment of attributes that are either identical to their CSS1 -->
<!-- counterparts, of find an equivalent expression there -->
<!-- =============================================================== -->
<!-- Default rule: copy CSS1 attributes and suppress all other -->
<!-- =============================================================== -->
<xsl:template match="@*" priority="-2" mode="collect-style-attributes"/>
<xsl:template match="@color |
@background |
@background-color |
@background-image |
@background-position |
@background-repeat |
@padding |
@padding-top |
@padding-bottom |
@padding-right |
@padding-left |
@margin |
@margin-top |
@margin-bottom |
@margin-right |
@margin-left |
@border |
@border-top |
@border-bottom |
@border-right |
@border-left |
@border-width |
@border-top-width |
@border-bottom-width |
@border-right-width |
@border-left-width |
@border-color |
@border-top-color |
@border-bottom-color |
@border-right-color |
@border-left-color |
@border-style |
@border-top-style |
@border-bottom-style |
@border-right-style |
@border-left-style |
@letter-spacing |
@word-spacing |
@line-height |
@font |
@font-family |
@font-size |
@font-weight |
@font-style |
@font-variant |
@vertical-align |
@text-decoration |
@text-indent |
@text-transform"
mode="collect-style-attributes">
<xsl:value-of select="name()"/>
<xsl:text>: </xsl:text>
<xsl:value-of select="."/>
<xsl:text>; </xsl:text>
</xsl:template>
<!-- =============================================================== -->
<!-- Some attributes deserve special treatment -->
<xsl:template match="@text-align" mode="collect-style-attributes">
<xsl:text>text-align: </xsl:text>
<xsl:choose>
<xsl:when test=".='start' or .='inside'">left</xsl:when>
<xsl:when test=".='end' or .='outside'">right</xsl:when>
<xsl:otherwise><xsl:value-of select="."/></xsl:otherwise>
</xsl:choose>
<xsl:text>; </xsl:text>
</xsl:template>
<!-- =============================================================== -->
<!-- Handling writing-mode in borders, padding, and margins -->
<!-- This version presumes lr-tb writing mode only. -->
<xsl:template match="@space-before.optimum |
@space-before [not (../@space-before.optimum)] |
@space-before.minimum [not (../@space-before.optimum) and not (../@space-before)] |
@space-before.maximum [not (../@space-before.optimum) and not (../@space-before) and not (../@space-before.minimum)] |
@space-after.optimum |
@space-after [not (../@space-after.optimum)] |
@space-after.minimum [not (../@space-after.optimum) and not (../@space-after)] |
@space-after.maximum [not (../@space-after.optimum) and not (../@space-after) and not (../@space-after.minimum)] |
@space-start.optimum |
@space-start [not (../@space-start.optimum)] |
@space-start.minimum [not (../@space-start.optimum) and not (../@space-start)] |
@space-start.maximum [not (../@space-start.optimum) and not (../@space-start) and not (../@space-start.minimum)] |
@space-end.optimum |
@space-end [not (../@space-end.optimum)] |
@space-end.minimum [not (../@space-end.optimum) and not (../@space-end)] |
@space-end.maximum [not (../@space-end.optimum) and not (../@space-end) and not (../@space-end.minimum)] |
@start-indent[not(parent::fo:list-item-body)] |
@end-indent[not(parent::fo:list-item-label)] |
@padding-before |
@padding-before.length |
@margin-before |
@border-before |
@border-before-width |
@border-before-width.length |
@border-before-color |
@border-before-style |
@padding-after |
@padding-after.length |
@margin-after |
@border-after |
@border-after-width |
@border-after-width.length |
@border-after-color |
@border-after-style |
@padding-start |
@padding-start.length |
@margin-start |
@border-start |
@border-start-width |
@border-start-width.length |
@border-start-color |
@border-start-style |
@padding-end |
@padding-end.length |
@margin-end |
@border-end |
@border-end-width |
@border-end-width.length |
@border-end-color |
@border-end-style"
mode="collect-style-attributes">
<xsl:variable name="property">
<xsl:choose>
<xsl:when test="starts-with(name(), 'border')">border</xsl:when>
<xsl:when test="starts-with(name(), 'padding')">padding</xsl:when>
<xsl:when test="starts-with(name(), 'margin')">margin</xsl:when>
<xsl:when test="starts-with(name(), 'space')">margin</xsl:when>
<xsl:when test="contains(name(), '-indent')">margin</xsl:when>
</xsl:choose>
</xsl:variable>
<xsl:variable name="side">
<xsl:choose>
<xsl:when test="contains(name(), '-before') or contains(name(), '-top')">-top</xsl:when>
<xsl:when test="contains(name(), '-after') or contains(name(), '-bottom')">-bottom</xsl:when>
<xsl:when test="contains(name(), '-start') or starts-with(name(), 'start-') or contains(name(), '-left')">-left</xsl:when>
<xsl:when test="contains(name(), '-end') or starts-with(name(), 'end-') or contains(name(), '-right')">-right</xsl:when>
</xsl:choose>
</xsl:variable>
<xsl:variable name="parameter">
<xsl:choose>
<xsl:when test="contains(name(), '-width')">-width</xsl:when>
<xsl:when test="contains(name(), '-color')">-color</xsl:when>
<xsl:when test="contains(name(), '-style')">-style</xsl:when>
</xsl:choose>
</xsl:variable>
<xsl:value-of select="concat($property, $side, $parameter)"/>
<xsl:text>: </xsl:text>
<xsl:value-of select="."/>
<xsl:text>; </xsl:text>
</xsl:template>
<xsl:template match="*" mode="check-for-pre" priority="-1">
<xsl:apply-templates select="."/>
</xsl:template>
<xsl:template match="*[@white-space-collapse='false'
or @linefeed-treatment='preserve'
or @wrap-option='no-wrap'
or @white-space='pre']"
mode="check-for-pre">
<pre><xsl:apply-templates select="."/></pre>
</xsl:template>
<!-- =============================================================== -->
<!-- Recalculate a length to pixels. 1 in = 96 px, 1 em = 1 pc; -->
<!-- this gives reasonable results for 800x600 and 1024x768 screens -->
<!-- =============================================================== -->
<xsl:template match="@*" mode="convert-to-pixels">
<xsl:variable name="scaling-factor">
<xsl:choose>
<xsl:when test="contains (., 'pt')">1.33</xsl:when>
<xsl:when test="contains (., 'px')">1</xsl:when>
<xsl:when test="contains (., 'pc')">16</xsl:when>
<xsl:when test="contains (., 'in')">96</xsl:when>
<xsl:when test="contains (., 'cm')">37.8</xsl:when>
<xsl:when test="contains (., 'mm')">3.78</xsl:when>
<xsl:when test="contains (., 'em')">16</xsl:when> <!-- guess: 1em = 12pt -->
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="numeric-value"
select="translate (., '-0123456789.ptxcinme', '-0123456789.')"/>
<xsl:value-of select="$numeric-value * $scaling-factor"/>
</xsl:template>
<!-- =============================================================== -->
<!-- Remove brackets & quotes around URLs -->
<!-- =============================================================== -->
<xsl:template match="@*" mode="unbracket-url">
<xsl:variable name="href" select="normalize-space(.)"/>
<xsl:choose>
<xsl:when test="(starts-with($href, 'url(') or starts-with($href, 'url ('))
and substring ($href, string-length($href)) = ')'">
<!-- Remove 'url' from the beginning -->
<xsl:variable name="bracketed"
select="normalize-space(substring($href, 4))"/>
<!-- Remove brackets -->
<xsl:variable name="quoted"
select="normalize-space(substring($bracketed, 2, string-length ($bracketed) - 2 ))"/>
<xsl:variable name="q" select="'&quot;'"/>
<xsl:variable name="a" select='"&apos;"'/>
<!-- Remove optional quotes -->
<xsl:choose>
<xsl:when test="( substring($quoted, 1, 1) = $q and
substring($quoted, string-length($quoted), 1) = $q )
or ( substring($quoted, 1, 1) = $a and
substring($quoted, string-length($quoted), 1) = $a )">
<xsl:value-of select="substring($quoted, 2, string-length($quoted) - 2)"/>
</xsl:when>
<xsl:otherwise><xsl:value-of select="$quoted"/></xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise><xsl:value-of select="."/></xsl:otherwise>
</xsl:choose>
</xsl:template>
<!-- =============================================================== -->
<!-- Page number - replace with [@genj:citation] if available -->
<!-- =============================================================== -->
<xsl:variable name="cleaned-url">
<xsl:apply-templates select="@external-destination" mode="unbracket-url"/>
</xsl:variable>
<xsl:template match="fo:page-number | fo:page-number-citation">
<!-- NM20060218 use our extension to select a citation text if avail blank otherwise -->
<xsl:if test="@genj:citation">
<a href="#{@ref-id}">[<xsl:value-of select="@genj:citation"/>]</a>
</xsl:if>
</xsl:template>
<!-- =============================================================== -->
<!-- Leader - replace with space -->
<!-- =============================================================== -->
<xsl:template match="fo:leader">
<xsl:text></xsl:text>
</xsl:template>
<!-- =============================================================== -->
<!-- Static content - add a <hr/> before or after it -->
<!-- =============================================================== -->
<xsl:template match="fo:flow | fo:static-content">
<xsl:param name="region"/>
<div>&add-style;&anchor;
<xsl:apply-templates select="$region"/>
<xsl:apply-templates/>
<xsl:if test=".//fo:footnote">
<br/><hr/>
<xsl:apply-templates select=".//fo:footnote" mode="after-text"/>
</xsl:if>
</div>
</xsl:template>
<!-- =============================================================== -->
<!-- Footnotes -->
<!-- =============================================================== -->
<xsl:template match="fo:footnote">
<xsl:apply-templates select="fo:inline"/>
</xsl:template>
<xsl:template match="fo:footnote" mode="after-text">
<div>&add-style;&anchor;
<xsl:apply-templates select="fo:footnote-body"/>
</div>
</xsl:template>
<!-- =============================================================== -->
<!-- Copy all CSS1-compatible attributes to "style" property -->
<!-- =============================================================== -->
<xsl:template name="add-style-attribute">
<xsl:param name="orientation" select="0"/>
<xsl:variable name="style">
<xsl:apply-templates select="@*" mode="collect-style-attributes"/>
</xsl:variable>
<xsl:if test="string-length($style) &gt; 0">
<xsl:attribute name="style"><xsl:value-of select="normalize-space($style)"/></xsl:attribute>
</xsl:if>
</xsl:template>
<!-- =============================================================== -->
<!-- Create an anchor -->
<!-- =============================================================== -->
<xsl:template match="@id"><a name="{.}"/></xsl:template>
<!-- =============================================================== -->
<!-- Table cell geometry -->
<!-- =============================================================== -->
<xsl:template match="@*" mode="get-table-attributes" priority="-1"/>
<xsl:template match="@number-columns-spanned"
mode="get-table-attributes">
<xsl:attribute name="colspan"><xsl:value-of select="."/></xsl:attribute>
</xsl:template>
<xsl:template match="@number-rows-spanned"
mode="get-table-attributes">
<xsl:attribute name="rowspan"><xsl:value-of select="."/></xsl:attribute>
</xsl:template>
<!-- =============================================================== -->
<!-- Page layout: determine master name for the first page -->
<!-- =============================================================== -->
<xsl:template match="fo:page-sequence-master">
<xsl:apply-templates select="*[1]"/>
</xsl:template>
<xsl:template match="fo:single-page-master-reference
| fo:repeatable-page-master-reference">
<xsl:value-of select="@master-reference"/>
</xsl:template>
<xsl:template match="fo:repeatable-page-master-alternatives">
<xsl:choose>
<xsl:when test="fo:conditional-page-master-reference[@page-position='first']">
<xsl:value-of select="fo:conditional-page-master-reference[@page-position='first'][1]/@master-reference"/>
</xsl:when>
<xsl:when test="fo:conditional-page-master-reference[@odd-or-even='odd' and not (@blank-or-not-blank='blank')]">
<xsl:value-of select="fo:conditional-page-master-reference[@odd-or-even='odd' and not (@blank-or-not-blank='blank')][1]/@master-reference"/>
</xsl:when>
<xsl:when test="fo:conditional-page-master-reference[not(@odd-or-even='even') and not (@blank-or-not-blank='blank')]">
<xsl:value-of select="fo:conditional-page-master-reference[not(@odd-or-even='even') and not (@blank-or-not-blank='blank')][1]/@master-reference"/>
</xsl:when>
<xsl:otherwise> <!-- cannot guess; take the first -->
<xsl:value-of select="fo:conditional-page-master-reference[1]/@master-reference"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<!-- =============================================================== -->
<!-- Header/footer properties -->
<!-- =============================================================== -->
<xsl:template match="@extent">
<xsl:attribute name="width"><xsl:apply-templates select="." mode="convert-to-pixels"/></xsl:attribute>
</xsl:template>
<xsl:template match="@width | @height">
<xsl:attribute name="{name()}"><xsl:apply-templates select="." mode="convert-to-pixels"/></xsl:attribute>
</xsl:template>
<xsl:template match="fo:region-before | fo:region-after">
<xsl:call-template name="get-area-attributes"/>
<!-- For header and footer, we suppress margins and padding -->
<xsl:variable name="style">
<xsl:apply-templates
select="@*[not (starts-with (name(), 'margin')
or starts-with (name(), 'space')
or starts-with (name(), 'padding'))]"
mode="collect-style-attributes">
<xsl:with-param name="orientation" select="@reference-orientation"/>
</xsl:apply-templates>
</xsl:variable>
<xsl:if test="string-length($style) &gt; 0">
<xsl:attribute name="style"><xsl:value-of select="normalize-space($style)"/></xsl:attribute>
</xsl:if>
</xsl:template>
<xsl:template match="fo:region-body">
<xsl:call-template name="get-area-attributes"/>
<!-- For region-body, we suppress margin attributes -->
<xsl:variable name="style">
<xsl:apply-templates
select="@*[not (starts-with (name(), 'margin')
or starts-with (name(), 'space'))]"
mode="collect-style-attributes">
<xsl:with-param name="orientation" select="@reference-orientation"/>
</xsl:apply-templates>
</xsl:variable>
<xsl:if test="string-length($style) &gt; 0">
<xsl:attribute name="style"><xsl:value-of select="normalize-space($style)"/></xsl:attribute>
</xsl:if>
</xsl:template>
<xsl:template match="fo:region-start | fo:region-end"/>
<xsl:template name="get-area-attributes">
<xsl:attribute name="valign">
<xsl:choose>
<xsl:when test="@display-align"><xsl:value-of select="@display-align"/></xsl:when>
<xsl:otherwise>top</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
</xsl:template>
</xsl:stylesheet>

View File

@ -0,0 +1,58 @@
<?xml version='1.0' encoding='ISO-8859-1'?>
<!-- =============================================================== -->
<!-- -->
<!-- Convert XSL FO to TXT -->
<!-- -->
<!-- Author: Nils Meier, nmeier at users dot sourceforge dot net -->
<!-- -->
<!-- =============================================================== -->
<!DOCTYPE xsl:stylesheet [
<!ENTITY anchor "<xsl:apply-templates select='@id' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'/>">
<!ENTITY newline "<xsl:text>&#xA;</xsl:text>">
]>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:genj="http://genj.sourceforge.net/XSL/Format"
exclude-result-prefixes="fo">
<xsl:output method="text" encoding="utf-8" indent="no"/>
<!-- =============================================================== -->
<!-- A simple block - add a leading space on @start-indent, recurse -->
<!-- and add a newline -->
<!-- =============================================================== -->
<xsl:template match="fo:block">
<xsl:if test="@start-indent">
<xsl:text> </xsl:text>
</xsl:if>
<xsl:apply-templates/>
<xsl:if test=".!=''">
&newline;
</xsl:if>
</xsl:template>
<!-- =============================================================== -->
<!-- A table -->
<!-- =============================================================== -->
<xsl:template match="fo:table">
</xsl:template>
<!-- =============================================================== -->
<!-- A list item -->
<!-- =============================================================== -->
<xsl:template match="fo:list-item-label">
<xsl:value-of select="'+'"/>
</xsl:template>
<!-- =============================================================== -->
<!-- A text node - copied -->
<!-- =============================================================== -->
<xsl:template match="text()">
<xsl:value-of select="."/>
</xsl:template>
</xsl:stylesheet>

44
doc/authors.txt 100644
View File

@ -0,0 +1,44 @@
Lead Development
Nils Meier
Development
Daniel Andre
Jan C. Hardenbergh
Thierry Hardy
Jerome Hettich
Daniel P. Kionka
Frederic Lapeyre
Przemek Wiech
Contributors
Stuart Grimshaw
Pere Jover
Bill Kelly
Francois Massonneau
Carsten Muessig
Paul Robinson
Sean Timm
Translators
Daniel Durand (French)
Alex Evdokimenko (Russian)
Jean-Raymond Floquet (French)
Nestor Garcia (Spanish)
Mauricio Girardi (Brazilian Portuguese)
Frantisek Grebenicek (Czech)
Theo Guelcher (Dutch)
Pere Jover (Spanish)
Francois Massonneau (French)
Carsten Muessig (German)
Sini Ruohomaa (Finnish)
Marcus Sandberg (German)
Klaus-Peter Schubert (German)
Przemek Wiech (Polish)
Arne Ostensen (Norwegian)
Luigi Rizzo (Italian)
Alix Warnke (Swedish)

91
doc/developer.txt 100644
View File

@ -0,0 +1,91 @@
GenJ - Developer HOWTO
GETTING IT
GenJ's source is hosted at http://genj.sourceforge.net. By using
cvs/ssh you can get any desired snapshot. The main development module
is ./dev.
For now I assume that you have cvs/ssh correctly setup on your
machine. Set the following environment parameters and cd into
an empty directory of your choice:
>cd d:\genj
>set cvs_rsh=ssh
>set cvsroot=:ext:YOURUSERID@cvs.genj.sourceforge.net:/cvsroot/genj
>cvs checkout dev
This will place all sources into the module directory ./dev - all
necessary bits are on your machine now for a complete build (of
course you can have a look at the artifacts first).
LOOKING AT IT
The artifacts that comprise ./dev are:
./ant.cmd - ANT start script
./ant.properties - Project properties
./ant.xml - Project ANT makefile
./doc - Document files
./gedcom - Gedcom files
./help - Help files
./images - Image files
./language - Language resource files
./lib - Libraries
./script - Scripts (for distribution)
./src - Source
ADOPTING IT
Make sure to open build.properties and adopt the following settings
to your environment:
dir.dist - Where to place files that are part of the distribution
dir.build - Where to place files generated during build
dir.run - Where to place files that are prepared for running
[by default they are defined relative to dir.out]
Make sure that
JAVA_HOME points to your JDK/JRE installation
WORKING WITH IT
You can use ant.cmd to perform project operations that are necessary
to rebuild/run GenJ on your local machine. Start ant.cmd (or adopt
it to your environment) with one of the following parameters:
init - Initialize environment (creates output directories)
compile.core - Compiles the GenJ core
compile.report - Compiles the GenJ reports
compile.awtx - Compiles the AWTx package (ui abstraction library)
compile - Compiles all
clean - Cleans up any temporary files
version - Spits out version
dist - Makes a distribution (app, applet, en, de, fr, help, ...)
javadoc - Creats Javadoc for core
run - Runs GenJ Application
classpath - Spits out the classpath
about - Spits out disclaimer
[start with 'ant.cmd run' - this will do the necessary steps to run GenJ]
USING AN IDE
If you're trying to run GenJ from inside your favourite IDE (e.g. JBuilder or Eclipse)
then you might not want to run ant to create a complete runnable unit everytime
you compile and restart.
You can set the following VM parameters to rectify that situation:
-Duser.home=[home_folder] where .properties files will end up in
-Dgenj.report.dir=[report_folder] where the reports are loaded from
-Dgenj.help.dir=[help_folder] where the help is loaded from
-Dgenj.gedcom.dir=[gedcom_folder] where the file-dialog for opening files starts
-Dgenj.debug.file=[log-file] where debugging statements are routed to
Here's an example:
java -Duser.home=d:\nils -Dgenj.gedcom.dir=d:\nils\gedcoms genj.App

281
doc/gpl.txt 100644
View File

@ -0,0 +1,281 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS

58
doc/readme1st.txt 100644
View File

@ -0,0 +1,58 @@
GenealogyJ - README 1ST
Prerequisites
GenealogyJ requires you to have a Java environment of version
1.4 or higher. Please run 'java -version' in case you're unsure
of what's installed on your machine.
Running GenJ Application (part of genj_app-x.y.zip)
Execute one of the start-scripts in the main application folder:
run.sh Unix
run.cmd OS2/Windows
run.bat Windows
If jar-files are associated with 'javaw' on your system a simple
double-click on run.jar is sufficient (the association has to
be set up to call 'javaw -jar %1').
Problems
If you encounter runtime problems open genj.log (~/genj.log on
unix or %USERPROFILE%\genj.log on windows) and send it as an
attachement to genj-developer@lists.sourceforge.net. Please also
include a description of the problem.
For general discussions of features and usability send an
email to genj-user@lists.sourceforge.net.
Acknowledgements
GenJ includes a copy of the freeware library JFreeChart which
is licensed under LGPL. Please check at
http://www.jfree.org/jfreechart/index.html
for the latest version of the source to JFreeChart.
GenJ includes material from wikipedia.org which is licensed
under the GNU Free Documentation License with no Invariant
Sections, with no Front-Cover Texts, and with no Back-Cover
Texts. Please check at
http://en.wikipedia.org
http://fr.wikipedia.org
http://de.wikipedia.org
for a transparent copy of any article used.
License
GenenalogyJ is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.
GenJ is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License (gpl.txt) for more details.

Binary file not shown.

After

Width:  |  Height:  |  Size: 167 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

30703
gedcom/royal92.ged 100644

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 835 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 500 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 646 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Some files were not shown because too many files have changed in this diff Show More