Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/render/word/WordTemplateProcessor.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/render/word/WordTemplateProcessor.java b/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/render/word/WordTemplateProcessor.java
index e4e5bcfdb96..022aeed8a1e 100644
--- a/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/render/word/WordTemplateProcessor.java
+++ b/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/render/word/WordTemplateProcessor.java
@@ -126,7 +126,7 @@ public class WordTemplateProcessor {
this.slaveTemplate = slaveTemplate;
this.attributeElements = new LinkedList<AttributeElement>();
this.updateParagraphNumbers = false;
- this.saveParagraphNumOnArtifact = true;
+ this.saveParagraphNumOnArtifact = false;
this.publishedArtifacts = new HashSet<Artifact>();
this.ignoreAttributeExtensions = new HashSet<String>();
@@ -483,8 +483,8 @@ public class WordTemplateProcessor {
String headingText = artifact.getSoleAttributeValue(headingAttributeName);
CharSequence paragraphNumber = wordMl.startOutlineSubSection("Times New Roman", headingText, outlineType);
- if (paragraphNumber != null && saveParagraphNumOnArtifact) {//&& !artifact.getSoleAttributeValue(
- // "Imported Paragraph Number").equals("")) {
+ if (paragraphNumber != null && saveParagraphNumOnArtifact && !artifact.getSoleAttributeValue(
+ "Imported Paragraph Number").equals("")) {
artifact.setSoleAttributeValue("Imported Paragraph Number", paragraphNumber.toString());
try {

Back to the top