Subversion Repositories DevTools

Rev

Rev 2124 | Rev 2128 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2124 Rev 2126
Line 74... Line 74...
74
 
74
 
75
         DocSectionTracking.initialise();
75
         DocSectionTracking.initialise();
76
         TabularContent.initialise();
76
         TabularContent.initialise();
77
         TextualContent.initialise();
77
         TextualContent.initialise();
78
         StyleContent.initialise();
78
         StyleContent.initialise();
-
 
79
         TextParser.initialise();
79
 
80
 
80
         WordApp = new Word.Application();
81
         WordApp = new Word.Application();
81
      }
82
      }
82
 
83
 
83
 
84
 
Line 420... Line 421...
420
         else if (EA_Project.PutDiagramImageOnClipboard(theDiagram.DiagramGUID,0))
421
         else if (EA_Project.PutDiagramImageOnClipboard(theDiagram.DiagramGUID,0))
421
         {
422
         {
422
            object startLocation;
423
            object startLocation;
423
            object endLocation;
424
            object endLocation;
424
 
425
 
-
 
426
            //@@@@
425
            TextualContent.appendDescription( TextualContent.trimTrailingReturns(theDiagram.Notes) );
427
            //TextualContent.appendDescription( TextualContent.trimTrailingReturns(theDiagram.Notes) );
-
 
428
            TextParser.parse( TextualContent.trimTrailingReturns(theDiagram.Notes), theDiagram.DiagramID, EA_Constants.styleName_Body1, 0, false);
426
 
429
 
427
            // create a range at the end of the document
430
            // create a range at the end of the document
428
            startLocation = WordDocument.Content.End;
431
            startLocation = WordDocument.Content.End;
429
            WordDocument.Content.InsertParagraphAfter();
432
            WordDocument.Content.InsertParagraphAfter();
430
            endLocation = WordDocument.Content.End;
433
            endLocation = WordDocument.Content.End;
Line 1039... Line 1042...
1039
         }
1042
         }
1040
         else
1043
         else
1041
         {
1044
         {
1042
            // use the package notes as body text and indicate to caller that package elements 
1045
            // use the package notes as body text and indicate to caller that package elements 
1043
            // have not been consumed
1046
            // have not been consumed
-
 
1047
            // @@@@
1044
            TextualContent.appendAndSelectText( TextualContent.trimTrailingReturns(thePackage.Notes), EA_Constants.styleName_Body1 );      
1048
            //TextualContent.appendAndSelectText( TextualContent.trimTrailingReturns(thePackage.Notes), EA_Constants.styleName_Body1 ); 
-
 
1049
            TextParser.parse( TextualContent.trimTrailingReturns(thePackage.Notes), thePackage.PackageID, EA_Constants.styleName_Body1, 0, false);
1045
         }
1050
         }
1046
 
1051
 
1047
         return processLowerLevelContent;
1052
         return processLowerLevelContent;
1048
      }
1053
      }
1049
 
1054
 
Line 1657... Line 1662...
1657
                  }
1662
                  }
1658
 
1663
 
1659
                  processedElements.Add(theElement.ElementID);
1664
                  processedElements.Add(theElement.ElementID);
1660
                  displayProgress( "ELEMENT: ", theElement.Name );
1665
                  displayProgress( "ELEMENT: ", theElement.Name );
1661
 
1666
 
-
 
1667
                  // @@@@
1662
                  TextualContent.appendDescription( TextualContent.trimTrailingReturns(theElement.Notes) );
1668
                  //TextualContent.appendDescription( TextualContent.trimTrailingReturns(theElement.Notes) );
-
 
1669
                  TextParser.parse( TextualContent.trimTrailingReturns(theElement.Notes), theElement.ElementID, EA_Constants.styleName_Body1, 0, false);
1663
 
1670
 
1664
                  generateElementDiagrams(theElement);
1671
                  generateElementDiagrams(theElement);
1665
 
1672
 
1666
                  if (true == isClass)
1673
                  if (true == isClass)
1667
                  {
1674
                  {