Author: regina Date: Thu Jun 11 21:24:16 2015 New Revision: 1684976 URL: http://svn.apache.org/r1684976 Log: Add missing ASF license Headers to files in folder ooxml Patch by: Gavin McDonald<gmcdon...@apache.org> read thread [RAT REPORT] starting 2015-05-06 on d...@openoffice.apache.org
Modified: openoffice/trunk/main/ooxml/source/framework/JavaOOXMLParser/.classpath openoffice/trunk/main/ooxml/source/framework/JavaOOXMLParser/.project openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/ContentType.java openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/ContentTypes.java openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/IReferenceProvider.java openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/OOXMLPackage.java openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/Package.java openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/Part.java openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/PartManager.java openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/PartManagerPrototype.java openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/PartName.java openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/RelatedParts.java openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/RelationshipType.java openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/parser/ContentTypesParser.java openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/parser/ParserFactory.java openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/parser/RelationshipParser.java openoffice/trunk/main/ooxml/source/framework/SchemaParser/.classpath openoffice/trunk/main/ooxml/source/framework/SchemaParser/.project openoffice/trunk/main/ooxml/source/framework/SchemaParser/src/org/apache/openoffice/ooxml/schema/generator/html/code.js openoffice/trunk/main/ooxml/source/framework/SchemaParser/src/org/apache/openoffice/ooxml/schema/generator/html/display.css openoffice/trunk/main/ooxml/source/framework/SchemaParser/src/org/apache/openoffice/ooxml/schema/generator/html/linking-template.html openoffice/trunk/main/ooxml/source/framework/SchemaParser/src/org/apache/openoffice/ooxml/schema/generator/html/template.html openoffice/trunk/main/rat-excludes Modified: openoffice/trunk/main/ooxml/source/framework/JavaOOXMLParser/.classpath URL: http://svn.apache.org/viewvc/openoffice/trunk/main/ooxml/source/framework/JavaOOXMLParser/.classpath?rev=1684976&r1=1684975&r2=1684976&view=diff ============================================================================== --- openoffice/trunk/main/ooxml/source/framework/JavaOOXMLParser/.classpath (original) +++ openoffice/trunk/main/ooxml/source/framework/JavaOOXMLParser/.classpath Thu Jun 11 21:24:16 2015 @@ -1,4 +1,25 @@ <?xml version="1.0" encoding="UTF-8"?> +<!--*********************************************************** + * + * 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. + * +***********************************************************--> + <classpath> <classpathentry kind="src" path="src"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/> Modified: openoffice/trunk/main/ooxml/source/framework/JavaOOXMLParser/.project URL: http://svn.apache.org/viewvc/openoffice/trunk/main/ooxml/source/framework/JavaOOXMLParser/.project?rev=1684976&r1=1684975&r2=1684976&view=diff ============================================================================== --- openoffice/trunk/main/ooxml/source/framework/JavaOOXMLParser/.project (original) +++ openoffice/trunk/main/ooxml/source/framework/JavaOOXMLParser/.project Thu Jun 11 21:24:16 2015 @@ -1,4 +1,25 @@ <?xml version="1.0" encoding="UTF-8"?> +<!--*********************************************************** + * + * 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. + * +***********************************************************--> + <projectDescription> <name>JavaOOXMLParser</name> <comment></comment> Modified: openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/ContentType.java URL: http://svn.apache.org/viewvc/openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/ContentType.java?rev=1684976&r1=1684975&r2=1684976&view=diff ============================================================================== --- openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/ContentType.java (original) +++ openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/ContentType.java Thu Jun 11 21:24:16 2015 @@ -1,3 +1,24 @@ +/************************************************************** + * + * 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.apache.openoffice.ooxml.framework.part; public enum ContentType @@ -39,20 +60,20 @@ public enum ContentType WmlSettings ("application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml"), WmlStyles ("application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml"), WmlWebSettings ("application/vnd.openxmlformats-officedocument.wordprocessingml.webSettings+xml"), - + Unknown(""); - - - - + + + + ContentType (final String sMimeType) { msMimeType = sMimeType; } - - - - + + + + public static ContentType CreateForString (final String sContentType) { for (final ContentType eType : values()) @@ -62,16 +83,16 @@ public enum ContentType return Unknown; } - - - + + + public String GetLongName () { return msMimeType; } - - - - + + + + private final String msMimeType; } Modified: openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/ContentTypes.java URL: http://svn.apache.org/viewvc/openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/ContentTypes.java?rev=1684976&r1=1684975&r2=1684976&view=diff ============================================================================== --- openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/ContentTypes.java (original) +++ openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/ContentTypes.java Thu Jun 11 21:24:16 2015 @@ -1,3 +1,24 @@ +/************************************************************** + * + * 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.apache.openoffice.ooxml.framework.part; import java.util.HashMap; @@ -32,33 +53,33 @@ public class ContentTypes null); /* DefineContext( - CT_Something, + CT_Something, int nValue, CallbackObject aObject); - - class CT_Something_Context : public Context + + class CT_Something_Context : public Context { Context parent - + attribute 1 ... attribute n int nValue; CallbackObject aObject; } - + DefineElementStartAction( CT_Something_Context, aObject, DoSomething); - - + + case ElementStart of CT_Something: maCurrentContext.aObject.DoSomething(maCurrentContext); // CT_Something_Context - + // CallbackObject.cxx - + class CallbackObject { public: DoSomething(CT_Something_Context aContext) @@ -66,7 +87,7 @@ public class ContentTypes aContext.attribute1 } } - + */ aParser.GetActionManager().AddElementStartAction( ".*_CT_Default", @@ -75,15 +96,15 @@ public class ContentTypes @Override public void Run( final ActionTrigger eTrigger, - final ElementContext aContext, - final String sText, + final ElementContext aContext, + final String sText, final Location aStartLocation, final Location aEndLocation) { ProcessDefault( aContext.GetAttributes().GetRawAttributeValue("A_Extension"), aContext.GetAttributes().GetRawAttributeValue("A_ContentType")); - + }}); aParser.GetActionManager().AddElementStartAction( ".*_CT_Override", @@ -92,23 +113,23 @@ public class ContentTypes @Override public void Run( final ActionTrigger eTrigger, - final ElementContext aContext, - final String sText, + final ElementContext aContext, + final String sText, final Location aStartLocation, final Location aEndLocation) { ProcessOverride( aContext.GetAttributes().GetRawAttributeValue("A_PartName"), aContext.GetAttributes().GetRawAttributeValue("A_ContentType")); - + }}); - + aParser.Parse(); } - - - + + + public ContentType getTypeForPartName (final PartName aName) { @@ -119,10 +140,10 @@ public class ContentTypes eType = ContentType.Unknown; return eType; } - - - - + + + + private void ProcessDefault ( final String sExtension, final String sContentTypeName) @@ -131,9 +152,9 @@ public class ContentTypes maExtensionToContentTypeMap.put(sExtension, eType); } - - - + + + private void ProcessOverride ( final String sPartName, final String sContentTypeName) @@ -143,8 +164,8 @@ public class ContentTypes } - - + + private final Map<String,ContentType> maExtensionToContentTypeMap; private final Map<String,ContentType> maPartNameToContentTypeMap; } Modified: openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/IReferenceProvider.java URL: http://svn.apache.org/viewvc/openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/IReferenceProvider.java?rev=1684976&r1=1684975&r2=1684976&view=diff ============================================================================== --- openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/IReferenceProvider.java (original) +++ openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/IReferenceProvider.java Thu Jun 11 21:24:16 2015 @@ -1,6 +1,27 @@ -package org.apache.openoffice.ooxml.framework.part; - -public interface IReferenceProvider -{ - RelatedParts getRelatedParts (); -} +/************************************************************** + * + * 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.apache.openoffice.ooxml.framework.part; + +public interface IReferenceProvider +{ + RelatedParts getRelatedParts (); +} Modified: openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/OOXMLPackage.java URL: http://svn.apache.org/viewvc/openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/OOXMLPackage.java?rev=1684976&r1=1684975&r2=1684976&view=diff ============================================================================== --- openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/OOXMLPackage.java (original) +++ openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/OOXMLPackage.java Thu Jun 11 21:24:16 2015 @@ -1,3 +1,24 @@ +/************************************************************** + * + * 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.apache.openoffice.ooxml.framework.part; import java.io.File; @@ -12,10 +33,10 @@ public class OOXMLPackage aOOXMLFile.getAbsolutePath(), new PartManager(aOOXMLFile)); } - - - - + + + + private OOXMLPackage (final String sPath, final PartManager aPartManager) { super(sPath, aPartManager); @@ -32,10 +53,10 @@ public class OOXMLPackage { return maPartManager.listStreamNames(); } - - - - + + + + /** Return an InputStream object for the specified stream. */ public InputStream getStream (final String sStreamName) @@ -53,4 +74,4 @@ public class OOXMLPackage maPartManager, aPartName); } -} \ No newline at end of file +} Modified: openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/Package.java URL: http://svn.apache.org/viewvc/openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/Package.java?rev=1684976&r1=1684975&r2=1684976&view=diff ============================================================================== --- openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/Package.java (original) +++ openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/Package.java Thu Jun 11 21:24:16 2015 @@ -1,3 +1,24 @@ +/************************************************************** + * + * 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.apache.openoffice.ooxml.framework.part; import java.io.File; @@ -18,10 +39,10 @@ public class Package aOOXMLFile.getAbsolutePath(), new PartManager(aOOXMLFile)); } - - - - + + + + protected Package ( final String sFullFilename, final PartManager aPartManager) @@ -38,71 +59,71 @@ public class Package maPartManager, aDocumentPartName); } - - - - + + + + public Part getOfficeDocumentPart () { return maOfficeDocumentPart; } - - - - + + + + public Iterable<Part> getDigitalSignaturesParts () { // TODO return new Vector<>(); } - - - - + + + + public RelatedParts getRelatedParts () { return maRelatedParts; } - - - - + + + + public boolean hasAppDefFilePropertiesPart () { // TODO return false; } - - - - + + + + public Part getAppDefFilePropertiesPart () { // TODO return null; } - - - - + + + + public boolean hasCoreFilePropertiesPart () { // TODO return false; } - - - + + + public Part getCoreFilePropertiesPart () { // TODO return null; } - - - - + + + + public boolean hasCustomFilePropertiesPart () { // TODO @@ -117,18 +138,18 @@ public class Package // TODO return null; } - - - - + + + + public String getFileName() { return msFullFilename; } - - - + + + /** Return a list of stream names. * Note that that list is not necessarily identical to the list of part * names. It can contain entries that are not parts. @@ -137,22 +158,22 @@ public class Package { return maPartManager.listStreamNames(); } - - - - + + + + /** Return an InputStream object for the specified stream. */ public InputStream getStream (final String sStreamName) { return maPartManager.getStreamForStreamName(sStreamName); } - - - - + + + + private final String msFullFilename; protected final PartManager maPartManager; private final RelatedParts maRelatedParts; private final Part maOfficeDocumentPart; -} \ No newline at end of file +} Modified: openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/Part.java URL: http://svn.apache.org/viewvc/openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/Part.java?rev=1684976&r1=1684975&r2=1684976&view=diff ============================================================================== --- openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/Part.java (original) +++ openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/Part.java Thu Jun 11 21:24:16 2015 @@ -1,3 +1,24 @@ +/************************************************************** + * + * 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.apache.openoffice.ooxml.framework.part; import java.io.InputStream; @@ -15,10 +36,10 @@ public class Part maPartName = aPartName; maRelatedParts = null; } - - - - + + + + public Part getPartById (final String sId) { final PartName aName = getRelatedParts().GetTargetForId(sId); @@ -27,10 +48,10 @@ public class Part maPartManager, aName); } - - - - + + + + public Part getPartByRelationshipType (final RelationshipType eType) { final PartName aName = getRelatedParts().GetSingleTargetForType(eType); @@ -39,34 +60,34 @@ public class Part maPartManager, aName); } - - - + + + public PartName getPartName () { return maPartName; } - - - - + + + + public ContentType getContentType () { return meContentType; } - - - - + + + + public InputStream getStream() { return maPartManager.getStreamForPartName(maPartName); } - - - + + + @Override public RelatedParts getRelatedParts () { @@ -78,10 +99,10 @@ public class Part } return maRelatedParts; } - - - - + + + + private final ContentType meContentType; private final PartManager maPartManager; private final PartName maPartName; Modified: openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/PartManager.java URL: http://svn.apache.org/viewvc/openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/PartManager.java?rev=1684976&r1=1684975&r2=1684976&view=diff ============================================================================== --- openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/PartManager.java (original) +++ openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/PartManager.java Thu Jun 11 21:24:16 2015 @@ -1,3 +1,24 @@ +/************************************************************** + * + * 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.apache.openoffice.ooxml.framework.part; import java.io.File; @@ -27,10 +48,10 @@ public class PartManager maZipFile = aZipFile; maPartNameToPartMap = new HashMap<>(); } - - - - + + + + public InputStream getStreamForPartName (final PartName aPartName) { final ZipEntry aEntry = maZipFile.getEntry( @@ -48,10 +69,10 @@ public class PartManager return null; } } - - - - + + + + /** This is the low-level variant of getStreamForPartName(). * It can return streams for entries in the OOXML zip package * that are not, technically, parts. @@ -74,9 +95,9 @@ public class PartManager } } - - - + + + public ContentTypes getContentTypes () { if (maContentTypes == null) @@ -85,18 +106,18 @@ public class PartManager } return maContentTypes; } - - - - + + + + private final String ToZipEntryName (final String sPath) { return sPath.substring(1); } - - - + + + /** Return a list of the names of all streams. * Note that that list is not necessarily identical to the list of part * names. It can contain entries that are not parts. @@ -104,7 +125,7 @@ public class PartManager public final String[] listStreamNames () { final Vector<String> aStreamNames = new Vector<>(); - + final Enumeration<? extends ZipEntry> aEntries = maZipFile.entries(); while (aEntries.hasMoreElements()) { @@ -114,10 +135,10 @@ public class PartManager return aStreamNames.toArray(new String[0]); } - - - + + + public Part getPart (final PartName aName) { SoftReference<Part> aSoftPart = maPartNameToPartMap.get(aName); @@ -125,19 +146,19 @@ public class PartManager if (aSoftPart != null) aPart = aSoftPart.get(); if (aPart == null) - { + { aPart = new Part( getContentTypes().getTypeForPartName(aName), - this, + this, aName); maPartNameToPartMap.put(aName, new SoftReference<Part>(aPart)); } - + return aPart; } - - - + + + private ZipFile maZipFile; private ContentTypes maContentTypes; Modified: openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/PartManagerPrototype.java URL: http://svn.apache.org/viewvc/openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/PartManagerPrototype.java?rev=1684976&r1=1684975&r2=1684976&view=diff ============================================================================== --- openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/PartManagerPrototype.java (original) +++ openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/PartManagerPrototype.java Thu Jun 11 21:24:16 2015 @@ -1,3 +1,24 @@ +/************************************************************** + * + * 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.apache.openoffice.ooxml.framework.part; import java.io.File; @@ -16,15 +37,15 @@ public class PartManagerPrototype } final long nStartTime = System.currentTimeMillis(); - + Log.Dbg = new Log(aArgumentList[2]); ParserFactory.SetParserTableFilename(aArgumentList[1]); - + final File aOOXMLFile = new File(aArgumentList[0]); final Part aPart = OOXMLPackage.Create(aOOXMLFile).getOfficeDocumentPart().getPartById("rId1"); final long nEndTime = System.currentTimeMillis(); - + System.out.printf("got content type %s for %s in %fs\n", aPart.getContentType(), aPart.getPartName(), Modified: openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/PartName.java URL: http://svn.apache.org/viewvc/openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/PartName.java?rev=1684976&r1=1684975&r2=1684976&view=diff ============================================================================== --- openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/PartName.java (original) +++ openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/PartName.java Thu Jun 11 21:24:16 2015 @@ -1,3 +1,24 @@ +/************************************************************** + * + * 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.apache.openoffice.ooxml.framework.part; /** Operations around part names. @@ -12,13 +33,13 @@ public class PartName assert(sPath.isEmpty() || sPath.startsWith("/")); } assert(sPath.indexOf('\\') == -1); - + msPath = sPath; } - - - - + + + + public PartName ( final String sPath, final PartName aParentName, @@ -29,27 +50,27 @@ public class PartName case "External": msPath = sPath; break; - + case "Internal": msPath = Cleanup(aParentName.GetPathname() + "/" + sPath); break; - + default: throw new RuntimeException(); } } - - - - + + + + public PartName getRelationshipsPartName () { return new PartName(GetPathname() + "/_rels/" + GetBasename() + ".rels"); } - - - - + + + + private String GetPathname () { if (msPath.isEmpty()) @@ -61,10 +82,10 @@ public class PartName return msPath.substring(0, nPathnameEnd); } } - - - - + + + + public String GetBasename () { if (msPath.isEmpty()) @@ -88,43 +109,43 @@ public class PartName else return msPath.substring(nExtensionStart+1); } - - - - + + + + public String GetFullname() { return msPath; } - - - + + + @Override public int compareTo (final PartName aOther) { return msPath.compareTo(aOther.msPath); } - - - - + + + + private String Cleanup (final String sName) { return sName.replaceAll("/[^/]+/\\.\\./", "/"); } - - - - + + + + @Override public String toString () { return msPath; } - - - - + + + + private final String msPath; } Modified: openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/RelatedParts.java URL: http://svn.apache.org/viewvc/openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/RelatedParts.java?rev=1684976&r1=1684975&r2=1684976&view=diff ============================================================================== --- openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/RelatedParts.java (original) +++ openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/RelatedParts.java Thu Jun 11 21:24:16 2015 @@ -1,3 +1,24 @@ +/************************************************************** + * + * 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.apache.openoffice.ooxml.framework.part; import java.io.InputStream; @@ -48,28 +69,28 @@ public class RelatedParts String sTargetMode = aContext.GetAttributes().GetRawAttributeValue("A_TargetMode"); if (sTargetMode == null) sTargetMode = "Internal"; - + AddRelationship( sId, RelationshipType.CreateFromString(sType), new PartName(sTarget, aPartName, sTargetMode)); } - } + } ); aParser.Parse(); } } - - - - + + + + private void AddRelationship ( final String sId, final RelationshipType eType, final PartName aTarget) { maIdToTargetMap.put(sId, aTarget); - + Vector<PartName> aTargets = maTypeToTargetsMap.get(eType); if (aTargets == null) { @@ -78,35 +99,35 @@ public class RelatedParts } aTargets.add(aTarget); } - - - + + + public PartName GetTargetForId (final String sId) { return maIdToTargetMap.get(sId); } - - - - + + + + public Iterable<PartName> GetTargetsForType (final RelationshipType eType) { return maTypeToTargetsMap.get(eType); } - - - + + + public Iterable<PartName> getAllTargets () { final Set<PartName> aAllNames = new TreeSet<>(); aAllNames.addAll(maIdToTargetMap.values()); return aAllNames; } - - - + + + public PartName GetSingleTargetForType (final RelationshipType eType) { if (maTypeToTargetsMap.get(eType).size() != 1) @@ -122,10 +143,10 @@ public class RelatedParts } return maTypeToTargetsMap.get(eType).firstElement(); } - - - + + + private final Map<String,PartName> maIdToTargetMap; private final Map<RelationshipType, Vector<PartName>> maTypeToTargetsMap; } Modified: openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/RelationshipType.java URL: http://svn.apache.org/viewvc/openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/RelationshipType.java?rev=1684976&r1=1684975&r2=1684976&view=diff ============================================================================== --- openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/RelationshipType.java (original) +++ openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/RelationshipType.java Thu Jun 11 21:24:16 2015 @@ -1,3 +1,24 @@ +/************************************************************** + * + * 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.apache.openoffice.ooxml.framework.part; public enum RelationshipType @@ -33,7 +54,7 @@ public enum RelationshipType Chart, Package, ThemeOverride, - + Unknown ; @@ -103,10 +124,10 @@ public enum RelationshipType return Package; case "http://schemas.openxmlformats.org/officeDocument/2006/relationships/themeOverride": return ThemeOverride; - + default: System.err.printf(sType +" is not yet supported\n"); - return Unknown; + return Unknown; } } } Modified: openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/parser/ContentTypesParser.java URL: http://svn.apache.org/viewvc/openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/parser/ContentTypesParser.java?rev=1684976&r1=1684975&r2=1684976&view=diff ============================================================================== --- openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/parser/ContentTypesParser.java (original) +++ openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/parser/ContentTypesParser.java Thu Jun 11 21:24:16 2015 @@ -1,3 +1,24 @@ +/************************************************************** + * + * 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.apache.openoffice.ooxml.framework.part.parser; import java.io.File; Modified: openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/parser/ParserFactory.java URL: http://svn.apache.org/viewvc/openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/parser/ParserFactory.java?rev=1684976&r1=1684975&r2=1684976&view=diff ============================================================================== --- openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/parser/ParserFactory.java (original) +++ openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/parser/ParserFactory.java Thu Jun 11 21:24:16 2015 @@ -1,3 +1,24 @@ +/************************************************************** + * + * 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.apache.openoffice.ooxml.framework.part.parser; import java.io.File; Modified: openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/parser/RelationshipParser.java URL: http://svn.apache.org/viewvc/openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/parser/RelationshipParser.java?rev=1684976&r1=1684975&r2=1684976&view=diff ============================================================================== --- openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/parser/RelationshipParser.java (original) +++ openoffice/trunk/main/ooxml/source/framework/JavaPartManager/src/org/apache/openoffice/ooxml/framework/part/parser/RelationshipParser.java Thu Jun 11 21:24:16 2015 @@ -1,3 +1,24 @@ +/************************************************************** + * + * 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.apache.openoffice.ooxml.framework.part.parser; import java.io.File; Modified: openoffice/trunk/main/ooxml/source/framework/SchemaParser/.classpath URL: http://svn.apache.org/viewvc/openoffice/trunk/main/ooxml/source/framework/SchemaParser/.classpath?rev=1684976&r1=1684975&r2=1684976&view=diff ============================================================================== --- openoffice/trunk/main/ooxml/source/framework/SchemaParser/.classpath (original) +++ openoffice/trunk/main/ooxml/source/framework/SchemaParser/.classpath Thu Jun 11 21:24:16 2015 @@ -1,4 +1,25 @@ <?xml version="1.0" encoding="UTF-8"?> +<!--*********************************************************** + * + * 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. + * +***********************************************************--> + <classpath> <classpathentry kind="src" path="src"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/> Modified: openoffice/trunk/main/ooxml/source/framework/SchemaParser/.project URL: http://svn.apache.org/viewvc/openoffice/trunk/main/ooxml/source/framework/SchemaParser/.project?rev=1684976&r1=1684975&r2=1684976&view=diff ============================================================================== --- openoffice/trunk/main/ooxml/source/framework/SchemaParser/.project (original) +++ openoffice/trunk/main/ooxml/source/framework/SchemaParser/.project Thu Jun 11 21:24:16 2015 @@ -1,4 +1,25 @@ <?xml version="1.0" encoding="UTF-8"?> +<!--*********************************************************** + * + * 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. + * +***********************************************************--> + <projectDescription> <name>SchemaParser</name> <comment></comment> Modified: openoffice/trunk/main/ooxml/source/framework/SchemaParser/src/org/apache/openoffice/ooxml/schema/generator/html/code.js URL: http://svn.apache.org/viewvc/openoffice/trunk/main/ooxml/source/framework/SchemaParser/src/org/apache/openoffice/ooxml/schema/generator/html/code.js?rev=1684976&r1=1684975&r2=1684976&view=diff ============================================================================== --- openoffice/trunk/main/ooxml/source/framework/SchemaParser/src/org/apache/openoffice/ooxml/schema/generator/html/code.js (original) +++ openoffice/trunk/main/ooxml/source/framework/SchemaParser/src/org/apache/openoffice/ooxml/schema/generator/html/code.js Thu Jun 11 21:24:16 2015 @@ -1,3 +1,15 @@ +// Licensed under the Apache License, Version 2.0 (the "License"); you may not +// use this file except in compliance with the License. You may obtain a copy of +// the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +// License for the specific language governing permissions and limitations under +// the License. + function LoadData () { gTypeNames = []; Modified: openoffice/trunk/main/ooxml/source/framework/SchemaParser/src/org/apache/openoffice/ooxml/schema/generator/html/display.css URL: http://svn.apache.org/viewvc/openoffice/trunk/main/ooxml/source/framework/SchemaParser/src/org/apache/openoffice/ooxml/schema/generator/html/display.css?rev=1684976&r1=1684975&r2=1684976&view=diff ============================================================================== --- openoffice/trunk/main/ooxml/source/framework/SchemaParser/src/org/apache/openoffice/ooxml/schema/generator/html/display.css (original) +++ openoffice/trunk/main/ooxml/source/framework/SchemaParser/src/org/apache/openoffice/ooxml/schema/generator/html/display.css Thu Jun 11 21:24:16 2015 @@ -1,3 +1,20 @@ +/* +* 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. +*/ + * { font-family: Arial; font-style:normal; Modified: openoffice/trunk/main/ooxml/source/framework/SchemaParser/src/org/apache/openoffice/ooxml/schema/generator/html/linking-template.html URL: http://svn.apache.org/viewvc/openoffice/trunk/main/ooxml/source/framework/SchemaParser/src/org/apache/openoffice/ooxml/schema/generator/html/linking-template.html?rev=1684976&r1=1684975&r2=1684976&view=diff ============================================================================== --- openoffice/trunk/main/ooxml/source/framework/SchemaParser/src/org/apache/openoffice/ooxml/schema/generator/html/linking-template.html (original) +++ openoffice/trunk/main/ooxml/source/framework/SchemaParser/src/org/apache/openoffice/ooxml/schema/generator/html/linking-template.html Thu Jun 11 21:24:16 2015 @@ -1,3 +1,20 @@ +<!-- + 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. +--> + <!DOCTYPE html> <html> <head> Modified: openoffice/trunk/main/ooxml/source/framework/SchemaParser/src/org/apache/openoffice/ooxml/schema/generator/html/template.html URL: http://svn.apache.org/viewvc/openoffice/trunk/main/ooxml/source/framework/SchemaParser/src/org/apache/openoffice/ooxml/schema/generator/html/template.html?rev=1684976&r1=1684975&r2=1684976&view=diff ============================================================================== --- openoffice/trunk/main/ooxml/source/framework/SchemaParser/src/org/apache/openoffice/ooxml/schema/generator/html/template.html (original) +++ openoffice/trunk/main/ooxml/source/framework/SchemaParser/src/org/apache/openoffice/ooxml/schema/generator/html/template.html Thu Jun 11 21:24:16 2015 @@ -1,3 +1,20 @@ +<!-- + 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. +--> + <!DOCTYPE html> <html> <head> Modified: openoffice/trunk/main/rat-excludes URL: http://svn.apache.org/viewvc/openoffice/trunk/main/rat-excludes?rev=1684976&r1=1684975&r2=1684976&view=diff ============================================================================== --- openoffice/trunk/main/rat-excludes (original) +++ openoffice/trunk/main/rat-excludes Thu Jun 11 21:24:16 2015 @@ -1484,3 +1484,12 @@ main/autom4te.cache/* main/LinuxX86-64Env.Set* main/MacOSXX64Env.Set* main/winenv.set* + +############################################################################## +# +# exclude preference files +# + +main/ooxml/source/framework/OOXMLViewer/.settings/org.eclipse.jdt.core.prefs +main/ooxml/source/framework/SchemaParser/.settings/org.eclipse.jdt.core.prefs +