DATAES-45 - Preparing 1.0 M1 release.
Removed obsolete resources. Adapted changelog, notice and readme.
@ -26,7 +26,7 @@ Wiki page for [Getting Started] (https://github.com/spring-projects/spring-data-
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.data</groupId>
|
<groupId>org.springframework.data</groupId>
|
||||||
<artifactId>spring-data-elasticsearch</artifactId>
|
<artifactId>spring-data-elasticsearch</artifactId>
|
||||||
<version>1.0.0.BUILD-SNAPSHOT</version>
|
<version>1.0.0.M1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -1,35 +0,0 @@
|
|||||||
/*
|
|
||||||
borrowed from: https://raw.github.com/SpringSource/spring-data-jpa/master/src/docbkx/resources/css/highlight.css
|
|
||||||
code highlight CSS resemblign the Eclipse IDE default color schema
|
|
||||||
@author Costin Leau
|
|
||||||
*/
|
|
||||||
.hl-keyword {
|
|
||||||
color: #7F0055;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hl-comment {
|
|
||||||
color: #3F5F5F;
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hl-multiline-comment {
|
|
||||||
color: #3F5FBF;
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hl-tag {
|
|
||||||
color: #3F7F7F;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hl-attribute {
|
|
||||||
color: #7F007F;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hl-value {
|
|
||||||
color: #2A00FF;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hl-string {
|
|
||||||
color: #2A00FF;
|
|
||||||
}
|
|
@ -1,119 +0,0 @@
|
|||||||
/*
|
|
||||||
borrowed from: https://raw.github.com/SpringSource/spring-data-jpa/master/src/docbkx/resources/css/html.css
|
|
||||||
*/
|
|
||||||
@IMPORT url("highlight.css");
|
|
||||||
|
|
||||||
html {
|
|
||||||
padding: 0pt;
|
|
||||||
margin: 0pt;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
margin-left: 15%;
|
|
||||||
margin-right: 15%;
|
|
||||||
font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande",
|
|
||||||
sans-serif;
|
|
||||||
}
|
|
||||||
|
|
||||||
div {
|
|
||||||
margin: 0pt;
|
|
||||||
}
|
|
||||||
|
|
||||||
p {
|
|
||||||
text-align: justify;
|
|
||||||
line-height: 1.3em;
|
|
||||||
}
|
|
||||||
|
|
||||||
hr {
|
|
||||||
border: 1px solid gray;
|
|
||||||
background: gray;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1,h2,h3,h4,h5 {
|
|
||||||
color: #234623;
|
|
||||||
font-weight: "Helvetica Neue", Helvetica, Arial, "Lucida Grande",
|
|
||||||
sans-serif;
|
|
||||||
margin-bottom: 0em;
|
|
||||||
margin-top: 2em;
|
|
||||||
}
|
|
||||||
|
|
||||||
pre {
|
|
||||||
line-height: 1.0;
|
|
||||||
color: black;
|
|
||||||
}
|
|
||||||
|
|
||||||
table code {
|
|
||||||
font-size: 110%;
|
|
||||||
}
|
|
||||||
|
|
||||||
pre.programlisting {
|
|
||||||
font-size: 1em;
|
|
||||||
padding: 3pt 3pt;
|
|
||||||
border: 1pt solid black;
|
|
||||||
background: #eeeeee;
|
|
||||||
clear: both;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.table {
|
|
||||||
margin: 1em;
|
|
||||||
padding: 0.5em;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.table table {
|
|
||||||
display: table;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.table td {
|
|
||||||
padding-left: 7px;
|
|
||||||
padding-right: 7px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sidebar {
|
|
||||||
float: right;
|
|
||||||
margin: 10px 0 10px 30px;
|
|
||||||
padding: 10px 20px 20px 20px;
|
|
||||||
width: 33%;
|
|
||||||
border: 1px solid black;
|
|
||||||
background-color: #F4F4F4;
|
|
||||||
font-size: 14px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mediaobject {
|
|
||||||
padding-top: 30px;
|
|
||||||
padding-bottom: 30px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.legalnotice {
|
|
||||||
font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande",
|
|
||||||
sans-serif;
|
|
||||||
font-size: 12px;
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
|
|
||||||
p.releaseinfo {
|
|
||||||
font-size: 100%;
|
|
||||||
font-weight: bold;
|
|
||||||
font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande",
|
|
||||||
sans-serif;
|
|
||||||
padding-top: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
p.pubdate {
|
|
||||||
font-size: 120%;
|
|
||||||
font-weight: bold;
|
|
||||||
font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande",
|
|
||||||
sans-serif;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.productname {
|
|
||||||
font-size: 200%;
|
|
||||||
font-weight: bold;
|
|
||||||
font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande",
|
|
||||||
sans-serif;
|
|
||||||
}
|
|
||||||
|
|
||||||
code {
|
|
||||||
font-size: 125%;
|
|
||||||
}
|
|
Before Width: | Height: | Size: 374 B |
Before Width: | Height: | Size: 743 B |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 321 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1003 B |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 580 B |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 598 B |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 259 B |
Before Width: | Height: | Size: 264 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 613 B |
Before Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 329 B |
Before Width: | Height: | Size: 361 B |
Before Width: | Height: | Size: 565 B |
Before Width: | Height: | Size: 617 B |
Before Width: | Height: | Size: 623 B |
Before Width: | Height: | Size: 411 B |
Before Width: | Height: | Size: 640 B |
Before Width: | Height: | Size: 353 B |
Before Width: | Height: | Size: 350 B |
Before Width: | Height: | Size: 345 B |
Before Width: | Height: | Size: 348 B |
Before Width: | Height: | Size: 355 B |
Before Width: | Height: | Size: 344 B |
Before Width: | Height: | Size: 357 B |
Before Width: | Height: | Size: 357 B |
Before Width: | Height: | Size: 9.4 KiB |
Before Width: | Height: | Size: 36 KiB |
@ -1,480 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!-- borrowed from: https://raw.github.com/SpringSource/spring-data-commons/master/src/docbkx/resources/xsl/fopdf.xsl
|
|
||||||
This is the XSL FO (PDF) stylesheet for the Spring Data reference documentation. -->
|
|
||||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
||||||
xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0">
|
|
||||||
|
|
||||||
|
|
||||||
<xsl:import href="urn:docbkx:stylesheet" />
|
|
||||||
<xsl:import href="highlight-fo.xsl" />
|
|
||||||
|
|
||||||
<!--################################################### Custom Title Page
|
|
||||||
################################################### -->
|
|
||||||
|
|
||||||
<xsl:template name="book.titlepage.recto">
|
|
||||||
<fo:block>
|
|
||||||
<fo:table table-layout="fixed" width="175mm">
|
|
||||||
<fo:table-column column-width="175mm" />
|
|
||||||
<fo:table-body>
|
|
||||||
<fo:table-row>
|
|
||||||
<fo:table-cell text-align="center">
|
|
||||||
<fo:block font-family="Helvetica" font-size="22pt"
|
|
||||||
padding-before="10mm">
|
|
||||||
<xsl:value-of select="bookinfo/subtitle" />
|
|
||||||
</fo:block>
|
|
||||||
<fo:block font-family="Helvetica" font-size="14pt"
|
|
||||||
padding="10mm">
|
|
||||||
<xsl:value-of select="bookinfo/title" />
|
|
||||||
</fo:block>
|
|
||||||
<fo:block font-family="Helvetica" font-size="12pt"
|
|
||||||
padding="10mm">
|
|
||||||
<xsl:value-of select="bookinfo/releaseinfo" />
|
|
||||||
</fo:block>
|
|
||||||
</fo:table-cell>
|
|
||||||
</fo:table-row>
|
|
||||||
<fo:table-row>
|
|
||||||
<fo:table-cell text-align="center">
|
|
||||||
<fo:block font-family="Helvetica" font-size="14pt"
|
|
||||||
padding="10mm">
|
|
||||||
<xsl:value-of select="bookinfo/pubdate" />
|
|
||||||
</fo:block>
|
|
||||||
</fo:table-cell>
|
|
||||||
</fo:table-row>
|
|
||||||
<fo:table-row>
|
|
||||||
<fo:table-cell text-align="center">
|
|
||||||
<fo:block font-family="Helvetica" font-size="12pt"
|
|
||||||
padding="10mm">
|
|
||||||
<xsl:for-each select="bookinfo/authorgroup/author">
|
|
||||||
<xsl:if test="position() > 1">
|
|
||||||
<xsl:text>, </xsl:text>
|
|
||||||
</xsl:if>
|
|
||||||
<xsl:value-of select="firstname" />
|
|
||||||
<xsl:text> </xsl:text>
|
|
||||||
<xsl:value-of select="surname" />
|
|
||||||
<!-- <xsl:text> (</xsl:text> <xsl:value-of select="affiliation"/>
|
|
||||||
<xsl:text>)</xsl:text> -->
|
|
||||||
</xsl:for-each>
|
|
||||||
</fo:block>
|
|
||||||
<fo:block font-family="Helvetica" font-size="12pt"
|
|
||||||
padding="10mm">
|
|
||||||
<xsl:text>Copyright © 2013</xsl:text>
|
|
||||||
</fo:block>
|
|
||||||
|
|
||||||
<fo:block font-family="Helvetica" font-size="10pt"
|
|
||||||
padding="1mm">
|
|
||||||
<xsl:value-of select="bookinfo/legalnotice" />
|
|
||||||
</fo:block>
|
|
||||||
</fo:table-cell>
|
|
||||||
</fo:table-row>
|
|
||||||
</fo:table-body>
|
|
||||||
</fo:table>
|
|
||||||
</fo:block>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<!-- Prevent blank pages in output -->
|
|
||||||
<xsl:template name="book.titlepage.before.verso">
|
|
||||||
</xsl:template>
|
|
||||||
<xsl:template name="book.titlepage.verso">
|
|
||||||
</xsl:template>
|
|
||||||
<xsl:template name="book.titlepage.separator">
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<!--################################################### Header ################################################### -->
|
|
||||||
|
|
||||||
<!-- More space in the center header for long text -->
|
|
||||||
<xsl:attribute-set name="header.content.properties">
|
|
||||||
<xsl:attribute name="font-family">
|
|
||||||
<xsl:value-of select="$body.font.family" />
|
|
||||||
</xsl:attribute>
|
|
||||||
<xsl:attribute name="margin-left">-5em</xsl:attribute>
|
|
||||||
<xsl:attribute name="margin-right">-5em</xsl:attribute>
|
|
||||||
</xsl:attribute-set>
|
|
||||||
|
|
||||||
<!--################################################### Custom Footer ################################################### -->
|
|
||||||
<xsl:template name="footer.content">
|
|
||||||
<xsl:param name="pageclass" select="''" />
|
|
||||||
<xsl:param name="sequence" select="''" />
|
|
||||||
<xsl:param name="position" select="''" />
|
|
||||||
<xsl:param name="gentext-key" select="''" />
|
|
||||||
<xsl:variable name="Version">
|
|
||||||
<xsl:if test="//releaseinfo">
|
|
||||||
<xsl:text>Spring Data Elasticsearch (</xsl:text>
|
|
||||||
<xsl:value-of select="//releaseinfo" />
|
|
||||||
<xsl:text>)</xsl:text>
|
|
||||||
</xsl:if>
|
|
||||||
</xsl:variable>
|
|
||||||
<xsl:choose>
|
|
||||||
<xsl:when test="$sequence='blank'">
|
|
||||||
<xsl:if test="$position = 'center'">
|
|
||||||
<xsl:value-of select="$Version" />
|
|
||||||
</xsl:if>
|
|
||||||
</xsl:when>
|
|
||||||
<!-- for double sided printing, print page numbers on alternating sides
|
|
||||||
(of the page) -->
|
|
||||||
<xsl:when test="$double.sided != 0">
|
|
||||||
<xsl:choose>
|
|
||||||
<xsl:when test="$sequence = 'even' and $position='left'">
|
|
||||||
<fo:page-number />
|
|
||||||
</xsl:when>
|
|
||||||
<xsl:when test="$sequence = 'odd' and $position='right'">
|
|
||||||
<fo:page-number />
|
|
||||||
</xsl:when>
|
|
||||||
<xsl:when test="$position='center'">
|
|
||||||
<xsl:value-of select="$Version" />
|
|
||||||
</xsl:when>
|
|
||||||
</xsl:choose>
|
|
||||||
</xsl:when>
|
|
||||||
<!-- for single sided printing, print all page numbers on the right (of
|
|
||||||
the page) -->
|
|
||||||
<xsl:when test="$double.sided = 0">
|
|
||||||
<xsl:choose>
|
|
||||||
<xsl:when test="$position='center'">
|
|
||||||
<xsl:value-of select="$Version" />
|
|
||||||
</xsl:when>
|
|
||||||
<xsl:when test="$position='right'">
|
|
||||||
<fo:page-number />
|
|
||||||
</xsl:when>
|
|
||||||
</xsl:choose>
|
|
||||||
</xsl:when>
|
|
||||||
</xsl:choose>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<!--################################################### Extensions ################################################### -->
|
|
||||||
|
|
||||||
<!-- These extensions are required for table printing and other stuff -->
|
|
||||||
<xsl:param name="tablecolumns.extension">
|
|
||||||
0
|
|
||||||
</xsl:param>
|
|
||||||
<!-- FOP provide only PDF Bookmarks at the moment -->
|
|
||||||
<xsl:param name="fop.extensions">
|
|
||||||
1
|
|
||||||
</xsl:param>
|
|
||||||
<xsl:param name="fop1.extensions">
|
|
||||||
1
|
|
||||||
</xsl:param>
|
|
||||||
<xsl:param name="ignore.image.scaling">
|
|
||||||
0
|
|
||||||
</xsl:param>
|
|
||||||
|
|
||||||
<!--################################################### Table Of Contents
|
|
||||||
################################################### -->
|
|
||||||
|
|
||||||
<!-- Generate the TOCs for named components only -->
|
|
||||||
<xsl:param name="generate.toc">
|
|
||||||
book toc
|
|
||||||
</xsl:param>
|
|
||||||
|
|
||||||
<!-- Show only Sections up to level 3 in the TOCs -->
|
|
||||||
<xsl:param name="toc.section.depth">
|
|
||||||
2
|
|
||||||
</xsl:param>
|
|
||||||
|
|
||||||
<!-- Dot and Whitespace as separator in TOC between Label and Title -->
|
|
||||||
<xsl:param name="autotoc.label.separator" select="'. '" />
|
|
||||||
|
|
||||||
|
|
||||||
<!--################################################### Paper & Page Size
|
|
||||||
################################################### -->
|
|
||||||
|
|
||||||
<!-- Paper type, no headers on blank pages, no double sided printing -->
|
|
||||||
<xsl:param name="paper.type" select="'A4'" />
|
|
||||||
<xsl:param name="double.sided">
|
|
||||||
0
|
|
||||||
</xsl:param>
|
|
||||||
<xsl:param name="headers.on.blank.pages">
|
|
||||||
0
|
|
||||||
</xsl:param>
|
|
||||||
<xsl:param name="footers.on.blank.pages">
|
|
||||||
0
|
|
||||||
</xsl:param>
|
|
||||||
|
|
||||||
<!-- Space between paper border and content (chaotic stuff, don't touch) -->
|
|
||||||
<xsl:param name="page.margin.top">
|
|
||||||
5mm
|
|
||||||
</xsl:param>
|
|
||||||
<xsl:param name="region.before.extent">
|
|
||||||
10mm
|
|
||||||
</xsl:param>
|
|
||||||
<xsl:param name="body.margin.top">
|
|
||||||
10mm
|
|
||||||
</xsl:param>
|
|
||||||
|
|
||||||
<xsl:param name="body.margin.bottom">
|
|
||||||
15mm
|
|
||||||
</xsl:param>
|
|
||||||
<xsl:param name="region.after.extent">
|
|
||||||
10mm
|
|
||||||
</xsl:param>
|
|
||||||
<xsl:param name="page.margin.bottom">
|
|
||||||
0mm
|
|
||||||
</xsl:param>
|
|
||||||
|
|
||||||
<xsl:param name="page.margin.outer">
|
|
||||||
18mm
|
|
||||||
</xsl:param>
|
|
||||||
<xsl:param name="page.margin.inner">
|
|
||||||
18mm
|
|
||||||
</xsl:param>
|
|
||||||
|
|
||||||
<!-- No intendation of Titles -->
|
|
||||||
<xsl:param name="title.margin.left">
|
|
||||||
0pc
|
|
||||||
</xsl:param>
|
|
||||||
|
|
||||||
<!--################################################### Fonts & Styles ################################################### -->
|
|
||||||
|
|
||||||
<!-- Left aligned text and no hyphenation -->
|
|
||||||
<xsl:param name="alignment">
|
|
||||||
justify
|
|
||||||
</xsl:param>
|
|
||||||
<xsl:param name="hyphenate">
|
|
||||||
false
|
|
||||||
</xsl:param>
|
|
||||||
|
|
||||||
<!-- Default Font size -->
|
|
||||||
<xsl:param name="body.font.master">
|
|
||||||
11
|
|
||||||
</xsl:param>
|
|
||||||
<xsl:param name="body.font.small">
|
|
||||||
8
|
|
||||||
</xsl:param>
|
|
||||||
|
|
||||||
<!-- Line height in body text -->
|
|
||||||
<xsl:param name="line-height">
|
|
||||||
1.4
|
|
||||||
</xsl:param>
|
|
||||||
|
|
||||||
<!-- Monospaced fonts are smaller than regular text -->
|
|
||||||
<xsl:attribute-set name="monospace.properties">
|
|
||||||
<xsl:attribute name="font-family">
|
|
||||||
<xsl:value-of select="$monospace.font.family" />
|
|
||||||
</xsl:attribute>
|
|
||||||
<xsl:attribute name="font-size">0.8em</xsl:attribute>
|
|
||||||
</xsl:attribute-set>
|
|
||||||
|
|
||||||
<!--################################################### Tables ################################################### -->
|
|
||||||
|
|
||||||
<!-- The table width should be adapted to the paper size -->
|
|
||||||
<xsl:param name="default.table.width">
|
|
||||||
17.4cm
|
|
||||||
</xsl:param>
|
|
||||||
|
|
||||||
<!-- Some padding inside tables -->
|
|
||||||
<xsl:attribute-set name="table.cell.padding">
|
|
||||||
<xsl:attribute name="padding-left">4pt</xsl:attribute>
|
|
||||||
<xsl:attribute name="padding-right">4pt</xsl:attribute>
|
|
||||||
<xsl:attribute name="padding-top">4pt</xsl:attribute>
|
|
||||||
<xsl:attribute name="padding-bottom">4pt</xsl:attribute>
|
|
||||||
</xsl:attribute-set>
|
|
||||||
|
|
||||||
<!-- Only hairlines as frame and cell borders in tables -->
|
|
||||||
<xsl:param name="table.frame.border.thickness">
|
|
||||||
0.1pt
|
|
||||||
</xsl:param>
|
|
||||||
<xsl:param name="table.cell.border.thickness">
|
|
||||||
0.1pt
|
|
||||||
</xsl:param>
|
|
||||||
|
|
||||||
<!--################################################### Labels ################################################### -->
|
|
||||||
|
|
||||||
<!-- Label Chapters and Sections (numbering) -->
|
|
||||||
<xsl:param name="chapter.autolabel">
|
|
||||||
1
|
|
||||||
</xsl:param>
|
|
||||||
<xsl:param name="section.autolabel" select="1" />
|
|
||||||
<xsl:param name="section.label.includes.component.label"
|
|
||||||
select="1" />
|
|
||||||
|
|
||||||
<!--################################################### Titles ################################################### -->
|
|
||||||
|
|
||||||
<!-- Chapter title size -->
|
|
||||||
<xsl:attribute-set name="chapter.titlepage.recto.style">
|
|
||||||
<xsl:attribute name="text-align">left</xsl:attribute>
|
|
||||||
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
|
||||||
<xsl:attribute name="font-size">
|
|
||||||
<xsl:value-of select="$body.font.master * 1.8" />
|
|
||||||
<xsl:text>pt</xsl:text>
|
|
||||||
</xsl:attribute>
|
|
||||||
</xsl:attribute-set>
|
|
||||||
|
|
||||||
<!-- Why is the font-size for chapters hardcoded in the XSL FO templates?
|
|
||||||
Let's remove it, so this sucker can use our attribute-set only... -->
|
|
||||||
<xsl:template match="title" mode="chapter.titlepage.recto.auto.mode">
|
|
||||||
<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"
|
|
||||||
xsl:use-attribute-sets="chapter.titlepage.recto.style">
|
|
||||||
<xsl:call-template name="component.title">
|
|
||||||
<xsl:with-param name="node" select="ancestor-or-self::chapter[1]" />
|
|
||||||
</xsl:call-template>
|
|
||||||
</fo:block>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<!-- Sections 1, 2 and 3 titles have a small bump factor and padding -->
|
|
||||||
<xsl:attribute-set name="section.title.level1.properties">
|
|
||||||
<xsl:attribute name="space-before.optimum">0.8em</xsl:attribute>
|
|
||||||
<xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
|
|
||||||
<xsl:attribute name="space-before.maximum">0.8em</xsl:attribute>
|
|
||||||
<xsl:attribute name="font-size">
|
|
||||||
<xsl:value-of select="$body.font.master * 1.5" />
|
|
||||||
<xsl:text>pt</xsl:text>
|
|
||||||
</xsl:attribute>
|
|
||||||
<xsl:attribute name="space-after.optimum">0.1em</xsl:attribute>
|
|
||||||
<xsl:attribute name="space-after.minimum">0.1em</xsl:attribute>
|
|
||||||
<xsl:attribute name="space-after.maximum">0.1em</xsl:attribute>
|
|
||||||
</xsl:attribute-set>
|
|
||||||
<xsl:attribute-set name="section.title.level2.properties">
|
|
||||||
<xsl:attribute name="space-before.optimum">0.6em</xsl:attribute>
|
|
||||||
<xsl:attribute name="space-before.minimum">0.6em</xsl:attribute>
|
|
||||||
<xsl:attribute name="space-before.maximum">0.6em</xsl:attribute>
|
|
||||||
<xsl:attribute name="font-size">
|
|
||||||
<xsl:value-of select="$body.font.master * 1.25" />
|
|
||||||
<xsl:text>pt</xsl:text>
|
|
||||||
</xsl:attribute>
|
|
||||||
<xsl:attribute name="space-after.optimum">0.1em</xsl:attribute>
|
|
||||||
<xsl:attribute name="space-after.minimum">0.1em</xsl:attribute>
|
|
||||||
<xsl:attribute name="space-after.maximum">0.1em</xsl:attribute>
|
|
||||||
</xsl:attribute-set>
|
|
||||||
<xsl:attribute-set name="section.title.level3.properties">
|
|
||||||
<xsl:attribute name="space-before.optimum">0.4em</xsl:attribute>
|
|
||||||
<xsl:attribute name="space-before.minimum">0.4em</xsl:attribute>
|
|
||||||
<xsl:attribute name="space-before.maximum">0.4em</xsl:attribute>
|
|
||||||
<xsl:attribute name="font-size">
|
|
||||||
<xsl:value-of select="$body.font.master * 1.0" />
|
|
||||||
<xsl:text>pt</xsl:text>
|
|
||||||
</xsl:attribute>
|
|
||||||
<xsl:attribute name="space-after.optimum">0.1em</xsl:attribute>
|
|
||||||
<xsl:attribute name="space-after.minimum">0.1em</xsl:attribute>
|
|
||||||
<xsl:attribute name="space-after.maximum">0.1em</xsl:attribute>
|
|
||||||
</xsl:attribute-set>
|
|
||||||
|
|
||||||
<!-- Titles of formal objects (tables, examples, ...) -->
|
|
||||||
<xsl:attribute-set name="formal.title.properties"
|
|
||||||
use-attribute-sets="normal.para.spacing">
|
|
||||||
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
|
||||||
<xsl:attribute name="font-size">
|
|
||||||
<xsl:value-of select="$body.font.master" />
|
|
||||||
<xsl:text>pt</xsl:text>
|
|
||||||
</xsl:attribute>
|
|
||||||
<xsl:attribute name="hyphenate">false</xsl:attribute>
|
|
||||||
<xsl:attribute name="space-after.minimum">0.4em</xsl:attribute>
|
|
||||||
<xsl:attribute name="space-after.optimum">0.6em</xsl:attribute>
|
|
||||||
<xsl:attribute name="space-after.maximum">0.8em</xsl:attribute>
|
|
||||||
</xsl:attribute-set>
|
|
||||||
|
|
||||||
<!--################################################### Programlistings
|
|
||||||
################################################### -->
|
|
||||||
|
|
||||||
<!-- Verbatim text formatting (programlistings) -->
|
|
||||||
<xsl:attribute-set name="monospace.verbatim.properties">
|
|
||||||
<xsl:attribute name="font-size">
|
|
||||||
<xsl:value-of select="$body.font.small * 1.0" />
|
|
||||||
<xsl:text>pt</xsl:text>
|
|
||||||
</xsl:attribute>
|
|
||||||
</xsl:attribute-set>
|
|
||||||
|
|
||||||
<xsl:attribute-set name="verbatim.properties">
|
|
||||||
<xsl:attribute name="space-before.minimum">1em</xsl:attribute>
|
|
||||||
<xsl:attribute name="space-before.optimum">1em</xsl:attribute>
|
|
||||||
<xsl:attribute name="space-before.maximum">1em</xsl:attribute>
|
|
||||||
<xsl:attribute name="border-color">#444444</xsl:attribute>
|
|
||||||
<xsl:attribute name="border-style">solid</xsl:attribute>
|
|
||||||
<xsl:attribute name="border-width">0.1pt</xsl:attribute>
|
|
||||||
<xsl:attribute name="padding-top">0.5em</xsl:attribute>
|
|
||||||
<xsl:attribute name="padding-left">0.5em</xsl:attribute>
|
|
||||||
<xsl:attribute name="padding-right">0.5em</xsl:attribute>
|
|
||||||
<xsl:attribute name="padding-bottom">0.5em</xsl:attribute>
|
|
||||||
<xsl:attribute name="margin-left">0.5em</xsl:attribute>
|
|
||||||
<xsl:attribute name="margin-right">0.5em</xsl:attribute>
|
|
||||||
</xsl:attribute-set>
|
|
||||||
|
|
||||||
<!-- Shade (background) programlistings -->
|
|
||||||
<xsl:param name="shade.verbatim">
|
|
||||||
1
|
|
||||||
</xsl:param>
|
|
||||||
<xsl:attribute-set name="shade.verbatim.style">
|
|
||||||
<xsl:attribute name="background-color">#F0F0F0</xsl:attribute>
|
|
||||||
</xsl:attribute-set>
|
|
||||||
|
|
||||||
<!--################################################### Callouts ################################################### -->
|
|
||||||
|
|
||||||
<!-- Use images for callouts instead of (1) (2) (3) -->
|
|
||||||
<xsl:param name="callout.graphics">
|
|
||||||
0
|
|
||||||
</xsl:param>
|
|
||||||
<xsl:param name="callout.unicode">
|
|
||||||
1
|
|
||||||
</xsl:param>
|
|
||||||
|
|
||||||
<!-- Place callout marks at this column in annotated areas -->
|
|
||||||
<xsl:param name="callout.defaultcolumn">
|
|
||||||
90
|
|
||||||
</xsl:param>
|
|
||||||
|
|
||||||
<!--################################################### Admonitions ################################################### -->
|
|
||||||
|
|
||||||
<!-- Use nice graphics for admonitions -->
|
|
||||||
<xsl:param name="admon.graphics">
|
|
||||||
'1'
|
|
||||||
</xsl:param>
|
|
||||||
<xsl:param name="admon.graphics.path">
|
|
||||||
src/docbkx/resources/images/admons/
|
|
||||||
</xsl:param>
|
|
||||||
|
|
||||||
<!--################################################### Misc ################################################### -->
|
|
||||||
|
|
||||||
<!-- Placement of titles -->
|
|
||||||
<xsl:param name="formal.title.placement">
|
|
||||||
figure after
|
|
||||||
example before
|
|
||||||
equation before
|
|
||||||
table before
|
|
||||||
procedure before
|
|
||||||
</xsl:param>
|
|
||||||
|
|
||||||
<!-- Format Variable Lists as Blocks (prevents horizontal overflow) -->
|
|
||||||
<xsl:param name="variablelist.as.blocks">
|
|
||||||
1
|
|
||||||
</xsl:param>
|
|
||||||
|
|
||||||
<!-- The horrible list spacing problems -->
|
|
||||||
<xsl:attribute-set name="list.block.spacing">
|
|
||||||
<xsl:attribute name="space-before.optimum">0.8em</xsl:attribute>
|
|
||||||
<xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
|
|
||||||
<xsl:attribute name="space-before.maximum">0.8em</xsl:attribute>
|
|
||||||
<xsl:attribute name="space-after.optimum">0.1em</xsl:attribute>
|
|
||||||
<xsl:attribute name="space-after.minimum">0.1em</xsl:attribute>
|
|
||||||
<xsl:attribute name="space-after.maximum">0.1em</xsl:attribute>
|
|
||||||
</xsl:attribute-set>
|
|
||||||
|
|
||||||
<!--################################################### colored and hyphenated
|
|
||||||
links ################################################### -->
|
|
||||||
<xsl:template match="ulink">
|
|
||||||
<fo:basic-link external-destination="{@url}"
|
|
||||||
xsl:use-attribute-sets="xref.properties" text-decoration="underline"
|
|
||||||
color="blue">
|
|
||||||
<xsl:choose>
|
|
||||||
<xsl:when test="count(child::node())=0">
|
|
||||||
<xsl:value-of select="@url" />
|
|
||||||
</xsl:when>
|
|
||||||
<xsl:otherwise>
|
|
||||||
<xsl:apply-templates />
|
|
||||||
</xsl:otherwise>
|
|
||||||
</xsl:choose>
|
|
||||||
</fo:basic-link>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="link">
|
|
||||||
<fo:basic-link internal-destination="{@linkend}"
|
|
||||||
xsl:use-attribute-sets="xref.properties" text-decoration="underline"
|
|
||||||
color="blue">
|
|
||||||
<xsl:choose>
|
|
||||||
<xsl:when test="count(child::node())=0">
|
|
||||||
<xsl:value-of select="@linkend" />
|
|
||||||
</xsl:when>
|
|
||||||
<xsl:otherwise>
|
|
||||||
<xsl:apply-templates />
|
|
||||||
</xsl:otherwise>
|
|
||||||
</xsl:choose>
|
|
||||||
</fo:basic-link>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
</xsl:stylesheet>
|
|
@ -1,57 +0,0 @@
|
|||||||
<?xml version='1.0'?>
|
|
||||||
<!-- borrowed from: https://raw.github.com/SpringSource/spring-data-jpa/master/src/docbkx/resources/xsl/highlight-fo.xsl
|
|
||||||
Simple highlighter for FO/PDF output. Follows the Eclipse color scheme. -->
|
|
||||||
|
|
||||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
||||||
xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xslthl="http://xslthl.sf.net"
|
|
||||||
exclude-result-prefixes="xslthl" version='1.0'>
|
|
||||||
|
|
||||||
<xsl:template match='xslthl:keyword'>
|
|
||||||
<fo:inline font-weight="bold" color="#7F0055">
|
|
||||||
<xsl:apply-templates />
|
|
||||||
</fo:inline>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match='xslthl:comment'>
|
|
||||||
<fo:inline font-style="italic" color="#3F5F5F">
|
|
||||||
<xsl:apply-templates />
|
|
||||||
</fo:inline>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match='xslthl:oneline-comment'>
|
|
||||||
<fo:inline font-style="italic" color="#3F5F5F">
|
|
||||||
<xsl:apply-templates />
|
|
||||||
</fo:inline>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match='xslthl:multiline-comment'>
|
|
||||||
<fo:inline font-style="italic" color="#3F5FBF">
|
|
||||||
<xsl:apply-templates />
|
|
||||||
</fo:inline>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match='xslthl:tag'>
|
|
||||||
<fo:inline color="#3F7F7F">
|
|
||||||
<xsl:apply-templates />
|
|
||||||
</fo:inline>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match='xslthl:attribute'>
|
|
||||||
<fo:inline color="#7F007F">
|
|
||||||
<xsl:apply-templates />
|
|
||||||
</fo:inline>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match='xslthl:value'>
|
|
||||||
<fo:inline color="#2A00FF">
|
|
||||||
<xsl:apply-templates />
|
|
||||||
</fo:inline>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match='xslthl:string'>
|
|
||||||
<fo:inline color="#2A00FF">
|
|
||||||
<xsl:apply-templates />
|
|
||||||
</fo:inline>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
</xsl:stylesheet>
|
|
@ -1,56 +0,0 @@
|
|||||||
<?xml version='1.0'?>
|
|
||||||
<!-- borrowed from: https://raw.github.com/SpringSource/spring-data-jpa/master/src/docbkx/resources/xsl/highlight.xsl
|
|
||||||
Simple highlighter for HTML output. Follows the Eclipse color scheme. -->
|
|
||||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
||||||
xmlns:xslthl="http://xslthl.sf.net" exclude-result-prefixes="xslthl"
|
|
||||||
version='1.0'>
|
|
||||||
|
|
||||||
<xsl:template match='xslthl:keyword'>
|
|
||||||
<span class="hl-keyword">
|
|
||||||
<xsl:value-of select='.' />
|
|
||||||
</span>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match='xslthl:comment'>
|
|
||||||
<span class="hl-comment">
|
|
||||||
<xsl:value-of select='.' />
|
|
||||||
</span>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match='xslthl:oneline-comment'>
|
|
||||||
<span class="hl-comment">
|
|
||||||
<xsl:value-of select='.' />
|
|
||||||
</span>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match='xslthl:multiline-comment'>
|
|
||||||
<span class="hl-multiline-comment">
|
|
||||||
<xsl:value-of select='.' />
|
|
||||||
</span>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match='xslthl:tag'>
|
|
||||||
<span class="hl-tag">
|
|
||||||
<xsl:value-of select='.' />
|
|
||||||
</span>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match='xslthl:attribute'>
|
|
||||||
<span class="hl-attribute">
|
|
||||||
<xsl:value-of select='.' />
|
|
||||||
</span>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match='xslthl:value'>
|
|
||||||
<span class="hl-value">
|
|
||||||
<xsl:value-of select='.' />
|
|
||||||
</span>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match='xslthl:string'>
|
|
||||||
<span class="hl-string">
|
|
||||||
<xsl:value-of select='.' />
|
|
||||||
</span>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
</xsl:stylesheet>
|
|
@ -1,114 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!-- borrowed from: https://raw.github.com/SpringSource/spring-data-jpa/master/src/docbkx/resources/xsl/html.xsl
|
|
||||||
This is the XSL HTML configuration file for the Spring Reference Documentation. -->
|
|
||||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
||||||
xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xslthl="http://xslthl.sf.net"
|
|
||||||
exclude-result-prefixes="xslthl" version="1.0">
|
|
||||||
|
|
||||||
<xsl:import href="urn:docbkx:stylesheet" />
|
|
||||||
<xsl:import href="highlight.xsl" />
|
|
||||||
|
|
||||||
<!--################################################### HTML Settings ################################################### -->
|
|
||||||
|
|
||||||
<!-- These extensions are required for table printing and other stuff -->
|
|
||||||
<xsl:param name="tablecolumns.extension">
|
|
||||||
0
|
|
||||||
</xsl:param>
|
|
||||||
<xsl:param name="graphicsize.extension">
|
|
||||||
0
|
|
||||||
</xsl:param>
|
|
||||||
<xsl:param name="ignore.image.scaling">
|
|
||||||
1
|
|
||||||
</xsl:param>
|
|
||||||
|
|
||||||
<!--################################################### Table Of Contents
|
|
||||||
################################################### -->
|
|
||||||
|
|
||||||
<!-- Generate the TOCs for named components only -->
|
|
||||||
<xsl:param name="generate.toc">
|
|
||||||
book toc
|
|
||||||
</xsl:param>
|
|
||||||
|
|
||||||
<!-- Show only Sections up to level 3 in the TOCs -->
|
|
||||||
<xsl:param name="toc.section.depth">
|
|
||||||
3
|
|
||||||
</xsl:param>
|
|
||||||
|
|
||||||
<!--################################################### Labels ################################################### -->
|
|
||||||
|
|
||||||
<!-- Label Chapters and Sections (numbering) -->
|
|
||||||
<xsl:param name="chapter.autolabel">
|
|
||||||
1
|
|
||||||
</xsl:param>
|
|
||||||
<xsl:param name="section.autolabel" select="1" />
|
|
||||||
<xsl:param name="section.label.includes.component.label"
|
|
||||||
select="1" />
|
|
||||||
|
|
||||||
<!--################################################### Callouts ################################################### -->
|
|
||||||
|
|
||||||
<!-- Use images for callouts instead of (1) (2) (3) -->
|
|
||||||
<xsl:param name="callout.graphics">
|
|
||||||
1
|
|
||||||
</xsl:param>
|
|
||||||
|
|
||||||
<!-- Place callout marks at this column in annotated areas -->
|
|
||||||
<xsl:param name="callout.defaultcolumn">
|
|
||||||
90
|
|
||||||
</xsl:param>
|
|
||||||
|
|
||||||
<!--################################################### Admonitions ################################################### -->
|
|
||||||
|
|
||||||
<!-- Use nice graphics for admonitions -->
|
|
||||||
<xsl:param name="admon.graphics">
|
|
||||||
1
|
|
||||||
</xsl:param>
|
|
||||||
<xsl:param name="admon.graphics.path">
|
|
||||||
images/admons/
|
|
||||||
</xsl:param>
|
|
||||||
<!--################################################### Misc ################################################### -->
|
|
||||||
<!-- Placement of titles -->
|
|
||||||
<xsl:param name="formal.title.placement">
|
|
||||||
figure after
|
|
||||||
example before
|
|
||||||
equation before
|
|
||||||
table before
|
|
||||||
procedure before
|
|
||||||
</xsl:param>
|
|
||||||
<xsl:template match="author" mode="titlepage.mode">
|
|
||||||
<xsl:if test="name(preceding-sibling::*[1]) = 'author'">
|
|
||||||
<xsl:text>, </xsl:text>
|
|
||||||
</xsl:if>
|
|
||||||
<span class="{name(.)}">
|
|
||||||
<xsl:call-template name="person.name" />
|
|
||||||
<!-- (<xsl:value-of select="affiliation"/>) -->
|
|
||||||
<xsl:apply-templates mode="titlepage.mode"
|
|
||||||
select="./contrib" />
|
|
||||||
</span>
|
|
||||||
</xsl:template>
|
|
||||||
<xsl:template match="authorgroup" mode="titlepage.mode">
|
|
||||||
<div class="{name(.)}">
|
|
||||||
<h2>Authors</h2>
|
|
||||||
<p />
|
|
||||||
<xsl:apply-templates mode="titlepage.mode" />
|
|
||||||
</div>
|
|
||||||
</xsl:template>
|
|
||||||
<!--################################################### Headers and Footers
|
|
||||||
################################################### -->
|
|
||||||
<!-- let's have a Spring and I21 banner across the top of each page -->
|
|
||||||
<xsl:template name="user.header.navigation">
|
|
||||||
<div
|
|
||||||
style="background-color:white;border:none;height:73px;border:1px solid black;">
|
|
||||||
<a style="border:none;" href="http://www.springframework.org/osgi/"
|
|
||||||
title="The Spring Framework - Spring Data">
|
|
||||||
<img style="border:none;" src="images/xdev-spring_logo.jpg" />
|
|
||||||
</a>
|
|
||||||
<a style="border:none;" href="http://www.SpringSource.com/"
|
|
||||||
title="SpringSource - Spring from the Source">
|
|
||||||
<img style="border:none;position:absolute;padding-top:5px;right:42px;"
|
|
||||||
src="images/s2-banner-rhs.png" />
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
</xsl:stylesheet>
|
|
||||||
|
|
@ -1,253 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!-- borrowed from: https://raw.github.com/SpringSource/spring-data-jpa/master/src/docbkx/resources/xsl/html_chunk.xsl
|
|
||||||
This is the XSL HTML configuration file for the Spring Reference Documentation. -->
|
|
||||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
||||||
xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0">
|
|
||||||
|
|
||||||
<xsl:import href="urn:docbkx:stylesheet" />
|
|
||||||
<xsl:import href="highlight.xsl" />
|
|
||||||
|
|
||||||
|
|
||||||
<!--################################################### HTML Settings ################################################### -->
|
|
||||||
<xsl:param name="chunk.section.depth">
|
|
||||||
'5'
|
|
||||||
</xsl:param>
|
|
||||||
<xsl:param name="use.id.as.filename">
|
|
||||||
'1'
|
|
||||||
</xsl:param>
|
|
||||||
<xsl:param name="tablecolumns.extension">
|
|
||||||
0
|
|
||||||
</xsl:param>
|
|
||||||
<xsl:param name="graphicsize.extension">
|
|
||||||
0
|
|
||||||
</xsl:param>
|
|
||||||
<xsl:param name="ignore.image.scaling">
|
|
||||||
1
|
|
||||||
</xsl:param>
|
|
||||||
<!--################################################### Table Of Contents
|
|
||||||
################################################### -->
|
|
||||||
<!-- Generate the TOCs for named components only -->
|
|
||||||
<xsl:param name="generate.toc">
|
|
||||||
book toc
|
|
||||||
qandaset toc
|
|
||||||
</xsl:param>
|
|
||||||
<!-- Show only Sections up to level 3 in the TOCs -->
|
|
||||||
<xsl:param name="toc.section.depth">
|
|
||||||
3
|
|
||||||
</xsl:param>
|
|
||||||
<!--################################################### Labels ################################################### -->
|
|
||||||
<!-- Label Chapters and Sections (numbering) -->
|
|
||||||
<xsl:param name="chapter.autolabel">
|
|
||||||
1
|
|
||||||
</xsl:param>
|
|
||||||
<xsl:param name="section.autolabel" select="1" />
|
|
||||||
<xsl:param name="section.label.includes.component.label"
|
|
||||||
select="1" />
|
|
||||||
<!--################################################### Callouts ################################################### -->
|
|
||||||
<!-- Place callout marks at this column in annotated areas -->
|
|
||||||
<xsl:param name="callout.graphics">
|
|
||||||
1
|
|
||||||
</xsl:param>
|
|
||||||
<xsl:param name="callout.defaultcolumn">
|
|
||||||
90
|
|
||||||
</xsl:param>
|
|
||||||
|
|
||||||
<!--################################################### Admonitions ################################################### -->
|
|
||||||
|
|
||||||
<!-- Use nice graphics for admonitions -->
|
|
||||||
<xsl:param name="admon.graphics">
|
|
||||||
1
|
|
||||||
</xsl:param>
|
|
||||||
<xsl:param name="admon.graphics.path">
|
|
||||||
images/admons/
|
|
||||||
</xsl:param>
|
|
||||||
<!--################################################### Misc ################################################### -->
|
|
||||||
<!-- Placement of titles -->
|
|
||||||
<xsl:param name="formal.title.placement">
|
|
||||||
figure after
|
|
||||||
example before
|
|
||||||
equation before
|
|
||||||
table before
|
|
||||||
procedure before
|
|
||||||
</xsl:param>
|
|
||||||
<xsl:template match="author" mode="titlepage.mode">
|
|
||||||
<xsl:if test="name(preceding-sibling::*[1]) = 'author'">
|
|
||||||
<xsl:text>, </xsl:text>
|
|
||||||
</xsl:if>
|
|
||||||
<span class="{name(.)}">
|
|
||||||
<xsl:call-template name="person.name" />
|
|
||||||
(
|
|
||||||
<xsl:value-of select="affiliation" />
|
|
||||||
)
|
|
||||||
<xsl:apply-templates mode="titlepage.mode"
|
|
||||||
select="./contrib" />
|
|
||||||
<!-- <xsl:apply-templates mode="titlepage.mode" select="./affiliation"/> -->
|
|
||||||
</span>
|
|
||||||
</xsl:template>
|
|
||||||
<xsl:template match="authorgroup" mode="titlepage.mode">
|
|
||||||
<div class="{name(.)}">
|
|
||||||
<h2>Authors</h2>
|
|
||||||
<p />
|
|
||||||
<xsl:apply-templates mode="titlepage.mode" />
|
|
||||||
</div>
|
|
||||||
</xsl:template>
|
|
||||||
<!--################################################### Headers and Footers
|
|
||||||
################################################### -->
|
|
||||||
<!-- let's have a Spring and I21 banner across the top of each page -->
|
|
||||||
<xsl:template name="user.header.navigation">
|
|
||||||
<div
|
|
||||||
style="background-color:white;border:none;height:73px;border:1px solid black;">
|
|
||||||
<a style="border:none;" href="http://www.springframework.org/osgi/"
|
|
||||||
title="The Spring Framework - Spring Data">
|
|
||||||
<img style="border:none;" src="images/xdev-spring_logo.jpg" />
|
|
||||||
</a>
|
|
||||||
<a style="border:none;" href="http://www.SpringSource.com/"
|
|
||||||
title="SpringSource - Spring from the Source">
|
|
||||||
<img style="border:none;position:absolute;padding-top:5px;right:42px;"
|
|
||||||
src="images/s2-banner-rhs.png" />
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</xsl:template>
|
|
||||||
<!-- no other header navigation (prev, next, etc.) -->
|
|
||||||
<xsl:template name="header.navigation" />
|
|
||||||
<xsl:param name="navig.showtitles">
|
|
||||||
1
|
|
||||||
</xsl:param>
|
|
||||||
<!-- let's have a 'Sponsored by SpringSource' strapline (or somesuch) across
|
|
||||||
the bottom of each page -->
|
|
||||||
<xsl:template name="footer.navigation">
|
|
||||||
<xsl:param name="prev" select="/foo" />
|
|
||||||
<xsl:param name="next" select="/foo" />
|
|
||||||
<xsl:param name="nav.context" />
|
|
||||||
<xsl:variable name="home" select="/*[1]" />
|
|
||||||
<xsl:variable name="up" select="parent::*" />
|
|
||||||
<xsl:variable name="row1"
|
|
||||||
select="count($prev) > 0
|
|
||||||
or count($up) > 0
|
|
||||||
or count($next) > 0" />
|
|
||||||
<xsl:variable name="row2"
|
|
||||||
select="($prev and $navig.showtitles != 0)
|
|
||||||
or (generate-id($home) != generate-id(.)
|
|
||||||
or $nav.context = 'toc')
|
|
||||||
or ($chunk.tocs.and.lots != 0
|
|
||||||
and $nav.context != 'toc')
|
|
||||||
or ($next and $navig.showtitles != 0)" />
|
|
||||||
<xsl:if
|
|
||||||
test="$suppress.navigation = '0' and $suppress.footer.navigation = '0'">
|
|
||||||
<div class="navfooter">
|
|
||||||
<xsl:if test="$footer.rule != 0">
|
|
||||||
<hr />
|
|
||||||
</xsl:if>
|
|
||||||
<xsl:if test="$row1 or $row2">
|
|
||||||
<table width="100%" summary="Navigation footer">
|
|
||||||
<xsl:if test="$row1">
|
|
||||||
<tr>
|
|
||||||
<td width="40%" align="left">
|
|
||||||
<xsl:if test="count($prev)>0">
|
|
||||||
<a accesskey="p">
|
|
||||||
<xsl:attribute name="href">
|
|
||||||
<xsl:call-template
|
|
||||||
name="href.target">
|
|
||||||
<xsl:with-param
|
|
||||||
name="object" select="$prev" />
|
|
||||||
</xsl:call-template>
|
|
||||||
</xsl:attribute>
|
|
||||||
<xsl:call-template name="navig.content">
|
|
||||||
<xsl:with-param name="direction" select="'prev'" />
|
|
||||||
</xsl:call-template>
|
|
||||||
</a>
|
|
||||||
</xsl:if>
|
|
||||||
<xsl:text> </xsl:text>
|
|
||||||
</td>
|
|
||||||
|
|
||||||
<td width="20%" align="center">
|
|
||||||
<xsl:choose>
|
|
||||||
<xsl:when test="$home != . or $nav.context = 'toc'">
|
|
||||||
<a accesskey="h">
|
|
||||||
<xsl:attribute name="href">
|
|
||||||
<xsl:call-template
|
|
||||||
name="href.target">
|
|
||||||
<xsl:with-param
|
|
||||||
name="object" select="$home" />
|
|
||||||
</xsl:call-template>
|
|
||||||
</xsl:attribute>
|
|
||||||
<xsl:call-template name="navig.content">
|
|
||||||
<xsl:with-param name="direction" select="'home'" />
|
|
||||||
</xsl:call-template>
|
|
||||||
</a>
|
|
||||||
<xsl:if test="$chunk.tocs.and.lots != 0 and $nav.context != 'toc'">
|
|
||||||
<xsl:text> | </xsl:text>
|
|
||||||
</xsl:if>
|
|
||||||
</xsl:when>
|
|
||||||
<xsl:otherwise>
|
|
||||||
 
|
|
||||||
</xsl:otherwise>
|
|
||||||
</xsl:choose>
|
|
||||||
<xsl:if test="$chunk.tocs.and.lots != 0 and $nav.context != 'toc'">
|
|
||||||
<a accesskey="t">
|
|
||||||
<xsl:attribute name="href">
|
|
||||||
<xsl:apply-templates
|
|
||||||
select="/*[1]" mode="recursive-chunk-filename">
|
|
||||||
<xsl:with-param
|
|
||||||
name="recursive" select="true()" />
|
|
||||||
</xsl:apply-templates>
|
|
||||||
<xsl:text>-toc</xsl:text>
|
|
||||||
<xsl:value-of
|
|
||||||
select="$html.ext" />
|
|
||||||
</xsl:attribute>
|
|
||||||
<xsl:call-template name="gentext">
|
|
||||||
<xsl:with-param name="key" select="'nav-toc'" />
|
|
||||||
</xsl:call-template>
|
|
||||||
</a>
|
|
||||||
</xsl:if>
|
|
||||||
</td>
|
|
||||||
<td width="40%" align="right">
|
|
||||||
<xsl:text> </xsl:text>
|
|
||||||
<xsl:if test="count($next)>0">
|
|
||||||
<a accesskey="n">
|
|
||||||
<xsl:attribute name="href">
|
|
||||||
<xsl:call-template
|
|
||||||
name="href.target">
|
|
||||||
<xsl:with-param
|
|
||||||
name="object" select="$next" />
|
|
||||||
</xsl:call-template>
|
|
||||||
</xsl:attribute>
|
|
||||||
<xsl:call-template name="navig.content">
|
|
||||||
<xsl:with-param name="direction" select="'next'" />
|
|
||||||
</xsl:call-template>
|
|
||||||
</a>
|
|
||||||
</xsl:if>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</xsl:if>
|
|
||||||
<xsl:if test="$row2">
|
|
||||||
<tr>
|
|
||||||
<td width="40%" align="left" valign="top">
|
|
||||||
<xsl:if test="$navig.showtitles != 0">
|
|
||||||
<xsl:apply-templates select="$prev"
|
|
||||||
mode="object.title.markup" />
|
|
||||||
</xsl:if>
|
|
||||||
<xsl:text> </xsl:text>
|
|
||||||
</td>
|
|
||||||
<td width="20%" align="center">
|
|
||||||
<span style="color:white;font-size:90%;">
|
|
||||||
<a href="http://www.SpringSource.com/" title="SpringSource - Spring from the Source">Sponsored by
|
|
||||||
SpringSource
|
|
||||||
</a>
|
|
||||||
</span>
|
|
||||||
</td>
|
|
||||||
<td width="40%" align="right" valign="top">
|
|
||||||
<xsl:text> </xsl:text>
|
|
||||||
<xsl:if test="$navig.showtitles != 0">
|
|
||||||
<xsl:apply-templates select="$next"
|
|
||||||
mode="object.title.markup" />
|
|
||||||
</xsl:if>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</xsl:if>
|
|
||||||
</table>
|
|
||||||
</xsl:if>
|
|
||||||
</div>
|
|
||||||
</xsl:if>
|
|
||||||
</xsl:template>
|
|
||||||
</xsl:stylesheet>
|
|
@ -1,49 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<assembly>
|
|
||||||
<!-- distribution assembly descriptor. packages up jars, source jars, documentation,
|
|
||||||
dependencies and other resources into a single archive suitable for download
|
|
||||||
and standalone use. see pom.xml 'maven-assembly-plugin' declaration see src/main/scripts/build-distribution.sh
|
|
||||||
see http://www.sonatype.com/books/mvnref-book/reference/assemblies-set-dist-assemblies.html -->
|
|
||||||
<id>distribution</id>
|
|
||||||
<formats>
|
|
||||||
<format>zip</format>
|
|
||||||
</formats>
|
|
||||||
<includeBaseDirectory>true</includeBaseDirectory>
|
|
||||||
<fileSets>
|
|
||||||
<fileSet>
|
|
||||||
<!-- adds readme and other textfiles to the root of the distribution archive -->
|
|
||||||
<directory>src/main/resources</directory>
|
|
||||||
<includes>
|
|
||||||
<include>license.txt</include>
|
|
||||||
<include>notice.txt</include>
|
|
||||||
<include>changelog.txt</include>
|
|
||||||
</includes>
|
|
||||||
<outputDirectory />
|
|
||||||
<lineEnding>dos</lineEnding>
|
|
||||||
</fileSet>
|
|
||||||
<fileSet>
|
|
||||||
<!-- adds reference manual (html and pdf) to the distribution archive
|
|
||||||
under the 'docs/reference' directory see pom.xml 'maven-javadoc-plugin' declaration -->
|
|
||||||
<directory>target/site/reference</directory>
|
|
||||||
<outputDirectory>docs/reference</outputDirectory>
|
|
||||||
</fileSet>
|
|
||||||
<fileSet>
|
|
||||||
<!-- adds javadoc html to the distribution archive under the 'docs/javadoc'
|
|
||||||
directory see pom.xml 'maven-javadoc-plugin' declaration -->
|
|
||||||
<directory>target/site/apidocs</directory>
|
|
||||||
<outputDirectory>docs/javadoc</outputDirectory>
|
|
||||||
</fileSet>
|
|
||||||
</fileSets>
|
|
||||||
<files>
|
|
||||||
<file>
|
|
||||||
<source>target/${dist.finalName}.jar</source>
|
|
||||||
<outputDirectory>dist</outputDirectory>
|
|
||||||
<fileMode>0644</fileMode>
|
|
||||||
</file>
|
|
||||||
<file>
|
|
||||||
<source>target/${dist.finalName}-sources.jar</source>
|
|
||||||
<outputDirectory>sources</outputDirectory>
|
|
||||||
<fileMode>0644</fileMode>
|
|
||||||
</file>
|
|
||||||
</files>
|
|
||||||
</assembly>
|
|
@ -1,19 +0,0 @@
|
|||||||
<assembly
|
|
||||||
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
|
|
||||||
<id>all</id>
|
|
||||||
<formats>
|
|
||||||
<format>jar</format>
|
|
||||||
</formats>
|
|
||||||
<includeBaseDirectory>false</includeBaseDirectory>
|
|
||||||
<dependencySets>
|
|
||||||
<dependencySet>
|
|
||||||
<outputDirectory>/</outputDirectory>
|
|
||||||
<useProjectArtifact>true</useProjectArtifact>
|
|
||||||
<unpack>true</unpack>
|
|
||||||
<scope>runtime</scope>
|
|
||||||
<useTransitiveFiltering>true</useTransitiveFiltering>
|
|
||||||
</dependencySet>
|
|
||||||
</dependencySets>
|
|
||||||
</assembly>
|
|
@ -0,0 +1,56 @@
|
|||||||
|
Release Notes - Spring Data Elasticsearch - Version 1.0 M1 (2014-02-07)
|
||||||
|
-----------------------------------------------------------------------
|
||||||
|
** Bug
|
||||||
|
* [DATAES-9] - multiple elasticsearch cluster nodes not getting parsed if using property file
|
||||||
|
|
||||||
|
** Improvement
|
||||||
|
* [DATAES-7] - Migrate to the latest version of elasticsearch 0.90.0
|
||||||
|
* [DATAES-11] - Missing core types in org.springframework.data.elasticsearch.annotations.FieldType
|
||||||
|
* [DATAES-15] - Upgrade to latest version of elasticsearch( 0.90.2 )
|
||||||
|
* [DATAES-19] - Delete specific type in an index, Type exists check
|
||||||
|
* [DATAES-22] - Add support for TransportClient additional parameters such as client.transport.ignore_cluster_name, client.transport.ping_timeout, client.transport.nodes_sampler_interval
|
||||||
|
|
||||||
|
** New Feature
|
||||||
|
* [DATAES-8] - Add support for Index level configuration
|
||||||
|
* [DATAES-17] - Add support to retrieve highlighted text in search result
|
||||||
|
|
||||||
|
** Task
|
||||||
|
* [DATAES-1] - Migrate sources to SpringSource GitHub repository
|
||||||
|
* [DATAES-3] - Move to Spring Data build system
|
||||||
|
* [DATAES-4] - Initial round of JavaDoc polish
|
||||||
|
* [DATAES-5] - Add Apache license headers where necessary
|
||||||
|
* [DATAES-6] - Add ability to let NodeClient clean up working directory
|
||||||
|
* [DATAES-45] - Release 1.0 M1.
|
||||||
|
|
||||||
|
Issues maintaine in GitHub tracker:
|
||||||
|
|
||||||
|
- #42 - org.springframework.data.elasticsearch.client.NodeClientFactoryBean' is not a valid value for 'anyURI'
|
||||||
|
- #40 - how to create index for json objects?
|
||||||
|
- #38 - Configure with native Client with embedded elasticsearch
|
||||||
|
- #37 - embedded elasticsearch client - how to recover data after process is restarted?
|
||||||
|
- #36 - FieldType.Date annotation
|
||||||
|
- #35 - @Transient property still inserted into elastic
|
||||||
|
- #33 - timestamp mapping
|
||||||
|
- #32 - BigDecimal @Field(type = FieldType.Double)
|
||||||
|
- #31 - DATAES-33: Mapping of parent-child relationships
|
||||||
|
- #29 - Added DefaultMapper support to map only partial fields from result instead of whole source field.
|
||||||
|
- #28 - Documentation (README.md) for Geo Location / Filter Feature
|
||||||
|
- #27 - Adding support for letting Elasticsearch generate Id for document
|
||||||
|
- #25 - Aliases
|
||||||
|
- #24 - DATAES-31 Adding ability to use ES Java API setSource directly
|
||||||
|
- #22 - spring-elasticsearch-1.0.xsd not found on www.springframework.com
|
||||||
|
- #21 - Autogenerated elastic search id isn't returned
|
||||||
|
- #20 - Exception while using CustomRepository
|
||||||
|
- #19 - Compilation issue with 0.90.5. (ElasticsearchTemplate.refresh API)
|
||||||
|
- #18 - problem with ES 0.9.5
|
||||||
|
- #17 - FacetResult extension is not possible
|
||||||
|
- #16 - Configuration of ObjectMapper in the ElasticsearchTemplate
|
||||||
|
- #15 - Added support for @Transient annotation to skip fields from mapping
|
||||||
|
- #14 - added format and pattern support for date fieldtype + fixed nullpointer...
|
||||||
|
- #12 - Where is the maven repository for this artifact?
|
||||||
|
- #11 - Build fails
|
||||||
|
- #10 - Elasticsearch + elasticsearch-river-rabbitmq
|
||||||
|
- #9 - MappingBuilder circular reference issue
|
||||||
|
- #8 - java.lang.NoSuchMethodError: org.springframework.data.elasticsearch.core.mapping.ElasticsearchPersistentProperty.isVersionProperty()Z
|
||||||
|
- #7 - Missing core types in org.springframework.data.elasticsearch.annotations.FieldType
|
||||||
|
- #6 - spirng-data-elasticsearch with elasticsearch-river-mongodb
|
@ -1,4 +1,5 @@
|
|||||||
Spring Data Elasticsearch
|
Spring Data Elasticsearch 1.0 M1
|
||||||
|
Copyright (c) [2013-2014] Pivotal Inc.
|
||||||
|
|
||||||
This product is licensed to you under the Apache License, Version 2.0 (the "License").
|
This product is licensed to you under the Apache License, Version 2.0 (the "License").
|
||||||
You may not use this product except in compliance with the License.
|
You may not use this product except in compliance with the License.
|
||||||
|