ࡱ                >  	               2          5          1         y   I 
 	                bjbj                                                                                    ]                                       $                               P           $           4  R  :                            |   	  ,   J	                                         $   +                                   b	                                  b	      b	            n                                      R      n      n      n      b	                                                                                     b	            n  T  n                                                                                                D     |            >
  0                                                                                                                                             	 TITEL  \* FORMATVERBINDEN SAP R/3 - Word for Windows Reporting ToolAuthor<Author>OrganisationSAP AGDate of Report:<Creationdate>Address:Neurottstr. 1669185 WalldorfDepartment:Entwicklung ECPrinted:05.08.96Pages: ANZSEITEN  \* FORMATVERBINDEN 1File: DATEINAME  \* FORMATVERBINDEN SAP_REP8.DOTVersion:1Last changed by:SAP SEITE 2                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              #  $  M  N  W  ^  g  u  |  }                                      +  ,  -  .  /  0  6  7  V  W  c  d  e  f  q  r                                                                                                       0J mH  0J  j    0J Uj    CJ UOJ QJ  CJ  5CJ$ 5CJ 55@ B*CJ0 OJ QJ  j    5@ B*CJ0 OJ QJ U	j    U :             O  P  Q  R  S  T  U  V  W  ^  g  h  u  |  }  ~                                                                                                                                                                                                      T                                                                                                    $$F  j	# $ $$d !%d !&d !'d !   $      &#$/ +D               O  P  Q  R  S  T  U  V  W  ^  g  h  u  |  }  ~                                                            /  0  6  e  f  o  q  r                                                                                                                                                               
  G                                                                                                                                            p                                                                                                                                                                                                                                                               $$F  j	# $   /  0  6  e  f  o  q  r                                                                               0                                   X                                                                                                                                                                                                     &#$$d %d &d 'd /  $        $ <      $$F  j	# $   &P	 . A!"n#$%   0
. A!"n#$%                                                                                                                                                                                                                                                                                                                                                                                                                                                                 D d                    83'                                 <   
      
  C    A                   2   ~scUETؚk      D     `!  ~scUETؚk    C      d Xq	    xoHw{S7kZKI9IYlEs]/tәӭi[E)[L^\ zQmB`1ZX9*Wн|ys((I(H'@&{
BxL!/h#J9!?G93tIiytHX<J^am?oxnدnF".p<\c|2kϚA4i5T/:L3&/V_emTZ&: 1W@_!:)ow!ԾbKb;%̵yzeX$}rM{(գrBG= ?h3I\)G-yrZ_s4K!]s[+Ƒ+}6Bװ!<mKy¶B"L"@ruyfl'cIRd٘1dcQi>mG7Ǝ{cr(+؋ޞ=ߍSuDW'=F8nKZ1Xevk]bMǪ>[Mρ~}fYVe!+7<׀OJǳoϜw&BY6ŖNm)Ŷ=>f}UuRMIJG;q?Q-\]lYB,Dlrx,Wq8ϕswB[|:Dz<:ogap%_/S9h䩮m`G]ZQvq2Aa'*m!jA iC[.lh+^S_}jPȷA=TZPA9F@|Hq`<|" O& o1sCF                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
  [         (  @ (    S t a n d a r d       mH	f    f     b e r s c h r i f t   1 , T O P 1     $
& F  < @&   5CJ KH OJ QJ kH d    d     b e r s c h r i f t   2 , T O P 2     $
&F  < @&  56CJ OJ QJ kHV    V     b e r s c h r i f t   3 , T O P 3     $
&F  < @&  5CJ  X    X     b e r s c h r i f t   4 , T O P 4     $
&F  < @& 
 56CJ Z    Z     b e r s c h r i f t   5 , T O P 5     
&F  < @& CJ OJ QJ kH^    ^     b e r s c h r i f t   6 , T O P 6     
&F  < @& 6CJ OJ QJ kH V    V     b e r s c h r i f t   7 , T O P 7     
&F  < @& OJ QJ kHZ    Z     b e r s c h r i f t   8 , T O P 8     
&F  < @& 6OJ QJ kH ^ 	   ^     b e r s c h r i f t   9 , T O P 9    	 
&F  < @& 6CJ OJ QJ kH B A@ B    A b s a t z - S t a n d a r d s c h r i f t a r t             8 "   8    B e s c h r i f t u n g   
  x x  5 Z - Z   	 M a k r o t e x t   "   	`	@            CJ OJ QJ kHmH	P    P    V e r z e i c h n i s   1     h $ 5;CJ OJ QJ kHB    B    V e r z e i c h n i s   2        $ 5 :    :    V e r z e i c h n i s   3      $  :    :    V e r z e i c h n i s   4     X $  :    :    V e r z e i c h n i s   5       $  :    :    V e r z e i c h n i s   6      $  :    :    V e r z e i c h n i s   7      $  :    :    V e r z e i c h n i s   8     x $  :    :    V e r z e i c h n i s   9     @ $  ( )@ (   
 S e i t e n z a h l    5 @ B@ @   
 T e x t k  r p e r      CJ KH OJ QJ kHmHJ  @ J    F u  z e i l e     $ ! CJ KH OJ QJ kHmHJ @ J   	 K o p f z e i l e      p#  CJ KH OJ QJ kHmH              "                                                                                                                   #   M     +  -  6  V  c                !    _ T o c 2 8 6 7 4 3 9 2 1  S A P _ S y s t e m _ i d  N a m e  A n s c h r i f t _ 1  S e r v i c e C e n t e r     u                              u                    $   M   W   ^   _   g   h   |                                    ,  -  0  6  d  f  m  o  q  r                                                      $   N   W   ]   ^   f   h   t   u   {                                                          
  ,  /  0  5  W  d  f  n  o  q  r                                                                          i X O S " E : \ O f f i c e 9 7 \ T e m p l a t e s \ S a p _ r e p 8 . d o t  i X O S " E : \ O f f i c e 9 7 \ T e m p l a t e s \ S a p _ r e p 8 . d o t  i X O S " E : \ O f f i c e 9 7 \ T e m p l a t e s \ S a p _ r e p 8 . d o t  i X O S " E : \ O f f i c e 9 7 \ T e m p l a t e s \ S a p _ r e p 8 . d o t  i X O S " E : \ O f f i c e 9 7 \ T e m p l a t e s \ S a p _ r e p 8 . d o t  i X O S " E : \ O f f i c e 9 7 \ T e m p l a t e s \ S a p _ r e p 8 . d o t  i X O S " E : \ O f f i c e 9 7 \ T e m p l a t e s \ S a p _ r e p 8 . d o t  i X O S " E : \ O f f i c e 9 7 \ T e m p l a t e s \ s a p _ r e p 8 . d o t  i X O S " E : \ O f f i c e 9 7 \ T e m p l a t e s \ s a p _ r e p 8 . d o t  S A P   A G 7 C : \ P r o g r a m   F i l e s \ M i c r o s o f t   O f f i c e \ v o r l a g e n \ S a p _ r e p 8 . d o t          	       @                       .     @                      .      @                     .  .      @                    .  .  .      @	                	   .  .  .  .      @	                  .  .  .  .  .      @	                 .  .  .  .  .  .      @	                .  .  .  .  .  .  .      @	               .  .  .  .  .  .  .  .                         V  % C         C  V  $ C         C  V  # C         C  V  " C         C  V    C         C  V   C         C           	       
               
 S A P   R e p o r t              
S A P   R e p o r t   K $ e       1 $ K                                               0       ( &T e m p l a t e P r o j e c t . D e f i n e P a p e r f o r m a t . M A I N  D e f i n e   P a p e r f o r m a t       D e f i n e P a p e r f o r m a t . M A I N  , &              ' T e m p l a t e P r o j e c t . t a b l e c o l o r d e c o d i n g . M A I N                                                                                                                  & T e m p l a t e P r o j e c t . D e f i n e P a p e r f o r m a t . M A I N      ! T e m p l a t e P r o j e c t . R e s e t o p t i o n s . M A I N   T e m p l a t e P r o j e c t . S e t O p t i o n s . M A I N   T e m p l a t e P r o j e c t . B a t c h s t a r t . M A I N   T e m p l a t e P r o j e c t . a u t o n e w . M A I N     T E M P L A T E P R O J E C T . A U T O N E W . M A I N     T E M P L A T E P R O J E C T . B A T C H S T A R T . M A I N     T E M P L A T E P R O J E C T . S E T O P T I O N S . M A I N    ! T E M P L A T E P R O J E C T . R E S E T O P T I O N S . M A I N    & T E M P L A T E P R O J E C T . D E F I N E P A P E R F O R M A T . M A I N    ' T E M P L A T E P R O J E C T . T A B L E C O L O R D E C O D I N G . M A I N   @          D",                            P   @     G                       T i m e s   N e w   R o m a n   5                       S y m b o l   3&                       A r i a l   =&                                  A r i a l   F e t t   ?1  	                      C o u r i e r   N e w   "  1    h    ނ慗,楽    9   E          '                 $                                                                                                                                                                                                                                                                                                                              0    d              H                              	                               ) S A P   R / 3   -   W o r d   f o r   W i n d o w s   R e p o r t i n g   T o o l " R e p o r t   G e n e r a t i n g   T o o l   f o r   S A P   R / 3   d A p p l i c a t i o n   c r e a t e s   W i n W o r d   d o c u m e n t e s   o n   b a s i s   o f   d o w n l o a d e d   R / 3   A B A P   L i s t s ,   g r a p h i c s   a n d   T e x t f i l e s 2 P .   V o g e l ,   S .   J o k s c h ,   M i c r o s o f t   C o n s u l t i n g   S e r v i c e s  S A P   A G                       
  [         0  @ 0    S t a n d a r d       CJOJQJ                  B A@ B    A b s a t z - S t a n d a r d s c h r i f t a r t                            V o r l a u f b l a t t       N o r m a l                                                  @          P  0 @     G                       T i m e s   N e w   R o m a n   5                       S y m b o l   3&                              Oh +'0   X                                <     H            	          
                   ,     8     @     H     P          *   SAP R/3 - Word for Windows Reporting Tool rd   #   Report Generating Tool for SAP R/3 g   3   P. Vogel, S. Joksch, Microsoft Consulting Services         . V   e   Application creates WinWord documentes on basis of downloaded R/3 ABAP Lists, graphics and Textfiles  l       Sap_rep8.dot rea      SAP AG 8      189       Microsoft Word 8.0  @    ]e   @    O@    \G@    J|         9      E                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ՜. +,D   ՜. +,  d        p      x                                                                  0             SAP                                                            *   SAP R/3 - Word for Windows Reporting Tool *   SAP R/3 - Word for Windows Reporting Tool            Titel             Title                        6      >         
   _PID_GUID      A   N   { E 4 B 1 C D F 8 - C A A 9 - 1 1 D 0 - A 2 8 A - 0 0 2 0 A F 6 D 6 8 8 F }                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               	                                                                       "   #   $   %   &   '   (   *   +   ,   -   .   /   0   3   4   :   P   7   8   9   ;   K   <   =   >   ?   @   J   B   C   D   E   F   G   H   I   L   O   M   N            R   h   T   _   V   W   X   Y   Z   [   \   ]   ^   `   a   b   c   d   e   f   g   Q   i   j   k   l   m   n   o   p   q   r   s   t   u   v   w   x   y   z   {   |   }   ~         R o o t   E n t r y                            	           F    0"{:|6     P   D a t a   @ P @ ` `  ` ` P p ` p p ` ` p p @ P ` P  p  `  p 
                   
        1 T a b l e    0 @ @  `  p   @ @ `  @ @ @ @ ` ` ` ` ` ` ` `       p ` p p ` ` p p @ P ` P  p  `        `  W o r d D o c u m e n t   ` @ ` `   0 P    ` ` ` ` @ P @ ` `             ` @  ` ` `  ` @              `   S u m m a r y I n f o r m a t i o n    @  ` P  P P ` ` ` 0 ( p p p p p p  p ` ` ` ` @ @ @ @  p !         D o c u m e n t S u m m a r y I n f o r m a t i o n   ` ` `  8       	T" 8"  	   
   *   )      $   M a c r o s      (      &      &      *         ?   >                       
|0|   8   	 V B A    	 "   h         	      	 ^     B                             
|PQb|      T h i s D o c u m e n t                                                                                        t      _ _ S R P _ a                                                                                                  _ _ S R P _ b                                                    	                                             @       t a b l e c o l o r d e c o d i n g                             &                                     A                                 	   
                                                       !   "   #   $   %   &   '   (   )   *   +   ,   -   .   /   0   1   2   3   4   5   6   7   8   9   :   ;   <   =   >   ?   @   A   B   C   D   E   F   H   I   J   K   L   M   N   O   P   Q   S   U   V   W   X   Y   Z   [   \   ]   ^   _   `   a   b   c   d   e   f   g   h   j   l   m   n   o   p   q   r   s   t   u   v   w   x   y   z   {   |   }   ~                   <   H  mh	           F                 H  mh               x      *  8         y{  #      H  mhH  mh  F               4            (    SL   S   S    6"       N 0 { 0 0 0 2 0 9 0 6 - 0 0 0 0 - 0 0 0 0 - C 0 0 0 - 0 0 0 0 0 0 0 0 0 0 4 6 } ]3 $ * \ R f f f f * d 3 3 3 9 e 8 c 2 a    p  (                    $   H    `               $           E X   $             O b   $   0                      $   0             $    `              $   0                          8          @           ME                                                                                    	        x   p    Attribut e VB_Nam e = "Thi sDocument"

Bas0{00020P906- 0C $0046}|CreatablFalse^ Predecla Id Tru"@ExposeT emplateD0eriv$eCustomiz2Option  / licit
 
            rU                    	       	      p                 q{      I"      {      !        4   "           "           c                        rU                    	     
     @        p      rU              ~}         	       	                        k                   x      ^  rU                    	              $          `  a                        p                                                                                    x      b  @_ _ S R P _ c                                                                                           T       _ _ S R P _ d                                                    
                                             m       D e f i n e P a p e r f o r m a t                               $                                              ;
      _ _ S R P _ e                                                                                        G                  yw                                           ~        r              P     6
    L            L    <     <     <        ]3 $ * \ R f f f f * d 5 3 3 9 e 8 c 2 b  * \ R 1 * # c 1  * \ R 1 * # 1 7 b  * \ R 0 * # c  * \ R 1 * # c 1    0       `           k              @Bl         PDh         `J	     x       h   @                 $       @             $   X   @   p   H        H         @  X        @   H     (   @  8        @`  (        @               `     @	         @x           @                                                      ME                                                                                    	      	     "                       	 "        	    H    	       | W h     " <       0       (      8     6 H      `    : 2 p           x         Z @   Z X      definition of the paperformat         P. Vogel, MCS, 17.6.94      1 Paperformat not yet defined for your SAP reports.   $ H     Please define it now!   Paperformat  @   B@F     Z p   E       ! L% N . J        J  ! PB@N            J( R        J( d      J  ! T% N ' B    J! R' D      Microsoft Word  SAP-REPORT-PAPERFORMAT  D  B@V       l H   @         ű Attribut e VB_Nam e = "Def inePaper format" 
Option  ExplicitD
Pub   Sub MAIN ()
Dim ,re >p|$@
Rem diof the p"P. Vo gel, MCS , 17.6.94jWordBa sic.MsgBox " no t yetbed  w your SAP port s." + Ch r(13) 	" @Please it"w!",, 6?fdlg  As Objec0t: S7 	= MDialogRec V.Filge up(FalseCur@Values )3
 .pSiz0	Tab 1
  <9 "π8*
(PProf@,Sn g "Micropsoft7AER- REPORT-P APERFORMAT@GyEnd 
 : rU              ~}         	       	                 4      
      )5      6      q6      
      a
      Q             6            6      !7            97      7      	8        `    W:H    X
   X8:( %: %(@ %"   $ @    6 X8  :fH%"   $ @  WX 8	  46 X8 0	@"   $ @  WX
 	  5X (H  %  (H %  6	@"   $ @  WX 8	  l5X WX `1h5X 2:H %:( %h@"   $ @             `0                                                                                x      ^           yu                                           z        V              (     6
    <     <     <        ]3 $ * \ R f f f f * d 4 3 3 9 e 8 c 2 b           `    x   (      @          .E     p         B 0    $      This macro decodes the color information of standard ABAP lists and reformats the selected text according to the color information to B&W text attributes. PV / MCS / 6.94  '   TemplateProject.tablecolordecoding.MAIN  rem                   $   8        8  (                  8     x	          "   `     h          &"(*        @   X         @   H         @   8         
 .02468:< >     (     @            @          @ @            @          @         "(   &"(*    
 .02468:< >   "   &"*(      
 .02468:< > "   &"*(      
 .02468:< > "   &"(
 .02468:< >p                      h                 `  ME                                                                         $           	      	      	 F       	 L   P   "       	 B       	 4       	    (   	 @   @     )     , A     Z q    	      	 J   (     ) x    , A     Z q    	      	      	 @         ) `    , A x    Z q    	      	 @        ) H    , A `    Z q    	      	 @        ) 0    $ 9 H    Z q p   	            x    B  this is a demo of the capabilities of custom macro functionality.   H  SAP gives no warranty on the quality and functionality of custom macros           >  this macro replaces the color coded information in ABAP-lists       /  with text attributes  Font size, bold, italics        P. Vogel, MCS 6/94  ;  search black text and replace it with autocolor bold 12 pt     "  B@          14 &    "   (    *  B@$         .    0    2    4    6    8    :   <        >  B@,
        F  search black text, 2nd headline and replace it with black, bold 12 pt         "  B@          12 &   "   (    *  B@$         .    0    2    4    6    8    :   <        >  B@,
        ;  search green text and replace it with autocolor bold 12 pt    "  B@          10 &    "   *    (  B@$         .    0    2    4    6    8    :   <        >  B@,
     ;  search dark blue text and replace it with auto color 10 pt    "  B@          10 &    "    *    (  B@$         .    0    2    4    6    8    :   <        >  B@,
        ;  search cyan text and replace it with auto color 10 pt bold    "  B@          10 &    "   (  B@$         .    0    2    4    6    8    :   <        >  B@,
       l (      Attribut e VB_Nam e = "tab lecolord 0ding"
 Option E xplicit
Rem this  a de mo of "e  capabilities&cus tom macr@o funca! >y.
FSA P giv -no  warranty  qthe qu* and<Z@s
Pub   Sub MAIN()
. DescriҀx~TaMyB; informa	nstBard AB Ylists)Kresse ted tex`t acc   <to, B&Ws. PV@ / MCS6.94ďfPro cDatalInvoke_F  TemplateA ject..ODrArec1
Bcod 4CinBA-BAqwithM1  Font  size, bo@ld, it@tckP. Vogel,:6/94search black D& autoCjA 12 pW \Basic.EditFind C^:=0
R;Point s:="14"," E, B@.:=1, I/W @Dir`р:atchCaseBWhole$BPatternMSoundsLikChAll$FW8rap@EP, 2PheadlineDB=*-5)or)  12)π())=0))e)JRgreen}_Rr]((`^_R"10(%Q)[(s(_Rac(}DRdHark@{ue( C{10z=2PPS()CR_( $S	1z@xzqzD(c|yaP'bQ-$Q3/2	Q+<';PPP"PPPE`O@
                                            h l             X 8      k                                                          rU                    	              $          `               p                                 rU              ~}         	       	                 Y8      y      	9      
            
      a
      Y9      i      9            )      
            	      I      9      :      A:      a:      y:      2      :      ;    _ _ S R P _ f                                                       )                                       R   e       T a b l e O f C o n t e n t s                                                                          U   -      _ _ S R P _ 1 0                                                                                       T   ,      _ _ S R P _ 1 1                                                  "                                          i   p         1;      Q;      ;      ;                                  ;  Cx  Ct E:P %x@t@l @`"   $ @  `@ `1p`5@  Ct M:P %x@t@lh *F@%`"   $ @  `0 `1l`6 @0 pMP@@
  @   :P	 ]/\ %lMP@@
  @:
 ]/05@\ 4:P %( %`"   $ @  `@  `1d`5@ ld *1d *d@`"   $ @  `    ` I(P %( %(  %( %( %`"   $ @  `        `  ):P %`"   $ @  `    ` 4:P %( %`"   $ @  `@  `1d`5@ ld *1d *d@`"   $ @  `    ` I(P %( %(  %( %( %`"   $ @  `        `   :P ]/\f ):P %`"   $ @  `    ` `"   $ @  `   ` I(P %( %(  %( %( %`"   $ @  `        `  :P ]/\{  2      FP9 5          @            (            d x h l t p           ` @ 0     k        @0   rU                    	              (          `               0     p      px   tvjxrU              ~}         	       	              :         C      
            
      a
      	      ;      	H      QH            H      D      H      B      
      H      	<      <      !=      =      )>      >      )?      	@      @      A      B      1B      F      i      1G    O b j e c t l i b r a r y                                        9                                          S   
J      _ _ S R P _ 1 2                                                                                      k   <      _ _ S R P _ 1 3                                                                                                     R e s e t o p t i o n s                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	      	 @     B           (       0   	 <   8   	 <   x   	 ,      	 &      	       	    (   	    @   	      	 &   X         	      	      	       	0      . Y    	      	&      " E 0   	 "   X        ( 2         	*       M    $     D 2 8   	     $     	       6 D    $      B 2 (     p   ( 2 x              	                	      	      	      	      	 @     B                  (       0       8   	 <   @   	 <      	 0      	 &         	   	      	    	   6  @	   	      	6   x	   2 Y 	   	     	&   	   " E 
   	      	   8
     P
   ( 2 `
   &  
   
  
     
   	      	&   
   * 3 
    %      & 0    % @    - P   	0   h     1                                                                                 x        d         ys                                                   :              P     >
            L        L    L    <        ]3 $ * \ R f f f f * d 7 3 3 9 e 8 c 2 b  * \ R 0 * # c  * \ R 0 * # d  * \ R 1 * # c 1  * \ R 1 * # 1 7 b  * \ R 1 * # c 1  * \ R 1 * # c 1         $   Z  `         @       $   ~x      `          |+          H    `           k      / /     ----Y          utinI          hronY\          201:Ph     for Pd         H    `        h  k     ) ) F    ot fY                                                                              x        @         yq                                                                 P     >
        L        L    <     <     <        ]3 $ * \ R f f f f * d 6 3 3 9 e 8 c 2 b  * \ R 0 * # c  * \ R 1 * # c 1  * \ R 1 * # 1 7 b  * \ R 1 * # c 1    0  (  8   H     $                                `          k x     0 0         Y\                                     P^x         P`t         Pbp         Pdl         Pfh         Phd         Z  0          @           X          8   H  X            $   0                x             (  Zl(   @ @`	      @8  P      @  @         @0        p   tvjx0    @              @         p     p   px   tvjx0     p`   tvjx0    H   tvjx0  @          @         @        p8   p0   tvjx0  p   tvjx0                       x            p   tvjx0     pp   ph   tvjx0     pP   tvjx0    8             8   H  8   H                     ME                                                                         6           	      	      	 *           8    	     "   @       H        X        `        h        p        x            	 >       	 (       	       6         (      8     E P   	     p            M    	      	                 0 %    4 4      P    * `   2 I x   H     	        )    4 4 8     p    *    2 I         	     	            )    
     2 I    
  P   	   `     x              	            x    &  array of errormessages in this module      Z H  8         Z    Z    Z    Z    Z    Z   Z 0   : , inserting table of content due to the switch in INI file   #  P. Vogel, Stefan Joksch, MCS, 6/94  ' 011:Unknown option for table of content   + Z     control ' ^  TableOfContents ' `  ^  `  \  %j ' b         check for frontpage option  	 frontpage ' `        ^  `  f  \   %j ' d  b$ l        START H Q     d$ l   Y       There is a frontpage   library.getlanguagedependency$    % (  ' h      h  2  ' h  h p  B@n          t   v   j   x   0  B@r       a   ?  No frontpage, but Table of content at the beginning of the doc    What is about VORLAUFBLATT?  \startofdoc  p  B@n     library.getlanguagedependency$    % (  ' h      h  1  ' h  h p  B@n          t   v   j   x   0  B@r       h (     END H Q      	 \endofdoc  p  B@n     B@z           t   v   j   x   0  B@r         NOH Q          no table of contentP         $ Z      k `  l X  P   Attribut e VB_Nam e = "Tab leOfCont ents"
O ption Ex plicit
Rem arr ay of er rormessa ges in t his module
DimB msg__$()zPub  Su b MAIN(inifile$ 4Re/1 sec$Okey	toc	valuesaprep0_dir>ma,rk  , serting tydcz due to ce switchjINI 	R
~P. V ogel, St efan Jok sch, MCS, 6/94t	{1)011: Unknown ofor@wKrol
{ҁWordB asic.[Ge tPrivate(Pro\S ng$](-, AB_m check %fr Dp@u+
 F %^5j +Y"OSel n Case UmA(9   B"`START@!AIfD	$\Y" T hen 're @a /
 EB2Call ("librar y.getlangu Edepen dency$", + "2+lWW7_E ditGoTo (Desa:=g,GInĀ  Outline: =1, FromTo:=8,  RightAlignP NumbersReplLac#El@/'H Nog&,  fatfbeginnj the0 docAgWh@0bout V ORLAUFBL0ATT?":= "\startof@H*%?9?9BJ 91?9?9 ?9?9?9End If#,akOChEND|"\ _.K6RKBreak1;VVV#NOaOn#]nt #gɸ
)(ub
                                                                                                                                                                                                                            ctheI             Y\         nd: P  h         Pd     om m@T     + Z@D      fil    `          k     $ $ o     graY         208:I         nguaY\         g itPh      getPd     	 +     `          k X          ----Y     x      I         ----Y\X         ----Ph      by P  d     Voge    `        
  k (              Y     H     I     h    
  Y\(         &   Ph        P`
  d       @T      str  `           k     ! !         Y     0        Y\       P        I             P`h         Pd         8   x     H  H           | 0               |              $                      H   | 0        @l    ~                              p  P    0            8  @`	        @  P        @@        @  0        @           Z          `	  x      	  	  	  `	  	  x	  @l    (  `	         ~l    H     @	  T        @ 
  D     (   @@	        @0
  0        @
        (   @H
          @         @     @   @l    (   `
         ~            p`      H  h      h  P  `
  
  x
  @  D         @  4        @0	        @           @          @           @     (   @        @l         F       ~ZH        p      p           0      8         8  (  @P  4         @h  $        @ 	        @       (   @           @          @     (   @        @          @         p  0                            @l             ~Zl       @@  T      @P	      @(  @     	 @p  0      @X         @        @       @      @       @     @       1                (        @l       o      ~Z    @    p       @h  T           @P	     p@P  @          p      @  0         @            @           @          @                      8           h                   ME                                                                                    	      	      	 *              	      	 @   8   "   x    	 <       	 B          x    2      &  @    (  h    *      *      (      >      6  X    D    )    	           	      	      	 @     B           (       0   	 <   8   	 .   x   	      	 &            	      	      	 2       2 Y    	 &   H     E p   	 "            	       	 D       ) (      H   	<   P   	      . 9    	       2                8   	6   @    ) x              	      	      	      	 @     B                    	 <       	 0   @   	 &   p         	      	 H      	 J      	    8   	      	    H      h   	      	 "   p    0 Y     " E    	     	         6 5      H      P   
  p              	           	      	      	 @     B                           	 <      	 :   8   	 &   x         	      	 L      	       	       	      	             	      	 "       4 Y     " E 0   	      . 2 X   	           	      	      	 @     B                    	 <      	 <   (   	 B   h   	 4      	 D      	 L   0   	 B      	 "      	 :      	 &   0      X      `     E x    D          
           	4      . 9 @   . % p   	      D 2    0 %       0   
  @     P      X   	        `   	         x    &  array of errormessages in this module     9 --------------------------------------------------------- 8      7 -------------------------------------------------------      =  same routine as in library! update synchronisly is necessary  8  # 201:No filename defined for object    + Z         202:Unknown file type :   + Z     203:Table file not found:   + Z   204:Objectheadline empty in   + Z         205:Custom macro not found:   + Z         206:Text file not found:    + Z  / 207:Unknown Alignment option for graphic file:    + Z    ( 208:No support for the chosen language.   + Z    6 209:Wrong itemno in the function getlanguagedependency 	 + Z     l      9 --------------------------------------------------------- x     Z   Z 0   7 -------------------------------------------------------      7  written by Stefan Joksch,Peter Vogel MCS, June 1, 1994      (  inserts file objects into the document.     !  there are 3 file types inserted:      Tables (*.RTF)        Graphs (*.wmf)        Text (*.txt)        "  init errormessages of this module  A@~       determine the filetype      ,  Creation of the Key Word for the file name:  Obj   $    %    _file  '    "  Retrieval of the Object Headline:            \  %j '          check if filename is defined                        $ Z      ,      a 8   &  insert the file with the right method            % $ l          RTF H Q     Inserting a table      library.inserttable     % (  '  L   inserting the table      WMF H Q     Inserting a Graph        inserting the graph        library.insertgraph         \  % (  '     TXT H Q     Inserting a Text       library.inserttext    % (  '  K   inserting the text       P          $ Z      ,         '      signal an errork 0   h (   f        9 --------------------------------------------------------- H    Z   Z    Z   Z 0   7 -------------------------------------------------------      7  written by Stefan Joksch,Peter Vogel MCS, May 26, 1994      +  Inserts a Headline at the Cursor Position.  "  init errormessages of this module  A@~       Preset of function value:     '   '  Preset of Function Control Value to OK    2  Creation of the Key Word for the Object Headline:    Obj   $    %   	 _Headline  '        "  Retrieval of the Object Headline:            \  %j '          Error Handling:                     $ Z      ,         '      Error Code for Return      '       h 0   !  Insertion of the Object Headline     $ H   B@     Carriage Return         %   '       B@     %   '         B@        ,  Object Headline is formatted as normal text  Normal      B@  	 \endofdoc  p  B@n     f      9 --------------------------------------------------------- H    Z   Z     7 -------------------------------------------------------      )  written by Peter Vogel, MCS June 1, 1994    "  init errormessages of this module  A@~     -  Creation of the Key Word for the Macro name:         Obj   $    %   
 _macroname '        "  Retrieval of the Object Headline:        \  %j '          check if macroname is defined                    no macro defined,   @  deselect the inserted object, otherwise it would be overwritten     	 \endofdoc  p  B@n     a    8  run the custom macro on the selected text in the report       check if macro exists          %        0   macro available   
  run macro          B@       a          $ Z           h     2  deselect the inserted object, and goto end of doc   	 \endofdoc  p  B@n     h X   f P      9 ---------------------------------------------------------     Z   Z    7 -------------------------------------------------------      +  written by Stefan Joksch, MCS May 26, 1994  "  init errormessages of this module  A@~     D  Analyses the occurence and setting of the Obj#Newpage switch in the E  .INI File. If it is set to Y, then a PageBreak is inserted in to the        
  Document.     Preset of Function Value      '    Retrieval of the switch value        Obj   $    %    _Newpage '            \  %j '          Analysis of strObjnNewpage$        $ l   N      >   default value     ' a     Start of a new page      B@z           ' h h  f `     9 ---------------------------------------------------------     Z   Z   Z    7 -------------------------------------------------------      6  written by Stefan Joksch,Peter Vogel MCS May 27, 1994       "  init errormessages of this module  A@~     H  Analyses the occurence and setting of the Obj#Orientation switch in the       .INI File. If it is set to a value L or P, deviating from the present REM setup, then a PageBreak is inserted into the Document and the       orientation is toggled..      Preset of Function Value      '    Retrieval of the switch value        Obj   $    %    _Orientation '                \  %j '         Library.PageOrientation     % (  '   f h
     9 ---------------------------------------------------------     Z p  Z    7 -------------------------------------------------------      7  pagebreakflag determines where to insert the pagebreak      =  0 = before headerpage (normal chapter, and global headerpage        /  1 = after headerpage (1. headerpage in report)      @  checks for headerpage entry in the control section for a global     G  headerpage and in each chaptersection for chapter specific headerpages      =  the layout of the headerpage is defined in an autotext entry          which is inserted on demand.        5  written by P. Vogel, Stefan Joksch MCS June 16, 1994        "  init errormessages of this module  A@~     
 Headerpage' `          `  \  %j '                1  there is an entry for the headerpage, insert it!                  B@z        h    0  inserting a new page with layout for Headerpage      Vorlaufblatt         B@       B@     set cursor into the frame     inserting an object  library.inserttable     % (  '  G   inserting the table        B@     set cursor into normal text            B@z        h   h   f     h    
  Z   Z    x         Attribut e VB_Nam e = "Obj ectlibra ry"
Opt ion Expl@icit
R em array  of erro rmessage s in thi s module 
DimBms@g__$()z'-5 
Priv"a Sub jit_
}_ 4^
ksroutine ah! upd>synch ronisly unecry 9x10 yQ1)201:No  filen6def 6d for Zo 22 :Unknown type :33:TabDlenot-und44:C} headl=emTpt@6n55 :Custom @macro U66:Tex  @;
7
7F8Ali gnment oCGgraphiVcB528D8AVsuppor=r@ e chosen@ langu@.E599:W ug itemnoC@PuncgetdependencAEnd ;CFd(s trchapter$,P,AF$@Keyn݀D=writt (by St efan Jok@sch,Pe  Vogel MC S, Juf1,  1994jinsertsCQ[jtoB3docu<.thern` 3\aed:b[s (*.RlTFvGaCbwmfdOtxt cinitl_jA;dmd@B!
   aCreaE
e 2 Wor{E> ~`6" +bBasic. [LTrim$]@(Str(n()r)@"_; Re@evalyH H${dC_GAGetPro!ing PjQ check if$b#ĜIf "" ThenC" @# I+eA ,a%ICEls`?	a !PBNa withrigh t methodSel CaPse U (($RA!a	`r3)K "S" ' I"``( a t/e4"=h?Call(".c"",') #!>t#WMF
4
'FA8EXoB,rtM&8b/e "TXTQ?			j@L [',$(},,%u :-1sPr> Yyp2orG	RiB,7
QIfs fMQ kG/l5jC(lE$flStar ߀> >	-C]mmmM026m=Fs=e atECursPosianeggeA LPrese`U _ue]3"p= 0 p"GC ontrol V alue xOKilyIReX$/m/m$m`m+amb m"mtmtr^]*m*G	E Hanqg$mXm t m/A(A001  Aq' s	Cod (uruU	qAk #Fq Chr(1S@'Ci@ I<p0wr 3	@lG`o'Set`R̀e`D, Oa&ݐmadmn Wt`'
FatStyp:="NdApp`ly:=17W W7_EditGoTo DesP⣰\ ofP
 ;a:
ZMZж te Funct ion Obje ctmacron ame(strc hapter$, not, in ifile$) 
Dim Key5 nnj$$Re$m-3 
 ; w ritten by Pe  Vo gel, MCS  June 1, 1994
/ t error messages  of this  module:
"_
"Cr,eael Word for"(e M :B
{ = "" +Basic .[LTrim$@](Str()) "_$"= Retrieva
lXe Headline7 4I0GetPrivatePro4ing 9

U
check if %  Ldefd
I$8@" Then,n*oC 
,deselBLins@erted o therwise  it would be ov 1{
   8WW 7_EditGo To Destini:="\en@dofdoc QEls@w4runcustom)   C'$text 
reportD existsCG'Com mandValid(Ch)I-1I 'availab()CAToolsCN	 :=, Run:=1=0nt #@@msg__$(5nd If:5 goto `-aS-C?4#4E %co
'4
`Newp hd@h?%2#cșSt efan JokschMay |26!3ߙԙA`nalys a^o ccurence 9sethgH# switchb.INI zF .Fv  	`BY,gn a P@-Bs~ipoA#	Document.>atPr`tF iu y /@= 0E$@$B@	?߲Ĳ?`z_
g^[?j!v#c5* ϮN" " Or (UClasn"N")Eault D$+DJStara new !4>7_Ior]V#_
>F k?O?3O?rO@tnta?/?s{?:np'uro?	-?@4@@7@ߍp#ߍu3@@#Sr/Am /As`utE!Aac& L 0P,vipng lfrxHpQ?pjREMQup_DinFCBL o7atoggled.OFbJFFFbjnFtF8FFOOwsTF
4,LwLC all("Library.<", GD<{_/<<hper| q,Ibgflagkey4<AnP f;A,pms we1/*qnKW	)0bee  rm%,,glob0ge1af	1~.`v`aus'RHwry} control7a 310ea4sTqA$ specc	 	;layo~ue Kjd	@autoqwhiaмde>1UP.jbUco*ᓑU
&"!ڣ*<v'߂[j!;<> `pz@r0s#t@!z, = X 0 Then
  WordBa sic.WW7_ InsertPageBreak@End If,Rem iHing  a new p \ with l ayout fo r Header4pEditA utoText  Name:="V orlaufbl att", Cont :=1,  
KCharL eft 1 '  set curs }into thpe fr \5n objectOhZ = X Call("li@brary.table Sfilen1$)@=/%XRight 2Ynormal |IfBbflagK1
AFu                                                                                                                                                                                                                                                                                                                                                                     nctio 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        IG      G      iD      B      D      4      D      )E      iE      E      E      	F      Q;      	      I      aB      I      B      !C      AC      C      	D      )F      iF      F      F                  
                 ;        ;        ;        ;        ;        ;        ;        ;  	      ;          $                                    l    
     Y:0 :@ %l T
  T%P"   $ @  P  : / `1hP6 T  E:@ %l @h@l @P"   $ @  PT `1dP5T ld 0  22       *## *#lh*FT92 5Td  M:00 %d@(@ %P"   $ @  PT T 
   P5T :@1 ]/0\ 2:@ %d@P"   $ @  PT  lP_ :@2 ]/0\ D:@3 %d@ l @l @P"   $ @  PT  lP_ :@4 ]/0\ 2:@5 %d@P"   $ @  PT  lP_  22       *## *#lh*FT92 5T D@l 5          l4      d             l  d h (            P T       8    
     (4  l Y: :4 %l $
  $% "   $ @     :" `1h 6 $  E:4 %l @h@l @ "   $ @   $ `1d 5$ ld 0 22       *## *#lh*F$92 5$ D4l $ Cd  3   $
%  $% "   $ @      5$ % "   $ @   $&   T  &d@ "   $ @       % "   $ @   $'   D  -T@D@ "   $ @   (    1:4) %( % "   $ @    *  
 +   ):4, % "   $ @    -  .           88                    l d h D T (              $           
     Y:0 :@ %l T
  T%P"   $ @  P  : 6 `1hP6 T  E:@ %l @h@l @P"   $ @  PT `1dP5T ld 0  ):@, %P"   $ @  P -  . P  9d@P"   $ @  PT7  D@]/ P5T\P 2d@(@ %P"   $ @  P 8  
 9 Po  2      ld*FT95T  ):@, %P"   $ @  P -  . P    >      0                   l d h            P T     |  ,    
     (T  l Y:0 :T %l D
  D%@"   $ @  @  :  `1h@6 D  E:T %l @h@l @@"   $ @  @D `1d@5D 5ld 0 dMT@D
  D:0 ]/ 5D\  (T  l!  @"   $ @  @   @ (T  l             ,0      !             l d h            @ D     @       
     (D  l Y:  :D %l 4
  4%0"   $ @  0  :  `1h06 4  E:D %l @h@l @0"   $ @  04 `1d054 2:D! %d@0"   $ @  04  T0            4                     l T h d            0 4           
      Ch E:P %l @h@l @`"   $ @  `@ `1d`5@ ld =  0(P  ]/@\  `"   $ @  `   `  9:P %(0 %(  %`"   $ @  `
 	  
   ` %(P %`"   $ @  `  ` 2:P %d@`"   $ @  `@  l` %(P %`"   $ @  `  `  0(P ]/@\ `"   $ @  `   `          \ 0                   l h d           ` @                       M          rU                    	              $          `           0         `                        0/00         `                        0/00         `                        0/00 !       `                        0/00 I       `                        0/00 q       `                        00/     p                                                                                                             x      j  @         yM                                                   F              P     6
        L        L    <     <     <        ]3 $ * \ R f f f f * d 8 3 3 9 e 8 c 2 b  * \ R 0 * # c  * \ R 1 * # c 1  * \ R 1 * # 1 7 b  * \ R 1 * # c 1         `              0  k          Px     Pt                   V /    $       Resets the viewoptions to normal P. !   TemplateProject.Resetoptions.MAIN        (           $   @   X     0            l        @   @`  p	     @   @  `        @x  P        @H  @        @  0        @,	        @          @                                  @     a b @                           x                       (                                          ME                                                                                    	      	     "                       	 D         & v h     0                   	 0        & v       0   "  8     `   & 1 p          1         " 1    "     $ 1    " 1 @      h   " 1    ( 1               	             x         Z @   Z X      >  code bracketing for English French and German Version of Word        % $ l     % '       GERM     ENGL      FRAN     XXXX'     h (    +  Select Case Left$(UCase$(AnwInfo$(16)), 4)     % $ l     % '          GERMH Q     german version           6.0     Formatierung      B@   a `     Format      B@ h 8     Standard      B@         ENGLH Q    English version        
 Formatting      B@       Standard      B@         FRANH Q    French version  Standard      B@         Mise en forme       B@   XXXXH Q     k   l      \ Attribut e VB_Nam e = "Res etoption s"
O$ E xplicit"
Pub 4 S ub MAIN(X)
". D`escri|s  the view to no0rmal kCPr@ocDataOI nvoke_FuncTemplate "ject.	. PDim  L_Langu@age$
vers 
' co de brack eting fo r Englis h French and Ge On V  of Word
,G	Basic. [Left$](@UCase(A@ppInfo 1@6)), 4 If	P <> "GERM" A<0!ENGLFR AN" Then
   M"X   E)If
R@em Sel ( ,+$(AnwB)()BL828~38J	c*<' gZZ2A	@I "6.0I: YV@Toolbars :="FAtierun g", Show:=1Else?GDZStqardG~'G$?AQ+O~'Df-3':M@ise enwm~e'_cQAaa 
                          rU              ~}         	       	               _ _ S R P _ 1 4                                                                                               _ _ S R P _ 1 5                                                                                               m       R e p o r t l a y o u t                                                                                       #(      _ _ S R P _ 1 6                                                                                         
        
      i            9*      
      a
      q*      *      *      *      +      1+      y+      +      )I      	,      9,      -      .      i             v: %:P %(` %p"    $ @  p@ 0
  0%( %,"    $ @  , `1x) p,6 @0 lx =lx =lx =  	 Cx  v: %:P %(` %p"    $ @  p@ 0
  0%( %,"    $ @  , `1t) p,6 @0 lxC l 0 lt
 0m 1:` %(P %p"    $ @  p     p  1:` %(P %p"    $ @  p     p  1:` %(P %p"    $ @  p     p l 0H 1:` %(P %p"    $ @  p     p 1:` %(P %p"    $ @  p     p l 0 1:` %(P %p"    $ @  p     p 1:` %(P %p"    $ @  p     p l	 0 /         0                     x t            p , @ 0      k                                              rU                    	              $          `       i                  p                         rU              ~}         	       	              -   II                        !     
      I      
      a
            y      J            i      1G      J      K      yK      K      K      	L      aL      L      	M      IM      	      )      
            	      I      yM      D      M      N      N      N      N      O      O                    	  
                                               !  "  #  $  &  '  (  )  +  ,  -  .  /  0  1  2  3  4  5  6  7  8  9  :  ;  <  =  >  ?  @  A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  V  X  Y  Z  [  \  ]  ^  _  `  a  b  c  d  e  f  g  h  i  j  k  l  m  n  o  p  q  r  s  t  u  v  w  x  y  z  {  |  ~    
        (     0   	      	 :   8  B   x                               	 ,      	 4      	 0      	    8   	       $ % P      x                 E          4 4          *      + 8   
  H     X    & `   ,  p                    	      	      	      	 :     B           	       	       	       	   	 *    	   	 4   P	   	 0   	   	    	   	       ( % 	   	    	      
      (
     E @
      `
      p
   *  
   4 4 
     
    *     +     
  0     @   *  H   	*   x   
     
     
     
                       x    &  array of errormessages in this module  Z   8         Z    Z     # , defining the layout of the report  :  reads and interprets misc. options in the [CONTROL] block     of the INI file     #  P. Vogel, Stefan Joksch, MCS, 6/94  & 021:Unknown option for chapter numbers  + Z        inserting chapter numbers    \$  ' B     Inserting headline   \$  ' B     Inserting footline   \$  ' B     Inserting pagenumbers        \$  ' B  l       3 ---------------------------------------------------            Z 0  Z H  Z `     inserting chapter numbers    Inserting chapter numbers ...   B@        '   control ' ^  Chapternumbers' `    ^  `  \  %j '         $ l        N H Q         B@             B@       P     Assume Default: Y         Print #1, errmsg$(1)          chapternumbers = - 1         3    B@           B@       k (   f        3 ---------------------------------------------------       x    Z   Z   Z   Z     %  inserting the header into the report        /  this function assumes that the view is normal!      +  this should be done in function SETOPTIONS    P. Vogel MCS 6/94    Inserting headline ...  B@        '   GENERALINFO ' ^      HEADER' `    ^  `  \  %j '                    library.getlanguagedependency$    % (  ' h      h  2  ' h  h p  B@n         %         B@        h       B@     B@        h   f      3 ---------------------------------------------------       8    Z   Z   Z   Z    '  inserting the footline into the report      /  this function assumes that the view is normal!      +  this should be done in function SETOPTIONS    P. Vogel MCS 6/94    Inserting footline ...  B@        '   GENERALINFO ' ^      FOOTER' `    ^  `  \  %j '                    library.getlanguagedependency$    % (  ' h      h  2  ' h  h p  B@n         %          B@         h       B@     B@      footer text is left aligned    h X     ' f H     3                                                                              x                 yO                                                   K!             (     >
        L            ]3 $ * \ R f f f f * d 9 3 3 9 e 8 c 2 b  * \ R 0 * # c  * \ R 1 * # c 1  * \ R 1 * # 1 7 b    X     $      $                                 `          \k x           Y\                                     @Bl         x    `        X  k       !        Y\           P^  h         P`d         P`         8    `          k       9        Y\           P^h         P`d       P  `     he [Ph\      of     `        P  k x      U    021:Y\       umbeP^h      insP`d     rs  P`      InsPh\     $   `        	  k 8    ! ! t    ng pY\       B  P^h     ----P`d     ----P`         Ph\     H  Z  0          @    rs  8     x  8                    8     x  8                    x   @  (  Z   @\     0  `  H    8    x           @l       P    !       l,        @\	          +                @  L     @<       @,     @                                    @l          9   p     p`             @X	     @   H     x  @8  8     @(     @           x      8	  h	  P	     	  	  @l         U        p             @X	     @	  H     8  @	  8     @(      p   @       X  X
  p  8    
  
  
  
  X
  
  p
  @l       X
  t    l
       p     p  @X	         x  @   H         @8  8         @(         
         @         @         8
             8         `                
 8  ME                                                                                    	      	      	 *           8    	     "   @       H        X    	 (   `    	 >       	        	 (       	       4     	      	    @      `   	      	    p         	      	             	      	             	           	      	      	      	 :     B   8       @       H       P   	    X    , % x                       E          
     
      ) (     @   	   `   	       )     )          	           	      	 :     B           (       0       8       @   	 *   H   	 4   x   	 0      	       	       $ %              (      @     E P      p   4 4          *     +    
            &     ---------------------------------------------------           Z X  Z p  Z   Z    &  inserting pagenumbers into the report       /  this function assumes that the view is normal!      +  this should be done in function SETOPTIONS    P. Vogel MCS 6/94    Inserting pagenumbers ...   B@    check for pagenumber         CONTROL ' ^  PAGENUMBERS ' `      ^  `  \  %j '         $ l        N H Q     no page numbersP   "  inserting pagenumbers is default!        library.getlanguagedependency$    % (  ' h      h  2  ' h  h p  B@n         %          B@         h     B@      goto end of footline area       &  pagenumbers are inserted rightaligned        B@          B@
          B@          B@        k      ' f       Attribut e VB_Nam e = "Rep ortlayou t"
Opti on Expli cit
Re m array  of error messages  in this  module
DimBmsg __$()zPub  Sub M AIN(inifile$ Re/f1 re y u, def /ng ee the r
rea@ds and terp @ isc. oe [ CONTROL] block ka(INI M
P . Vogel,  Stefan  Joksch,  MCS, 6/9N4n v1)0 21:Unknown= for chap L nu`mbers2inserti p
a (	 I hlin Hfootp ~#)=KE@d ~J '-/ 
Priva@FuncBDseB	$key?DA- ^Wo rdBasic. ntStatusBar "[D!t ...uDH1 p0
E$@"control@
A&ACDC$!"[GetBPr
oS ng$](E, A,@Sel D Case U (Am   "N`a !EditcAl(l
Fat;MXN[Y ,ov0e:=1cBEl' AssuDjult: Y
2B. #1,$<$(!,- gTPreset:="32  Restart:= :Z+ZS\S`\x\er]$Bmark]aer Etob"fma5satBview e`n?l!bs hould be done  SETOPTIONS'7b@?nŜm$ e,mGE NERALINFO<k`"HEADER %`E?l$0lIf 	< > "" ThenGZ)1Call ("library.gengudependency$", _l	+ "2d!WW7_xGoTo D,ina9qT:=No4t V ()61If gTc.Cl(oseGFjer
%q 757zCql7%#fAs773v7M7p7ma777s7o
on = 77"FOOT77s~m|7N
*7  1=-7a77T7ă77Y5;77S/7@+:1e2 77c.Le ftPara 'C0btextQ_l aligned8 9Oq/9--9 99'qq/:/:qq!qqqS?q?6S:!checkpr[DGca@"PAsUMBERSPw/zo;o;d/, (nor*w sa 50/A:/A/Axat/Ak$ /A/Ax'9/A?/Aq /Asɰ    End If
  WordBasic.  OfDocume nt ' goto e of f ootline areaxRem  pagenumbers: in serted r ightalig(nedI(ParPgeFi4el@R`?Cl oseViewH@eaderF er
Select
\= 0Functio n
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               O      	P      IP      P      P                                    ; l \
  \l l \
  \l l \
  \l l \
  \l          (                      l           \   \    %:L %\"   $ @  \	  \ (L  l 
 Ch  Cd E:L %h@d@l @\"   $ @  \< `1`\5< `ML@<
  <, ,:L ]/\  \"   $ @  \   \ )(L %\"   $ @  \    \Q  ):L %\"   $ @  \    \ )(L  %\"   $ @  \    \ 5,        ` \8      Q              l , h ` d           \ <       %:H %X"   $ @  X	  X (H  l  Ch  Cd E:H %h@d@l @X"   $ @  X8 `1`X58 l` = 4:H %(( %X"   $ @  X8  `1\X58 l\ *1\ *\@X"   $ @  X    X +X"   $ @  X8   X58\H X"   $ @  X   X  &`@X"   $ @  X   X X"   $ @  X!   X         d 8                    l \ ` h d           X 8        %:H" %X"   $ @  X	  X (H  l  Ch # Cd E:H %h@d@l @X"   $ @  X8 `1`X58 l` = 4:H %(( %X"   $ @  X8  `1\X58 l\ *1\ *\@X"   $ @  X    X +X"   $ @  X8$   X58\H X"   $ @  X$   X  &`@X"   $ @  X   X X"   $ @  X%   X  (H  l          d 8                    l \ h d `           X 8  h      %:H& %X"   $ @  X	  X ' Ch ( Cd E:H %h@d@l @X"   $ @  X8 `1`X58 `MH@8
  8( (:H ]/\   4:H %( %X"   $ @  X8  `1\X58 l\ *1\ *\@X"   $ @  X    X +X"   $ @  X8$   X58\` X"   $ @  X$   X  X"   $ @  X)   X X"   $ @  X*   X X"   $ @  X+   X X"   $ @  X,   X X"   $ @  X!   X 5( (H  l        t <          $         l ( \ h d `           X 8                  W                                          rU                    	              (          `               0(         `              0(         `              0( _ _ S R P _ 1 7                                                                                            %  (      S e t O p t i o n s                                                                                           _ _ S R P _ 1 8                                                                                      *  
      _ _ S R P _ 1 9                                                                                             U  m               `              0( !       `              0     p                              rU              ~}         	       	              @   
      
      a
      I&      &            &      &      !'      A'      i'      '      '      '      	(      9(      a(            (      (      )      	      Y      Q)      A!      )      )            *      i            9*      q*      *      *      *      +      1+      y+      +    f Not  WordBasi c.DocMax imize() Then
 ViewNormal
Toolsx Field Codes:=0 , Bookmark_
 TabSpa hB	ParaFHyp $HiddenShowAllDraw@k	@AnchorT extBoundxari!1	,Gel PagingBErrorBeep 1, -Upd@_Lin2WSave Cre Backup+Fast@EpAutoABInva@7"rX@Print g>rA8" Je all 7bar"s' c b br"e¶Eng lish FreM and Geun V L
@Q[Le ft$](UCase(AppInfo16))8, 4 @<>  "GERM" A -ENGL3`FRAN"bUH l  )X  @'E`
If
"_`aj[g2A3@!*Sel m ! $(Anwb(Gjp#D' gC-@-C$e"6.0)a ,!mC=%>:="Fst ierung"," aB:=1gElse_
F
	$-_	@	St@Mard	^Rahmen_"@enbankZeich2n_ew2ular?Makro?1ڭY"cl'NQLLA1j?.arP$B@l{`J (lubKolQT5gq sMO ?C T'D`? OE$Mise @hmepe d  onneI_i?Eϯ0=irEnregistre@Mtq"ϟc.ob4urB"b!un3t wasA  dirty, so et i t to cle\an0eD H0
ub    P @@             +      	,      9,      q,      ,      ,      -      I-      q-      -      -      .      Q.      .      .      .      /      i/      /      	0      y0      	      i            0      +p"    $ @  p`   Pp5`\L  p"    $ @  p   p p"    $ @  p   p y(@  %(0  %(   %(  %(   %(  %(  %(  %(  %(  %(  %p"    $ @  p      	 
       p 9(@  %(0 %(   %p"    $ @  p
      p A(@  %(0  %(   %: %p"    $ @  p       p )(@  %p"    $ @  p    p v: %:0 %(@ %p"    $ @  p` P
  P%(  %"    $ @   `1x) p6 `P lx> =lx! =lx" =$ # Cx  v: %:0 %(@ %p"    $ @  p` P
  P%(  %"    $ @   `1t) p6 `P lxC l> 0 lt$ 0 1:@% %(0 %p"    $ @  p &  ' ( p%  1:@) %(0 %p"    $ @  p &  ' ( p  1:@* %(0 %p"    $ @  p &  ' ( p 1:@+ %(0 %p"    $ @  p &  ' ( p 1:@, %(0 %p"    $ @  p &  ' ( p 1:@? %(0 %p"    $ @  p &  ' ( p 1:@. %(0 %p"    $ @  p &  ' ( p 1:@/ %(0 %p"    $ @  p &  ' ( p 1:@0 %(0 %p"    $ @  p &  ' ( p l! 0 1:@1 %(0 %p"    $ @  p &  ' ( p 1:@* %(0 %p"    $ @  p &  ' ( p 1:@2 %(0 %p"    $ @  p &  ' ( p 1:@3 %(0 %p"    $ @  p &  ' ( p 1:@4 %(0 %p"    $ @  p &  ' ( p 1:@5 %(0 %p"    $ @  p &  ' ( p 1:@6 %(0 %p"    $ @  p &  ' ( p 1:@0 %(0 %p"    $ @  p &  ' ( p l" 0 1:@* %(0 %p"    $ @  p &  ' ( p 1:@7 %(0 %p"    $ @  p &  ' ( p 1:@8 %(0 %p"    $ @  p &  ' ( p 1:@9 %(0 %p"    $ @  p &  ' ( p 1:@: %(0 %p"    $ @  p &  ' ( p 1:@; %(0 %p"    $ @  p &  ' ( p 1:@0 %(0 %p"    $ @  p &  ' ( p 1:@< %(0 %p"    $ @  p &  ' ( p  / %(@  %p"    $ @  p=  p        0                     x t            p  ` P      k       1    $ 1    " 1       (      0   rU                    	              $          `                         p                         rU              ~}         	       	     	         (                                                                               x        S         yI                                                                 P     6
        L        L    L    <     <        ]3 $ * \ R f f f f * d a 3 3 9 e 8 c 2 b  * \ R 0 * # c  * \ R 1 * # c 1  * \ R 1 * # 1 7 b  * \ R 1 * # c 1  * \ R 1 * # c 1         `              8  k   = =      ssumPx     normPt     ould                 $   (   Set Options after the generation processThis   TemplateProject.SetOptions.MAINn of      0           $   @   X     0          l        @    .02 @      "$&(*@  p	       @H  `     @  P         "$&(*  "$&(*  "$&(*@  @         @  0     @            @         P @@             .02 68:<T    @   @X       @p           @h        68:<       B   B   B   B   B   B   B   B   B   B   B   B   B   B   B   B   B   B   B   B   B   B   B   B   B    @           @            .02 68:<       @    @         B   B   B   B   B   B   B   B   B   B   B   B   B   B   B   B   B   B   B   B   B   B   B   B   B   B  (   .02 68:<       @    @	         B   B   B   B   B   B   B   B   B   B   B   B   B   B   B   B   B   B   B   B   B   B   B   B   B  @     @         B   B   B   B   B   B   B   B   B   B   B   B    "$&(* .02 68:<       @   B   B   B   B   B   B   B   B   B   B   B   B   B   B   B   B   B   B   B   B   B   B   B   B     B   B   B   B   B   B   B   B   B   B   B   B                                           ME                                                                         B           	      	      	 D       	 *   P   "                         J      
        r y     	       * 9 @   	       2 A p   	        )    	      	       	      	 D       & v      0  H     x          & v    	 0            "          & 1 (     P     1 X     x   " 1      1    $ 1    " 1    " 1      1    $ 1 8   "  `   $ 1    " 1    " 1    " 1     " 1 (     1 P     1 p   $ 1          " 1    ( 1     * 1 (     1 X   $ 1 x   2 1    $ 1    " 1       (      0   	      	 4   8     % p        	       x    @  this macro sets the options for the build process of the report %  P. Vogel Microsoft Consulting , 5/93       Z @   Z X     %     F   B@  g  	   B@  	            #                                "    $    &    (    *  B@            .   0    2  B@, 
            6    8    :    <  B@4   B     @  B@>        Hide all Toolbars    >  code bracketing for English French and German Version of Word        % $ l     % '       GERM     ENGL      FRAN     XXXX'     h p      % $ l     % '    +  Select Case Left$(UCase$(AnwInfo$(16)), 4)        GERMH Q     german version           6.0     Formatierung    B  B@   a      Format    B  B@ h      Standard    B  B@         Rahmen    B  B@  	 Datenbank     B  B@       Formular    B  B@         Makro     B  B@  	 Microsoft     B  B@       ENGLH Q    English version        
 Formatting    B  B@       Standard    B  B@         Borders     B  B@         Database    B  B@         Drawing     B  B@         Forms     B  B@   Macro     B  B@  	 Microsoft     B  B@       FRANH Q    French version  Standard    B  B@         Mise en forme     B  B@   Base de donnes     B  B@         Dessin    B  B@  
 Formulaire    B  B@       Enregistrement de macro     B  B@        	 Microsoft     B  B@       Bordures    B  B@       P    k       -  template was set dirty, so reset it to clean          B@D   l P   H     Zeichnen    B  B@ ar:="Z     Attribut e VB_Nam e = "Set Options"
$ Expl@icit
R em this  macro seDts e ol forbuil d process of(repor P. Vogel Mi H@soft C wu lting ,  5/93
Pub | Sub MAIN()
. Descri  aftegener^a q%PXData+Invoke_Func+ TemplateA ject..D 'Dim L_ Language$
vers Is a v e r e p o r t                                              .                                             G      _ _ S R P _ 8                                                                                         W  t	      _ _ S R P _ 9                                                     /                                          }  n       B a t c h s t a r t                                                                                     {%      e          show fileinfo dlg    J  ! T% R ' B    B          Update Fileinfo record       J  B@R      save file dialog     J           J' Na     \' N  library.getDateiName$   N  % (    .doc ' N  h     library.isdirectory   L  % (          L  B@:    h       ! L% Z . P    N  P(       P  ! T% Z ' B    B           B@\         6 Report can not be created without intermediate saving!  Cancel Report     B@F            - Report canceled due to no intermediate saving         ' Ha p     P!    B@Z     ' Hh H   a @     B@\         6 Report can not be created without intermediate saving!  Cancel Report     B@F          ' Hh   h    K  activate fast save option for intermedate commits during the build process     8  B@4       f H  @    J! V'                 Attribut e VB_Nam e = "sav ereport" 
Option  Explicit
Rem  inserts  customer	  fo to the File$ Dialog and s
|F
Priva Funcm' (inif D$) 
Dim seE$key	valuedocn path|re H $WHd lg2 As Obj 0n' ma rk templJaqlean 
WordBasic.SetTDirty 0I.lg':    1 Rec '".Sum 9yI nfo(False yCurVq~s,;i? %ōGeneral@{UAHeadlineW G$[GetlProSS ng$](, , qA.Tit= m
EAuthorC /CreadxComXmen @RB ced " +H?rieve* u A
S/"control@*EL 	@D$	=iicg!riFcheck fotU@%batch modea@A?%If @UCase(#
)@
"B" Then '    at\UpaM"sr"
6|A  =*<> "c?Right rE, 1) \a=aPc+ ".\ &a EIfCall("l ibrary.isditory",
!$1#ChE@k .0 -sig nal errorH def ault: *.*.@GiVEϒgetjD`i$	)} ~"A)	)BrGCgAave@:=3%cd"1
inGe#d-Bhow PRpH`j.j j )3-Q.oLGpmA1 "0" dgs113KiT]j/o cm ?5G?5?5?5a  X?5"                                                                                                                                                                                                                                                     k<2 gPAsF 2.)Go%c%%n2$%!f%0BB8eepWgMs@gBox "wa n not beIxwi utQexrmeP%04_!;"Cancelf  16 nt #1,I0~due `n(U!A 1 (g@૒	T@1 wѾoPŰh3
pL13aAA V fast ^ov`ciЗdubui ld procesȷToolsCsS( F 8s:=B
 	                     E    	      	 (                0     E @    & % `   	       &          F            
      
      a
      	            Y                                    	      9      a                  y      )      Y            i            	      I      y            
      )      I                                          	       Q       y       Y      A!        x    %(,  %<"    $ @  <  <  :f,%<"    $ @  <W   4(<6  0(	@<"    $ @  <W   <5  Ch  Cd E:,	 %h@d@l @<"    $ @  < `1`<5 l`F,%(
   Cd E:,	 %h@d@l @<"    $ @  < `1`<5 l`F,%(   Cd E:,	 %h@d@l @<"    $ @  < `1`<5  l`*F%( 5  Ch  Cd E:,	 %h@d@l @<"    $ @  < `1\<5  Ch  Cd E:,	 %h@d@l @<"    $ @  < `1X<5  Ch  Cd E:,	 %h@d@l @<"    $ @  < `1`<5                                                                              x      0  f         yK                                           L                      P     6
        L        L    L    L    <        ]3 $ * \ R f f f f * d 2 3 3 9 e 8 c 2 9  * \ R 0 * # c  * \ R 1 * # c 1  * \ R 1 * # 1 7 b  * \ R 1 * # c 1  * \ R 1 * # c 1  * \ R 1 * # c 1      H  H   `          k @      k k      Y\       P^H  h     P`d         Pd`         PJx   \         PLX         @BH         PND        `P   @	         `J(	             F h           $       F            $   `              @               H  p  `  @Hl    x  H    l       @<	        @  ,        @                           8     @         @0           @          8             8     8   0   8(           8         @             X      x   8p  h                      x                 p  ME                                                                         p           	      	      	 >       	    H   B   X        `        h        p        x                                    	      	          %     	       " <       0     	      	 .      	         @      X     E h         	              E          	              E     "     	      	      	    8      X      h     E x   	      	                     E    	      	 (                0     E @    & % `   	       &          F              . >      & 0     @     H     h      p        6 B         	       1               	   0    6 H     `   	   p    &    	      	                          6 B         . >      & P     `    : h         6         
     Z 1    <  (     h     p    / x                  
     Z 1         	            	         (   	      	 P   0     )    	              x    :  inserts customer info into the File info Dialog and saves   the report       Z `   Z x   Z    Z    Z    Z    Z    Z        mark template as clean        B@D   Z    E       ! L% R . J        J  ! PB@R        *  insert customerinfo into File info Dialog    GeneralInfo ' ^      Headline' `  ^  `  \  %j ' d        d  J( T      Author' `    ^  `  \  %j ' d        d  J( V      Creationdate' `    ^  `  \  %j ' d        Report created    d   J( X         retrieve document name       control ' ^  docname ' `  ^  `  \  %j ' J         retrieve document path       control ' ^  docpath ' `  ^  `  \  %j ' L       $  check for interactive or batch mode  control ' ^  mode' `      ^  `  \  %j ' d        d$ l   B       batch mode      Update Fileinfo record       J  B@R     L           L    %   \         L  \  ' Lh     library.isdirectory   L  % (          L  B@:    a      ' H    signal error     h x  a     default: *.doc = *.ini   \' J  library.getDateiName$   J  % (    .doc ' J  h      store document       L  J    B@Z   ' Ha     interactive mod %`M,@
  : ]/5\j &(	@<"    $ @  <  < lX = F: %X@(, %<"    $ @  < : ]<<5\b lX *1X  >:, %X@<"    $ @  <  ( ]/<5\ &X@<"    $ @  <  <  (,  l )   C\ B:, %\@<"    $ @  <  : `1\<6   1lXl\*F%<"    $ @  <    <5 (, lD  6(	@<"    $ @  <W    H<5 HD,]/\ &(	@<"    $ @  <  < l\ = l\CD?   CD B:, %D@<"    $ @  <  : `1D<6   >:, %X@<"    $ @  <  ( ]/<5\ &X@<"    $ @  <  <  :f,%<"    $ @  <W   4@<6  lDF,%@  6@	@<"    $ @  <W    H<5 H(,  ]/\ <"    $ @  <!   < 1:," %:# %( %<"    $ @  <$  < 2:,% 9 (,  l  /@W %<"    $ @  <    <5 (, l B  <"    $ @  <!   < 1:," %:# %( %<"    $ @  <$  < (,  l   )(,  %<"    $ @  < &  ' <    @      xL      D    4     
    l h ` H \ d @ X D (           <       k                  rU                    	              (          `              0    p                        rU              ~}         	       	              3  l     % '         dotname$ = "sap_rep7.dot" ate fi    Else repor      dotname$ = "sap_rep.dot"  B@|  If   a          h        2  make the download directory the current directory    f  B@:       search SAP report template     %j ' d        d  Windows           %j ' f      h     d 
 Windows NT   f  4.0      a   h     h    %   \         h  \  ' hh p    d 
 Windows NT   f  4.0      a     Microsoft Word  WORKGROUP-DOT-PATH  %l ' h  h X    h    %   \         h  \  ' hh      Can not find    b  )  template file. Please install correctly!    Aborting SAP Report application     B@F         ' `h X   h P     `         template found, do the job!   %  prevent autonew macro from executing           B@p     h  b  t  B@r      B@p     mainloop.main   f  \   B@(       check for printonly flag     control ' ^ 	 printonly ' `        ^  `  f  \   %j ' d  d$ l   Y       print only the report    @  B@v           B@x      delete intermediate files     MsgBox "killing files"       *.DOC   B@z  "   report document        *.INI   B@z  " 	  INI file       *.RTF   B@z  "   table files    *.WMF   B@z  "   graphic files  *.TXT   B@z  "   text files     *.LOG   B@z  "   report log     *.TMP   B@z  "   Temporary Files      h `  h X     AnwSchlieen "Microsoft Word"      l         8.0    &  Name of template file for SAP reports        sap_rep8.dot' b           ) Rem Name of template file for SAP reports  + This version can only be used under Word 97   B@F       0
          0    Microsoft Word  USER-DOT-PATH   %l ' h0\Word M HKEY_CURRENT_USER\Software\Microsoft\Office\8.0\Common\FileNew\LocalTemplates         %j ' h  h  b   %n       6   not found, send error message(   N HKEY_CURRENT_USER\Software\Microsoft\Office\8.0\Common\FileNew\SharedTemplates        %j ' h        (       J Extrahieren des Pfads und Dateinamens aus ganzem Pfad ohne Datei Extension    Erweiterung.         +  Stefan Henneberger iXOS Software GmbH 6/97       Z Z     < HKEY_CURRENT_USER\Software\Microsoft\Office\8.0\Word\Options 
 PROGRAMDIR  %  '                          $     \       r P  h H                   $   '       % $ l     %        GERMH Q         Vorlagen '     ENGLH   FRANH Q      	 Templates  ' P 
   0  note language is not supported error to logfile         0 210:notsupported language might cause problems.       	 Templates  ' k  
  f 	  
  0    c:\sap_rep\ ' f      h  b   %n       2   not found, try again   (        Attribut e VB_Nam e = "Bat chstart" 
Option  Explicit
Rem  SAP report ap8aP
6boots trap loa der for bprocessingRthi s macro  ist call@ed dur !  WinWord 	up1execqa wS t(h "4. ' /&M
toN tDhe	 inPmode.Ne M ODE falgy_REP_I NI muWbe set  *Bgin_k 1: NORMAL.DOT filebeavail abel at Sup timDe!Pub   Sub MAIN()
.Descri ŀyP@jDataInvoke _FuncTe@mplateject.Y.A! Dim erro0rfla@zsap_dir$b
ini?DversdotnCDoperngsystemD~dowsADir_s%keyvaluFePetV oge                                                                              x      =	  {         yE                                           Y	                           6
    <,     <     <     <     <     <     <         L        <0     <4     <8     <<     <        ]3 " * \ R f f f f * 5 3 3 a 8 e b 2 3  * \ R 0 * # c  * \ R 1 * # c 1  * \ R 1 * # 1 7 b    H  @     `            H   e e         @`l       mPfh     n   P\d     x   P`      thiPb\     urinPdp   X     due PfT     rd pPhP     .exeP^   L         P`H         PdD             ^ x               $   $   Bootstrap loader for batchprocessing   TemplateProject.Batchstart.MAIN     (      $   ^               $       ^ @           $     X   4     |     `      (   0	      @         ^                    X   0                `   t    @     t(    @         @         Ori@          = 0     	     enta tH   @@   t8   @0   t    @    t    @    tx    @p    th    @`    tX    @P    tH    @@    t8    @0    t(    @     t    @    t    @     t   @  x   t   @                   t   @    X  @        X  (        p   X           tX    @P   H   @        (                     tP   @H   t@   @8   t0   @(   t    @   t   @   t    @   t   @   t   @   t   @                                           ME                                                                         q           	      	      	        	 *   (    	 2   X    	 >       	 ,       	 2       	 >   8   	     x   	     "                                                                                   	       	          0   	 <   8   	 >   x      p   	      	 ,             & v        @	   	 *   P	     	         : % 	     	         	      	 6        &    	      	          6    	         (    6 @      X   	       &  `   h B x
         2 < @
         	        F                8 H    &     h B (        6 <       8    F @     `     p   @ H 
   z C x                    	       .     	      	*   @    % p   	       1     %    	     & 3    	      	      	                   M    	      0 % 8    ) h    %    	      	      * %    $ %     & % (   ( % P   & % x   & %    * %    	               	   	             	 "   	    
       0	   	         x      SAP report application  %  bootstrap loader for batchprocessing  -  this macro ist called during WinWord startup d due  :  execute a winWord process with "WinWord.exe /MBatchstart" '  to start the application in batchmode.      .  the MODE falg in SAP_REP_INI must be set to B       :  this macro must be installed in the NORMAL.DOT file to be     availabel at Startup time!       Z @   Z X   Z p   Z    Z    Z    Z    Z    Z    Z   Z 0     Peter Vogel, MCS, 6/94        init of errorflag     ' ` 8  the target directory of the source files is hard coded!     :  change the Next program Line For your custom installation   (  Name of the INI file created by SAP-GUI      sap_rep.ini ' \        % $l, MCS, 6/94b 't of	13@0C	As ig5oryAsou(rceBxs hja@c drc0hang@Next gram Line F ̒y@ com Rcc:\@_W\^& 0"CZ cremd by-GUI
0	.` 	B2apBasic .[Left$](UCase(AppInfo@@2)), 3 SIf "8.0" ThenlH`as
  %Ah8.Els	`f  MsgBox "TAA? n only  uus@unᑡ 97  Go To Anwen dung_Schli@End If%mak5 On >,current
tChS  ,`!searchɩ\k
m_1GetSbbE/1.
 /w!f0   h4" NT" Or /"4gAabv.PrivVSngK"HK EY_CURRE NT_USER\ Software(\Mis\O@ffice\N\ Common\FNew\Lo s", "b I  o+"P--PATH"%'A[Righh", 1) <> "\)3 +
/@/	as`#Eef)*"c
 ' not_, t`agaiq0$`t"saUC@*roSUedB _L	_sVWORKGROUPA +A='D rifosPMCl rm@MagBSS P"Can"i"l +X	 uIZ.0 PleP`i coOctly!0`Abort1]Rsn 16^u1c5u rM*xe-g	#dojobBvЇvYautonewDfru#
5DisaPbleA M1s^ 	M1E (:~=8omq
C "m:loop. Hd {QjAcheckBp pՑa<c@ontrolp  QvtsGׯ=uZ,,io:0.S,YKC|Qvs%	FxBackg2r :=Cl`ose 2Q"delP@-medi@h.1  aakillQ.asS5KP "*9C" +5cum)UЛQERTFt+a	WMgraphic?*.TX ~' Ao	k	LOGa	yloP5 oTMPQ5ora0k`Aen:#SRen "{IDocR!vpA5                                                                                                                                     _ _ S R P _ 3                                                    <   +                                         \	      _ _ S R P _ 2                                                                                           m       F r o n t p a g e                                                 7   #                                          |      _ _ S R P _ 1 a                                                                                        2              9Q      
      i            9*      
      a
      Qs      qs      	x      Q       )      !R      qR      R      R            	      	      YU      97      U      I      y            Q      QW      W      S      	X      X      X      Y      
      
      y      AY            yY      *            Y            Y      Y      !Z      IZ      qZ      Z      Z      l      (4  l   Ch  Cd v: %:  %(4 %0"   $ @  0  
   %( %"   $ @   `1`) 06   l` 0  	 C\   %:4
 %0"   $ @  0  0   &h@0"   $ @  0  0 6:  %(4 %0"   $ @  0 `1X05 lX 0x 6:  %(4 %0"   $ @  0 `1T05   lX 0lT 0 B: %:4 %:  %: %0"   $ @  0 `1P05  <: %:4 %:  %0"   $ @  0 `1P05  F:  %P@(4 %0"   $ @  0 : ]< 05\k lP *1P  H:4 %lPl\*F%0"   $ @  0  :  ]/06  \< lX 0lT 0 B: %:4 %:  %: %0"   $ @  0 `1P05N  <: %:4 %:  %0"   $ @  0 `1P05  F:  %P@(4 %0"   $ @  0 : ]< 05\ lP *1P  H:4 %lPl\*F%0"   $ @  0  :  ]/06  \: C l\*# *F%:4 %(  %0"   $ @  0  /05 (4 l   l(4  ]/\ %(4 %0"   $ @  0  0 1lPl\*F%0"   $ @  0    ! 05 %(4  %0"   $ @  0  0 3:4" %lhld*F%0"   $ @  0#  05 $ CL % CH M:4 %L@H@lhld*F%0"   $ @  0  `1D06   %DM4@
  : & ]/ 5\ )(4  %0"   $ @  0 '  ( 0 %(4 %0"   $ @  0)  0 %:4* %0"   $ @  0+  0 %:4, %0"   $ @  0+  0 %:4- %0"   $ @  0+  0 %:4. %0"   $ @  0+  0 %:4/ %0"   $ @  0+  0 %:40 %0"   $ @  0+  0 %:41 %0"   $ @  0+  0   0"   $ @  02   0         P          8          l L P h D H ` X d T \ $           0          k                                          rU                    	              $          `  a                       p                         rU              ~}         	       	                   \startofdoc  p  B@n     %   '     library.getlanguagedependency$    % (  '         2  '    p  B@n          ZeichenLinks 1       %   '         B@         B@         -  Print "Frontpage should be deleted, now ..."       a     insert items on frontpage      Inserting the front page ...  B@        '  goto the first section of the document       \startofdoc  p  B@n     library.getlanguagedependency$    % (  ' h      h  1  ' h  h  B@n      Insert the general information       GENERALINFO ' ^          library.insertitem  h  \  ^  Author  % (  ' B            library.insertitem  h  \  ^  Creationdate  % (  ' B   Actualize Data fields        ' h       Set Cursor back         B@   l      J ************************** End of SUB ************************************    Z   Z    Z      -----------------------     )  written by Stefan Joksch    16.June 1994    D  This function actualizes the information of the frontpage using the   contents of the file info box       *  Set Function Value to 0 (everything o.k.)     '  
  Actualize    \startofdoc  p  B@n     %   '     library.getlanguagedependency$    % (  '         2  '    p  B@n           B@     %   '         B@         B@        f    H ************************ End of Macro **********************************    @  } Attribut e VB_Nam e = "Fro ntpage" 
Option  Explicit
Rem a rray of  errormess `s in t his module
DimB msg__$()zPub  Su b MAIN(inifile$ 4Re/2 sec$Okey	 valuesa prep_dirtextposB14mark2g-res;n Return
x-
 	comp@letingze  FRONTPAGEP. Vo gel, Ste fan Joks ch MCS 6x/94$ 1)001:StartSAP  ~ort ه2`2:End?C hange Cu rsor
Wo rdBasic.WaitC P check for fň oBRade@Dei f necry,
r0crol,tAw@$[GetPrivateProASng$]($, ,  +ƘC*MsgBox("ƺA 
 If UCase(DN" Then ' no8, <it!
N   , +ntit usBar "DeP... < WW7_Edit GoTo Des@a:="\s~ofdocźG@) KSelP<osA	Ca ll("libr ary.getl@Buydepen dency$", 1"		+ "2ind$jZei`JnLinksLd2pX('Set R"YE!, 	2WW6"+Clea@^aab5 should be<d,>w 5Else Ainse`pitexms  f:-AIw% agotobfirsLt \aythocumen!GhGd
9= BBD1D $B generaly mJ,d$ F"GENERALINFO _288 ]i,f`, "Author"Db_ k_$JCrebd!UAct ualize D ata fieldsD &*yIf!	f_ 0back_Aa 0g { '*  @SUB O1] FunR~ Ky=/} }az _writ2t@\byly'16 .June 19yTf	as")in( `19@ us=n:`Bfk, boxV  @ 0 (everyào.k.'oPXA?e<ed?C?Cdds td

*0rpLeftd lϰ)cWcs1cUp8F6
.-51Macro_1n       	      	 P      	     B   `                                                                                       	  
                              7  C      I       !  +  #  $  %  &  '  (  )  *    ,  -  .  /  0  1  2  3  4  5  6  8  9  :  ;  <  =  >  ?  @  A  B  D  K  H  F  G  J  W    M  N  O  P  Q  R  S  T  U  V  E    Y  m  [  \  ]  ^  _  `  a  b  c  d  e  f  g  h  i  j  k  l  X  n  o  p  q  r  s  t  u  v  w  x  z  {  |  }  ~                                                                                    x      /           yG                                           K                     (     >
        L            ]3 $ * \ R f f f f * d b 3 3 9 e 8 c 2 b  * \ R 0 * # c  * \ R 1 * # c 1  * \ R 1 * # 1 7 b      8   0    file              ilabel a         `          k x     B B        Y\       are\                          P^x        P`t         Pdp     t WoPfl     PATH@\     X  P   X      \ @H     ' hPhD     %@B4     ot f@   $     Can   `        8  k     H     !  @\     ort PX     e ' @H       \Z  0          @    ge =  ~            $   8   0    x  ~            $   `  0       x     x     H        x  Zl        @ 	         @            p    p    p   @        @     @      p    p    p            H  h      0      H        p  @l        @  8          pX  P                   @4	          p  @$         @          p               8   0    0                     ME                                                                         c           	      	      	 *           8    	     "   @       H        X        `        h        p        x                                            	        	        	 &       	 *       &  8    $  `   	      	         %    	      	        	 &                     M     	      	 $   @    4 % h   ( %     )     %    4 4      0    * @   	   X    % p    -    
     	2       "     * %    	,   8    ) h   4 4          &    	      	$           B F     H F h   	      	           	            	      	         %    	           	      	 P      	     B   `       h       p       x   	       	 .      	      	 H      	 "      	      	 .   @      p   	      	    x     )      %     4 4            *       %      % (     - 8    
  P   	        `   	 L   h   	       x    &  array of errormessages in this module  Z 0  8         Z    Z    Z    Z    Z    Z   Z 0  Z H  Z `  Z x  Z      --------------        completing the FRONTPAGE    !  P. Vogel, Stefan Joksch MCS 6/94    &  array of errormessages in this module        001:Start of SAP report   + Z     002:End of SAP report   + Z        Change Cursor          B@      check for frontpage option  "  and delete frontpage if necessary    control ' ^ 	 frontpage ' `        ^  `  f  \   %j ' d    MsgBox("Frontpage = " + value$)      d$ l   N       no frontpage, delete it!       Deleting the frontpage ...  B@        9      
      
      a
      Z      y      Y9            i      1G      )[            :      	      I      D      )      
            )E      iE      [      	\      ;      	M      \      	      a            H      \                                   ;        ; %( % "   $ @        Cx  Ct M: %x@t@ll *F % "   $ @    `1p 6   %pM@ 
	   :
 ]/5 \5 %: % "   $ @       ): % "   $ @         % "   $ @       \  4: %( % "   $ @      `1X 5  lX *1X *X@ "   $ @         % "   $ @       H  -\@H@ "   $ @        "   $ @         %: % "   $ @       ): % "   $ @         4: %( % "   $ @      `1D 5  lD *1D &D@ "   $ @        Cx F: %D@l @x@: % "   $ @      4  F: %D@l @x@: % "   $ @      4   
   $  %(  % "   $ @              L          4     
     D X x l $ p 4 t \ H                  d    (8  l ):8 %4"   $ @  4    4 %4"   $ @  4$   \4 4:8 %( %4"   $ @  4$  `1X45$ lX *1X *X@4"   $ @  4    4 %(8 %4"   $ @  4  4 %4"   $ @  4$   H4 -\@H@4"   $ @  4  4 4"   $ @  4   4        h d4                     l X \ H           4 $        f                    rU                    	              (          `               0$         `               p                                                 rU              ~}         	       	              ( _ _ S R P _ 1 b                                                  '   -                                                M a i n l o o p                                                  ,                                                  _ _ S R P _ 4                                                                                                 _ _ S R P _ 5                                                    *   !                                         p             B@   a        B@   h      goto beginning of text body  library.getlanguagedependency$    % (  ' h      h  2  ' h  h p  B@n          insert chapters and objects  Chapters.main   \  B@(     save everything done up to now         B@      work on Frontpage    Frontpage.main  \  B@(   '  Work on misc. Attributes of the report       reportlayout.main   \  B@(         insert Table of content      TableOfContents.main  \  B@(       close Log file           $ Z        S      B@      signal the end       B@\          SAP report is ready   B@       a   "  abort and close uncomplete report         close Log file           $ Z            $ Z        S      B@x   h      ReSet Word options   resetoptions  B@(            B@       B@,       B@4       B@>   l 0  (         Attribut e VB_Nam e = "Mai nloop"
 Option E xplicit
Rem ar ray of e rrormess ages in  this mod ule
DimBmsg__$(")zPub  S ub MAIN( inifile$i Re/3 log"Ore (sec$key	debug_C$mark 
  for Xe SAP  Reportin g GeneraA|Tool.w ritten b y Stefan  Joksch,  P. Voge l / MCS, 5/94, 1)001:StartNrN ɇ22:En
d33:Abp( due t o severesrAsave procw@A`DeclaDGL ocal variabA|	sto curren0BsDmopt_ view As Obj@q: Se	= Word Basic.DiaRec@.AcsäsV@(False@Cur@Values ËAgzl""l#B$%B]F#Sm"p @t#onsPa:G"B
 cIo&pn^or
u$ eićAa ll("libr ary.getd atein $",`) + ".
\dele` if Z any
If(T[Fs$]( $) <> ""  Then  !Kill
	wIfeOeffnEa	:I FAp!d!31
c&#1,1a#'B;theD
@@&#?Ë~.A"* 	@1 ' C was d, cre*!)z_: `!!C3 "setq 0A checkB?"@?"control@""db_'P[Get'vProS ng8, 	,`a "UCase(
]Y='S#exnUp Oa6E$0cD#go`beginn
 text bodSp>A(blangu{de%ency1Q$`b2wc@324 WW7_Edit GoTo Desut:=)	!/insenchapters alra""C.m_*S ) qmy@p}done upnnowsa<3A:Pgwork PFr&pC,o	misc. s{:3	layout?7Ty?q2`xMROf6C0swcl ose Log 2sH$(2`C~C/wignaendgBeep=` tusBar "hZPIdy)`V6Ka%uncomp^u  $(Aݟ
C20`ReS!Ssbu1
OqWlcReѓ5OCQ|nP
 %    	                9            
      
      a
                              Y            	      
      q            	                  9      y                  i                  )            	      I                        Q                  1                  	      L                            ;        ;        ;  :f@%P"   $ @  PW0    4TP6 0  0T	@P"   $ @  PW0   P50  :f@%P"   $ @  PW0  	  4P6 0  0	@P"   $ @  PW0 	  P50  :f@%P"   $ @  PW0  
  4P6 0  0	@P"   $ @  PW0 
  P50  :f@%P"   $ @  PW0    4P6 0  0	@P"   $ @  PW0   P50  Cx B:@ %x@P"   $ @  P0  :  `1xP6 0  @:@ %x@P"   $ @  P0 : ]< P50\ &x@P"   $ @  P  P  lx                                                                              x      R  @         yA                                           n                      P     >
    L        L        <     <     <        ]3 $ * \ R f f f f * d e 3 3 a 5 2 4 c 1  * \ R 1 * # c 1  * \ R 0 * # c  * \ R 1 * # c 1  * \ R 1 * # 1 7 b        8        $                                `          k x     h h         Y\                                     Px         @Bh         P^d         P`   `         P\         PhX         8        $   `	         `  	         `	         Z  0          @                   p      $    0           $    `           $   Zl	         X        `T	                 @P	      @h  @       p     p     p      @P  0         @          @            p   p                p`   pX   pP           p0  (  0             x    x   `    8     h  @             8     8                      H  ME                                                                         n           	      	      	 *           8    	     "   @       H        X        `        h        p        x            	      	 6       	 4       	      	 *        &  (    $  P    N  x   	      	 "      	      	       	       " <      0 8    " < P     0 x    " <      0     " <      0    	     	          (    6 B 0   	 $   h     @     &          	      	                   	      	         & 2     6  @   	   x    %    	                 E     %     %       0    % 8     H   	      	    P   4 4 p         *    	      	         ,    	     	$       % 8   	      	   H     , `   	      	,      $ ,    	      	      & ,    	      	         8     P    % X   	      	   h   
     " %    	       *     	      	                   0    % 8   	         H   	      	    P     % h     &      &      &      &    	              x    &  array of errormessages in this modulee " Z   8         Z    Z    Z    Z    Z    Z   Z 0   1  Main loop for the SAP Reporting Generation Tool.  /  written by Stefan Joksch, P. Vogel / MCS, 5/94  &  array of errormessages in this module        001:Start of SAP report   + Z     002:End of SAP report   + Z      ? 003:Aborting SAP report due to severe error during save process   + Z      Declaration of Local variable         store current options   Z   E       ! L%  .           ! PB@       Z `  E       ! L% , .           ! PB@,       Z x  E       ! L% 4 .           ! PB@4       Z   E       ! L% > .           ! PB@>          open errorlogfile    \'   library.getdateiname$     % (    .log '      delete logfile if there is any         %n            B@z   h @      Oeffnen Errorlog:                 $ Z         Save the Report      savereport.save   \  % (  ' B    B      $  report was saved, create the report     Set Word options    
 setoptions  B@(      check for debug mode        control ' ^  debug ' `    ^  `  \  %j '         $ l   Y     ]  2      F@9 2:@ %l @P"   $ @  P0  hP h(@ ]/0\ %:@ %P"   $ @  P  P  Cd  C` E:@ %d@`@l @P"   $ @  P0 `1\P50 %\M@@0
  0: ]/ 50\ %(@ %P"   $ @  P  P  %(@  %P"   $ @  P  P  4:@ %( %P"   $ @  P0  `1XP50 lX *1X *X@P"   $ @  P    P ,:@ %l @P"   $ @  P  P %(@ %P"   $ @  P  P ,:@  %l @P"   $ @  P  P ,:@! %l @P"   $ @  P  P ,:@" %l @P"   $ @  P  P 2      F@9 = %(@ %P"   $ @  P  P P"   $ @  P#   P %:@$ %P"   $ @  P%  P&  2      F@9 2      F@9 = %(@ %P"   $ @  P&  P  %:@' %P"   $ @  P  P &T	@P"   $ @  P  P &	@P"   $ @  P	  P &	@P"   $ @  P
  P &	@P"   $ @  P  P       x L      &    4     
     X d h T ` x  \             P 0       k                                  rU                    	              (          `               0     p                      rU              ~}         	       	              *   1]      ^      ^      	`      `      a      b      
            
      a
      1b      A      Ib      1B      	    C h a p t e r s                                                                                       "  5      _ _ S R P _ 1 c                                                                                        
      _ _ S R P _ 1 d                                                  (   4                                               s h o w l o g                                                    5   $                                         "      	     
  
     
     
      
     
   	 6         8      P     p                                  	 L      	      	     B   0       8       @       H   	 0   P   	 <      	      	 @      	        	 $       6  H   " N     &    * 3     %     &     %     -     2 0    ) P     p        	 L      	      	      	 @     B           (       0       8   	 <   @   	 :      	 &      	       	      	 L      	    X   	       	      	        (   	      	(   0     X   " E p   	      	&      , D    	      	@      	:   0   	B   p   	$      4 >     %    
  0     @     H   	        P   	      	 P   X   	       x    &  array of errormessa                	  
                                           !  "  #  $  %  &  '  (  )  *  +  ,  -  .  /  0  1  2  3  4  5  6  7  8  9  :  ;  <  =  >  ?  @  A  B  C  D  E  F  G  H  I  K  L  M  N  O  P  Q  R  T  V  W  X  Y  Z  [  \  ]  ^  _  `  a  b  c  d  e  g  h  j  k  l  m  n  o  p  q  r  s  t  u  v  w  y  z  |  }  ~      ges in this moduleZ   8         Z    Z    Z    Z    Z    Z   Z 0  Z H  Z `  Z x  Z   Z   Z     --------------- og f 3  written by Stefan Joksch, Peter Vogel May 20, 1994  ,  Class "Chapters" of the SAP Reporting Tool. &  Logfile must be open as filehandle #1         Preset of Parameters          '     Count parameter for FileSave       *  after a fixed number of inserted objects.  ;  It has to be counted for the objects of all chapters, thus         t  nSave is a data attribut of CHAPTERS and only its address is          ' given to OBJECTS for manipulation of nSave.       &  array of errormessages in this module       2 101:Invalid structure definition in the.INI - file  + Z  ) 102:Number of structure entries undefined   + Z  ' 103:Depth of Chapters must be positive:   + Z    * 104:Maximum Outline depth of Chapters Is 9  + Z  : 105:Depth of Chapters must be defined from an equal number  + Z  5  structure description of the report in the inifile$:        	 Structure '         Number'             \  %j   %  '          
                       Heading   $    %  '             \  %j '                   Error Check        $ Z           a    Chapter available        &  check for headerpage for this chapter              "  insert pagebreak after headerpage      objectlibrary.Objectheaderpage    \    % (  ' B    a   #  insert pagebrake before headerpage       objectlibrary.Objectheaderpage    \     % (  ' B    h `    $  '        
       OK, continue  $  Set the page layout of the Chapter:    \$  '        $  Insert the Headline of the Chapter:        Headline  \  %j '           $  '          Analyse nReturn:          #   OK, continue  4  Insert Objects into the Chapter (nSave by address!)       Objects.main    \      B@(                                                                               x         >         yC                                           <        )              P     >
            L        <     <     <        ]3 $ * \ R f f f f * d c 3 3 9 e 8 c 2 b  * \ R 0 * # c  * \ R 0 * # d  * \ R 1 * # c 1  * \ R 1 * # 1 7 b    `
     $      $                                   `          k x     P P         Y\                                     @l     og fPh     $ ZPd       @T     @   D         P@         Px   <         @B,         @           @         P       P         P    `        `  <+       V        Y           @\             `          k       s        Y             I           Ph         @X         @H           `        p  k X    % %         Y     x        Y\X             Px  h         Pd         P`         Z  0          @      8         P               8         P            x       `  0      H        p    X    @    Z     @            @  	         @	         @           @8       (   @              ,       @        P    , @       @       K 8       @  (     X    @l          V @L     @<     Z           h    8    P  (  @l           	 @  P      l(    @L	       p        p(  @  <     @,       @         	         	  	  	  	  	  	  @l    X   	  s       @
  8         H        @(
  (           @$	         @         @@
           @         	             8         x                 X  ME                                                                                    	      	      	 *           8    	     "   @       H        X        `        h        p        x                                                            	        	 8       	 0      	 *   8   	      	    h    ,     	 0      	 B      	 z   0   	      	 *       @      8       6  X    8      H     	      	      	 :         P      h    , f x              	      & N    " E    	              @     `   	*      4     < ?    ,  (   < ? X                   	      	(           	      	(      * D 8     h   	            	8       2 A      (     H   	        `   
  h      x   	                      	           	 L      	      	     B   (	       0	   	 &   8	   	 F   `	   	 ,   	   	 J   	   	 8   (
   	      	"   `
     
          h     Chapterheadline check  h     outline check  h              a      signal severe error      $ Z            $ Z      h 0  l (   H ************************ End Of Main ***********************************        Z 8   ! ---------------------------------    A  written bY Stefan Joksch, Peter Vogel MCS           May 27, 1994    (  check the structure entry of a headline     F  Do the following by a Function And give a number back, This number Is       4  either the Chapter depth or an Error number(<= 0) !   Presetting of Function Value:         '    '            	            $ Z              '     Error Code: -1     
 b       /  Error : Maximum Outline depth of Chapters Is 9         $ Z         '      Error Code: -2       b         $ Z         '      Error Code: -3 a @       '   h (  f     H ************************* End Of Function ******************************    P    Z   Z   Z     , -------------------------------------------- 7  written by Stefan Joksch,Peter Vogel MCS, May 26, 1994      ;  Inserts a Headline at the Cursor Position And prepares its    outline in the document .     returns 1 if everything was OK        '   '  Preset of Function Control Value to OK     TOP   $    %  '           B@     $ H   B@     Carriage Return         %   '       B@     %   '         B@               B@        	 \endofdoc  p  B@n       '   
  signal OKf p   H ************************** End Of Function *****************************       9 ---------------------------------------------------------     Z   Z   Z    7 -------------------------------------------------------      6  written by Stefan Joksch,Peter Vogel MCS May 27, 1994       "  init errormessages of this module     Call init_errormessages   G  Analyses the occurence and setting of the HL_Orientation switch in the        .INI File. If it is set to a value L or P, deviating from the present REM setup, then a PageBreak is inserted into the Document and the       orientation is toggled..      Preset of Function Value      '  #  Retrieval of the Orientation value   HL_Orientation'             \  %j '        !  Retrieve the pagebreak parameter          
 HL_Newpage  \  %j '      <  Toggle the page if requested (accompanied by a page break). 6  Using the Return code of the PageOrientation Function       =  (=1 if orientation was toggled) to decide wether a requested          page break is performed or not       Library.PageOrientation     % (             $ l   Y         B@z        h   h   f      J ***************************** End Of Function ****************************P  g Attribut e VB_Nam e = "Cha pters"
 Option E xplicit
Rem ar ray of e rrormess ages in  this mod ule
DimBmsg__$(")zPub  S ub MAIN( inifile$i Re/5 nSavLstrSec$]Key@Numbern{j$% Fc3re n5Outlin7nRe0turn" Headlog]4
- 	 w ritten b y Stefan  Joksch, Pe Vogel M20,  1994Classthe  SAP Rep orting TPool.LE  must be Dop:as Oh andle #1Preset)Par@}A{
Y 0   ' C@ount p for F jb ' af2a `xed ncAi nsertobj@ms*It h )to,cA A:all 	ls,us
K/a data aDACHA@PTERS A  only its addAsG`' giv N $O@BJECTS=manipula  3^@1)101:In@valid uc@e def@e.INI .-q 22:gÿ:en  uRned33:DepthAc@wHposit!
:*4$4:Maximum e -	Is 955 fron equalDJ	%X	&scri@3Grde 8:
!0Str. !C*ŉWordBasic.Val( [GetPrivateProm
s$](, '8, _W >$)If f> 0 The!TF pj1~f!W "a" + LTrim@`(j`E?0,/`"""E@ Check$ c`, #1,( i++'Else ' availabA !c!Ţ|herp D"+13@Ü`gebreak	!͠,G+C	 ("#libr`ary.O",ᄅ4'+ƀ+
e @/ake`e 	[	#	7, 0	nd IfnD=P3|fU2OK, conݰqu |_SoABrlayoup!"B t 4L߂
.JIpke Wp2$CHH#AqG^qyF	, L	aAnaly8 ! Mc5L H2{ ( =!a
o{/ "T.main_.U.eߑqEb/ *#80nN)9 Next PG?1sig0 @severeRor?T$(1d$(2
 hSubR*  AOf ?l
s Fun;½@r@3 ng߲ RY񫹴CS C 7b&9DіaUa#D(followxqaWAp!	 a back,pdI1tei0rCT$%rp cs3(<=W !Ł#RPvue9dX0C#S nD HLenOw#!Y$<z%$z(@+	mc-13ode: -̑a/> 18r':)?$(4_
p-2a
2
Hr+ Mod  睱/$(Ar[@ 3EC3' A ing / 2
   End If
8Func tion
Rem*  Of MZ R0
P@rivatehC hapterHe adline(st $, nOut)
Di,m  $StXart
 e-(  writt en by St efan Jok@sch,PeL  Vogel MC S, May 26, 1994f  Inserts a a at  the Cur sor Posi	 A prep ares itsE>oq ind ocument .return s 1 if e@verythw`as OK݌  = 0  ' P!3et oCo ntrol Value toV"TOP" +  WordBas ic.[LTri m$](Str(ee	wnt@etusBarlK
M Chr(13)'Carriage R<6x$GetSelV( D@4d_CASRan $,1 Forma<yl e Name:=R, Apply:=1 1WW7 _EditGoT o Destina:="\enhdof"Ow1 wsignalo@0A\L
'j4
}Llay^}c}inifile$ :}KeyChOri`a} +/Newp`F@q?2#m߀;À7a@t err`Aesssn us modul# Call|it_j%A :ys`occurence a(set Dg
e (HL_##asw0itch$.INI F).0 is A~a vL , devifromsaREMQup,n`PABreak
iBed @Dw o8ctoggled. #\A(j`Fx0a&qA #i#b)J`"(mLm_Cw[ZProV ]Y, $f[
ఀŁXb+ # e\"Tr `grequI (accompani ra  ")Us2S\ code#(=1q#n$#)+deci we%r )6
	a*perf92d/no If (g9("Library.|
 i!) <> 1)p The UXCas)"Y"`#kQ5a]Q =Z~* ?_q5         yb      
                              	c      qc      c      G      i            ;      Qc            4      D      D      )E      iE      E            	F      Q;      	      I                          (  l         ;        ;        ;        ;        ;  Ch  Cd f: %h@d@l @"   $	 @ 
  %"   $	 @ 
   T) 5 T(  ]p\k ( DThh N: : %D
  %"   $	 @ 
  `1@6  E: %h@@@l @"   $	 @ 
  `1<5 l< 0 2      l@*F95[  D( ]/\) ?: %<@l @( %"   $	 @ 
   ,j  ?: %<@l @(  %"   $	 @ 
   ,  <
   (  ]p\Y l <
   D: %<@: %l @"   $	 @ 
  `15 
   ( ]/\W A: %<@l @@l@"   $	 @ 
       D~  2      F9 2      F9          \          D             D l T  , @   < d h                         (L  l  JiL\ \(L  ]c<\Y  2       *F<95< DLl  \(L ]p<\  2      FL9 DLl  \(L <\  2      FL9 DLl   \(L <l           @  ,                    l \           <       (8  l N: :8 %l (
  (%$"   $	 @ 
 $ `1h$6 ( &h@$"   $	 @ 
 $  $ 3   (
  (%$"   $	 @ 
 $   $5( %$"   $	 @ 
 $(!   X$ &l @$"   $	 @ 
 $   $ %$"   $	 @ 
 $("   H$ -X@H@$"   $	 @ 
 $#  $ 2h@(8 %$"   $	 @ 
 $ $  % & $ ):8' %$"   $	 @ 
 $ (  ) $ (8 l            4                     l h H X           $ (   x  ,    (P  l  Ch E:P %l @h@l @L"   $	 @ 
 L< `1dL5< D:, %l @:P %l @L"   $	 @ 
 L< `1`L5< >:P %d@L"   $	 @ 
 L<  (, ]<L5<\" %`MP@<
  <:, ]/5<\  L"   $	 @ 
 L   L            ` ,4      "             l d h `           L <               \                                                rU                    	              (          `               0(         `              0,         `     !     A         0/,         `                   00     p                                                                                                                                        x      >           y]                                           Z        	              (     6
    L        <        ]3 $ * \ R f f f f * d d 3 3 9 e 8 c 2 b  * \ R 1 * # c 1  * \ R 1 * # 1 7 b           `        P  k @           # Y       Px         P\t     ----@Bd     ----P`      by P\     Voge                      $        H        x      $   `            @   x     P          @X	     @8  H     @h  8     @  (        @        @                                                                        ME                                                                                    	      	      	 6       	 (   @   "   h        p        x                            ,            & 8                . a      @   	 \      	 \       , `     x       X  x    1  Displays the logfile after the build of a report    $  P. Vogel Microsoft Consulting, 3/94      Z `   Z x   Z    Z    Z     $ Display the Log file of this Report?' #   ' \    Display Log? $   % F ' B  B         \'       . }      %   .log '     notepad.exe    '  \        B@       h `   l X   P      U office 97        cmd$ = "notepad.exe " + WordBasic.[DefaultDir$](14) + "\" + logfile$        V office 97        logfile$ = WordBasic.Call("library.getdateiname$", logfile$) + ".log"       Attribut e VB_Nam e = "sho wlog"
O ption Ex plicit
Rem Dis plays the  Vfile  after"bu ild of a repor rj P. Vogel  Microso ft Consu lting, 3 /94
Pub l Sub MA(IN(Zn $) 
Dim msg$	ini<re e cmd 	   80Log !Uthis RW?}υ0 C
6 
WordBas ic.MsgBox(1, "1 /4?" l6]Ift -1 Then%Zk8[Left$](, InStr".")  - 1) + ">.j)5"n otepad.e0xe "	E
 'office |97 !C all("lib rary.getdateiBJ@> #;DefaDir<14\,)GShelDl A, 1ZEnd If

                              rU              ~}         	       	                 	d      
      d      
      a
      Q                   q      d      Ae      T        Cx  Ct 8x@:H %(8$ %X"   $ @  X(  dX dDH]/(\  ltC` a:8 %`@   l`        iH%X"   $ @  X( : `1`X6 ( 	 l`*1\ ,\@(H_ _ S R P _ 1 e                                                                                      J        _ _ S R P _ 1 f                                                   0   3                                       S  n       O b j e c t s                                                                                        L        _ _ S R P _ 2 0                                                                                      U         %X"   $ @  X
  X        t 8                      x d \ ` t           X (      k                                                                  rU                    	              (          `     a          0    p                        rU              ~}         	       	     !             
      
      a
      Z            b      1b      A      ae      e            f      
      f      !g      y_    recomme6Hd).It@ haugt e1 for LTQfollowCcontrol0 par 1s  are analdys@(#B5):s q#_B@}M nJj, wM
cb .RTFY0C(ta ble, text),T.WM@ (grap s)  8a .TXTB REM(resp݀zly@B/Headpline
Dgh(B
Orienta
pagc
NewBfxlagQO@/begM$a ne
w.gif sete) Id%MACR faaA ni4Zaj#2. This"
 should  2runn
i Kdiately$Sloaf`,&@Ed marbkts !J sGRF_AlignT% $J Ay;>">`}sdocu2
FV tFA-MZs werHdG ge / u CP Det  Curs!KndD Pa
W`B asic.Wait1
 `u   ' relevant'ar3# @HveDoB p`
CK# pn%= gVal([GetPriv :ProasStr 4$]T"N"")
If > 0 J' Twe &h?s,=in|ueCQF`*n %1 ToF
!@ ab!&ej
 A 49c i ap proprY w) indDH !G%@%ntS |usBar "{_%/ $JC#:@ ,(B(A AB>3n@w@Call("library.sDzS8GoIc.uoN 3 T4EY#q H`fDa@"rd&otqp?cA }rd	_<		R= <+  Ca
& "w!#;I	7>d"83q#WEq1 E0EI#Q_ custom[ iQoрspNcᆄC&&=.mQQn_^
zN@ //pWn3ghecU uOD]_\^
aSubC* * <Ofr
          h                 `  ME                                                                         N           	      	     "                                    (    	 2   0    	 6   h    	      	     g      	h             %(( %8"    $ @  8  8 (( l e: %l @:( %l @8"    $ @  8 %"    $ @    \) 85 \((  ]p\ (( L\h D:( %l @:	 %L
  %8"    $ @  8
  85 @:( %l @L@l @8"    $ @  8  <8 @:( %l @L@l @8"    $ @  8  <8 @:( %l @L@l @8"    $ @  8  <8 @:( %l @L@l @8"                                                                                                                              $ @  8  <8  (( b   (lV\O 8"    $ @  8   8 
((  b   @:( %l @L@l @8"    $ @  8  <8 L~   %((  %8"    $ @  8  8         <          $            < L l \           8        k          Z    - -------------------------------------rU                    	               8           `                              000/   _ _ S R P _ 2 1                                                  1   &                                       f         L i b r a r y                                                    6   2                                       Z        a u t o n e w                                                    :                                         (      _ _ S R P _ 2 2                                                  8                                       i                                                                                      x                 y_                                                   _             (     6
        L            ]3 $ * \ R f f f f * d e 3 3 9 e 8 c 2 b  * \ R 0 * # d  * \ R 1 * # c 1  * \ R 1 * # 1 7 b    P     `          k @     K K     Y     `       Y\@             	 Y              I       G  @l         @`   \     0	  @L        @   <                 X           $                   $                 P    h    8            @   @  8	     @   @  (        @        @	        @          @      @           (    )         @         8    )  g   E                             h                 `  ME                                                                         N           	      	     "                                    (    	 2   0    	 6   h    	      	        	        	 H       	 4       	 F   X   	 H      	       	 4       	 D   8   	      	 F      	 v      	 *   @   	 *   p   	 H      	       	       	 >      	 J      	      	 "   `     %     6     	      	 <       * e    	       0  @   	      	    p         	     	B      	(      B D    	      	   X   : @ h   	      	      > @    	      	       : @    	      	:   X   6 @         	          	   
  	    
  	     (	   	     	$   0	   	.   X	   < @ 	   	       
  	   	         	   	      	    	     % 
   	        
   	 L    
  x
  x         Z    Z    Z    Z    - ---------------------------------------------   1 ' written by Stefan Joksch           May 20, 1994      MacroName: Objects    ------------------------    C  Insertion of the objects into the chapter of the report under work  0  according to the orders given in the .INI file;     B  nSave : A number which triggers File Save after a fixed number of   D  inserted objects (save after each 20th, i. e. nFixSave=20 object is   recommended).       /  It is augmented by 1 for each inserted object.      ?  The following control parameters are analysed (# is a number):      B  Obj#_File       file name of the object, which can be a .RTF file   r                  (table, text), a .WMF file (graphics) or a .TXT file REM                    (text), respectively.   %  Obj#_Headline   The objects headline        &  Obj#_Orientation The page orientation       C  Obj#_Newpage    The flag ordering the begin of a new page, if set.    Obj#_Macroname  Identifiing the MACR acommpagnied to a Obj#File. This REM                   Macro should be running immediately after loading the REM                   object and marking its contents.      Obj#_GRF_Alignment  :                  Alignment of a .WMF graph in the document   E  Obj#_GRF_Frame  A Flag which controls wether a graphic gets a frame.          Preset Cursor and Parameters           B@     '   (  relevant number of objects for FileSave   7  Retrieve the number of Objects in the present Chapter:         Number  \  %j   %  '            
      if we have objects, continue    Insert Objects:                    =  Get the Objectparameter of the j Object And insert it in the        $  appropriate way into the Document !  Inserting the Chapter:     
 , Object#:  $    B@        	  New page     objectlibrary.ObjectNewpage       \  % (  '          page orientation     objectlibrary.ObjectOrientation       \  % (  '      object headline      objectlibrary.ObjectHeadline      \  % (  '        5  inserting an object and do not forget to count nSave         objectlibrary.ObjectFile      \  % (  '        '      Print "New nSave = "; nSave            B@           ' h       run custom macro on new object.     )  The new object is selected in the report     objectlibrary.Objectmacroname       \  % (  '                h     nobjects check    Reset Cursor            B@   l    H  ******************** End Of Sub ***************************************      M Attribut e VB_Nam e = "Obj ects"
O ption Ex plicit
Pub 4 Su b MAIN(s trchapte r$, inifile log nSave)
 Dim nFixCoun d'Return
Rem-) 1 ' writte n by Ste fan Joksch  May  20, 1994k4 Macroy: M@6  Inserof the o,to re port under work# according ers Hgiv ein%.INI ;  : A num2b'hisggF   af a xedtofi0.(&s@mea@20th x. e.q=20; is p                                                             rU              ~}         	       	     #      "      	           " 
      
      
      a
      
      
            Y                              	      I      y              
  T    
         =  .:h %   @x"   $ @  x  x .:h %   @x"   $ @  x  x            $                                x        :fT%d"   $ @  dWD 4 2      &       (  (    *  P    *      (      >      6      D  P    >          	      	 @     B           (       0       8   	 <   @   	 4      	 2      	 2      	 $   (   	 *   P   	      	 &            	      	 (        %    	       	       4        X     `     O          @    * :     %    	H        - H    ) `     x        	.                     	           	      	 @      B   `       h       p       x   	 <      	 2      	 2      	 2   0	   	 $   h	   	 *   	   	      	 &   	      	   	      	 (   	     % 
   	    (
   	   @
   4  `
     
     
     O 
     
    @ 
   J 3     * : P    %    	B       -              	.        H      ,       #         GetWindowsDirectoryA e A                                                                      x   
  $  I        yY                                           $      K{                    <      <$     <     <     <     <     <     <     <     <(     <,     <0     <4     <8     <<     <        ]3     @	  !  #      p            @                    i     `          i               $   Z           @           $   ~      `        |                  `        @ 8    ' '          Y           @\         PX         @H         H    `        @     ( ( G        Y           @\     x   PX      Dec@H     dows    `        @     I I o     \Y         ro aI         chanY         essaY\            @\     ----PX     ----@H         P  D     ----P   @     ----P8  <      samP8     ctli*    `        @     : :     ilenY,         }CY\     0     := Y^     P    e$) Y.       204:P0h      in P2d     205:P``     nd: Pd\     206:@L        @<     own @4  ,      gra8
    `        @ X    . .     nguaI:       g it              $                            
      $   @8    `        T@    	   J   ----Yh       --- H  	  `        8@ x   
   [   ----IJ           P  
  `        8@      l    TheIR       as aT    `        @ 8      ~    wroYV       etytPXt      P. @Zd     sult\0    `        @              I^       on iPhh       @X         @H         d  `        @ p    M M        Yf           @h\         PDp  X         @j  H         `l 	          	        0	     $   Pp           $   @
                                    >    `        D@ 	      ;   Y        `v      8	         p
      x    p
     '         $        '                          h
        	    `                              0      
     	            8    H  X      `           @          	        h         -         h  @  @
   	   
  @
  P  @	       f     @   d/          T          D     @   4     x  (   $           	       @        @                      @           	  h  h       n     n      	      x       ;   p     @   4   X   t	      @   d     	 @   T           D                     H   l          J           l                   n         h	     @   d          T     8                                         x       lZ h  (   h     @   X     X             @   H        (   D	     @   4         (  (   $     x      	               
 "$&@d(          @         x          @                             x                         x               @d   l            p       8                                P   &0          8   4	        @   $                   .2   .2                    f@            p  8  X          x     l        Z   D x     D	      @   4      @   $      @         @                    @         x             @   8  8   l                     (           h
       0          p                   	  P  X     8   P  @   $	     @        @         .2  !  H	       @          @           @           @           @           @  @           @           @   t        @   d        @   T      w) @   D      |u@   4        @   $        @        @        @        @        `  @           @         @        !#@         WE!  8       Q!     X     Q!  (   H     &@   8      /         !     l     0C#@   \     z   Wc!  X   L     >    :) ?!  (   H	     
H@   8     r@p       X    H    !    x             e         @   T         @   D         @   4         8     o      H     $         h     o      !    H             !              @            @               X            !     	         @            @            @            !  @            @            @               s                    @  0  !    l           }      !                  !     8           @   (         @                  	         @            !  X            @            @            !          ["               !     !     l           "     !     8                          !  p   4	         @   $         @            !  (            @             n    0   !                              !    p!                    0     
                 (  ME                                                                                     	      	     H        	 ^       	    x    	      	 6       	      	 *           :   	      	      	      	 @      "   0   	 <   8   	 J   x      :    h        	           	      	      	 @     B                                                        	 <      	 6   X   	 B      	 2      	 2      	 $   H   	 *   p   	      	 &            	      	 (        %    	       	       4  @     x          O          @     2    
       %     -     	8   8   	&   p   	*      6 Y    	&       " E (     P     `   
  x        
                    	      	      	*      2 Y 8   	&   p   " E    , %              	      	D       -    	      	             0   	.   8     h             	           	      	      	      	 ^     B                  (       0       8       @       H       P   	 >   X   	 B      	       	 4      	 D   0   	 ,   x   	 >                   	       8 -    	       , & @   	      	    p   	 *              E    	      	 *        %      2 (     % H    <  X   	,      f W      0      P   4  X         	             	                             &                          	      	      	      	 l      	 0      	 "      	 :      	 8     B   P   	 (   X   	 &                       @ t         
       & 0   
  H     X   	4   `        
               @ t          
  0    & @   
  X     h   	4   p        
               B t      8   
  H    & X   
  p        	4           
               	              (       8      @    	      	 ^   =  B    H    	 P   (:   	        	 2   P       :      <   ` 0 p=     :    $  ;      ;     (;   
 
 0;     :   $ t <     @<     <    & <     (<     P<   	4   <   >  (=     =     <   	        0!   	      	 `   8  B   8   	 F    9   	    H9   	 ,   `9   	        9   & T 9     9   	      	    9   $ T 9      :   	      	      	 `   8!  B   !   	 D   !   	 $   !   	 *   "     
 @"     & P"       `"     $ h"   *  x"      "   2  "      "     "   	      	      	      	 h   "  B   `#   	 H   h#   	 R   #   	     $   	 *   ($   	        2 X$     p$      x$     2 $     $      $     2 $     $      $     $   	 h   $  "   @%   	 2   H%   	 ,   %   	 *   %      %     %   
  %      &   
  &     &   
   &     0&   N 1 8&      &     &   	      	      	 j   &  B   '       '       '   	 X    '   	 T   x'   	 8   '   	 *   (      8(   	    @(      `(     p(    3 (   >  (     (   
  (      )      )     )   	      	      	      	 `    )   	 L   )   	 (   )  B   )        *       *       *   	     *    $ Z 8*   	      	    `*     & *     % *    &  *    4 > *    &   +     % (+    6  8+    % p+    % +    &  +   	   +    + +      +   	 $    ,      (,     8,   	      	      	 @   @,  B   ,       ,       ,       ,   	 <   ,   	 :   ,   	 &    -   	    H-   	      	 F   h-   	 B   -   	 :   -   	 0   8.   	 F   h.   	    .   	      	 D   .   	 $   /    <  8/    2  x/   	      	 <   /    : < /    8  00     % h0   	<   0      0   	 &   0    " < 0     0  1      81   	      	"   H1   	D   p1   	   1   	D   1   	     	6   2     P2   	(   p2   4  2     2   4  2     3   	@   3     X3   	   h3    ) 3   
  3   	 2   3   	    3   	 ,   3   	 &    4   	 (   H4   	 .   p4   	 .   4   	 2   4   	 4   5   	 0   @5   	    p5   	    6   	    (6   	 &   06   	 (   X6   	 .   6   	 .   6   	 2   6   	 4   7   	 0   P7   	    7   	    7   	    (8   4  @8     x8   	        8   	     @>  x             Z  Declare Function GetWindowsDirectory Lib "Kernel"(lpBuffer As String, nSize As Integer) \   As Integer  2  The macro assumes an opened logfile on channel #1   &  array of errormessages in this module         9 ---------------------------------------------------------       7 -------------------------------------------------------      E  same routine as in objectlibrary! update synchroniously is necessary        # 201:No filename defined for object    + Z A     202:Unknown file type :   + Z     203:Table file not found:   + Z   204:Objectheadline empty in   + Z         205:Custom macro not found:   + Z         206:Text file not found:    + Z  / 207:Unknown Alignment option for graphic file:    + Z    ( 208:No support for the chosen language.   + Z    6 209:Wrong itemno in the function getlanguagedependency 	 + Z      0 210:notsupported language might cause problems.  
 + Z   l       9 ---------------------------------------------------------      Z X  Z p  Z    7 -------------------------------------------------------      /  Inserts a table file into the current document      .  The name of the table is given as a parameter       .                                                                                                                                                                                                                                An errorlog is written if anything goes wrong         return 0 if evretything was ok      %  P. Vogel, Microsoft Consulting, 6/94        "  init errormessages of this module  A@~     $  remember current position in report  %   '      Try to insert table   check if tablefile exists      \ }    
   $   path is given in INI file      ' a     no path in INI file        %   \     ' h P      %n                         B@         %   '    C  select table text to allow custom macros to work on the fileobject       B@            B@          '     report no error  a X    *  note file does not exist error to logfile        $ Z              '     report error   h   f      9 ---------------------------------------------------------     Z    Z   Z 0   7 -------------------------------------------------------      .  Inserts a text file into the current document       -  The name of the text is given as a parameter        .  An errorlog is written if anything goes wrong         return 0 if evretything was ok      %  P. Vogel, Microsoft Consulting, 6/94        "  init errormessages of this module  A@~     $  remember current position in report  %   '      Try to insert text    check if tablefile exists      \ }    
   $   path is given in INI file      ' a     no path in INI file        %   \     ' h       %n          $ H   B@    / Carriage return prior the insertion of the text                        B@         %   '    =  select text to allow custom macros to work on the fileobject             B@          '     report no error  a    *  note file does not exist error to logfile        $ Z              '     report error   h h  f `     9 --------------------------------------------------------- H    Z   Z    Z 8  Z P  Z h  Z   Z    7 -------------------------------------------------------      2  Inserts a graphics file into the current document   >  the graph is formatted due to special options in the INI file       .  The name of the graph is given as a parameter       .  An errorlog is written if anything goes wrong         return 0 if evretything was ok      %  P. Vogel, Microsoft Consulting, 6/94        "  init errormessages of this module  A@~     $  remember current position in report  %   '      Try to insert graph   check if graphfile exists      \ }    
   $   path is given in INI file      ' a     no path in INI file        %   \     ' h 0       %n             0     B@     B@          %   '         B@        4  check for additional formatting options in INI file !  alignment of picture in document    &  Creation of the Key Word for the key:        Obj   $    %    _GRF_ALIGNMENT '    "  Retrieval of the Object Headline:            \  %j '         $ l        C H Q     center   B@          L H Q     left aligned     B@        P 8        $ Z           k      frame around the picture    &  Creation of the Key Word for the key:        Obj   $    %   
 _GRF_FRAME '        "  Retrieval of the Object Headline:            \  %j '         $ l   N    '   frame the picture               
                                            1 pt "    $    &    @  0  d    (  B@       h H   @  select picture to allow custom macros to work on the fileobject          B@          '     report no error  a    *  note file does not exist error to logfile        $ Z              '     report error   h H  f @   Z  -----------------------------------------------------------------------------insertitem()      Z p  Z   Z   Z   Z   Z   Z       8 Inserts an item from a inifile into the current document     ; the key of the item is equal to the bookmark where the item           should be placed     - An errorlog is written if anything goes wrong        =  returns 1 if everything was ok, 0 when error was encountered        %  P. Vogel, Microsoft Consulting, 3/94      9  the key expr is enclosed in <> parentheses in the report     <   .   >  ' 0  ,' 2  Inserting Text    0   B@  5   show activity  2  B@n  !  goto beginn of section.        read value from inifile     %  match the parameters to a local vars         .' `  ^  `  \  %j ' d         #  Move to correct position in report         %   '     0 .    2  B@6         %   '           )  cursor not moved, searchstring not found      '  note Positionmark does not exist error                Positionmark  ' $ H    0  ' $ H     not found in report template.       ' *    report error   a     ' 4  &  flag that cursor is at right position    h `     Try to insert item   d            note read error to logfile     !        Key  ' $ H    `  ' $ H     of section   ' $ H    ^  ' $ H   	  of file    ' $ H    \  ' $ H     not defined.        ' *    report error   a @    4          d  B@      ' *    report no error  h   h   f    g  ----------------------------------------------------------------------------- getlanguagedependency$()      ,  this function allows the macros to run with   engl. and german word version       6  ATTENTON: Function not yet testet with engl. version!       3  P. Vogel, Stefan Joksch Microsoft Consulting, 3/94        "  itemno: 1=section, 2=page, 3=line "  init errormessages of this module  A@~      :     H Q  
   Section      % $ l     %   I   A= German, S=Eng, Fra  GERMH Q       A ' 8        ENGLH   FRANH Q     S ' 8      P    0  note language is not supported error to logfile         
 $ Z        S ' 8      k 0    H Q  
   Page         % $ l     %   I   S= German, P=Eng, Fra  GERMH Q       S ' 8        ENGLH   FRANH Q     P ' 8      P    0  note language is not supported error to logfile         
 $ Z        p ' 8      k      H Q  
   line         % $ l     %   I   Z= German, L= Eng, Fra         GERMH Q       Z ' 8        ENGLH   FRANH Q     L ' 8      P p    0  note language is not supported error to logfile         
 $ Z        L ' 8      k    P        Wrong itemno            	 $ Z        ERROR ' 8  k   f   
       +  Stefan Henneberger iXOS Software GmbH 6/97 ohne D    Erweiterung.           \ }                      \ }    % '     p     Entferne Dateiextension            . }      % ' >    f     [  -----------------------------------------------------------------------------isdirectory()      @  Prfung, ob ein gegebenes Dirextory auch wirklich vorhanden ist        ret=0 wenn Dir. NICHT vorhanden     %  P. Vogel, Microsoft Consulting, 2/93       @  E    B      h  B@:     B    D! F L      ' @   Return 0 if error 76 occurs       a     ' @  # Return 1 if error 76 does not occur       h h  f `   c  -----------------------------------------------------------------------------GETmomentaneansicht() 8     C  ermitteln der momentanen Ansicht in Word und rckgeben eines Kodes  M  der Kode kann mit SetmomentaneAnsicht verwendet werden, um die ursprngliche          Ansicht wiederherzustellen  %  P. Vogel, Microsoft Consulting, 2/93         %              ' Hh     % L             ' Hh     % N             ' Hh   f    c  -----------------------------------------------------------------------------SETmomentaneansicht()      -  wiederherstellen der ursprnglichen Ansicht.        (  Pendant Funktion zu GETmomentaneansicht     %  P. Vogel, Microsoft Consulting, 2/93         R     H Q   B@          H Q   B@L          H Q   B@N        P     , Ein ungltiger Ansichtskode wurde bergeben.  Makrofehler     B@F   k   l    e  -----------------------------------------------------------------------------Leerzeichen_ersetzen$()           Z X  Z p   S  function ersetzt alle Leerzeichen in eingabe$ mit geschtzten Leerzeichen ersetzen  O  dies wir u.a. in Zeugnissen und Vertrgen bentigt, wo einzelne Maskeneingaben      4  im gedruckten Dokument nicht getrennt werden drfen %  P. Vogel, Microsoft Consulting, 4/93         V' X   Nur wenn es sich lohnt       X   
       Z     X             X  Z  $               X  Z     %   $ H    X  Z   $    ' X  h `     Z        h H    X' Tf 8   [  -----------------------------------------------------------------------------getsectsize()  H  function returns the size in chars of the current section given as parm     #  P. Vogel Microsoft Consulting 3/94     Z   Z    Z      get the desc of the section  $ 8   ^$    %  ' h       Select the whole section     h  B@n     %   '     B@`      switch on selectmode     $ 8   +    B@n  6   goto next section      B@b      switch off selectmode    %   '           $  cursor not moved becaus of endofdoc   	 \endofdoc   B@n   %   '   a     last section: goto end of doc     goto end of prev. section        B@       h X      return size of section in chars         ' \  f      9 --------------------------------------------------------- 0    Z   Z   Z    7 -------------------------------------------------------      6  written by Stefan Joksch,Peter Vogel MCS May 27, 1994       "  init errormessages of this module     Call init_errormessages     A  Changes the orientation of the page if the orientation requested    >  by the argument strOrient$ is different from the present one.       5  For the argument are the following values permitted:        +  p or P for Portrait; l and L for Landscape  A  For other argument values the orientation is set to the default,      which is Portrait.  @  Preset of Function Value, and of requested orientation value to       the default value Portrait (0)        ' d  .  Default return Code: No change of Orientation       ' h  $ Set requested Orientation to Portait       8  retrieval of printerspec. paperformat from Winword6.ini      Microsoft Word  SAP-REPORT-PAPERFORMAT  %l ' D        D        #  no paperformat defined, do it now!   definepaperformat   B@(   8  retrieval of printerspec. paperformat from Winword6.ini    h    !  Retrieval of Current Orientation   Z   E       ! L% N . l        l  ! PB@N         l! n' j       Retrieval of the switch value       @  KeyObjnOrient$ = "Obj" + LTrim$(Str$(nObject)) + "_Orientation"       strObjnOrient$ = \  @  GetPrivateProfileString$(strChapter$, KeyObjnOrient$, inifile$)     1  Analysis of strObjnOrient$ for Landscape request     f  l    f  L         #  Requested Orientation is Landscape   ' h  & Set requested orientation to Landscape    a      ' h  % Set requested orientation to portrait     h @   ;  Change orientation according to the Request, if necessary:   j  h        beginn a new section          n  B@p         B@r         -          ' toggle portrait / Landscape format          h   '          If currentorientation = 1 Then      "              OrientPage.AnwAuf = 0   $              OrientPage.HochQuer = 0 )              OrientPage.Registerkarte = 1    )              OrientPage.PapierGre = "0"    .              OrientPage.SeitenBreite = "21 cm"       /              OrientPage.SeitenLnge = "29,7 cm"      ,              DateiSeiteEinrichten orientpage               DateiSeiteEinrichten .AnwAuf = 0, .HochQuer = 0, .Registerkarte = 1, .PapierGre = "0",  .SeitenBreite = "21 cm", .SeitenLnge = "29,7 cm"               Else          (	   "              OrientPage.AnwAuf = 0   $              OrientPage.HochQuer = 1 )              OrientPage.Registerkarte = 1    )              OrientPage.PapierGre = "0"    .              OrientPage.SeitenBreite = "21 cm"       /              OrientPage.SeitenLnge = "29,7 cm"      ,              DateiSeiteEinrichten orientpage                    DateiSeiteEinrichten .AnwAuf = 0, .HochQuer = 1, .Registerkarte = 1, .PapierGre = "0",  .SeitenBreite = "21 cm", .SeitenLnge = "29,7 cm"               End If       ' d  %  Return Code: Orientation has changed     h   f     (9   [  -----------------------------------------------------------------------------getdateiname$ 	       @ Extrahieren des Dateinamens aus ganzem Pfad ohne Datei Extension      Erweiterung.         %  P. Vogel, Microsoft Consulting, 2/93          \ }                      \ }    % '     8     Entferne Dateiextension            . }      % ' >    f 7     J Extrahieren des Pfads und Dateinamens aus ganzem Pfad ohne Datei Extension7    
  Z   Z    :  :  :  :  0   Z  
        $   '                            $     \       r :  h :               ' a P:                    $     _              $           $   '      '   h 9               ' a h9    ' h X9  f P9  9      Vorlagen '    	 Templates  '   GERMH Q USERP         library.getPathName$    % (  '       Z  	    ENGLH   FRANH Q e$ 0  note language is not supported error to logfile    k :      % $ l     %         	 Templates  '      0 210:notsupported language might cause problems.    :      < HKEY_CURRENT_USER\Software\Microsoft\Office\8.0\Word\Options 
 PROGRAMDIR  %  ' 8>   Z  -----------------------------------------------------------------------------getpathname$  0>   Attribut e VB_Nam e = "Lib rary"
O ption Ex plicit
APriva D eclare FuncLGetW indowsDi rectoryA   "Kern el32" (B yVal lpB uffer As S ng,  nSizeIn teger) _
 %
Rem !z	y"(pj\/	7The  macro as sumes an  opened  logfile ! chan t #1Tarray  of erro"r sagin  this mo dule
Dimmsg__$L()'-5 
Sub init_@1O4/EsroutineE@ obj ~l! updA synchroniously =necess A9?10?*B1)201:No EYnAdef d for G2D2:Unknown typ(e :
3
3:TabqrnotQund44:OB:headlA@" empt@6n55:CusXtomĐU66p:Tex  A
7
7F8Alignpment Ggraphic?2
8D8!+supporr Se c hosen langu V.9D9:W:g itPemno@t efgetdeedenc;0#	x10: aj  might cause pro 4msEnd @[dY\dinsehrttAA(YA$ RaTt2pos`{fQ$Cw$2bgj2b I CBVinto2uDrr<docn ab/#l(giv`8a	pa"rfterAn`qwritt)@ify ngh gow;Cr eturn 0 YevwokcP. Vog@el, Mis oft Consul`@6/94!6aϖremembmc$"2i^ r2eAY
5 Wo rdBasic.SelStar`tPos(@;B(ry `,?C/
   check+existsCIf6StrE , "\") >`%@3n ' path,2@INIB;#I@NCE2l _' kcn X[Defa. $](1+< +bZP4If׳ pFGss	 ) <> "" 1c+1 Q:=c,firBm@ verssp:=0,1}1 Link0W4ojcsel`gs allow 
cWsawork?zJ@Oc.Set"RHeB?, >gF ~atP6rW KeepWithNC:=C%XF`0 "C+Qo`:	kPReCAd9  (4g0a#1,1Tu@o+ 3sK	-1W	)	#
XeSq9ϊNoXdbXp_XxtW5Y_X_sLXXOXOXEX)?Xme?Xo ts ?X?X?XZ?X?X?XmPit#?X?X?Xu?X ?X g2?X-T;X)/Xc//XjM/X/X/X}8 A9R/XG/X/X2>/X=j[/X/X3+ Chr(1='Cǎi{priQOs>ݸ*g@-_]_]_]_]b;2 1 AU]4y\\\h'\s@QftPa=0|',Y
YϿYY$(PY?:	YY|Y
YO- 
Priv ate Func tion ins ertgraph (objfile$, n ect , strchapter *ini>)
Dim  textpos1fname$
2KeyObj nalignme|nt$ b%frF !Rem I
 Iss a uics e to the  currM dxocuR i ormatted due  special 4ops &%IN6I.!T . of'given aIpaz  An errorlog;wri: f anyth ing goes@ wrongr eturn 0 `if ev@	w	okP. V ogel, Mi crosoft Consult , 6/94

zt!messag@/Amodule
_)rememb,erU@iD report
E  = WordB asic.Get SelStart0Pos( oTry[p
   check=VuexistsDIf~Str"`\") >Jfn ' pathYdin p *Else9 noG9[Defa@]Dir$ ](14) +  %@nd Ifk1F s%) <> "" a_Pic`DHe N l:=#, LinkTo	:="0"`T]727kS"<Rang@h,E %G;for addHmp`nO6Fop <|CreaT$u BS !!key:G f$`!" "8H5LTrim@5aPĪ)>_GRF_ ALIGNMENT(/!Retri<evÆ   Headline`Fb_HjPro!d`'ʻ}, &%%sCa@_U !ku B"C" dc@\erC"PˊLLle "edY	L	vO#nt #1,! msg__$(7a4dE rA5 arou@aEMg?L1LcK%FRAME%%ct%  Hx%Z[%`+ng%_%`Z$cCMNSM $Rt$
FbzB0eersA@ndShadBA pplyTo:=H0, 1ow Top:=  # @BottomRight Horiz V Color    q `FromTS [1 pt"@r eg( Back Tab^, FpD:=-`q1 a.qg+sel?Ayallow@~s10 ma1awork a0F`$`s0e16W(0!>A7noq`  SpA$(3A Qֳ@	-1W	$	 AӖitem	rtbeginn`0n9`m$@] markĺsec# kulgq'  f-gP"in'?%} !aequ`sdbookq wherq 
'shoul d be place'x'Qs 1cerZ., `ļ enncb 3A,exprBnclosЌshes .u)"< y`">a V
g:0@tusBpar "31UAH AV' w aavityQ.WW7_EGoTo x'gow.d> %!!3РchSaЃmesQ=a loc varϰP
* 	ly131$ Mov%o coPtԮ* t _0ZdZd:=%, p]2  = WordB asic.Get SelStart Pos()
I f textpos1 (2 Th en ' cur sor not  moved, s earchstring.found
   Rem	$e  itio nmark does)exist@ error/P Dt #1, "2" + Chrp(39) 	 H$l _6	"Y  in report mplate."1insertitO= -1 lFElse5ok fla@g thatis  right  q
End  If
~Try toD7 8value$ +""5readlogfilGKey	~key$" o:fcseinidefinedYZDAGIm COJs0sno	eFunق?
C A`-? G  getlang uagedependency$)thf! a llows@e  macroo  run withÓengl. a@germa` vers@׃A TTENTON:& E7yest[	 #	$!CP . Vogel,  StefJoksch Mi oft Consult`}, 3/94
 Rv kS4a_no '`n o: 1=O, 2=p $`
=lGLmesssYB&modu!bA_bvE
`Z Case$#E=xSC^G)M[Left$](U(AppInfo@16)), 4)@NA= G"2`'=Eng, FraGX"GE|RMa 3&A,CENGL"`pFRAN_	MA	SQ	eR ye VF  T!{supAe2msg__$(10> 7!uc3)2-PAg+7e7S7P7g!e 77P77%
OMBMa
ph
93#>7[7ZL= 77ZOxe "7Le 77~%o
n


WroP]G1?x$(9@?1q#ERROR lQzq/z pathname$lq{'ExtrahierdPfads @ Dpiqnus ganz A ohne 	 en{'ErweP~g.
'wHenneberP~ iXOS Swware G mbH 6/97Dimars  As Intesap_u_dotE"jpdSypm.p|ProS"("f HKEY_CURR_USER\\\Office\8.0\r(\OpasPR OGRAMDIRJ"x FCh=  Len(j	) To 1p#CMid$,s, 1)$\q Exit +Q&AN0wm?dhNN腛
L5p ,P!"Vor0enHMX %Te#sN  Q<ot  
e	GF"210:%mca00 p roblems. 
=#QI _JG
dEoJnaJGNaL(b$ (J  namens a us ganze m Pfad o hne Date i Ext io n
'Erwe iterung. 8 P. Vog el, Micr osoft Co nsulting , 2/93
 
  Whil e InStr( b$, "\")  <> 0   b$ = Wor dBasic.[Right$]*Len ) ->)WendaR @EntfereA  getNc jLef4O. O- 11End Funct5-I isdire@ctory(8Priv : IsfD_$ xPrf , ob einrgebenes x'ch wirkli vorha nden ist
"ret=0  wennA. NICHT 
	#zOn Erro r GoTo -h1: Kele
G{Ch+_$
:
IfA.Number76 The 	E 0   'Return 0 if   occurs
XEls 11	do@Snot @IfKJHGETmo@tanean hBt҇GetM	AA	dummyĉe rmittelnL d@Qn  `G1 urckHAJKode`'AE kaEa`
 Set		vVe`LtJr@M,  um die `0prng!Q0#!
ewieherzus lA<NDIView Normal()@C-1fF  P%@1;.	OutliDne_	cht@	2X	Pagtি!oM"L?&SLSub<Lschal`dL&87BM*>M@b;@antk zu 0^'Sel Case B<c}fͧE(83AH 5S=UM sgBox "Ekp@gt$csko wurdeL `"s." M akrofehler16N# d|ub"L
e:e*en_e rsetzen$qIon jgabeqlDim ap_q i
0mv \t alJ%% aHgetzD0Hsp  u.a.1ZeugnisspOVertrg @ttigt, (wo zSe Masku0hA,gedrucBkDokuZ 6nR<PrpuP drfM-4aNurzY!a l|Ka$) > 2(OF yiAN @y%)(Mid(api,@" "(3+ +[1) + Chr(160 F`eM Next 5# #P1"1Owm *@s@DsizZ)urthE A$`Prs of Apt  giv$as parm%m/% 3/94
I	poinW3Dmark4tpos0O pMQ+7
}c
langukdep0[ency$( Trim
bYqwho0=ɠWW7_Edit"T@	 }`StartPos1HdS' sXwit`IsbmU"+"  ' goto n,.CancelPEffp!jS%l.9ho&A&s=m oved bec(ofdocS>7"\e"s/llas.:%&Qprev.1	Char!E 1PH3l17 Q997
A= v- p0C'?@?: ~Orienta(str ennObjnI#
A9pfQt;Co'R3-7wrn b y Stefan Jokr,PeC gel MCS  May 27,  1994
Re m init e rrormess ages of  this moduleCall%V_
V
<hantthe or ientatio"ne p  iVrequesHtedEby xe@ argum B strOL$  @differfrom)pres!one.BFo"rCarefo llowing val : permit=:p \ P f  Por trait; l@ and L
La scap4o=wrW,]set toDdef ault,:whxichn9cPmtFuncV\,IA_5"E8=  (0)
P fXk= 0 ' D( return  Code: N8o cBy$
nObjnC S@;G'
% VEx@-prin terspec. hcmat B| Winword6.
p$W@Basic. [GetProf ileSt g$ ]("Micro soft 
",  "SAP-RE PORT-PAP ERFORMATB" DIf (H"") Then EnoJ$@Uined , do @now!
   #̪"
prC,"	K6?E@IfxRe@:eDPCurȁ]
Dim != As  6ect: !5(="$C) DialogRerc+.F *aup(False%iHurSs+
cCɃ=.?PCa)a$Yswlit`f u@qK,eyPB""  + LTrim$2(A$(!U))"_h2Y	\5KivateL(Chap`Wh$, K,R$ &	Analysy@E  q#@T= "l"(`L"V#e$Rŭ.c~Haa z1 'AES ECGK	 Z	p]AA, *acAT!$ / f necrya{Q<> c~beginn a 
w sH''aInser tBreak T@ype:=2Toggley-a ' E! /hA"@Rl1$AQ%q /Q=.AnpwAuf[+lHochQuerR`}rkar4te1oPa pierGry"08
1
Seiten ` "21 cm/$.(L#129,V7?!D=iEinry&!_b., .I 0,  .1Q1 8`?@{oh(J		hRNQno`jv_31 .D.,1IS s_t= \ uםhasp
Az                                                                         TemplateA ject..?_%v id@entifyI to usep
geif we ha@6@a INI O,med...
IfU <> ""~en   Au Parse st ructure (andCsAin@loop
AW ordBasic .Call "mˀ\A.",IshowB3logA'SA	 El>Q'No9F  avail, xclo0CD @feiSchli@een 2&Eɀ7IfA
 a
'-: ptAf6s af op !dias@:BYenBG@xrAzsel t;.d  workdir. xsetA`k`Re:n:!rn$ @b@@Gc(ancdmri>v UnLnrre dlg As ObY: S)A= CDRe*c@E.!O`(Fa8x 	]0
CurValues `

 .*.e`d`, -1 ^d]W!P$$n	KH[D-Dir$](14
`hRight%, 1)\m,}&+BU" 
ndYxMsgB ox "*" +G~+ALlibrary.=d`?iC()". ʡ #InStBr, "\  "
)A0B1' UNC !;REMS serverLeft$H2aMidiF7G!")) O"_F, W4Ng%  
            x  \D        @d	         @   T       	  4hd6 D4 (T  l 0h	@d"   $ @  dWD
 	  d5D :T %h  =h	@DT%d"   $ @  dWD 4	  ld5D l(T  ]/D\  
  T     9:$ %(T %d"   $ @  dD `   d5D H:$ %   @(T %d"   $ @  dD : ]/4d5D\ $   FThWD 4`   6 D4  *    *FDhW4 `   6 D4            x ,                    l h           d D 4         f            _ _ S R P _ 2 3                                                                                       x         _ V B A _ P R O J E C T                                                                                 $)      d i r   n e P a p e r f o r m a t                                                                     {  5      _ _ S R P _ 0                                                                                           ~5      rU                    	     "         $      "    `  	                   $      "   `                p      x    0  This macro controls the whole rep1     0*	 pH  d   Template ProjectQ H  @

=
|	]3 J<
 9stdole>s t  d o l eP  j %` * \G{00020430- C 
0046}# 2.0#0#D: \NTSV40. US\Syste m32\STDO LE2.TLB#  Automa0tion 1  MSForms>  S F Gr m s h/ z	pH8 A99A921- E7BB-11D@0-A8F6HE$81 EDHC:\WINNTFd    Italic!  EditReplace    Findn  Replacef 	 Direction& 	   MatchCase 	 WholeWorde    PatternMatch 
 SoundsLike1 
 ReplaceAll)    WrapWy DefinePaperformat% ret pformat  MsgBoxR  ChrK~ dlg-  DialogRecord  FilePageSetup 	 CurValuesȤ 	   PaperSize    Dialogf  SetProfileStringZV TableOfContents errmsg__ inifile@   sectionG   key toc(   valueK 
saprep_dirs  sectio                                                                              x                 y[                                                                 (     >
    <    L            ]3 $ * \ R f f f f * d f 3 3 9 e 8 c 2 b  * \ R 1 * # c 1  * \ R 1 * # 1 7 b    P     X        X      `               hk          8  v  `          k    '     oft @Bl      Dec`Jh	     ariaҀ\          @     idet                $   _   Main control program for interactive mode.
P. Vogel, Stefan Joksch, Microsoft Consulting, 3/94        TemplateProject.autonew.MAIN   X      t            $         \v   @x	     @h                 x  \D        @d	         @   T         @  D         @0  4              @  $         @         @                            X                         ME                                                                         C           	      	      	 4       	 8   @    	      	 $   x           "         
     	      	                	      	 &             	      	*        . H   	      	   h    .    	            	      	 .      	       	            	      	           	      	      	      	 D       	 J   H   	 D      	 (     "              " <       @     0 H      `     = x          
          	       9     H     $          *      0   	     8   	 <   X   	        	 8      	 "      	 j      	 P      	                  	 D     P  X  x    0  This macro controls the whole reporting process     3  Stefan Joksch/ P. Vogel, Microsoft Consulting 5/94     Declaration of shared variables    Z            ' \   identify the Inifile to useA@v     "  if we have a INI file, proceed...    \          %  Parse structure and process mainloop     mainloop.main   \  B@(     show the logfile     showlog.main  \  B@(    a X     ' No INI File available, close the report     DateiSchlieen 2 h    l        > --------------------------------------------------------------     F  this function shows a file open dialog and enables the user to select       @  a INI File. the default working dir. is set to the selected dir     #  Return: filname$ or "" if canceled X     Z    Z    E       ! L% x . J         ' B  J  ! PB@x         *.ini   J(         J     ! T% x ' B      B            ' \a H       % ' \        \    %   \         \  J!  ' \   a     \  \    J!  ' \      h      MsgBox "*" + inifile$ + "*" 8      inifile$ = library.getdateiname$(inifile$) + ".ini"       MsgBox "*" + inifile$ + "*" 3      If InStr(inifile$, "\\\\") <> 0 Then' UNC Name        REM filter \\\\servername       f      inifile$ = Left$(inifile$, 2) + Mid$(inifile$, InStr(7, inifile$, "\"))     REM filter \sharename       L      inifile$ = Left$(inifile$, 2) + Mid$(inifile$, InStr(4, inifile$, "\"))       End If h   l      > --------------------------------------------------------------      8      z Attribut e VB_Nam e = "aut onew"
O ption Ex plicit
Rem Thi s macro  controls  the who le repor ting pro@cess
hS tefan Jo ksch/ P.  Vogel, Mi Hsoft @Consul:5/94nDeclaraof s hared va@riable ^D im inifi le$
Pub  Sub MAIN()
. Descrip zMaine[ gram for +teracti ve mode.p\r\n]
je,\ 3e BPDataHInvoke_Funcnmarkg    GetPrivateProfileString$x  UCase5
  WW7_EditGoTod    Destinationл  InsertTableOfContents,c    Outline5  From~     RightAlignPageNumbers>  WW7_InsertPageBreak_; Objectlibrary init_errormessages 
Objectfile 
strchapterE nobject: KeyObjnfileCb strfile X    LTrim$'q  Str    Right$y1 ObjectHeadline36 KeyObjnHeadlineJ 
strHeading%   Start EndeC    Insertr  GetSelStartPos  GetSelEndPos&  SetSelRange'  FormatStyleL    Apply, Objectmacroname/ KeyObjnmacro macroc  CommandValid 
 ToolsMacrou    Run_ ObjectNewpageu KeyObjnNewpageE strObjnNewpageL ObjectOrientation KeyObjnOrientׂ strObjnOrient nReturnd Objectheaderpagec pagebreakflag   filenamej  WW7_EditAutoTextC    ContextXn  CharLeft 	 CharRightP Resetoptions0 
L_Language versJ6    Left$7    AppInfo$3  ViewToolbars|  Toolbar2    Show Reportlayout`E chapternumbers Headline footline   pagenumbers 
chapnumberE  PrintStatusBar=  EditSelectAllV  FormatHeadingNumbering5  Removeϱ  Preset  FormatHeadingNumbere 
 RestartNum HeaderM 
 ViewHeaderܪ  CloseViewHeaderFooteru footer^ 
 ViewFooteriU  LeftParaNI 
  pagenumber>  EndOfDocument 
 InsertPara,  InsertPageField9 	 RightParaC 
SetOptions4  DocMaximizeU 
 ViewNormal5  ToolsOptionsViewP 
 FieldCodes 	   Bookmarks?n    TabsZ  Spaces  Paras  Hyphens    Hidden]    ShowAllI  Drawings%  Anchors  TextBoundaries  ToolsOptionsGeneral 
   Pagination 
 ErrorBeeps;  UpdateLinks  ToolsOptionsSave}    CreateBackup 	 FastSaves(  AutoSave    SaveInterval  ToolsOptionsPrint1 
   Background.  Hide9z  SetTemplateDirty 
savereportWX   save docname׷ docpathD docfile dlg2s  FileSummaryInfoY    Title~    Author    Comments) 
 FileSaveAs  Beep 
Batchstart,G 	errorflagѥ dotname>h   operatingsystem[ windowsversion< Dir_e    GetSystemInfo$    GetProfileString$z    Files$  DisableAutoMacros  FileNew!    Template 	 FilePrintI 	 FileClose_  Kill  DocClose= 	Frontpage{T textpos1N" mark- textpos2O" 
 WaitCursor)k  WW6_EditClear0 FrontpageActualizeZa^   	  	              * \ G { 0 0 0 2 0 4 E F - 0 0 0 0 - 0 0 0 0 - C 0 0 0 - 0 0 0 0 0 0 0 0 0 0 4 6 } # 3 . 0 # 9 # E : \ P r o g r a m   F i l e s \ C o m m o n   F i l e s \ M i c r o s o f t   S h a r e d \ V B A \ V B A 3 3 2 . d l l # V i s u a l   B a s i c   F o r   A p p l i c a t i o n s              * \ G { 0 0 0 2 0 9 0 5 - 0 0 0 0 - 0 0 0 0 - C 0 0 0 - 0 0 0 0 0 0 0 0 0 0 4 6 } # 8 . 0 # 4 0 9 # E : \ O f f i c e 9 7 \ O f f i c e \ M S W O R D 8 . O L B # M i c r o s o f t   W o r d   8 . 0   O b j e c t   L i b r a r y              * \ G { 0 0 0 2 0 4 3 0 - 0 0 0 0 - 0 0 0 0 - C 0 0 0 - 0 0 0 0 0 0 0 0 0 0 4 6 } # 2 . 0 # 0 # D : \ N T S V 4 0 . U S \ S y s t e m 3 2 \ S T D O L E 2 . T L B # O L E   A u t o m a t i o n              * \ G { 8 A 9 9 A 9 2 1 - E 7 B B - 1 1 D 0 - A 8 F 6 - 0 0 0 0 E 8 1 8 1 8 E D } # 2 . 0 # 0 # C : \ W I N N T \ S y s t e m 3 2 \ M S F o r m s . T W D # M i c r o s o f t   F o r m s   2 . 0   O b j e c t   L i b r a r y             * \ G { C E 4 2 C B F 3 - 8 B 0 0 - 1 1 D 0 - A 2 5 1 - 0 0 2 0 A F 6 D 6 8 8 F } # 2 . 0 # 0 # D : \ T E M P \ V B E \ M S F o r m s . E X D # M i c r o s o f t   F o r m s   2 . 0   O b j e c t   L i b r a r y              .E.`M   * \ G { 2 D F 8 D 0 4 C - 5 B F A - 1 0 1 B - B D E 5 - 0 0 A A 0 0 4 4 D E 5 2 } # 2 . 0 # 0 # E : \ O f f i c e 9 7 \ O f f i c e \ M S O 9 7 . D L L # M i c r o s o f t   O f f i c e   8 . 0   O b j e c t   L i b r a r y                                             ]3            	 
                       y  T h i s D o c u m e n t 
 d3339e8c2a *D{            $ t a b l e c o l o r d e c o d i n g 
 d4339e8c2b *Du         V  " D e f i n e P a p e r f o r m a t 
 d5339e8c2b *D@w      0   r   T a b l e O f C o n t e n t s 
 d6339e8c2b *DXq      H      O b j e c t l i b r a r y 
 d7339e8c2b *D|s      `   :   R e s e t o p t i o n s 
 d8339e8c2b *DM      x   F   R e p o r t l a y o u t 
 d9339e8c2b *DO         K!   S e t O p t i o n s 
 da339e8c2b *DI            s a v e r e p o r t 
 d2339e8c29 *DFK            B a t c h s t a r t 
 533a8eb23  *D^E             F r o n t p a g e 
 db339e8c2b *D~G            M a i n l o o p 
 de33a524c1 *DA             C h a p t e r s 
 dc339e8c2b *DC          )   s h o w l o g 
 dd339e8c2b *D]      8   	   O b j e c t s 
 de339e8c2b *D_      P   _   L i b r a r y 
 1233a80579 *DY      h   K{   a u t o n e w 
 df339e8c2b *Dt[                          x    h    8  P  H  `    0     ͱ  mh   ͱ  mh   ͱ  mh   ͱ  mh   ͱ  mh   ͱ  mh   ͱ  mh   ͱ  mh   ͱ  mh   ͱ  mh   ͱ  mh   ͱ  mh   ͱ  mh   ͱ  mh   ͱ  mh   ͱ  mh   ͱ  mh   `       fm H\        b  S    False      ReDim      Rem      Stop      ThenWordk VBA Win16~ Win32 Mac Sap_rep7! stdole` MSFormsC ThisDocument< 	   _Evaluate Officeu TemplateProjectE Module1b tablecolordecodingg h   MAIN, 	   WordBasic  EditFindFontZ  Color2F  EditReplaceFontx    Points    Bol  UpdateFieldsR Mainloopf logfileG debug_ opt_view> opt_generalN opt_save 	opt_printG    ScreenUpdating!  FileSaveAll Chapters nSave!h 
strSection 	KeyNumberr nChapter ja 
KeyChapter nOutlineq  strHeadline9|  Val ChapterOutline ChapterLayout ChapterHeadline' nStringr 
strOutline KeyChOrient strChOrient 
strNewpage~: showlog msgQ cmd~    DefaultDir$l  ShellV ObjectsL nFixSaveyo nObjectsk7 nCount  FileSave Libraryʣ GetWindowsDirectoryA2 lpBuffer> nSize} Kernel32_ inserttableQ objfilec1 fnameR 
   InsertFileX    ConfirmConversions  Linkh  FormatParagraphE    KeepWithNext 
inserttext Y insertgraph KeyObjnalignment objalign, KeyObjnframeO objframeu~  InsertPictureK 
 LinkToFile 
 CenterPara  FormatBordersAndShading6  ApplyToP    Shadow 	 TopBorder
j 
 LeftBorder]  BottomBorder  RightBorderl  HorizBorder 
 VertBorderp  TopColorAT 	 LeftColor?  BottomColor< 
 RightColor5P 
 HorizColor 	 VertColorC  FromTextKv    ShadingA 
 ForegroundƯ  FineShading+ 
insertitem
( beginn keyparmY posmark 	secbeginnN posok  EditFind getlanguagedependencyc itemno8 	 errmsg___9 getDateiName IsDirectory errorhandle_  Erro  Number- GetMomentaneAnsicht
 dummyD  ViewOutline9  ViewPageJ SetMomentaneAnsichtZu schaltert Leerzeichen_ersetzenT= eingabeQC aX i` getsectsizeHy sectionpointer  ExtendSelection    Cancel PageOrientation 	strOrientr nObjnOrientL currentorientationj 
OrientPagem    Orientationw    InsertBreakѺ    TogglePortraitG autonew\3 
getinifileE>  FileOpen   _B_var_UCasea Documentj   _B_var_errmsg___C 
 _B_var_Chr\; 
 _B_var_Str   _B_var_Print   _B_str_errmsg___/] 
 _B_var_Midp 
  _B_var_Libk getPfadNamei   _B_var_ReDim   _B_var_GoTo8< 
 Schliessenq Anwendung_SchliessenE Test4 	 DraftFont`  Units 
   BlueScreenݪ   _B_var_ConfirmConversions   _B_var_Hide   _B_var_Toolbar    Systema  GetPrivateProfileStringgh    PrivateProfileString[   SetPrivateProfileString= WSToWS97 DotFilese Chars> CLine TempDotFile    Application*    Version  Right getpathname 
 _B_str_MidX sap_user_dot@  sap_usere_dot}   _B_var_sap_usere_dot  sap_user  getpa   getPathnName/   _B_str_getPathnName"s     G - A  _	  u      Y     "    #    " 
 '         * } &  )  .    2                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   3 .TWD#Microsoft ="  b Ob Library 9 80 ?CE 42CBF3-8B00?251? 20AF6D688FTEMP\VBE\<EX< .E .`MAoOfficoO f@ i coJ2DF8D04 C-5BFA-1 01B-BDE5*AA n42*E:\97,O97.DLLJ 8.0J® y ThisDocu mentN2 WT h i@{"D}c u@~e n  HBj1@B,QB{"B+B table@colordding2 $ a bc l r eUoi@#g O#V M#Hu!  E#@DefinePaperf@a !2 !D`9f!n Pp r<o aba"r : -w,""OfCont1sÌŋ2 	  T&"aLC "!22sp!-q,`!lll   J2 1jcl`!*b`a` y0:os,AResextop -#QRU`s` tp`iSFMp ortlayouY_Re'p rѢa y`u`/NVKK,O
'SXetO%2 %`eO {oIsaver s`I:v*r` oKBatchstar)Bt wh t`S*E		 )Fr`epageT 2F`Robp g/G; Main@loop  2t PMQHIoKP__ A_ Chapter0WQ SCpXa2!eCp_/  )_C\
showlVo@W 2}s0o$ wVo ?U  P.]DC`5DsOC?  T_?_ 72 LIZjK{%Y anew aPp1H1`w?O @!][Q#                reportlayout.main     TableOfContents.main     Beep     SAP report is ready     PrintStatusBar  	   FileClose     resetoptions     GetWindowsDirectoryA  	   Kernel32      GetWindowsDirectoryA                     @           init_errormessages     inserttable  
   inserttext     insertgraph  
   insertitem     getlanguagedependency     getDateiName     IsDirectory     GetMomentaneAnsicht     SetMomentaneAnsicht     Leerzeichen_ersetzen     getsectsize     PageOrientation              #       Left$     .     save	     SetTemplateDirty     FileSummaryInfo     GeneralInfo     Title     Author     Author     Creationdate	     Report created      Comments     docname     docpath     mode     B     library.isdirectory     ChDir     library.getDateiName$     .doc  
   FileSaveAs  6   Report can not be created without intermediate saving!     Cancel Report     MsgBox  -   Report canceled due to no intermediate saving  	   FastSaves  I               fĤIx  8<  k	           F  α  mh  	           F   α  mh  	           F     Document    @                            
   Objectfile     ObjectHeadline     Objectmacroname     ObjectNewpage     ObjectOrientation     Objectheaderpage              ;        chapternumbers     Headline     footline     pagenumbers              K        FrontpageActualize              0        ChapterOutline     ChapterHeadline     ChapterLayout                      DocMaximize  
   ViewNormal  
   FieldCodes  	   Bookmarks     Tabs     Spaces     Paras     Hyphens     Hidden     ShowAll     Drawings     Anchors     TextBoundaries  
   Pagination  
   ErrorBeeps     UpdateLinks     CreateBackup     AutoSave     SaveInterval  
   Background     AppInfo$     DEUT     ENGL     FRAN     XXXX     6.0     Formatierung     ViewToolbars     Toolbar     Hide     Format     Standard     Rahmen  	   Datenbank  	   Zeichnung     Formular     Makro  	   Microsoft  
   Formatting     Borders     Database     Drawing     Forms     Macro     Mise en forme	     Base de donnes     Dessin  
   Formulaire       Enregistrement de macro     Bordures     A     S     P     p     Z     L     EditFindFont     Color     14     EditReplaceFont     Points     Bold     Italic     EditReplace     Find     Replace  	   Direction  	   MatchCase  	   WholeWord     PatternMatch  
   SoundsLike  
   ReplaceAll     Format     Wrap     12     10  I      `         1   Paperformat not yet defined for your SAP reports.      Please define it now!     Paperformat     FilePageSetup  	   PaperSize   K)^ 0               	        	                                                                                                                                                                  
       
                                                                                rU              ~  ~  ~  ~  ~  ~  ~  ~  ~  ~  ~  ~  ~  ~  ~  ~  ~  ~  ~  ~  ~  ~  ~  ~  ~  ~  ~  ~  ~  ~  ~  ~  ~  ~  ~  ~  ~  ~  ~  ~  ~    ~  ~  ~  ~  ~  ~  ~  ~  ~  ~  ~  ~  ~  ~  ~  ~O         	                   6~{   	  	            	     
 "                   	      Y	             A	        A      a 	      Y	             A	        q      a 	      {             A	              a 	      s             i      9#      Y#      #      #      #      	$              a 	      Y	             A	              a 	      	|              A	      q$      $      $      $              a 	      Y	      8       A	        A      a 	      Y	      X               a      A 	      Y	      p       A	              a 	      A|      P       A	      1%              a 	      ~             A	              a 	      y|      h       A	      %      %      %              a 	      Y	             A	              a 	       Y	             A	                  1      a 	     " 	             A	      y	        I                                                   i                      Q                                                       Sap_rep7     ThisDocument     TemplateProject     Module1     tablecolordecoding     DefinePaperformat     TableOfContents     Objectlibrary     Resetoptions     Reportlayout  
   SetOptions  
   savereport  
   Batchstart  	   Frontpage     Mainloop     Chapters     showlog     Objects     Library     autonew             F     D:\TEMP\VBE\MSForms.EXD     Dialog    =   E:\Program Files\Common Files\Microsoft Shared\VBA\VBA332.dll     VBA
  
a         	   	            (               	           F     E:\Office97\Office\MSWORD8.OLB     Word
  
         	  !      i      8               0           F	  !   D:\NTSV40.US\System32\STDOLE2.TLB     stdole
  
                   Q      H               B Q  mh	  !   D:\NTSV40.US\System32\MSForms.TWD     MSForms
  
                         9      X              .E.`M  B Q  mh  
  
                         9      h             L-[  DR     E:\Office97\Office\MSO97.DLL     Office
  
a                         x                  MAIN               
   getinifile                       	           F  	                  mainloop.main  	           F   	      a
           Call     showlog.main     DialogRecord     FileOpen  	   CurValues     *.ini     Name     DefaultDir$     Right$     \                      001:Start of SAP report     002:End of SAP report!  ?   003:Aborting SAP report due to severe error during save process	     ToolsOptionsView
     ToolsOptionsGeneral	     ToolsOptionsSave	     ToolsOptionsPrint       library.getdateiname$     .log     Files$     Kill	     savereport.save  
   setoptions     control     debug     GetPrivateProfileString$  
   VBA332.DLL  I       (           Y     ScreenUpdating     library.getlanguagedependency$     2     Headline     WW7_EditGoTo     Destination     Chapters.main     FileSaveAll	     Frontpage.main
    Tab	     Microsoft Word     SAP-REPORT-PAPERFORMAT  	     SetProfileString  '   011:Unknown option for table of content	     TableOfContents  	   frontpage     START     InsertTableOfContents     Outline     From     To     RightAlignPageNumbers     \startofdoc     1     END  	   \endofdoc
     WW7_InsertPageBreak     NO  #   201:No filename defined for object      202:Unknown file type :      203:Table file not found:      204:Objectheadline empty in      205:Custom macro not found:      206:Text file not found:   /   207:Unknown Alignment option for graphic file:     (   208:No support for the chosen language.   6   209:Wrong itemno in the function getlanguagedependency  I      e            Obj     LTrim$     _file     ,     RTF     library.inserttable     WMF     library.insertgraph     TXT  
   Headerpage     library.inserttext  	   _Headline           Insert     GetSelStartPos     GetSelEndPos     SetSelRange     Normal     FormatStyle     Apply  
   _macroname     CommandValid  
   ToolsMacro     Run     _Newpage     N     _Orientation     Library.PageOrientation     Vorlaufblatt	     WW7_EditAutoText     Context     CharLeft  	   CharRight     Show  &   021:Unknown option for chapter numbers     Inserting chapter numbers ...	     Chapternumbers     EditSelectAll     FormatHeadingNumbering     Remove     3     Preset  
     FormatHeadingNumber  
   RestartNum     Inserting headline ...     GENERALINFO     HEADER  
   ViewHeader     CloseViewHeaderFooter     Inserting footline ...     FOOTER  
   ViewFooter     LeftPara     Inserting pagenumbers ...     CONTROL     PAGENUMBERS     EndOfDocument  
   InsertPara     InsertPageField  	   RightPara  
   e:\sapgui\     sap_rep.ini     7.0     sap_rep7.dot     sap_rep.dot	     GetSystemInfo$     Windows  
   Windows NT     4.0  )    template file. Please install correctly!  
   _GRF_FRAME  )  O   HKEY_CURRENT_USER\Software\Microsoft\Microsoft Office\95\FileNew\LocalTemplates
     GetProfileString$     USER-DOT-PATH*  P   HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft Office\95\FileNew\LocalTemplates     WORKGROUP-DOT-PATH     Can not find        Aborting SAP Report application	     DisableAutoMacros     FileNew     Template  	   printonly  	   FilePrint     *.DOC     *.INI     *.RTF     *.WMF     *.TXT     *.LOG     *.TMP     DocClose  
   WaitCursor     Deleting the frontpage ...     WW6_EditClear       Inserting the front page ...     library.insertitem     UpdateFields  2   101:Invalid structure definition in the.INI - file  )   102:Number of structure entries undefined  '   103:Depth of Chapters must be positive:     objectlibrary.ObjectFile    *   104:Maximum Outline depth of Chapters Is 9  :   105:Depth of Chapters must be defined from an equal number  	   Structure     Number     Val     Heading     objectlibrary.Objectheaderpage     Objects.main     TOP	     HL_Orientation  
   HL_Newpage  $   Display the Log file of this Report?     Display Log?     notepad.exe      Shell     Inserting the Chapter:   
   , Object#:     objectlibrary.ObjectNewpage     objectlibrary.ObjectOrientation     objectlibrary.ObjectHeadline     FileSave       objectlibrary.Objectmacroname  0   210:notsupported language might cause problems.   
   InsertFile
     ConfirmConversions     Link     FormatParagraph     KeepWithNext     0     InsertPicture  
   LinkToFile	     _GRF_ALIGNMENT     C  
   CenterPara     1 pt       FormatBordersAndShading     ApplyTo     Shadow  	   TopBorder  
   LeftBorder     BottomBorder     RightBorder     HorizBorder  
   VertBorder     TopColor  	   LeftColor     BottomColor  
   RightColor  
   HorizColor  	   VertColor     FromText     Shading  
   Foreground     getpathname       FineShading     <     >	     Inserting Text      EditFind	      Positionmark       not found in report template.     Key       of section   	    of file       not defined.     ERROR     ViewOutline     ViewPage     8.0     sap_rep8.dot                    ,   Ein ungltiger Ansichtskode wurde bergeben.     Makrofehler  I      x            ExtendSelection     +     Cancel
     definepaperformat     Orientation     l     InsertBreak     Type     TogglePortrait  4 4                  $!                         d:\sap_rep\    +   This version can only be used under Word 97   <   HKEY_CURRENT_USER\Software\Microsoft\Office\8.0\Word\Options!  >   HKEY_LOCAL_MACHINE\\Software\Microsoft\Office\8.0\Word\Options                      getPfadName              	    H  mh  H  mh              )                  r                %                	   )  O   HKEY_LOCAL_MACHINE\Software\Microsoft\Office\8.0\New User Settings\Word\Options  	   DraftFont     Units  
   BlueScreen                                                *                        GERM  5	           F     Zeichnen    *   C:\Program Files\Microsoft Office\Vorlagen     c:\temp\   =   HKEY_LOCAL_MACHINE\Software\Microsoft\Office\8.0\Word\Options
     SAP-USER-DOT-PATH     library.getPathName$     getPathName  I      w @           Vorlagen  	   Templates  
   PROGRAMDIR  %  F   HKEY_CURRENT_USER\Software\Microsoft\Office\8.0\Common\Local Templates%  G   HKEY_CURRENT_USER\Software\Microsoft\Office\8.0\Common\Shared Templates$  E   HKEY_CURRENT_USER\Software\Microsoft\Office\8.0\Common\LocalTemplates  %  F   HKEY_CURRENT_USER\Software\Microsoft\Office\8.0\Common\SharedTemplates  	   (Default)     Default     *  6   HKEY_CURRENT_USER\Software\Microsoft\Office\8.0\Common	     SharedTemplates!  (  M   HKEY_CURRENT_USER\Software\Microsoft\Office\8.0\Common\FileNew\LocalTemplates)  N   HKEY_CURRENT_USER\Software\Microsoft\Office\8.0\Common\FileNew\SharedTemplates     c:\sap_rep\$                                                                                                                                        _ _ S R P _ 1           	  
               ;   %                                    P R O J E C T w m   &  '  (  )  +  ,  -  .  /  0    5  6  7  8  9                    W  @  P R O J E C T   E  F  G  H  I  J  K  L  M  N  O  P      =   V  X  Y                      `   C o m p O b j     f  g  h  i  j  k  l  m  n  o  p    u  v  w  x  y                    j     rU              ~}      
   	           	      	      	      	      	      	      	      	      	     	 	      	      	      	      	      	     ! 	     # +     This macro decodes the color information of standard ABAP lists and reformats the selected text according to the color information to B&W text attributes. PV / MCS / 6.94
  '   TemplateProject.tablecolordecoding.MAIN	      Resets the viewoptions to normal	  !   TemplateProject.Resetoptions.MAIN  (   Set Options after the generation process     TemplateProject.SetOptions.MAIN
  $   Bootstrap loader for batchprocessing	     TemplateProject.Batchstart.MAIN  _   Main control program for interactive mode.
P. Vogel, Stefan Joksch, Microsoft Consulting, 3/94     TemplateProject.autonew.MAIN     inifile     lpBuffer     nSize     objfile     nobject  
   strchapter     beginn     section     keyparm     itemno     b     Dir_     dummy     schalter     eingabe     sectionpointer  	   strOrient  	      "                 pagebreakflag  
   strHeading     nOutline     filename     logfile     nSave
                            ThisDocument T h i s D o c u m e n t   tablecolordecoding t a b l e c o l o r d e c o d i n g   DefinePaperformat D e f i n e P a p e r f o r m a t   TableOfContents T a b l e O f C o n t e n t s   Objectlibrary O b j e c t l i b r a r y   Resetoptions R e s e t o p t i o n s   Reportlayout R e p o r t l a y o u t   SetOptions S e t O p t i o n s   savereport s a v e r e p o r t   Batchstart B a t c h s t a r t   Frontpage F r o n t p a g e   Mainloop M a i n l o o p   Chapters C h a p t e r s   showlog s h o w l o g   Objects O b j e c t s   Library L i b r a r y   autonew a u t o n e w                                              ID="{E4B1CE02-CAA9-11D0-A28A-0020AF6D688F}"
Document=ThisDocument/&H00000000
Module=tablecolordecoding
Module=DefinePaperformat
Module=TableOfContents
Module=Objectlibrary
Module=Resetoptions
Module=Reportlayout
Module=SetOptions
Module=savereport
Module=Batchstart
Module=Frontpage
Module=Mainloop
Module=Chapters
Module=showlog
Module=Objects
Module=Library
Module=autonew
Name="TemplateProject"
HelpContextID="0"
CMG="5250A3E242E642E642E642E6"
DPB="F5F7044B04EF05EF05EF"
GC="A2A0533C013D013DFE"

[Host Extender Info]
&H00000001={3832D640-CF90-11CF-8E43-00A0C911005A};VBE;&H00000000

[Workspace]
ThisDocument=0, 0, 0, 0, C
tablecolordecoding=0, 0, 0, 0, C
DefinePaperformat=22, 22, 678, 239, 
TableOfContents=22, 22, 848, 465, 
Objectlibrary=66, 66, 722, 283, 
Resetoptions=88, 88, 744, 305, 
Reportlayout=66, 66, 722, 283, 
SetOptions=110, 110, 939, 562, 
savereport=110, 110, 715, 427, 
Batchstart=132, 132, 737, 449, Z
Frontpage=44, 44, 700, 261, 
Mainloop=44, 44, 700, 261, 
Chapters=88, 88, 744, 305, 
showlog=0, 0, 656, 217, 
Objects=0, 0, 656, 217, 
Library=-13, -5, 749, 438, 
autonew=22, 22, 678, 239, 
                                                          I                   bjbj                                                                                         ]                                                        $                      $         g  4  P      P      P      P      P      P      P      P      P     R      R      R      R      R      R                 R                           P                      P      P      P      P      R      P                  P              P      P      P      P      P      P            P            P      P                                                          P      P      P      P              P                                                                       P      P      D     |            P      P                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   . A!"#$n%                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    A r i a l   =&                                  A r i a l   F e t t   ?1  	                      C o u r i e r   N e w   "                                                                                                                                                                                                                                                                                                                                                                                                     0                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
  	           F   Microsoft Word-Dokument 
   MSWordDoc    Word.Document.8 9q                                                                                                                                                                                                                                                                                                                                                                                                                                  