Subversion Repositories DevTools

Rev

Rev 6324 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6324 Rev 6709
Line 864... Line 864...
864
 
864
 
865
  'David Purdie
865
  'David Purdie
866
  'Remove comments - Lines starting with //
866
  'Remove comments - Lines starting with //
867
  gRE.Pattern = "(\r\n)//([^\r\n]+)"
867
  gRE.Pattern = "(\r\n)//([^\r\n]+)"
868
  newText=gRE.Replace(newText,"")
868
  newText=gRE.Replace(newText,"")
-
 
869
 
-
 
870
  ' Remove lines as the end of a section
-
 
871
  gRE.Pattern = "(\r\n)+== "
-
 
872
  newText=gRE.Replace(newText,vbCrLf & "== ")
-
 
873
 
-
 
874
  ' Remove lines as the end of the page
-
 
875
  gRE.Pattern = "(\r\n)+$"
-
 
876
  newText=gRE.Replace(newText,"" )
-
 
877
 
869
  
878
  
870
  ' indented paragraph second level using '>' (  '|' is now used with Tables - Elrey
879
  ' indented paragraph second level using '>' (  '|' is now used with Tables - Elrey
871
  newText=replace(newText,vbcrlf & "&gt;&gt;&gt;&gt;",vbcrlf & "<p style=""margin-left:80pt;"">")
880
  newText=replace(newText,vbcrlf & "&gt;&gt;&gt;&gt;",vbcrlf & "<p style=""margin-left:80pt;"">")
872
  newText=replace(newText,vbcrlf & "&gt;&gt;&gt;",vbcrlf & "<p style=""margin-left:60pt;"">")
881
  newText=replace(newText,vbcrlf & "&gt;&gt;&gt;",vbcrlf & "<p style=""margin-left:60pt;"">")
873
  newText=replace(newText,vbcrlf & "&gt;&gt;",vbcrlf & "<p style=""margin-left:40pt;"">")
882
  newText=replace(newText,vbcrlf & "&gt;&gt;",vbcrlf & "<p style=""margin-left:40pt;"">")
874
  newText=replace(newText,vbcrlf & "&gt;",vbcrlf & "<p style=""margin-left:20pt;"">")
883
  newText=replace(newText,vbcrlf & "&gt;",vbcrlf & "<p style=""margin-left:20pt;"">")
875
 ' Elrey 3/2007
884
 ' Elrey 3/2007
876
 newText=replace(newText,vbcrlf & ">>>>>>>>>*",vbcrlf & "<p style=""margin-left:135pt;margin-top:2pt;"">&#9827;&nbsp;")
885
 newText=replace(newText,vbcrlf & ">>>>>>>>>*",vbcrlf & "<p class='windent' class='windent' style=""margin-left:135pt;margin-top:2pt;"">&#9827;&nbsp;")
877
 newText=replace(newText,vbcrlf & ">>>>>>>>*",vbcrlf & "<p style=""margin-left:120pt;margin-top:2pt;"">&#8574;&nbsp;")
886
 newText=replace(newText,vbcrlf & ">>>>>>>>*",vbcrlf & "<p class='windent' style=""margin-left:120pt;margin-top:2pt;"">&#8574;&nbsp;")
878
 newText=replace(newText,vbcrlf & ">>>>>>>*",vbcrlf & "<p style=""margin-left:105pt;margin-top:2pt;"">&#959;&nbsp;")
887
 newText=replace(newText,vbcrlf & ">>>>>>>*",vbcrlf & "<p class='windent' style=""margin-left:105pt;margin-top:2pt;"">&#959;&nbsp;")
879
 newText=replace(newText,vbcrlf & ">>>>>>*",vbcrlf & "<p style=""margin-left:90pt;margin-top:2pt;"">&#8226;&nbsp;")
888
 newText=replace(newText,vbcrlf & ">>>>>>*",vbcrlf & "<p class='windent' style=""margin-left:90pt;margin-top:2pt;"">&#8226;&nbsp;")
880
 newText=replace(newText,vbcrlf & ">>>>>*",vbcrlf & "<p style=""margin-left:75pt;margin-top:2pt;"">&#9830;&nbsp;")
889
 newText=replace(newText,vbcrlf & ">>>>>*",vbcrlf & "<p class='windent' style=""margin-left:75pt;margin-top:2pt;"">&#9830;&nbsp;")
881
 newText=replace(newText,vbcrlf & ">>>>*",vbcrlf & "<p style=""margin-left:60pt;margin-top:2pt;"">&#8594;&nbsp;")
890
 newText=replace(newText,vbcrlf & ">>>>*",vbcrlf & "<p class='windent' style=""margin-left:60pt;margin-top:2pt;"">&#8594;&nbsp;")
882
 newText=replace(newText,vbcrlf & ">>>*",vbcrlf & "<p style=""margin-left:45pt;margin-top:2pt;"">&#9674;&nbsp;")
891
 newText=replace(newText,vbcrlf & ">>>*",vbcrlf & "<p class='windent' style=""margin-left:45pt;margin-top:2pt;"">&#9674;&nbsp;")
883
 newText=replace(newText,vbcrlf & ">>*",vbcrlf & "<p style=""margin-left:30pt;margin-top:2pt;"">&#959;&nbsp;")
892
 newText=replace(newText,vbcrlf & ">>*",vbcrlf & "<p class='windent' style=""margin-left:30pt;margin-top:2pt;"">&#959;&nbsp;")
884
 newText=replace(newText,vbcrlf & ">*",vbcrlf & "<p style=""margin-left:15pt;margin-top:2pt;"">&#8226;&nbsp;")
893
 newText=replace(newText,vbcrlf & ">*",vbcrlf & "<p class='windent' style=""margin-left:15pt;margin-top:2pt;"">&#8226;&nbsp;")
885
 
894
 
886
 
895
 
887
 
896
 
888
  ' indented paragraph second level using '>' (  '|' is now used with Tables - Elrey  updated 3/2007
897
  ' indented paragraph second level using '>' (  '|' is now used with Tables - Elrey  updated 3/2007
889
  newText=replace(newText,vbcrlf & ">>>>>>>>>",vbcrlf & "<p style=""margin-left:135pt;margin-top:2pt;"">")
898
  newText=replace(newText,vbcrlf & ">>>>>>>>>",vbcrlf & "<p class='windent' style=""margin-left:135pt;margin-top:2pt;"">")
890
  newText=replace(newText,vbcrlf & ">>>>>>>>",vbcrlf & "<p style=""margin-left:120pt;margin-top:2pt;"">")
899
  newText=replace(newText,vbcrlf & ">>>>>>>>",vbcrlf & "<p class='windent' style=""margin-left:120pt;margin-top:2pt;"">")
891
  newText=replace(newText,vbcrlf & ">>>>>>>",vbcrlf & "<p style=""margin-left:105pt;margin-top:2pt;"">")
900
  newText=replace(newText,vbcrlf & ">>>>>>>",vbcrlf & "<p class='windent' style=""margin-left:105pt;margin-top:2pt;"">")
892
  newText=replace(newText,vbcrlf & ">>>>>>",vbcrlf & "<p style=""margin-left:90pt;margin-top:2pt;"">")
901
  newText=replace(newText,vbcrlf & ">>>>>>",vbcrlf & "<p class='windent' style=""margin-left:90pt;margin-top:2pt;"">")
893
  newText=replace(newText,vbcrlf & ">>>>>",vbcrlf & "<p style=""margin-left:75pt;margin-top:2pt;"">")
902
  newText=replace(newText,vbcrlf & ">>>>>",vbcrlf & "<p class='windent' style=""margin-left:75pt;margin-top:2pt;"">")
894
  newText=replace(newText,vbcrlf & ">>>>",vbcrlf & "<p style=""margin-left:60pt;margin-top:2pt;"">")
903
  newText=replace(newText,vbcrlf & ">>>>",vbcrlf & "<p class='windent' style=""margin-left:60pt;margin-top:2pt;"">")
895
  newText=replace(newText,vbcrlf & ">>>",vbcrlf & "<p style=""margin-left:45pt;margin-top:2pt;"">")
904
  newText=replace(newText,vbcrlf & ">>>",vbcrlf & "<p class='windent' style=""margin-left:45pt;margin-top:2pt;"">")
896
  newText=replace(newText,vbcrlf & ">>",vbcrlf & "<p style=""margin-left:30pt;margin-top:2pt;"">")
905
  newText=replace(newText,vbcrlf & ">>",vbcrlf & "<p class='windent' style=""margin-left:30pt;margin-top:2pt;"">")
897
  newText=replace(newText,vbcrlf & ">",vbcrlf & "<p style=""margin-left:15pt;margin-top:2pt;"">")
906
  newText=replace(newText,vbcrlf & ">",vbcrlf & "<p class='windent' style=""margin-left:15pt;margin-top:2pt;"">")
898
  
907
  
899
 
908
 
900
 
909
 
901
 
910
 
902
  ' newlines: three newlines = a blank line
911
  ' newlines: three newlines = a blank line