aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop')
-rw-r--r--src/java/org/apache/fop/area/DestinationData.java19
-rw-r--r--src/java/org/apache/fop/fo/extensions/destination/Destination.java19
-rw-r--r--src/java/org/apache/fop/fo/extensions/destination/DestinationElementMapping.java19
-rw-r--r--src/java/org/apache/fop/fo/extensions/destination/package.html3
-rw-r--r--src/java/org/apache/fop/pdf/PDFDestination.java8
-rw-r--r--src/java/org/apache/fop/pdf/PDFDocument.java2
-rw-r--r--src/java/org/apache/fop/pdf/PDFLimits.java2
7 files changed, 64 insertions, 8 deletions
diff --git a/src/java/org/apache/fop/area/DestinationData.java b/src/java/org/apache/fop/area/DestinationData.java
index 920cd814a..5d36969b9 100644
--- a/src/java/org/apache/fop/area/DestinationData.java
+++ b/src/java/org/apache/fop/area/DestinationData.java
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */
+
+/* $Id$ */
+
package org.apache.fop.area;
import java.util.List;
diff --git a/src/java/org/apache/fop/fo/extensions/destination/Destination.java b/src/java/org/apache/fop/fo/extensions/destination/Destination.java
index b16962b74..01ce44196 100644
--- a/src/java/org/apache/fop/fo/extensions/destination/Destination.java
+++ b/src/java/org/apache/fop/fo/extensions/destination/Destination.java
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */
+
+/* $Id$ */
+
package org.apache.fop.fo.extensions.destination;
import org.apache.fop.fo.ValidationException;
diff --git a/src/java/org/apache/fop/fo/extensions/destination/DestinationElementMapping.java b/src/java/org/apache/fop/fo/extensions/destination/DestinationElementMapping.java
index 8e9d926f5..33a953689 100644
--- a/src/java/org/apache/fop/fo/extensions/destination/DestinationElementMapping.java
+++ b/src/java/org/apache/fop/fo/extensions/destination/DestinationElementMapping.java
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */
+
+/* $Id$ */
+
package org.apache.fop.fo.extensions.destination;
import java.util.HashMap;
diff --git a/src/java/org/apache/fop/fo/extensions/destination/package.html b/src/java/org/apache/fop/fo/extensions/destination/package.html
index 10157e862..ff2bdbc88 100644
--- a/src/java/org/apache/fop/fo/extensions/destination/package.html
+++ b/src/java/org/apache/fop/fo/extensions/destination/package.html
@@ -14,9 +14,10 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
+<!-- $Id$ -->
<HTML>
<TITLE>org.apache.fop.destination Package</TITLE>
<BODY>
<P>Classes to support named destinations (only relevant for PDF output)</P>
</BODY>
-</HTML> \ No newline at end of file
+</HTML>
diff --git a/src/java/org/apache/fop/pdf/PDFDestination.java b/src/java/org/apache/fop/pdf/PDFDestination.java
index e8228acfd..e68428a19 100644
--- a/src/java/org/apache/fop/pdf/PDFDestination.java
+++ b/src/java/org/apache/fop/pdf/PDFDestination.java
@@ -79,7 +79,7 @@ public class PDFDestination extends PDFObject {
/**
* Sets the GoToReference in the associated DestinationData object.
*
- * @param the GoToReference to set in the associated DestinationData object.
+ * @param goToReference the reference to set in the associated DestinationData object.
*/
public void setGoToReference(String goToReference) {
this.goToReference = goToReference;
@@ -90,8 +90,7 @@ public class PDFDestination extends PDFObject {
*
* @return the GoToReference from the associated DestinationData object.
*/
- public String getGoToReference()
- {
+ public String getGoToReference() {
return this.goToReference;
}
@@ -109,8 +108,7 @@ public class PDFDestination extends PDFObject {
*
* @return the RefID from the associated DestinationData object.
*/
- public String getIDRef()
- {
+ public String getIDRef() {
return this.idRef;
}
diff --git a/src/java/org/apache/fop/pdf/PDFDocument.java b/src/java/org/apache/fop/pdf/PDFDocument.java
index 042d3d00b..09e1eccff 100644
--- a/src/java/org/apache/fop/pdf/PDFDocument.java
+++ b/src/java/org/apache/fop/pdf/PDFDocument.java
@@ -759,7 +759,7 @@ public class PDFDocument {
/**
* Sets whether the document has named destinations.
*
- * @param whether the document has named destinations.
+ * @param hasDestinations whether the document has named destinations.
*/
public void setHasDestinations(boolean hasDestinations) {
this.hasDestinations = hasDestinations;
diff --git a/src/java/org/apache/fop/pdf/PDFLimits.java b/src/java/org/apache/fop/pdf/PDFLimits.java
index ece7a3dfb..2687ff1cc 100644
--- a/src/java/org/apache/fop/pdf/PDFLimits.java
+++ b/src/java/org/apache/fop/pdf/PDFLimits.java
@@ -45,7 +45,7 @@ public class PDFLimits extends PDFObject {
public String toPDFString() {
String[] idRefs = new String[destinationList.size()];
String kidsString = "";
- for(int i = 0; i < destinationList.size(); i++) {
+ for (int i = 0; i < destinationList.size(); i++) {
PDFDestination dest = (PDFDestination)destinationList.get(i);
idRefs[i] = dest.getIDRef();
kidsString += dest.referencePDF();