You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ju...@apache.org on 2008/08/05 12:51:26 UTC

svn commit: r682665 [17/21] - in /incubator/pdfbox/trunk/src: org/pdfbox/ org/pdfbox/ant/ org/pdfbox/cos/ org/pdfbox/encoding/ org/pdfbox/encryption/ org/pdfbox/examples/ org/pdfbox/examples/fdf/ org/pdfbox/examples/pdmodel/ org/pdfbox/examples/persist...

Modified: incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDChoiceField.java
URL: http://svn.apache.org/viewvc/incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDChoiceField.java?rev=682665&r1=682664&r2=682665&view=diff
==============================================================================
--- incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDChoiceField.java (original)
+++ incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDChoiceField.java Tue Aug  5 03:51:13 2008
@@ -1,18 +1,18 @@
 /*
- * 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.
+ * 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.
  */
 package org.pdfbox.pdmodel.interactive.form;
 
@@ -44,7 +44,7 @@
     {
         super(theAcroForm, field);
     }
-    
+
     /**
      * @see org.pdfbox.pdmodel.interactive.form.PDField#setValue(java.lang.String)
      *
@@ -108,6 +108,6 @@
             }
         }
     }
-    
-    
-}
\ No newline at end of file
+
+
+}

Propchange: incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDChoiceField.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDField.java
URL: http://svn.apache.org/viewvc/incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDField.java?rev=682665&r1=682664&r2=682665&view=diff
==============================================================================
--- incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDField.java (original)
+++ incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDField.java Tue Aug  5 03:51:13 2008
@@ -1,18 +1,18 @@
 /*
- * 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.
+ * 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.
  */
 package org.pdfbox.pdmodel.interactive.form;
 
@@ -59,8 +59,8 @@
      * A Ff flag.
      */
     public static final int FLAG_NO_EXPORT = 1 << 2;
-    
-    
+
+
     private PDAcroForm acroForm;
 
     private COSDictionary dictionary;
@@ -110,13 +110,13 @@
     {
         getDictionary().setString( "T", name );
     }
-    
+
     /**
      * Returns the fully qualified name of the field, which is a concatenation of
      * the names of all the parents fields.
      *
      * @return the name of the field
-     * 
+     *
      * @throws IOException If there is an error generating the fully qualified name.
      */
     public String getFullyQualifiedName() throws IOException
@@ -134,36 +134,36 @@
         }
         return finalName;
     }
-    
+
     /**
      * Get the FT entry of the field.  This is a read only field and is set depending
      * on the actual type.  The field type is an inheritable attribute.  This method will
-     * return only the direct value on this object.  Use the findFieldType for an upward 
+     * return only the direct value on this object.  Use the findFieldType for an upward
      * recursive search.
-     * 
+     *
      * @return The Field type.
-     * 
+     *
      * @see PDField#findFieldType()
      */
     public String getFieldType()
     {
         return getDictionary().getNameAsString( "FT" );
     }
-    
+
     /**
      * Find the field type and optionally do a recursive upward search.  Sometimes the fieldtype
      * will be specified on the parent instead of the direct object.  This will look at this
      * object for the field type, if none is specified then it will look to the parent if there
      * is a parent.  If there is no parent and no field type has been found then this
      * will return null.
-     * 
+     *
      * @return The field type or null if none was found.
      */
     public String findFieldType()
     {
         return findFieldType( getDictionary() );
     }
-    
+
     private String findFieldType( COSDictionary dic )
     {
         String retval = dic.getNameAsString( "FT" );
@@ -176,7 +176,7 @@
             }
         }
         return retval;
-        
+
     }
 
 
@@ -188,7 +188,7 @@
      * @throws IOException If there is an error creating the appearance stream.
      */
     public abstract void setValue(String value) throws IOException;
-    
+
     /**
      * getValue gets the fields value to as a string.
      *
@@ -216,7 +216,7 @@
     {
         return BitFlagHelper.getFlag( getDictionary(), "Ff", FLAG_READ_ONLY );
     }
-    
+
     /**
      * sets the field to be required.
      *
@@ -235,7 +235,7 @@
     {
         return BitFlagHelper.getFlag( getDictionary(), "Ff", FLAG_REQUIRED );
     }
-    
+
     /**
      * sets the field to be not exported..
      *
@@ -438,12 +438,12 @@
         }
         return retval;
     }
-    
+
     /**
      * Get the parent field to this field, or null if none exists.
-     * 
+     *
      * @return The parent field.
-     * 
+     *
      * @throws IOException If there is an error creating the parent field.
      */
     public PDField getParent() throws IOException
@@ -456,23 +456,23 @@
         }
         return parent;
     }
-    
+
     /**
      * Set the parent of this field.
-     * 
+     *
      * @param parent The parent to this field.
      */
     public void setParent( PDField parent )
     {
         getDictionary().setItem( "Parent", parent );
     }
-    
+
     /**
      * This will find one of the child elements.  The name array are the components
      * of the name to search down the tree of names.  The nameIndex is where to
      * start in that array.  This method is called recursively until it finds
      * the end point based on the name array.
-     * 
+     *
      * @param name An array that picks the path to the field.
      * @param nameIndex The index into the array.
      * @return The field at the endpoint or null if none is found.
@@ -599,11 +599,11 @@
     {
         return dictionary;
     }
-    
+
     /**
      * Get the additional actions for this field.  This will return null
      * if there are no additional actions for this field.
-     * 
+     *
      * @return The actions of the field.
      */
     public PDFormFieldAdditionalActions getActions()
@@ -616,14 +616,14 @@
         }
         return retval;
     }
-    
+
     /**
      * Set the actions of the field.
-     * 
+     *
      * @param actions The field actions.
      */
     public void setActions( PDFormFieldAdditionalActions actions )
     {
         dictionary.setItem( "AA", actions );
     }
-}
\ No newline at end of file
+}

Propchange: incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDField.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDFieldFactory.java
URL: http://svn.apache.org/viewvc/incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDFieldFactory.java?rev=682665&r1=682664&r2=682665&view=diff
==============================================================================
--- incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDFieldFactory.java (original)
+++ incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDFieldFactory.java Tue Aug  5 03:51:13 2008
@@ -1,18 +1,18 @@
 /*
- * 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.
+ * 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.
  */
 package org.pdfbox.pdmodel.interactive.form;
 
@@ -149,7 +149,7 @@
      *
      * @param field the field to determine
      * @return the result of the determination
-     * 
+     *
      * @throws IOException If there is an error determining the field type.
      */
     private static boolean isButton(PDField field) throws IOException
@@ -201,4 +201,4 @@
     {
         return FIELD_TYPE_TX.equals(field.findFieldType());
     }
-}
\ No newline at end of file
+}

Propchange: incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDFieldFactory.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDPushButton.java
URL: http://svn.apache.org/viewvc/incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDPushButton.java?rev=682665&r1=682664&r2=682665&view=diff
==============================================================================
--- incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDPushButton.java (original)
+++ incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDPushButton.java Tue Aug  5 03:51:13 2008
@@ -1,18 +1,18 @@
 /*
- * 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.
+ * 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.
  */
 package org.pdfbox.pdmodel.interactive.form;
 
@@ -55,7 +55,7 @@
         getDictionary().setItem( COSName.getPDFName( "V" ), fieldValue );
         getDictionary().setItem( COSName.getPDFName( "DV" ), fieldValue );
     }
-    
+
     /**
      * getValue gets the fields value to as a string.
      *
@@ -67,4 +67,4 @@
     {
         return getDictionary().getString( "V" );
     }
-}
\ No newline at end of file
+}

Propchange: incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDPushButton.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDRadioCollection.java
URL: http://svn.apache.org/viewvc/incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDRadioCollection.java?rev=682665&r1=682664&r2=682665&view=diff
==============================================================================
--- incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDRadioCollection.java (original)
+++ incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDRadioCollection.java Tue Aug  5 03:51:13 2008
@@ -1,18 +1,18 @@
 /*
- * 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.
+ * 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.
  */
 package org.pdfbox.pdmodel.interactive.form;
 
@@ -42,18 +42,18 @@
      * A Ff flag.
      */
     public static final int FLAG_RADIOS_IN_UNISON = 1 << 25;
-    
-    /** 
+
+    /**
      * @param theAcroForm The acroForm for this field.
      * @param field The field that makes up the radio collection.
-     * 
+     *
      * {@inheritDoc}
      */
     public PDRadioCollection( PDAcroForm theAcroForm, COSDictionary field)
     {
         super(theAcroForm,field);
     }
-    
+
     /**
      * From the PDF Spec <br/>
      * If set, a group of radio buttons within a radio button field that
@@ -103,7 +103,7 @@
             }
         }
     }
-    
+
     /**
      * getValue gets the fields value to as a string.
      *
@@ -153,4 +153,4 @@
         }
         return retval;
     }
-}
\ No newline at end of file
+}

Propchange: incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDRadioCollection.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDSignature.java
URL: http://svn.apache.org/viewvc/incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDSignature.java?rev=682665&r1=682664&r2=682665&view=diff
==============================================================================
--- incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDSignature.java (original)
+++ incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDSignature.java Tue Aug  5 03:51:13 2008
@@ -1,18 +1,18 @@
 /*
- * 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.
+ * 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.
  */
 package org.pdfbox.pdmodel.interactive.form;
 
@@ -51,7 +51,7 @@
     {
         throw new RuntimeException( "Not yet implemented" );
     }
-    
+
     /**
      * @see PDField#setValue(java.lang.String)
      *
@@ -73,4 +73,4 @@
     {
         return "PDSignature";
     }
-}
\ No newline at end of file
+}

Propchange: incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDSignature.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDTextbox.java
URL: http://svn.apache.org/viewvc/incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDTextbox.java?rev=682665&r1=682664&r2=682665&view=diff
==============================================================================
--- incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDTextbox.java (original)
+++ incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDTextbox.java Tue Aug  5 03:51:13 2008
@@ -1,18 +1,18 @@
 /*
- * 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.
+ * 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.
  */
 package org.pdfbox.pdmodel.interactive.form;
 
@@ -26,10 +26,10 @@
  */
 public class PDTextbox extends PDVariableText
 {
-    
+
     /**
      * @see PDField#PDField(PDAcroForm,COSDictionary)
-     * 
+     *
      * @param theAcroForm The acroform.
      */
     public PDTextbox( PDAcroForm theAcroForm )
@@ -47,4 +47,4 @@
     {
         super( theAcroForm, field);
     }
-}
\ No newline at end of file
+}

Propchange: incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDTextbox.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDUnknownField.java
URL: http://svn.apache.org/viewvc/incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDUnknownField.java?rev=682665&r1=682664&r2=682665&view=diff
==============================================================================
--- incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDUnknownField.java (original)
+++ incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDUnknownField.java Tue Aug  5 03:51:13 2008
@@ -1,18 +1,18 @@
 /*
- * 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.
+ * 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.
  */
 package org.pdfbox.pdmodel.interactive.form;
 
@@ -38,7 +38,7 @@
     {
         super( theAcroForm, field);
     }
-    
+
     /**
      * {@inheritDoc}
      */
@@ -46,7 +46,7 @@
     {
         //do nothing
     }
-    
+
     /**
      * {@inheritDoc}
      */

Propchange: incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDUnknownField.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDVariableText.java
URL: http://svn.apache.org/viewvc/incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDVariableText.java?rev=682665&r1=682664&r2=682665&view=diff
==============================================================================
--- incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDVariableText.java (original)
+++ incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDVariableText.java Tue Aug  5 03:51:13 2008
@@ -1,18 +1,18 @@
 /*
- * 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.
+ * 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.
  */
 package org.pdfbox.pdmodel.interactive.form;
 
@@ -61,8 +61,8 @@
      * A Ff flag.
      */
     public static final int FLAG_RICH_TEXT = 1 << 25;
-    
-    
+
+
     /**
      * DA    Default appearance.
      */
@@ -88,14 +88,14 @@
 
     /**
      * @see PDField#PDField(PDAcroForm,COSDictionary)
-     * 
+     *
      * @param theAcroForm The acroform.
      */
     public PDVariableText( PDAcroForm theAcroForm )
     {
         super( theAcroForm );
     }
-    
+
     /**
      * @see org.pdfbox.pdmodel.interactive.form.PDField#PDField(PDAcroForm,COSDictionary)
      *
@@ -130,7 +130,7 @@
         }
         appearance.setAppearanceValue(value);
     }
-    
+
     /**
      * getValue gets the fields value to as a string.
      *
@@ -150,17 +150,17 @@
     {
         return BitFlagHelper.getFlag( getDictionary(), "Ff", FLAG_MULTILINE );
     }
-    
+
     /**
      * Set the multiline bit.
-     * 
+     *
      * @param multiline The value for the multiline.
      */
     public void setMultiline( boolean multiline )
     {
         BitFlagHelper.setFlag( getDictionary(), "Ff", FLAG_MULTILINE, multiline );
     }
-    
+
     /**
      * @return true if the field is a password field.
      */
@@ -168,17 +168,17 @@
     {
         return BitFlagHelper.getFlag( getDictionary(), "Ff", FLAG_PASSWORD );
     }
-    
+
     /**
      * Set the password bit.
-     * 
+     *
      * @param password The value for the password.
      */
     public void setPassword( boolean password )
     {
         BitFlagHelper.setFlag( getDictionary(), "Ff", FLAG_PASSWORD, password );
     }
-    
+
     /**
      * @return true if the field is a file select field.
      */
@@ -186,17 +186,17 @@
     {
         return BitFlagHelper.getFlag( getDictionary(), "Ff", FLAG_FILE_SELECT );
     }
-    
+
     /**
      * Set the file select bit.
-     * 
+     *
      * @param fileSelect The value for the fileSelect.
      */
     public void setFileSelect( boolean fileSelect )
     {
         BitFlagHelper.setFlag( getDictionary(), "Ff", FLAG_FILE_SELECT, fileSelect );
     }
-    
+
     /**
      * @return true if the field is not suppose to spell check.
      */
@@ -204,17 +204,17 @@
     {
         return BitFlagHelper.getFlag( getDictionary(), "Ff", FLAG_DO_NOT_SPELL_CHECK );
     }
-    
+
     /**
      * Set the doNotSpellCheck bit.
-     * 
+     *
      * @param doNotSpellCheck The value for the doNotSpellCheck.
      */
     public void setDoNotSpellCheck( boolean doNotSpellCheck )
     {
         BitFlagHelper.setFlag( getDictionary(), "Ff", FLAG_DO_NOT_SPELL_CHECK, doNotSpellCheck );
     }
-    
+
     /**
      * @return true if the field is not suppose to scroll.
      */
@@ -222,17 +222,17 @@
     {
         return BitFlagHelper.getFlag( getDictionary(), "Ff", FLAG_DO_NOT_SCROLL );
     }
-    
+
     /**
      * Set the doNotScroll bit.
-     * 
+     *
      * @param doNotScroll The value for the doNotScroll.
      */
     public void setDoNotScroll( boolean doNotScroll )
     {
         BitFlagHelper.setFlag( getDictionary(), "Ff", FLAG_DO_NOT_SCROLL, doNotScroll );
     }
-    
+
     /**
      * @return true if the field is not suppose to comb the text display.
      */
@@ -240,17 +240,17 @@
     {
         return BitFlagHelper.getFlag( getDictionary(), "Ff", FLAG_COMB );
     }
-    
+
     /**
      * Set the comb bit.
-     * 
+     *
      * @param comb The value for the comb.
      */
     public void setComb( boolean comb )
     {
         BitFlagHelper.setFlag( getDictionary(), "Ff", FLAG_COMB, comb );
     }
-    
+
     /**
      * @return true if the field is a rich text field.
      */
@@ -258,10 +258,10 @@
     {
         return BitFlagHelper.getFlag( getDictionary(), "Ff", FLAG_RICH_TEXT );
     }
-    
+
     /**
      * Set the richText bit.
-     * 
+     *
      * @param richText The value for the richText.
      */
     public void setRichText( boolean richText )
@@ -307,4 +307,4 @@
         getDictionary().setItem( COSName.getPDFName( "Q" ), new COSInteger( q ) );
     }
 
-}
\ No newline at end of file
+}

Propchange: incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDVariableText.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDXFA.java
URL: http://svn.apache.org/viewvc/incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDXFA.java?rev=682665&r1=682664&r2=682665&view=diff
==============================================================================
--- incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDXFA.java (original)
+++ incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDXFA.java Tue Aug  5 03:51:13 2008
@@ -1,18 +1,18 @@
 /*
- * 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.
+ * 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.
  */
 package org.pdfbox.pdmodel.interactive.form;
 
@@ -38,7 +38,7 @@
     {
         xfa = xfaBase;
     }
-    
+
     /**
      * {@inheritDoc}
      */
@@ -46,4 +46,4 @@
     {
         return xfa;
     }
-}
\ No newline at end of file
+}

Propchange: incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/form/PDXFA.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/pagenavigation/PDThread.java
URL: http://svn.apache.org/viewvc/incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/pagenavigation/PDThread.java?rev=682665&r1=682664&r2=682665&view=diff
==============================================================================
--- incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/pagenavigation/PDThread.java (original)
+++ incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/pagenavigation/PDThread.java Tue Aug  5 03:51:13 2008
@@ -1,18 +1,18 @@
 /*
- * 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.
+ * 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.
  */
 package org.pdfbox.pdmodel.interactive.pagenavigation;
 
@@ -30,8 +30,8 @@
  */
 public class PDThread implements COSObjectable
 {
-    
-    
+
+
     private COSDictionary thread;
 
     /**
@@ -43,7 +43,7 @@
     {
         thread = t;
     }
-    
+
     /**
      * Default constructor.
      *
@@ -63,7 +63,7 @@
     {
         return thread;
     }
-    
+
     /**
      * Convert this standard java object to a COS object.
      *
@@ -73,10 +73,10 @@
     {
         return thread;
     }
-    
+
     /**
      * Get info about the thread, or null if there is nothing.
-     * 
+     *
      * @return The thread information.
      */
     public PDDocumentInformation getThreadInfo()
@@ -87,24 +87,24 @@
         {
             retval = new PDDocumentInformation( info );
         }
-        
+
         return retval;
     }
-    
+
     /**
      * Set the thread info, can be null.
-     * 
+     *
      * @param info The info dictionary about this thread.
      */
     public void setThreadInfo( PDDocumentInformation info )
     {
         thread.setItem( "I", info );
     }
-    
+
     /**
      * Get the first bead in the thread, or null if it has not been set yet.  This
      * is a required field for this object.
-     * 
+     *
      * @return The first bead in the thread.
      */
     public PDThreadBead getFirstBead()
@@ -115,14 +115,14 @@
         {
             retval = new PDThreadBead( bead );
         }
-        
+
         return retval;
     }
-    
+
     /**
      * This will set the first bead in the thread.  When this is set it will
-     * also set the thread property of the bead object.  
-     * 
+     * also set the thread property of the bead object.
+     *
      * @param bead The first bead in the thread.
      */
     public void setFirstBead( PDThreadBead bead )
@@ -133,6 +133,6 @@
         }
         thread.setItem( "F", bead );
     }
-    
-    
-}
\ No newline at end of file
+
+
+}

Propchange: incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/pagenavigation/PDThread.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/pagenavigation/PDThreadBead.java
URL: http://svn.apache.org/viewvc/incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/pagenavigation/PDThreadBead.java?rev=682665&r1=682664&r2=682665&view=diff
==============================================================================
--- incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/pagenavigation/PDThreadBead.java (original)
+++ incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/pagenavigation/PDThreadBead.java Tue Aug  5 03:51:13 2008
@@ -1,18 +1,18 @@
 /*
- * 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.
+ * 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.
  */
 package org.pdfbox.pdmodel.interactive.pagenavigation;
 
@@ -33,8 +33,8 @@
  */
 public class PDThreadBead implements COSObjectable
 {
-    
-    
+
+
     private COSDictionary bead;
 
     /**
@@ -46,10 +46,10 @@
     {
         bead = b;
     }
-    
+
     /**
      * Default constructor.
-     * 
+     *
      */
     public PDThreadBead()
     {
@@ -68,7 +68,7 @@
     {
         return bead;
     }
-    
+
     /**
      * Convert this standard java object to a COS object.
      *
@@ -78,11 +78,11 @@
     {
         return bead;
     }
-    
+
     /**
      * This will get the thread that this bead is part of.  This is only required
      * for the first bead in a thread, so other beads 'may' return null.
-     * 
+     *
      * @return The thread that this bead is part of.
      */
     public PDThread getThread()
@@ -95,64 +95,64 @@
         }
         return retval;
     }
-    
+
     /**
      * Set the thread that this bead is part of.  This is only required for the
      * first bead in a thread.  Note: This property is set for you by the PDThread.setFirstBead() method.
-     * 
+     *
      * @param thread The thread that this bead is part of.
      */
     public void setThread( PDThread thread )
     {
         bead.setItem( "T", thread );
     }
-    
+
     /**
      * This will get the next bead.  If this bead is the last bead in the list then this
-     * will return the first bead. 
-     * 
+     * will return the first bead.
+     *
      * @return The next bead in the list or the first bead if this is the last bead.
      */
     public PDThreadBead getNextBead()
     {
         return new PDThreadBead( (COSDictionary) bead.getDictionaryObject( "N" ) );
     }
-    
+
     /**
      * Set the next bead in the thread.
-     * 
+     *
      * @param next The next bead.
      */
     protected void setNextBead( PDThreadBead next )
     {
         bead.setItem( "N", next );
     }
-    
+
     /**
      * This will get the previous bead.  If this bead is the first bead in the list then this
-     * will return the last bead. 
-     * 
+     * will return the last bead.
+     *
      * @return The previous bead in the list or the last bead if this is the first bead.
      */
     public PDThreadBead getPreviousBead()
     {
         return new PDThreadBead( (COSDictionary) bead.getDictionaryObject( "V" ) );
     }
-    
+
     /**
      * Set the previous bead in the thread.
-     * 
+     *
      * @param previous The previous bead.
      */
     protected void setPreviousBead( PDThreadBead previous )
     {
         bead.setItem( "V", previous );
     }
-    
+
     /**
      * Append a bead after this bead.  This will correctly set the next/previous beads in the
      * linked list.
-     * 
+     *
      * @param append The bead to insert.
      */
     public void appendBead( PDThreadBead append )
@@ -163,10 +163,10 @@
         setNextBead( append );
         append.setPreviousBead( this );
     }
-    
+
     /**
      * Get the page that this bead is part of.
-     * 
+     *
      * @return The page that this bead is part of.
      */
     public PDPage getPage()
@@ -179,22 +179,22 @@
         }
         return page;
     }
-    
+
     /**
      * Set the page that this bead is part of.  This is a required property and must be
      * set when creating a new bead.  The PDPage object also has a list of beads in the natural
      * reading order.  It is recommended that you add this object to that list as well.
-     * 
+     *
      * @param page The page that this bead is on.
      */
     public void setPage( PDPage page )
     {
         bead.setItem( "P", page );
     }
-    
+
     /**
      * The rectangle on the page that this bead is part of.
-     * 
+     *
      * @return The part of the page that this bead covers.
      */
     public PDRectangle getRectangle()
@@ -207,14 +207,14 @@
         }
         return rect;
     }
-    
+
     /**
      * Set the rectangle on the page that this bead covers.
-     * 
+     *
      * @param rect The portion of the page that this bead covers.
      */
     public void setRectangle( PDRectangle rect )
     {
         bead.setItem( COSName.R, rect );
     }
-}
\ No newline at end of file
+}

Propchange: incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/pagenavigation/PDThreadBead.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/viewerpreferences/PDViewerPreferences.java
URL: http://svn.apache.org/viewvc/incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/viewerpreferences/PDViewerPreferences.java?rev=682665&r1=682664&r2=682665&view=diff
==============================================================================
--- incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/viewerpreferences/PDViewerPreferences.java (original)
+++ incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/viewerpreferences/PDViewerPreferences.java Tue Aug  5 03:51:13 2008
@@ -1,18 +1,18 @@
 /*
- * 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.
+ * 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.
  */
 package org.pdfbox.pdmodel.interactive.viewerpreferences;
 
@@ -45,7 +45,7 @@
      * From PDF Reference: "Optional content group panel visible".
      */
     public static final String NON_FULL_SCREEN_PAGE_MODE_USE_OPTIONAL_CONTENT = "UseOC";
-    
+
     /**
      * Reading direction.
      */
@@ -54,7 +54,7 @@
      * Reading direction.
      */
     public static final String READING_DIRECTION_R2L = "R2L";
-    
+
     /**
      * Boundary constant.
      */
@@ -75,8 +75,8 @@
      * Boundary constant.
      */
     public static final String BOUNDARY_ART_BOX = "ArtBox";
-    
-    
+
+
     private COSDictionary prefs;
 
     /**
@@ -98,7 +98,7 @@
     {
         return prefs;
     }
-    
+
     /**
      * Convert this standard java object to a COS object.
      *
@@ -108,244 +108,244 @@
     {
         return prefs;
     }
-    
+
     /**
      * Get the toolbar preference.
-     * 
+     *
      * @return the toolbar preference.
      */
     public boolean hideToolbar()
     {
         return prefs.getBoolean( "HideToolbar", false );
     }
-    
+
     /**
      * Set the toolbar preference.
-     * 
+     *
      * @param value Set the toolbar preference.
      */
     public void setHideToolbar( boolean value )
     {
         prefs.setBoolean( "HideToolbar", value );
     }
-    
+
     /**
      * Get the menubar preference.
-     * 
+     *
      * @return the menubar preference.
      */
     public boolean hideMenubar()
     {
         return prefs.getBoolean( "HideMenubar", false );
     }
-    
+
     /**
      * Set the menubar preference.
-     * 
+     *
      * @param value Set the menubar preference.
      */
     public void setHideMenubar( boolean value )
     {
         prefs.setBoolean( "HideMenubar", value );
     }
-    
+
     /**
      * Get the window UI preference.
-     * 
+     *
      * @return the window UI preference.
      */
     public boolean hideWindowUI()
     {
         return prefs.getBoolean( "HideWindowUI", false );
     }
-    
+
     /**
      * Set the window UI preference.
-     * 
+     *
      * @param value Set the window UI preference.
      */
     public void setHideWindowUI( boolean value )
     {
         prefs.setBoolean( "HideWindowUI", value );
-    }    
-    
+    }
+
     /**
      * Get the fit window preference.
-     * 
+     *
      * @return the fit window preference.
      */
     public boolean fitWindow()
     {
         return prefs.getBoolean( "FitWindow", false );
     }
-    
+
     /**
      * Set the fit window preference.
-     * 
+     *
      * @param value Set the fit window preference.
      */
     public void setFitWindow( boolean value )
     {
         prefs.setBoolean( "FitWindow", value );
     }
-    
+
     /**
      * Get the center window preference.
-     * 
+     *
      * @return the center window preference.
      */
     public boolean centerWindow()
     {
         return prefs.getBoolean( "CenterWindow", false );
     }
-    
+
     /**
      * Set the center window preference.
-     * 
+     *
      * @param value Set the center window preference.
      */
     public void setCenterWindow( boolean value )
     {
         prefs.setBoolean( "CenterWindow", value );
     }
-    
+
     /**
      * Get the display doc title preference.
-     * 
+     *
      * @return the display doc title preference.
      */
     public boolean displayDocTitle()
     {
         return prefs.getBoolean( "DisplayDocTitle", false );
     }
-    
+
     /**
      * Set the display doc title preference.
-     * 
+     *
      * @param value Set the display doc title preference.
      */
     public void setDisplayDocTitle( boolean value )
     {
         prefs.setBoolean( "DisplayDocTitle", value );
     }
-    
+
     /**
      * Get the non full screen page mode preference.
-     * 
+     *
      * @return the non full screen page mode preference.
      */
     public String getNonFullScreenPageMode()
     {
         return prefs.getNameAsString( "NonFullScreenPageMode", NON_FULL_SCREEN_PAGE_MODE_USE_NONE);
     }
-    
+
     /**
      * Set the non full screen page mode preference.
-     * 
+     *
      * @param value Set the non full screen page mode preference.
      */
     public void setNonFullScreenPageMode( String value )
     {
         prefs.setName( "NonFullScreenPageMode", value );
     }
-    
+
     /**
      * Get the reading direction preference.
-     * 
+     *
      * @return the reading direction preference.
      */
     public String getReadingDirection()
     {
         return prefs.getNameAsString( "Direction", READING_DIRECTION_L2R);
     }
-    
+
     /**
      * Set the reading direction preference.
-     * 
+     *
      * @param value Set the reading direction preference.
      */
     public void setReadingDirection( String value )
     {
         prefs.setName( "Direction", value );
     }
-    
+
     /**
      * Get the ViewArea preference.  See BOUNDARY_XXX constants.
-     * 
+     *
      * @return the ViewArea preference.
      */
     public String getViewArea()
     {
         return prefs.getNameAsString( "ViewArea", BOUNDARY_CROP_BOX);
     }
-    
+
     /**
      * Set the ViewArea preference.  See BOUNDARY_XXX constants.
-     * 
+     *
      * @param value Set the ViewArea preference.
      */
     public void setViewArea( String value )
     {
         prefs.setName( "ViewArea", value );
-    }   
-    
+    }
+
     /**
      * Get the ViewClip preference.  See BOUNDARY_XXX constants.
-     * 
+     *
      * @return the ViewClip preference.
      */
     public String getViewClip()
     {
         return prefs.getNameAsString( "ViewClip", BOUNDARY_CROP_BOX);
     }
-    
+
     /**
      * Set the ViewClip preference.  See BOUNDARY_XXX constants.
-     * 
+     *
      * @param value Set the ViewClip preference.
      */
     public void setViewClip( String value )
     {
         prefs.setName( "ViewClip", value );
     }
-    
+
     /**
      * Get the PrintArea preference.  See BOUNDARY_XXX constants.
-     * 
+     *
      * @return the PrintArea preference.
      */
     public String getPrintArea()
     {
         return prefs.getNameAsString( "PrintArea", BOUNDARY_CROP_BOX);
     }
-    
+
     /**
      * Set the PrintArea preference.  See BOUNDARY_XXX constants.
-     * 
+     *
      * @param value Set the PrintArea preference.
      */
     public void setPrintArea( String value )
     {
         prefs.setName( "PrintArea", value );
-    }   
-    
+    }
+
     /**
      * Get the PrintClip preference.  See BOUNDARY_XXX constants.
-     * 
+     *
      * @return the PrintClip preference.
      */
     public String getPrintClip()
     {
         return prefs.getNameAsString( "PrintClip", BOUNDARY_CROP_BOX);
     }
-    
+
     /**
      * Set the PrintClip preference.  See BOUNDARY_XXX constants.
-     * 
+     *
      * @param value Set the PrintClip preference.
      */
     public void setPrintClip( String value )
     {
         prefs.setName( "PrintClip", value );
-    }  
-}
\ No newline at end of file
+    }
+}

Propchange: incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/interactive/viewerpreferences/PDViewerPreferences.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/text/PDTextState.java
URL: http://svn.apache.org/viewvc/incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/text/PDTextState.java?rev=682665&r1=682664&r2=682665&view=diff
==============================================================================
--- incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/text/PDTextState.java (original)
+++ incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/text/PDTextState.java Tue Aug  5 03:51:13 2008
@@ -1,18 +1,18 @@
 /*
- * 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.
+ * 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.
  */
 package org.pdfbox.pdmodel.text;
 
@@ -269,4 +269,4 @@
         }
         return null;
     }
-}
\ No newline at end of file
+}

Propchange: incubator/pdfbox/trunk/src/org/pdfbox/pdmodel/text/PDTextState.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/pdfbox/trunk/src/org/pdfbox/persistence/util/COSHEXTable.java
URL: http://svn.apache.org/viewvc/incubator/pdfbox/trunk/src/org/pdfbox/persistence/util/COSHEXTable.java?rev=682665&r1=682664&r2=682665&view=diff
==============================================================================
--- incubator/pdfbox/trunk/src/org/pdfbox/persistence/util/COSHEXTable.java (original)
+++ incubator/pdfbox/trunk/src/org/pdfbox/persistence/util/COSHEXTable.java Tue Aug  5 03:51:13 2008
@@ -1,18 +1,18 @@
 /*
- * 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.
+ * 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.
  */
 package org.pdfbox.persistence.util;
 
@@ -290,7 +290,7 @@
     /**
      * ASCII byte values for the hex strings.
      */
-    public static final String[] HEX_TABLE = 
+    public static final String[] HEX_TABLE =
         {
             "00",
             "01",
@@ -549,4 +549,4 @@
             "FE",
             "FF"
             };
-}
\ No newline at end of file
+}

Propchange: incubator/pdfbox/trunk/src/org/pdfbox/persistence/util/COSHEXTable.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/pdfbox/trunk/src/org/pdfbox/persistence/util/COSObjectKey.java
URL: http://svn.apache.org/viewvc/incubator/pdfbox/trunk/src/org/pdfbox/persistence/util/COSObjectKey.java?rev=682665&r1=682664&r2=682665&view=diff
==============================================================================
--- incubator/pdfbox/trunk/src/org/pdfbox/persistence/util/COSObjectKey.java (original)
+++ incubator/pdfbox/trunk/src/org/pdfbox/persistence/util/COSObjectKey.java Tue Aug  5 03:51:13 2008
@@ -1,18 +1,18 @@
 /*
- * 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.
+ * 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.
  */
 package org.pdfbox.persistence.util;
 
@@ -38,7 +38,7 @@
     {
         this( object.getObjectNumber().longValue(), object.getGenerationNumber().longValue() );
     }
-    
+
     /**
      * PDFObjectKey constructor comment.
      *
@@ -113,4 +113,4 @@
     {
         return "" + getNumber() + " " + getGeneration() + " R";
     }
-}
\ No newline at end of file
+}

Propchange: incubator/pdfbox/trunk/src/org/pdfbox/persistence/util/COSObjectKey.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/pdfbox/trunk/src/org/pdfbox/searchengine/lucene/IndexFiles.java
URL: http://svn.apache.org/viewvc/incubator/pdfbox/trunk/src/org/pdfbox/searchengine/lucene/IndexFiles.java?rev=682665&r1=682664&r2=682665&view=diff
==============================================================================
--- incubator/pdfbox/trunk/src/org/pdfbox/searchengine/lucene/IndexFiles.java (original)
+++ incubator/pdfbox/trunk/src/org/pdfbox/searchengine/lucene/IndexFiles.java Tue Aug  5 03:51:13 2008
@@ -1,18 +1,18 @@
 /*
- * 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.
+ * 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.
  */
 package org.pdfbox.searchengine.lucene;
 
@@ -320,4 +320,4 @@
             writer.addDocument(doc);
         }
     }
-}
\ No newline at end of file
+}

Propchange: incubator/pdfbox/trunk/src/org/pdfbox/searchengine/lucene/IndexFiles.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/pdfbox/trunk/src/org/pdfbox/searchengine/lucene/LucenePDFDocument.java
URL: http://svn.apache.org/viewvc/incubator/pdfbox/trunk/src/org/pdfbox/searchengine/lucene/LucenePDFDocument.java?rev=682665&r1=682664&r2=682665&view=diff
==============================================================================
--- incubator/pdfbox/trunk/src/org/pdfbox/searchengine/lucene/LucenePDFDocument.java (original)
+++ incubator/pdfbox/trunk/src/org/pdfbox/searchengine/lucene/LucenePDFDocument.java Tue Aug  5 03:51:13 2008
@@ -1,18 +1,18 @@
 /*
- * 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.
+ * 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.
  */
 package org.pdfbox.searchengine.lucene;
 
@@ -115,46 +115,46 @@
     // given caveat of increased search times when using
     //MICROSECOND, only use SECOND by default
     private DateTools.Resolution dateTimeResolution = DateTools.Resolution.SECOND;
-    
+
     private PDFTextStripper stripper = null;
-    
+
     /**
      * Constructor.
      */
     public LucenePDFDocument()
     {
     }
-    
+
     /**
      * Set the text stripper that will be used during extraction.
-     * 
+     *
      * @param aStripper The new pdf text stripper.
      */
     public void setTextStripper( PDFTextStripper aStripper )
     {
         stripper = aStripper;
     }
-    
+
     /**
      * Get the Lucene data time resolution.
-     * 
+     *
      * @return current date/time resolution
      */
     public DateTools.Resolution getDateTimeResolution()
     {
         return dateTimeResolution;
     }
-    
+
     /**
      * Set the Lucene data time resolution.
-     * 
+     *
      * @param resolution set new date/time resolution
      */
     public void setDateTimeResolution( DateTools.Resolution resolution )
     {
         dateTimeResolution = resolution;
     }
-    
+
     //
     // compatibility methods for lucene-1.9+
     //
@@ -162,66 +162,66 @@
     {
         return DateTools.timeToString( time, dateTimeResolution );
     }
-    
+
     private void addKeywordField( Document document, String name, String value )
     {
-        if ( value != null ) 
+        if ( value != null )
         {
             document.add( new Field( name, value, Field.Store.YES, Field.Index.UN_TOKENIZED ) );
         }
     }
-    
+
     private void addTextField( Document document, String name, Reader value )
     {
-        if ( value != null ) 
+        if ( value != null )
         {
             document.add( new Field( name, value ) );
         }
     }
-    
+
     private void addTextField( Document document, String name, String value )
     {
-        if ( value != null ) 
+        if ( value != null )
         {
             document.add( new Field( name, value, Field.Store.YES, Field.Index.TOKENIZED ) );
         }
     }
-    
+
     private void addTextField( Document document, String name, Date value )
     {
-        if ( value != null ) 
+        if ( value != null )
         {
             addTextField( document, name, DateTools.dateToString( value, dateTimeResolution ) );
         }
     }
-    
+
     private void addTextField( Document document, String name, Calendar value )
     {
-        if ( value != null ) 
+        if ( value != null )
         {
             addTextField( document, name, value.getTime() );
         }
     }
-    
+
     private static void addUnindexedField( Document document, String name, String value )
     {
-        if ( value != null ) 
+        if ( value != null )
         {
             document.add( new Field( name, value, Field.Store.YES, Field.Index.NO ) );
         }
     }
-    
+
     private void addUnstoredKeywordField( Document document, String name, String value )
     {
-        if ( value != null ) 
+        if ( value != null )
         {
             document.add( new Field( name, value, Field.Store.NO, Field.Index.UN_TOKENIZED ) );
         }
     }
-    
+
     /**
      * Convert the PDF stream to a lucene document.
-     * 
+     *
      * @param is The input stream.
      * @return The input stream converted to a lucene document.
      * @throws IOException If there is an error converting the PDF.
@@ -231,15 +231,15 @@
         Document document = new Document();
         addContent( document, is, "<inputstream>" );
         return document;
-        
+
     }
-    
+
     /**
      * This will take a reference to a PDF document and create a lucene document.
-     * 
+     *
      * @param file A reference to a PDF document.
      * @return The converted lucene document.
-     * 
+     *
      * @throws IOException If there is an exception while converting the document.
      */
     public Document convertDocument( File file ) throws IOException
@@ -257,7 +257,7 @@
         addKeywordField( document, "modified", timeToString( file.lastModified() ) );
 
         String uid = file.getPath().replace(FILE_SEPARATOR,'\u0000')
-                     + "\u0000" 
+                     + "\u0000"
                      + timeToString( file.lastModified() );
 
         // Add the uid as a field, so that index can be incrementally maintained.
@@ -284,10 +284,10 @@
 
         return document;
     }
-    
+
     /**
      * Convert the document from a PDF to a lucene document.
-     * 
+     *
      * @param url A url to a PDF document.
      * @return The PDF converted to a lucene document.
      * @throws IOException If there is an error while converting the document.
@@ -307,7 +307,7 @@
         addKeywordField( document, "modified", timeToString(connection.getLastModified() ) );
 
         String uid = url.toExternalForm().replace(FILE_SEPARATOR, '\u0000')
-                     + "\u0000" 
+                     + "\u0000"
                      + timeToString( connection.getLastModified() );
 
         // Add the uid as a field, so that index can be incrementally maintained.
@@ -332,7 +332,7 @@
         // return the document
         return document;
     }
-    
+
     /**
      * This will get a lucene document from a PDF file.
      *
@@ -425,7 +425,7 @@
             addTextField( document, "contents", reader );
 
             PDDocumentInformation info = pdfDocument.getDocumentInformation();
-            if( info != null ) 
+            if( info != null )
             {
                 addTextField( document, "Author", info.getAuthor() );
                 try
@@ -464,8 +464,8 @@
         catch( InvalidPasswordException e )
         {
             //they didn't suppply a password and the default of "" was wrong.
-            throw new IOException( 
-                "Error: The document(" + documentLocation + 
+            throw new IOException(
+                "Error: The document(" + documentLocation +
                 ") is encrypted and will not be indexed." );
         }
         finally

Propchange: incubator/pdfbox/trunk/src/org/pdfbox/searchengine/lucene/LucenePDFDocument.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/pdfbox/trunk/src/org/pdfbox/util/BitFlagHelper.java
URL: http://svn.apache.org/viewvc/incubator/pdfbox/trunk/src/org/pdfbox/util/BitFlagHelper.java?rev=682665&r1=682664&r2=682665&view=diff
==============================================================================
--- incubator/pdfbox/trunk/src/org/pdfbox/util/BitFlagHelper.java (original)
+++ incubator/pdfbox/trunk/src/org/pdfbox/util/BitFlagHelper.java Tue Aug  5 03:51:13 2008
@@ -1,18 +1,18 @@
 /*
- * 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.
+ * 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.
  */
 package org.pdfbox.util;
 
@@ -30,7 +30,7 @@
     {
         //helper class should not be constructed
     }
-    
+
     /**
      * Sets the given boolean value at bitPos in the flags.
      *
@@ -52,15 +52,15 @@
         }
         dic.setInt( field, currentFlags );
     }
-    
+
     /**
      * Gets the boolean value from the flags at the given bit
      * position.
-     * 
+     *
      * @param dic The dictionary to get the field from.
      * @param field The name of the field to get the flag from.
      * @param bitFlag the bitPosition to get the value from.
-     * 
+     *
      * @return true if the number at bitPos is '1'
      */
     public static final boolean getFlag(COSDictionary dic, String field, int bitFlag)
@@ -68,4 +68,4 @@
         int ff = dic.getInt( field, 0 );
         return (ff & bitFlag) == bitFlag;
     }
-}
\ No newline at end of file
+}

Propchange: incubator/pdfbox/trunk/src/org/pdfbox/util/BitFlagHelper.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/pdfbox/trunk/src/org/pdfbox/util/DateConverter.java
URL: http://svn.apache.org/viewvc/incubator/pdfbox/trunk/src/org/pdfbox/util/DateConverter.java?rev=682665&r1=682664&r2=682665&view=diff
==============================================================================
--- incubator/pdfbox/trunk/src/org/pdfbox/util/DateConverter.java (original)
+++ incubator/pdfbox/trunk/src/org/pdfbox/util/DateConverter.java Tue Aug  5 03:51:13 2008
@@ -1,18 +1,18 @@
 /*
- * 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.
+ * 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.
  */
 package org.pdfbox.util;
 
@@ -39,16 +39,16 @@
 public class DateConverter
 {
     private static final SimpleDateFormat PDF_DATE_FORMAT = new SimpleDateFormat( "yyyyMMddHHmmss" );
-    
+
     //The Date format is supposed to be the PDF_DATE_FORMAT, but not all PDF documents
     //will use that date, so I have added a couple other potential formats
     //to try if the original one does not work.
-    private static final SimpleDateFormat[] POTENTIAL_FORMATS = new SimpleDateFormat[] { 
+    private static final SimpleDateFormat[] POTENTIAL_FORMATS = new SimpleDateFormat[] {
         new SimpleDateFormat("EEEE, dd MMM yyyy hh:mm:ss a"),
         new SimpleDateFormat("EEEE, MMM dd, yyyy hh:mm:ss a"),
         new SimpleDateFormat("MM/dd/yyyy hh:mm:ss"),
         new SimpleDateFormat("MM/dd/yyyy")};
-    
+
     private DateConverter()
     {
         //utility class should not be constructed.
@@ -72,7 +72,7 @@
             long hours = Math.abs( offsetInMinutes/60 );
             long minutes = Math.abs( offsetInMinutes%60 );
             buffer.append( "D:" );
-            buffer.append( PDF_DATE_FORMAT.format( date.getTime() ) ); 
+            buffer.append( PDF_DATE_FORMAT.format( date.getTime() ) );
             if( offsetInMinutes == 0 )
             {
                 buffer.append( "Z" );
@@ -98,11 +98,11 @@
             buffer.append( minutes );
             buffer.append( "'" );
             retval = buffer.toString();
-            
+
         }
         return retval;
     }
-    
+
     /**
      * This will convert a string to a calendar.
      *
@@ -119,7 +119,7 @@
         {
             retval = toCalendar( date.getString() );
         }
-        
+
         return retval;
     }
 
@@ -177,7 +177,7 @@
                 {
                     second = Integer.parseInt( date.substring( 12, 14 ) );
                 }
-                
+
                 if( date.length() >= 15 )
                 {
                     char sign = date.charAt( 14 );
@@ -210,13 +210,13 @@
                 }
                 if( zone != null )
                 {
-                    retval = new GregorianCalendar( zone );                    
+                    retval = new GregorianCalendar( zone );
                 }
                 else
                 {
                     retval = new GregorianCalendar();
                 }
-                
+
                 retval.set(year, month-1, day, hour, minute, second );
             }
             catch( NumberFormatException e )
@@ -225,7 +225,7 @@
                 {
                     try
                     {
-                        Date utilDate = POTENTIAL_FORMATS[i].parse( date ); 
+                        Date utilDate = POTENTIAL_FORMATS[i].parse( date );
                         retval = new GregorianCalendar();
                         retval.setTime( utilDate );
                     }
@@ -243,7 +243,7 @@
         }
         return retval;
     }
-    
+
     private static final void zeroAppend( StringBuffer out, int number )
     {
         if( number < 10 )
@@ -252,17 +252,17 @@
         }
         out.append( number );
     }
-    
+
     /**
      * Convert the date to iso 8601 string format.
-     * 
+     *
      * @param cal The date to convert.
      * @return The date represented as an ISO 8601 string.
      */
     public static String toISO8601( Calendar cal )
     {
         StringBuffer retval = new StringBuffer();
-        
+
         retval.append( cal.get( Calendar.YEAR ) );
         retval.append( "-" );
         zeroAppend( retval, cal.get( Calendar.MONTH )+1 );
@@ -274,7 +274,7 @@
         zeroAppend( retval, cal.get( Calendar.MINUTE ));
         retval.append( ":" );
         zeroAppend( retval, cal.get( Calendar.SECOND ));
-        
+
         int timeZone = cal.get( Calendar.ZONE_OFFSET ) + cal.get(Calendar.DST_OFFSET );
         if( timeZone < 0 )
         {
@@ -299,7 +299,7 @@
             retval.append( "0" );
         }
         retval.append( Integer.toString( minutes ) );
-        
+
         return retval.toString();
     }
-}
\ No newline at end of file
+}

Propchange: incubator/pdfbox/trunk/src/org/pdfbox/util/DateConverter.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/pdfbox/trunk/src/org/pdfbox/util/ErrorLogger.java
URL: http://svn.apache.org/viewvc/incubator/pdfbox/trunk/src/org/pdfbox/util/ErrorLogger.java?rev=682665&r1=682664&r2=682665&view=diff
==============================================================================
--- incubator/pdfbox/trunk/src/org/pdfbox/util/ErrorLogger.java (original)
+++ incubator/pdfbox/trunk/src/org/pdfbox/util/ErrorLogger.java Tue Aug  5 03:51:13 2008
@@ -1,28 +1,28 @@
 /*
- * 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.
+ * 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.
  */
 package org.pdfbox.util;
 
 /**
  * This class deals with some logging that is not handled by the log4j replacement.
- * 
+ *
  * @author <a href="mailto:ben@benlitchfield.com">Ben Litchfield</a>
  * @version $Revision: 1.3 $
  */
-public class ErrorLogger 
+public class ErrorLogger
 {
     /**
      * Utility class, should not be instantiated.
@@ -31,22 +31,22 @@
     private ErrorLogger()
     {
     }
-    
+
     /**
      * Log an error message.  This is only used for log4j replacement and
-     * should never be used when writing code. 
-     * 
+     * should never be used when writing code.
+     *
      * @param errorMessage The error message.
      */
     public static void log( String errorMessage )
     {
         System.err.println( errorMessage );
     }
-    
+
     /**
      * Log an error message.  This is only used for log4j replacement and
      * should never be used when writing code.
-     * 
+     *
      * @param errorMessage The error message.
      * @param t The exception.
      */

Propchange: incubator/pdfbox/trunk/src/org/pdfbox/util/ErrorLogger.java
------------------------------------------------------------------------------
    svn:eol-style = native