Skip to content

Commit

Permalink
Change package name to be consistent with others
Browse files Browse the repository at this point in the history
  • Loading branch information
plutext committed Jul 15, 2015
1 parent f8489c7 commit 1ba3614
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

package org.docx4j.schemas.microsoft.com.office.word_2006.wordml;
package org.docx4j.com.microsoft.schemas.office.word.x2006.wordml;

import javax.xml.bind.Unmarshaller;
import javax.xml.bind.annotation.XmlAccessType;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

package org.docx4j.schemas.microsoft.com.office.word_2006.wordml;
package org.docx4j.com.microsoft.schemas.office.word.x2006.wordml;

import javax.xml.bind.Unmarshaller;
import javax.xml.bind.annotation.XmlAccessType;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

package org.docx4j.schemas.microsoft.com.office.word_2006.wordml;
package org.docx4j.com.microsoft.schemas.office.word.x2006.wordml;

import java.util.ArrayList;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

package org.docx4j.schemas.microsoft.com.office.word_2006.wordml;
package org.docx4j.com.microsoft.schemas.office.word.x2006.wordml;

import javax.xml.bind.Unmarshaller;
import javax.xml.bind.annotation.XmlAccessType;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

package org.docx4j.schemas.microsoft.com.office.word_2006.wordml;
package org.docx4j.com.microsoft.schemas.office.word.x2006.wordml;

import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
Expand All @@ -10,7 +10,7 @@
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the org.docx4j.schemas.microsoft.com.office.word_2006.wordml package.
* generated in the org.docx4j.com.microsoft.schemas.office.word.x2006.wordml package.
* <p>An ObjectFactory allows you to programatically
* construct new instances of the Java representation
* for XML content. The Java representation of XML
Expand All @@ -27,7 +27,7 @@ public class ObjectFactory {
private final static QName _VbaSuppData_QNAME = new QName("http://schemas.microsoft.com/office/word/2006/wordml", "vbaSuppData");

/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.docx4j.schemas.microsoft.com.office.word_2006.wordml
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.docx4j.com.microsoft.schemas.office.word.x2006.wordml
*
*/
public ObjectFactory() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
@javax.xml.bind.annotation.XmlSchema(namespace = "http://schemas.microsoft.com/office/word/2006/wordml", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
package org.docx4j.schemas.microsoft.com.office.word_2006.wordml;
package org.docx4j.com.microsoft.schemas.office.word.x2006.wordml;
2 changes: 1 addition & 1 deletion src/main/java/org/docx4j/jaxb/Context.java
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public class Context {
java.lang.ClassLoader classLoader = Context.class.getClassLoader();

tempContext = JAXBContext.newInstance("org.docx4j.wml:org.docx4j.w14:org.docx4j.w15:" +
"org.docx4j.schemas.microsoft.com.office.word_2006.wordml:" +
"org.docx4j.com.microsoft.schemas.office.word.x2006.wordml:" +
"org.docx4j.dml:org.docx4j.dml.chart:org.docx4j.dml.chartDrawing:org.docx4j.dml.compatibility:org.docx4j.dml.diagram:org.docx4j.dml.lockedCanvas:org.docx4j.dml.picture:org.docx4j.dml.wordprocessingDrawing:org.docx4j.dml.spreadsheetdrawing:org.docx4j.dml.diagram2008:" +
// All VML stuff is here, since compiling it requires WML and DML (and MathML), but not PML or SML
"org.docx4j.vml:org.docx4j.vml.officedrawing:org.docx4j.vml.wordprocessingDrawing:org.docx4j.vml.presentationDrawing:org.docx4j.vml.spreadsheetDrawing:org.docx4j.vml.root:" +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@

import javax.xml.bind.JAXBElement;

import org.docx4j.com.microsoft.schemas.office.word.x2006.wordml.CTVbaSuppData;
import org.docx4j.openpackaging.exceptions.InvalidFormatException;
import org.docx4j.openpackaging.parts.JaxbXmlPart;
import org.docx4j.openpackaging.parts.PartName;
import org.docx4j.openpackaging.parts.relationships.Namespaces;
import org.docx4j.schemas.microsoft.com.office.word_2006.wordml.CTVbaSuppData;


/**
Expand Down
2 changes: 1 addition & 1 deletion xsd/offmacro/office-word-2006-wordml.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
</jaxb:globalBindings>
</xsd:appinfo>
<jaxb:schemaBindings>
<jaxb:package name="org.docx4j.schemas.microsoft.com.office.word_2006.wordml"/>
<jaxb:package name="org.docx4j.com.microsoft.schemas.office.word.x2006.wordml"/>
</jaxb:schemaBindings>
</xsd:appinfo>
</xsd:annotation>
Expand Down

0 comments on commit 1ba3614

Please sign in to comment.