Changeset 654 for cprs/branches/tmg-cprs/CPRS-Chart
- Timestamp:
- Jan 4, 2010, 8:02:21 AM (15 years ago)
- Location:
- cprs/branches/tmg-cprs/CPRS-Chart
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
cprs/branches/tmg-cprs/CPRS-Chart/Accessibility_TLB.pas
r612 r654 13 13 14 14 // PASTLWTR : 1.2 15 // File generated on 1 1/27/2009 5:46:58PM from Type Library described below.15 // File generated on 12/28/2009 9:26:13 PM from Type Library described below. 16 16 17 17 // ************************************************************************ // -
cprs/branches/tmg-cprs/CPRS-Chart/CPRSChart.dof
r612 r654 101 101 UsePackages=0 102 102 [Parameters] 103 RunParams=CCOW=disable s= localhost p=9260 SPOOF-VER=1.0.26.76103 RunParams=CCOW=disable s=192.168.3.97 p=9260 SPOOF-VER=1.0.26.69 104 104 HostApplication= 105 105 Launcher= -
cprs/branches/tmg-cprs/CPRS-Chart/CPRSChart.drc
r612 r654 184 184 #define QConsts_STooManyMessageBoxButtons 65102 185 185 #define QConsts_SmkcBkSp 65103 186 #define TeeConst_TeeMsg_ ValuesArrowEndY65104187 #define ComConst_SCreateRegKeyError65105188 #define ComConst_SOleError65106189 #define ComConst_SObjectFactoryMissing65107190 #define ComConst_STypeInfoMissing65108191 #define ComConst_SBadTypeInfo65109192 #define ComConst_SDispIntfMissing65110193 #define ComConst_SNoMethod65111194 #define ComConst_SVarNotObject65112195 #define ComConst_STooManyParams65113196 #define ComConst_SDCOMNotInstalled65114197 #define ComConst_SDAXError65115198 #define ComConst_SAutomationWarning65116199 #define ComConst_SNoCloseActiveServer165117200 #define ComConst_SNoCloseActiveServer265118186 #define TeeConst_TeeMsg_FunctionAverage 65104 187 #define TeeConst_TeeMsg_DefaultFontName 65105 188 #define TeeConst_TeeMsg_CheckPointerSize 65106 189 #define TeeConst_TeeMsg_FunctionPeriod 65107 190 #define TeeConst_TeeMsg_PieOther 65108 191 #define TeeConst_TeeMsg_ValuesX 65109 192 #define TeeConst_TeeMsg_ValuesY 65110 193 #define TeeConst_TeeMsg_ValuesPie 65111 194 #define TeeConst_TeeMsg_ValuesBar 65112 195 #define TeeConst_TeeMsg_ValuesAngle 65113 196 #define TeeConst_TeeMsg_ValuesGanttStart 65114 197 #define TeeConst_TeeMsg_ValuesGanttEnd 65115 198 #define TeeConst_TeeMsg_ValuesGanttNextTask 65116 199 #define TeeConst_TeeMsg_ValuesArrowEndX 65117 200 #define TeeConst_TeeMsg_ValuesArrowEndY 65118 201 201 #define TntSystem_SBufferOverflow 65119 202 #define TeeConst_TeeMsg_ FunctionHigh65120203 #define TeeConst_TeeMsg_ FunctionLow65121204 #define TeeConst_TeeMsg_ FunctionAverage65122205 #define TeeConst_TeeMsg_ DefaultFontName65123206 #define TeeConst_TeeMsg_ CheckPointerSize65124207 #define TeeConst_TeeMsg_ FunctionPeriod65125208 #define TeeConst_TeeMsg_ PieOther65126209 #define TeeConst_TeeMsg_ ValuesX65127210 #define TeeConst_TeeMsg_ ValuesY65128211 #define TeeConst_TeeMsg_ ValuesPie 65129212 #define TeeConst_TeeMsg_ ValuesBar65130213 #define TeeConst_TeeMsg_ ValuesAngle65131214 #define TeeConst_TeeMsg_ ValuesGanttStart65132215 #define TeeConst_TeeMsg_ ValuesGanttEnd65133216 #define TeeConst_TeeMsg_ ValuesGanttNextTask65134217 #define TeeConst_TeeMsg_ ValuesArrowEndX65135218 #define TeeConst_TeeMsg_Gallery Gantt65136219 #define TeeConst_TeeMsg_Ga nttSample165137220 #define TeeConst_TeeMsg_ GanttSample265138221 #define TeeConst_TeeMsg_ GanttSample365139222 #define TeeConst_TeeMsg_ GanttSample465140223 #define TeeConst_TeeMsg_ GanttSample565141224 #define TeeConst_TeeMsg_ GanttSample665142225 #define TeeConst_TeeMsg_ GanttSample765143226 #define TeeConst_TeeMsg_ GanttSample865144227 #define TeeConst_TeeMsg_ GanttSample965145228 #define TeeConst_TeeMsg_ GanttSample1065146229 #define TeeConst_TeeMsg_ DefaultFontSize65147230 #define TeeConst_TeeMsg_ FunctionAdd65148231 #define TeeConst_TeeMsg_ FunctionSubtract65149232 #define TeeConst_TeeMsg_ FunctionMultiply65150233 #define TeeConst_TeeMsg_ FunctionDivide65151234 #define TeeConst_TeeMsg_ GalleryBar65152235 #define TeeConst_TeeMsg_ GalleryHorizBar65153236 #define TeeConst_TeeMsg_ GalleryPie65154237 #define TeeConst_TeeMsg_ GalleryFastLine65155238 #define TeeConst_TeeMsg_ Rotation65156239 #define TeeConst_TeeMsg_ PieSample165157240 #define TeeConst_TeeMsg_ PieSample265158241 #define TeeConst_TeeMsg_ PieSample365159242 #define TeeConst_TeeMsg_ PieSample465160243 #define TeeConst_TeeMsg_ PieSample565161244 #define TeeConst_TeeMsg_ PieSample665162245 #define TeeConst_TeeMsg_ PieSample765163246 #define TeeConst_TeeMsg_ PieSample865164247 #define TeeConst_TeeMsg_Gallery Standard65165248 #define TeeConst_TeeMsg_Gallery Functions65166249 #define TeeConst_TeeMsg_Gallery Arrow65167250 #define TeeConst_TeeMsg_AxisMinMax65168251 #define TeeConst_TeeMsg_AxisMaxMin65169252 #define TeeConst_TeeMsg_AxisLogBase65170253 #define TeeConst_TeeMsg_ MaxPointsPerPage65171254 #define TeeConst_TeeMsg_ 3dPercent65172255 #define TeeConst_TeeMsg_ CircularSeries65173256 #define TeeConst_TeeMsg_ BarWidthPercent65174257 #define TeeConst_TeeMsg_ BarOffsetPercent65175258 #define TeeConst_TeeMsg_ DefaultPercentOf65176259 #define TeeConst_TeeMsg_ DefPercentFormat65177260 #define TeeConst_TeeMsg_ DefValueFormat65178261 #define TeeConst_TeeMsg_Axis Title 65179262 #define TeeConst_TeeMsg_AxisLabel s65180263 #define TeeConst_TeeMsg_ GalleryLine65181264 #define TeeConst_TeeMsg_ GalleryPoint65182265 #define TeeConst_TeeMsg_ GalleryArea65183202 #define TeeConst_TeeMsg_GanttSample2 65120 203 #define TeeConst_TeeMsg_GanttSample3 65121 204 #define TeeConst_TeeMsg_GanttSample4 65122 205 #define TeeConst_TeeMsg_GanttSample5 65123 206 #define TeeConst_TeeMsg_GanttSample6 65124 207 #define TeeConst_TeeMsg_GanttSample7 65125 208 #define TeeConst_TeeMsg_GanttSample8 65126 209 #define TeeConst_TeeMsg_GanttSample9 65127 210 #define TeeConst_TeeMsg_GanttSample10 65128 211 #define TeeConst_TeeMsg_DefaultFontSize 65129 212 #define TeeConst_TeeMsg_FunctionAdd 65130 213 #define TeeConst_TeeMsg_FunctionSubtract 65131 214 #define TeeConst_TeeMsg_FunctionMultiply 65132 215 #define TeeConst_TeeMsg_FunctionDivide 65133 216 #define TeeConst_TeeMsg_FunctionHigh 65134 217 #define TeeConst_TeeMsg_FunctionLow 65135 218 #define TeeConst_TeeMsg_GalleryPie 65136 219 #define TeeConst_TeeMsg_GalleryFastLine 65137 220 #define TeeConst_TeeMsg_Rotation 65138 221 #define TeeConst_TeeMsg_PieSample1 65139 222 #define TeeConst_TeeMsg_PieSample2 65140 223 #define TeeConst_TeeMsg_PieSample3 65141 224 #define TeeConst_TeeMsg_PieSample4 65142 225 #define TeeConst_TeeMsg_PieSample5 65143 226 #define TeeConst_TeeMsg_PieSample6 65144 227 #define TeeConst_TeeMsg_PieSample7 65145 228 #define TeeConst_TeeMsg_PieSample8 65146 229 #define TeeConst_TeeMsg_GalleryStandard 65147 230 #define TeeConst_TeeMsg_GalleryFunctions 65148 231 #define TeeConst_TeeMsg_GalleryArrow 65149 232 #define TeeConst_TeeMsg_GalleryGantt 65150 233 #define TeeConst_TeeMsg_GanttSample1 65151 234 #define TeeConst_TeeMsg_AxisLogBase 65152 235 #define TeeConst_TeeMsg_MaxPointsPerPage 65153 236 #define TeeConst_TeeMsg_3dPercent 65154 237 #define TeeConst_TeeMsg_CircularSeries 65155 238 #define TeeConst_TeeMsg_BarWidthPercent 65156 239 #define TeeConst_TeeMsg_BarOffsetPercent 65157 240 #define TeeConst_TeeMsg_DefaultPercentOf 65158 241 #define TeeConst_TeeMsg_DefPercentFormat 65159 242 #define TeeConst_TeeMsg_DefValueFormat 65160 243 #define TeeConst_TeeMsg_AxisTitle 65161 244 #define TeeConst_TeeMsg_AxisLabels 65162 245 #define TeeConst_TeeMsg_GalleryLine 65163 246 #define TeeConst_TeeMsg_GalleryPoint 65164 247 #define TeeConst_TeeMsg_GalleryArea 65165 248 #define TeeConst_TeeMsg_GalleryBar 65166 249 #define TeeConst_TeeMsg_GalleryHorizBar 65167 250 #define ComConst_SAutomationWarning 65168 251 #define ComConst_SNoCloseActiveServer1 65169 252 #define ComConst_SNoCloseActiveServer2 65170 253 #define TeeConst_TeeMsg_LegendTopPos 65171 254 #define TeeConst_TeeMsg_LegendFirstValue 65172 255 #define TeeConst_TeeMsg_LegendColorWidth 65173 256 #define TeeConst_TeeMsg_SeriesSetDataSource 65174 257 #define TeeConst_TeeMsg_SeriesInvDataSource 65175 258 #define TeeConst_TeeMsg_FillSample 65176 259 #define TeeConst_TeeMsg_Angle 65177 260 #define TeeConst_TeeMsg_AxisLogDateTime 65178 261 #define TeeConst_TeeMsg_AxisLogNotPositive 65179 262 #define TeeConst_TeeMsg_AxisLabelSep 65180 263 #define TeeConst_TeeMsg_AxisIncrementNeg 65181 264 #define TeeConst_TeeMsg_AxisMinMax 65182 265 #define TeeConst_TeeMsg_AxisMaxMin 65183 266 266 #define ComStrs_sFailSetCalDateTime 65184 267 267 #define ComStrs_sFailSetCalMaxSelRange 65185 … … 269 269 #define ComStrs_sFailsetCalSelRange 65187 270 270 #define WinHelpViewer_hNoKeyword 65188 271 #define TeeConst_TeeMsg_LegendTopPos65189272 #define TeeConst_TeeMsg_LegendFirstValue65190273 #define TeeConst_TeeMsg_LegendColorWidth65191274 #define TeeConst_TeeMsg_SeriesSetDataSource65192275 #define TeeConst_TeeMsg_SeriesInvDataSource65193276 #define TeeConst_TeeMsg_FillSample65194277 #define TeeConst_TeeMsg_Angle65195278 #define TeeConst_TeeMsg_AxisLogDateTime65196279 #define TeeConst_TeeMsg_AxisLogNotPositive65197280 #define TeeConst_TeeMsg_AxisLabelSep65198281 #define TeeConst_TeeMsg_AxisIncrementNeg65199271 #define ComConst_SCreateRegKeyError 65189 272 #define ComConst_SOleError 65190 273 #define ComConst_SObjectFactoryMissing 65191 274 #define ComConst_STypeInfoMissing 65192 275 #define ComConst_SBadTypeInfo 65193 276 #define ComConst_SDispIntfMissing 65194 277 #define ComConst_SNoMethod 65195 278 #define ComConst_SVarNotObject 65196 279 #define ComConst_STooManyParams 65197 280 #define ComConst_SDCOMNotInstalled 65198 281 #define ComConst_SDAXError 65199 282 282 #define ComStrs_sTabFailGetObject 65200 283 283 #define ComStrs_sTabFailSet 65201 … … 793 793 QConsts_STooManyMessageBoxButtons, "Too many buttons specified for message box" 794 794 QConsts_SmkcBkSp, "Backspace" 795 TeeConst_TeeMsg_ValuesArrowEndY, "EndY"796 ComConst_SCreateRegKeyError, "Error creating system registry entry"797 ComConst_SOleError, "OLE error %.8x"798 ComConst_SObjectFactoryMissing, "Object factory for class %s missing"799 ComConst_STypeInfoMissing, "Type information missing for class %s"800 ComConst_SBadTypeInfo, "Incorrect type information for class %s"801 ComConst_SDispIntfMissing, "Dispatch interface missing from class %s"802 ComConst_SNoMethod, "Method '%s' not supported by automation object"803 ComConst_SVarNotObject, "Variant does not reference an automation object"804 ComConst_STooManyParams, "Dispatch methods do not support more than 64 parameters"805 ComConst_SDCOMNotInstalled, "DCOM not installed"806 ComConst_SDAXError, "DAX Error"807 ComConst_SAutomationWarning, "COM Server Warning"808 ComConst_SNoCloseActiveServer1, "There are still active COM objects in this application. One or more clients may have references to these objects, so manually closing "809 ComConst_SNoCloseActiveServer2, "this application may cause those client application(s) to fail.\r\n\r\nAre you sure you want to close this application?"810 TntSystem_SBufferOverflow, "Buffer overflow"811 TeeConst_TeeMsg_FunctionHigh, "High"812 TeeConst_TeeMsg_FunctionLow, "Low"813 795 TeeConst_TeeMsg_FunctionAverage, "Average" 814 796 TeeConst_TeeMsg_DefaultFontName, "Arial" … … 825 807 TeeConst_TeeMsg_ValuesGanttNextTask, "NextTask" 826 808 TeeConst_TeeMsg_ValuesArrowEndX, "EndX" 827 TeeConst_TeeMsg_ GalleryGantt, "Gantt"828 T eeConst_TeeMsg_GanttSample1, "Design"809 TeeConst_TeeMsg_ValuesArrowEndY, "EndY" 810 TntSystem_SBufferOverflow, "Buffer overflow" 829 811 TeeConst_TeeMsg_GanttSample2, "Prototyping" 830 812 TeeConst_TeeMsg_GanttSample3, "Development" … … 841 823 TeeConst_TeeMsg_FunctionMultiply, "Multiply" 842 824 TeeConst_TeeMsg_FunctionDivide, "Divide" 843 TeeConst_TeeMsg_ GalleryBar, "Bar"844 TeeConst_TeeMsg_ GalleryHorizBar, "Horiz. Bar"825 TeeConst_TeeMsg_FunctionHigh, "High" 826 TeeConst_TeeMsg_FunctionLow, "Low" 845 827 TeeConst_TeeMsg_GalleryPie, "Pie" 846 828 TeeConst_TeeMsg_GalleryFastLine, "Fast Line" … … 857 839 TeeConst_TeeMsg_GalleryFunctions, "Functions" 858 840 TeeConst_TeeMsg_GalleryArrow, "Arrow" 859 TeeConst_TeeMsg_ AxisMinMax, "Axis Minimum Value must be <= Maximum"860 TeeConst_TeeMsg_ AxisMaxMin, "Axis Maximum Value must be >= Minimum"841 TeeConst_TeeMsg_GalleryGantt, "Gantt" 842 TeeConst_TeeMsg_GanttSample1, "Design" 861 843 TeeConst_TeeMsg_AxisLogBase, "Axis Logarithmic Base should be >= 2" 862 844 TeeConst_TeeMsg_MaxPointsPerPage, "MaxPointsPerPage must be >= 0" … … 873 855 TeeConst_TeeMsg_GalleryPoint, "Point" 874 856 TeeConst_TeeMsg_GalleryArea, "Area" 875 ComStrs_sFailSetCalDateTime, "Failed to set calendar date or time"876 ComStrs_sFailSetCalMaxSelRange, "Failed to set maximum selection range"877 Com Strs_sFailSetCalMinMaxRange, "Failed to set calendar min/max range"878 Com Strs_sFailsetCalSelRange, "Failed to set calendar selected range"879 WinHelpViewer_hNoKeyword, "No help keyword specified."857 TeeConst_TeeMsg_GalleryBar, "Bar" 858 TeeConst_TeeMsg_GalleryHorizBar, "Horiz. Bar" 859 ComConst_SAutomationWarning, "COM Server Warning" 860 ComConst_SNoCloseActiveServer1, "There are still active COM objects in this application. One or more clients may have references to these objects, so manually closing " 861 ComConst_SNoCloseActiveServer2, "this application may cause those client application(s) to fail.\r\n\r\nAre you sure you want to close this application?" 880 862 TeeConst_TeeMsg_LegendTopPos, "Top Legend Position must be between 0 and 100 %" 881 863 TeeConst_TeeMsg_LegendFirstValue, "First Legend Value must be > 0" … … 889 871 TeeConst_TeeMsg_AxisLabelSep, "Labels Separation % must be greater than 0" 890 872 TeeConst_TeeMsg_AxisIncrementNeg, "Axis increment must be >= 0" 873 TeeConst_TeeMsg_AxisMinMax, "Axis Minimum Value must be <= Maximum" 874 TeeConst_TeeMsg_AxisMaxMin, "Axis Maximum Value must be >= Minimum" 875 ComStrs_sFailSetCalDateTime, "Failed to set calendar date or time" 876 ComStrs_sFailSetCalMaxSelRange, "Failed to set maximum selection range" 877 ComStrs_sFailSetCalMinMaxRange, "Failed to set calendar min/max range" 878 ComStrs_sFailsetCalSelRange, "Failed to set calendar selected range" 879 WinHelpViewer_hNoKeyword, "No help keyword specified." 880 ComConst_SCreateRegKeyError, "Error creating system registry entry" 881 ComConst_SOleError, "OLE error %.8x" 882 ComConst_SObjectFactoryMissing, "Object factory for class %s missing" 883 ComConst_STypeInfoMissing, "Type information missing for class %s" 884 ComConst_SBadTypeInfo, "Incorrect type information for class %s" 885 ComConst_SDispIntfMissing, "Dispatch interface missing from class %s" 886 ComConst_SNoMethod, "Method '%s' not supported by automation object" 887 ComConst_SVarNotObject, "Variant does not reference an automation object" 888 ComConst_STooManyParams, "Dispatch methods do not support more than 64 parameters" 889 ComConst_SDCOMNotInstalled, "DCOM not installed" 890 ComConst_SDAXError, "DAX Error" 891 891 ComStrs_sTabFailGetObject, "Failed to get object at index %d" 892 892 ComStrs_sTabFailSet, "Failed to set tab \"%s\" at index %d" -
cprs/branches/tmg-cprs/CPRS-Chart/CPRSChart.dsk
r612 r654 1 1 [Closed Files] 2 File_0=SourceModule,'P:\vista\tmg-cprs\CPRS-Chart\ fDrawers.pas',0,1,189,1,207,0,03 File_1=SourceModule,'P:\vista\tmg-cprs\CPRS-Chart\f NotePrt.pas',0,1,231,19,242,0,04 File_2=SourceModule,' P:\vista\tmg-cprs\CPRSChart.ini',0,1,1,9,18,0,05 File_3=SourceModule,'P:\vista\tmg-cprs\CPRS-Chart\ Options\fOptionsOther.pas',0,1,343,29,349,1,06 File_4=SourceModule,' P:\vista\tmg-cprs\CPRS-Chart\Options\fOptions.pas',0,1,731,1,736,1,07 File_5=SourceModule,'P:\vista\tmg-cprs\CPRS-Chart\ rHTMLTools.pas',0,1,551,41,562,0,08 File_6=SourceModule,'c:\program files\borland\delphi7\source\rtl\ Win\Windows.pas',0,1,28958,88,28963,0,09 File_7=SourceModule,' P:\vista\CPRS-1.0.23.15\CPRS-Chart\fDrawers.pas',0,1,1605,1,1614,0,010 File_8=SourceModule,'P:\vista\tmg-cprs\CPRS-Chart\ rCore.pas',0,1,933,1,945,0,02 File_0=SourceModule,'P:\vista\tmg-cprs\CPRS-Chart\dShared.pas',0,1,1,1,1,0,0 3 File_1=SourceModule,'P:\vista\tmg-cprs\CPRS-Chart\fDrawers.pas',0,1,975,1,986,0,0 4 File_2=SourceModule,'c:\program files\borland\delphi7\source\vcl\ComCtrls.pas',0,1,8808,1,8828,0,0 5 File_3=SourceModule,'P:\vista\tmg-cprs\CPRS-Chart\Templates\fTemplateDialog.pas',0,1,88,51,95,0,0 6 File_4=SourceModule,'c:\program files\borland\delphi7\source\rtl\Sys\variants.pas',0,1,740,1,747,0,0 7 File_5=SourceModule,'P:\vista\tmg-cprs\CPRS-Chart\TMG_Extra\HTMLEdit\EmbeddedED\EmbeddedED.pas',0,1,3123,1,3130,0,0 8 File_6=SourceModule,'c:\program files\borland\delphi7\source\rtl\common\classes.pas',0,1,4201,1,4214,0,0 9 File_7=SourceModule,'c:\program files\borland\delphi7\source\vcl\Controls.pas',0,1,5874,1,5887,0,0 10 File_8=SourceModule,'P:\vista\tmg-cprs\CPRS-Chart\Templates\uTemplateFields.pas',0,1,629,1,636,0,0 11 11 12 12 [Modules] 13 Module0=P:\vista\tmg-cprs\CPRS-Chart\fImages.pas 14 Module1=P:\vista\tmg-cprs\CPRS-Chart\fNotes.pas 15 Module2=P:\vista\tmg-cprs\CPRS-Chart\fxBroker.pas 16 Module3=P:\Vista\tmg-cprs\CPRS-Lib\ORSystem.pas 17 Module4=P:\vista\tmg-cprs\CPRS-Chart\fFrame.pas 18 Module5=P:\vista\tmg-cprs\CPRS-Lib\ORNet.pas 19 Module6=c:\program files\borland\delphi7\source\rtl\Sys\sysutils.pas 20 Module7=C:\PROGRA~1\VISTA\BDK32\Source\wsockc.pas 21 Module8=P:\vista\tmg-cprs\CPRS-Chart\Orders\fODBase.pas 22 Module9=P:\vista\tmg-cprs\CPRS-Chart\TMG_Extra\HTMLEdit\TMGHTML2.pas 23 Count=10 13 Module0=P:\vista\tmg-cprs\CPRS-Chart\TMG_Extra\HTMLEdit\TMGHTML2.pas 14 Module1=P:\vista\tmg-cprs\CPRS-Chart\CPRSChart.dpr 15 Count=2 24 16 EditWindowCount=1 25 17 TypeLibWindowCount=1 26 27 [P:\vista\tmg-cprs\CPRS-Chart\fImages.pas]28 ModuleType=SourceModule29 FormState=030 FormOnTop=031 32 [P:\vista\tmg-cprs\CPRS-Chart\fNotes.pas]33 ModuleType=SourceModule34 FormState=035 FormOnTop=036 37 [P:\vista\tmg-cprs\CPRS-Chart\fxBroker.pas]38 ModuleType=SourceModule39 FormState=040 FormOnTop=041 42 [P:\Vista\tmg-cprs\CPRS-Lib\ORSystem.pas]43 ModuleType=SourceModule44 FormState=045 FormOnTop=046 47 [P:\vista\tmg-cprs\CPRS-Chart\fFrame.pas]48 ModuleType=SourceModule49 FormState=050 FormOnTop=051 52 [P:\vista\tmg-cprs\CPRS-Lib\ORNet.pas]53 ModuleType=SourceModule54 FormState=055 FormOnTop=056 57 [c:\program files\borland\delphi7\source\rtl\Sys\sysutils.pas]58 ModuleType=SourceModule59 FormState=060 FormOnTop=061 62 [C:\PROGRA~1\VISTA\BDK32\Source\wsockc.pas]63 ModuleType=SourceModule64 FormState=065 FormOnTop=066 67 [P:\vista\tmg-cprs\CPRS-Chart\Orders\fODBase.pas]68 ModuleType=SourceModule69 FormState=070 FormOnTop=071 18 72 19 [P:\vista\tmg-cprs\CPRS-Chart\TMG_Extra\HTMLEdit\TMGHTML2.pas] … … 75 22 FormOnTop=0 76 23 24 [P:\vista\tmg-cprs\CPRS-Chart\CPRSChart.dpr] 25 ModuleType=SourceModule 26 FormState=0 27 FormOnTop=0 28 77 29 [C:\Program Files\Borland\Delphi7\Projects\ProjectGroup1.bpg] 78 30 FormState=0 79 31 FormOnTop=0 80 32 81 [P:\vista\tmg-cprs\CPRS-Chart\CPRSChart.dpr]82 FormState=083 FormOnTop=084 85 33 [P:\vista\tmg-cprs\CPRS-Chart\CPRSChart.tlb] 86 34 FormState=0 87 35 FormOnTop=0 88 36 89 [P:\vista\tmg-cprs\CPRS-Chart\fAutoSz.pas]90 FormState=091 FormOnTop=092 93 [P:\vista\tmg-cprs\CPRS-Chart\dShared.pas]94 FormState=095 FormOnTop=096 97 [P:\vista\tmg-cprs\CPRS-Chart\fHSplit.pas]98 FormState=099 FormOnTop=0100 101 [P:\vista\tmg-cprs\CPRS-Chart\fPage.pas]102 FormState=0103 FormOnTop=0104 105 37 [EditWindow0] 106 ViewCount= 10107 CurrentView= 738 ViewCount=2 39 CurrentView=1 108 40 View0=0 109 41 View1=1 110 View2=2111 View3=3112 View4=4113 View5=5114 View6=6115 View7=7116 View8=8117 View9=9118 42 CodeExplorer=CodeExplorer@EditWindow0 119 43 MessageView=MessageView@EditWindow0 … … 121 45 Visible=1 122 46 State=0 123 Left= -794124 Top=1 76125 Width= 787126 Height= 569127 MaxLeft=- 4128 MaxTop= 104129 ClientWidth= 779130 ClientHeight= 535131 LeftPanelSize= 0132 LeftPanelClients= DockSite1133 LeftPanelData=000004000 100000009000000446F636B5369746531000000000000000000000000000000000001000000000000000000000000FFFFFFFF47 Left=280 48 Top=126 49 Width=694 50 Height=485 51 MaxLeft=-1 52 MaxTop=-1 53 ClientWidth=686 54 ClientHeight=451 55 LeftPanelSize=140 56 LeftPanelClients=CodeExplorer@EditWindow0 57 LeftPanelData=000004000000000000000000000000000000000000000000000100000000000000000C000000436F64654578706C6F726572FFFFFFFF 134 58 RightPanelSize=0 135 BottomPanelSize= 8759 BottomPanelSize=0 136 60 BottomPanelClients=MessageView@EditWindow0 137 BottomPanelData=000004000 00000000B030000000000000257000000000000000100000000000000000000000001000000002303000000000000010000000023030000000000000100000000230300000000000001000000008F0200000000000001000000000B0300000B0000004D65737361676556696577FFFFFFFF61 BottomPanelData=00000400010000000B0000004D657373616765566965770000000000000000000000000000000000FFFFFFFF 138 62 139 63 [View0] 140 Module=P:\vista\tmg-cprs\CPRS-Chart\ fNotes.pas64 Module=P:\vista\tmg-cprs\CPRS-Chart\CPRSChart.dpr 141 65 CursorX=1 142 CursorY= 4512143 TopLine= 450266 CursorY=1 67 TopLine=1 144 68 LeftCol=1 145 69 146 70 [View1] 147 Module=P:\vista\tmg-cprs\CPRS-Chart\fFrame.pas148 CursorX=1149 CursorY=859150 TopLine=850151 LeftCol=1152 153 [View2]154 Module=P:\Vista\tmg-cprs\CPRS-Lib\ORSystem.pas155 CursorX=1156 CursorY=132157 TopLine=121158 LeftCol=1159 160 [View3]161 Module=C:\PROGRA~1\VISTA\BDK32\Source\wsockc.pas162 CursorX=39163 CursorY=1483164 TopLine=1468165 LeftCol=1166 167 [View4]168 Module=c:\program files\borland\delphi7\source\rtl\Sys\sysutils.pas169 CursorX=1170 CursorY=16069171 TopLine=16058172 LeftCol=1173 174 [View5]175 Module=P:\vista\tmg-cprs\CPRS-Chart\fxBroker.pas176 CursorX=1177 CursorY=128178 TopLine=121179 LeftCol=1180 181 [View6]182 Module=P:\vista\tmg-cprs\CPRS-Chart\Orders\fODBase.pas183 CursorX=75184 CursorY=1265185 TopLine=1254186 LeftCol=1187 188 [View7]189 Module=P:\vista\tmg-cprs\CPRS-Chart\fImages.pas190 CursorX=46191 CursorY=844192 TopLine=834193 LeftCol=1194 195 [View8]196 Module=P:\vista\tmg-cprs\CPRS-Lib\ORNet.pas197 CursorX=47198 CursorY=328199 TopLine=317200 LeftCol=1201 202 [View9]203 71 Module=P:\vista\tmg-cprs\CPRS-Chart\TMG_Extra\HTMLEdit\TMGHTML2.pas 204 CursorX=1 205 CursorY= 189206 TopLine= 17872 CursorX=13 73 CursorY=894 74 TopLine=882 207 75 LeftCol=1 208 76 … … 222 90 223 91 [Watches] 224 Count=4 225 Watch0='CachedWPField',256,0,18,1,0,'Watches' 226 Watch1='DataForGrid.indexof',256,0,18,1,0,'Watches' 227 Watch2='E',256,0,18,1,0,'Watches' 228 Watch3='MarkForDelete',256,0,18,1,0,'Watches' 92 Count=1 93 Watch0='frmPtSel',256,0,18,1,0,'Watches' 229 94 230 95 [WatchWindow] … … 234 99 Visible=1 235 100 State=0 236 Left= 0237 Top= 0238 Width= 207239 Height= 621240 MaxLeft=-1 241 MaxTop=-1 242 ClientWidth= 207243 ClientHeight= 621244 TBDockHeight= 234101 Left=-785 102 Top=535 103 Width=750 104 Height=229 105 MaxLeft=-1 106 MaxTop=-1 107 ClientWidth=742 108 ClientHeight=203 109 TBDockHeight=57 245 110 LRDockWidth=421 246 111 Dockable=1 247 112 248 113 [Breakpoints] 249 Count= 7114 Count=8 250 115 Breakpoint0='P:\vista\tmg-cprs\CPRS-Chart\rCover.pas',315,'',0,1,'',1,0,0,'',1,'','','' 251 Breakpoint1='P:\vista\tmg-cprs\TMG_Extra\HTMLEdit\TMGHTML2.pas',688,'',0,1,'',1,0,0,'',1,'','','' 252 Breakpoint2='P:\vista\tmg-cprs\TMG_Extra\HTMLEdit\EmbeddedED\EmbeddedED.pas',1516,'',0,1,'',1,0,0,'',1,'','','' 253 Breakpoint3='P:\vista\tmg-cprs\TMG_Extra\HTMLEdit\EmbeddedED\EmbeddedED.pas',1540,'',0,1,'',1,0,0,'',1,'','','' 254 Breakpoint4='P:\vista\tmg-cprs\CPRS-Chart\TMG_Extra\fPtDemoEdit.pas',1710,'',0,1,'',1,0,0,'',1,'','','' 255 Breakpoint5='P:\vista\tmg-cprs\CPRS-Chart\TMG_Extra\fPtDemoEdit.pas',1787,'',0,1,'',1,0,0,'',1,'','','' 256 Breakpoint6='P:\vista\tmg-cprs\CPRS-Chart\fFrame.pas',858,'',0,1,'',1,0,0,'',1,'','','' 116 Breakpoint1='P:\vista\tmg-cprs\TMG_Extra\HTMLEdit\EmbeddedED\EmbeddedED.pas',1516,'',0,1,'',1,0,0,'',1,'','','' 117 Breakpoint2='P:\vista\tmg-cprs\TMG_Extra\HTMLEdit\EmbeddedED\EmbeddedED.pas',1540,'',0,1,'',1,0,0,'',1,'','','' 118 Breakpoint3='P:\vista\tmg-cprs\CPRS-Chart\TMG_Extra\fPtDemoEdit.pas',1710,'',0,1,'',1,0,0,'',1,'','','' 119 Breakpoint4='P:\vista\tmg-cprs\CPRS-Chart\TMG_Extra\fPtDemoEdit.pas',1787,'',0,1,'',1,0,0,'',1,'','','' 120 Breakpoint5='P:\vista\tmg-cprs\CPRS-Chart\fDrawers.pas',1068,'',0,1,'',1,0,0,'',1,'','','' 121 Breakpoint6='P:\vista\tmg-cprs\CPRS-Chart\fPtSelOptns.pas',286,'',0,1,'',1,0,0,'',1,'','','' 122 Breakpoint7='P:\vista\tmg-cprs\CPRS-Chart\Templates\uTemplateFields.pas',627,'',0,1,'',1,0,0,'',1,'','','' 257 123 258 124 [AddressBreakpoints] … … 269 135 MaxLeft=-4 270 136 MaxTop=-4 271 MaxWidth= 808137 MaxWidth=1032 272 138 MaxHeight=112 273 ClientWidth= 800139 ClientWidth=1024 274 140 ClientHeight=78 275 141 … … 310 176 Visible=0 311 177 State=0 312 Left= 220313 Top= 110178 Left=0 179 Top=39 314 180 Width=800 315 181 Height=561 … … 353 219 SplitPos=128 354 220 ArrangeBy=Name 355 SelectedItem= DragKind221 SelectedItem= 356 222 ExpandedItems=Anchors,Options 357 223 HiddenCategories=Legacy … … 361 227 Visible=0 362 228 State=0 363 Left= 31364 Top=20 1229 Left=-744 230 Top=207 365 231 Width=737 366 232 Height=350 … … 372 238 LRDockWidth=737 373 239 Dockable=1 374 Column0Width=1 00240 Column0Width=178 375 241 Column1Width=75 376 242 Column2Width=200 … … 383 249 Visible=0 384 250 State=0 385 Left= 592386 Top= 324251 Left=363 252 Top=83 387 253 Width=420 388 254 Height=412 … … 544 410 State=0 545 411 Left=0 546 Top= 0547 Width= 207548 Height= 621549 MaxLeft=-1 550 MaxTop=-1 551 ClientWidth= 207552 ClientHeight= 621412 Top=12 413 Width=140 414 Height=439 415 MaxLeft=-1 416 MaxTop=-1 417 ClientWidth=140 418 ClientHeight=439 553 419 TBDockHeight=305 554 420 LRDockWidth=140 … … 557 423 [MessageView@EditWindow0] 558 424 Create=1 559 Visible= 1560 State=0 561 Left= 12562 Top= 0563 Width= 767564 Height=8 7565 MaxLeft=-1 566 MaxTop=-1 567 ClientWidth= 767568 ClientHeight=8 7569 TBDockHeight=8 7425 Visible=0 426 State=0 427 Left=-170 428 Top=-513 429 Width=443 430 Height=85 431 MaxLeft=-1 432 MaxTop=-1 433 ClientWidth=443 434 ClientHeight=85 435 TBDockHeight=85 570 436 LRDockWidth=443 571 437 Dockable=1 572 438 573 439 [DockHosts] 574 DockHostCount= 2440 DockHostCount=1 575 441 576 442 [DockSite0] … … 579 445 Visible=1 580 446 State=0 581 Left= -783582 Top= 268447 Left=12 448 Top=118 583 449 Width=342 584 450 Height=482 … … 594 460 TabDockClients=PropertyInspector,ObjectTree 595 461 596 [DockSite1]597 DockSiteType=1598 Create=1599 Visible=0600 State=0601 Left=0602 Top=12603 Width=215604 Height=650605 MaxLeft=-1606 MaxTop=-1607 ClientWidth=215608 ClientHeight=650609 TBDockHeight=94610 LRDockWidth=215611 Dockable=1612 TabPosition=0613 ActiveTab=Watch List614 TabDockClients=CodeExplorer@EditWindow0,WatchWindow615 -
cprs/branches/tmg-cprs/CPRS-Chart/CPRSChart_TLB.pas
r612 r654 13 13 14 14 // PASTLWTR : 1.2 15 // File generated on 1 1/27/2009 5:46:58PM from Type Library described below.15 // File generated on 12/28/2009 9:26:13 PM from Type Library described below. 16 16 17 17 // ************************************************************************ // -
cprs/branches/tmg-cprs/CPRS-Chart/TMG_Extra/HTMLEdit/TMGHTML2.pas
r541 r654 891 891 KeyTime.HighPart := KeyPressTime.dwHighDateTime; 892 892 Delta := floor( (NowTime2.QuadPart - KeyTime.QuadPart) / 100000); 893 Result := (Delta < 100) ;893 Result := (Delta < 100) and (Delta > 0); 894 894 end; 895 895 -
cprs/branches/tmg-cprs/CPRS-Chart/TMG_Extra/HTMLEdit/TMGHTML2.~pas
r541 r654 655 655 656 656 function THtmlObj.MoveCaretToEnd : boolean; 657 //kt added 657 //kt added 658 658 var //TextRange:IHtmlTxtRange; 659 659 count : integer; 660 660 begin 661 if not assigned (FTMGDisplayPointer) then begin 662 Result := false; 663 exit; 664 end; 661 665 Result:=(S_OK = FTMGDisplayPointer.MoveUnit(DISPLAY_MOVEUNIT_BottomOfWindow,0)); 662 666 count := 0; 663 repeat 667 repeat 664 668 Result:=(S_OK = FTMGDisplayPointer.MoveUnit(DISPLAY_MOVEUNIT_NextLine,-1)); 665 669 inc (count); 666 670 until (Result = false) or (count > 500); 667 Result:=(S_OK = FTMGDisplayPointer.MoveUnit(DISPLAY_MOVEUNIT_CurrentLineEnd,0)); 671 Result:=(S_OK = FTMGDisplayPointer.MoveUnit(DISPLAY_MOVEUNIT_CurrentLineEnd,0)); 668 672 Result:=(S_OK = FCaret.MoveCaretToPointer(FTMGDisplayPointer, 669 673 integer(FALSE), 670 674 CARET_DIRECTION_SAME)); 671 675 { 672 SendMessage(FmsHTMLwinHandle, WM_KEYDOWN, VK_END, 0); 676 SendMessage(FmsHTMLwinHandle, WM_KEYDOWN, VK_END, 0); 673 677 SendMessage(FmsHTMLwinHandle, WM_KEYUP, VK_END, 0); 674 SendMessage(FmsHTMLwinHandle, WM_KEYDOWN, VK_END, 0); 678 SendMessage(FmsHTMLwinHandle, WM_KEYDOWN, VK_END, 0); 675 679 SendMessage(FmsHTMLwinHandle, WM_KEYUP, VK_END, 0); 676 680 } -
cprs/branches/tmg-cprs/CPRS-Chart/Templates/fTemplateDialog.pas
r453 r654 6 6 uses 7 7 Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, 8 StdCtrls, ExtCtrls, ORCtrls, ORFn, AppEvnts, uTemplates, DKLang;8 StdCtrls, StrUtils, ExtCtrls, ORCtrls, ORFn, AppEvnts, uTemplates, DKLang; 9 9 10 10 type … … 44 44 FCheck4Required: boolean; 45 45 FSilent: boolean; 46 FHTMLMode : boolean; //kt added 12/28/09 47 FAnswerOpenTag : string; //kt added 12/28/09 48 FAnswerCloseTag : string; //kt added 12/28/09 46 49 procedure SizeFormToCancelBtn(); 47 50 procedure ChkAll(Chk: boolean); … … 59 62 procedure ParentCBEnter(Sender: TObject); 60 63 procedure ParentCBExit(Sender: TObject); 64 procedure SetAnswerHTMLTag(Value : string); //kt 12/28/09 61 65 public 62 66 property Silent: boolean read FSilent write FSilent ; 67 property HTMLMode : boolean read FHTMLMode write FHTMLMode; //kt added 12/28/09 68 property HTMLAnswerOpenTag : string read FAnswerOpenTag write SetAnswerHTMLTag; //kt added 12/28/09 69 property HTMLAnswerCloseTag : string read FAnswerCloseTag write SetAnswerHTMLTag; //kt added 12/28/09 63 70 published 64 71 end; … … 66 73 // Returns True if Cancel button is pressed 67 74 function DoTemplateDialog(SL: TStrings; const CaptionText: string; PreviewMode: boolean = FALSE): boolean; 75 function RemoveHTMLTags(Txt : string) : string; 76 function FormatHTMLTags(Txt : string): string; 68 77 procedure CheckBoilerplate4Fields(SL: TStrings; const CaptionText: string = ''; PreviewMode: boolean = FALSE); overload; 69 78 procedure CheckBoilerplate4Fields(var AText: string; const CaptionText: string = ''; PreviewMode: boolean = FALSE); overload; … … 81 90 Gap = 4; 82 91 IndentGap = 18; 92 HTMLBEGINNINGTAG = '{HTML:'; //kt 93 HTMLENDINGTAG = '}'; //kt 94 HTMLBEGINNINGTAGLEN = length(HTMLBEGINNINGTAG); //kt 95 HTMLENDINGTAGLEN = length(HTMLENDINGTAG); //kt 83 96 84 97 … … 89 102 Save, Hidden: boolean; 90 103 TmpCtrl: TStringList; 91 104 HTMLMode : boolean; //kt added 12/28/09 105 HTMLOpenTag,HTMLCloseTag : string; //kt added 12/28/09 92 106 begin 93 107 Txt := SL.Text; 94 108 SL.Clear; 95 109 TmpCtrl := TStringList.Create; 110 HTMLMode := frmTemplateDialog.HTMLMode; //kt added 12/28/09 111 HTMLOpenTag := frmTemplateDialog.HTMLAnswerOpenTag; //kt added 12/28/09 112 HTMLCloseTag := frmTemplateDialog.HTMLAnswerCloseTag; //kt added 12/28/09 113 //kt added 12/28/09 96 114 try 97 115 for i := 0 to frmTemplateDialog.sbMain.ControlCount-1 do … … 117 135 p2 := StrToInt(Piece(tmp,'~',2)); 118 136 Hidden := (copy(Piece(tmp,'~',3),2,1)=BOOLCHAR[TRUE]); 119 SL.Text := SL.Text + ResolveTemplateFields(Copy(Txt,p1,p2), FALSE, Hidden, IncludeEmbeddedFields); 137 //kt original line 12/28/09 --> SL.Text := SL.Text + ResolveTemplateFields(Copy(Txt,p1,p2), FALSE, Hidden, IncludeEmbeddedFields); 138 SL.Text := SL.Text + ResolveTemplateFields(Copy(Txt,p1,p2), FALSE, Hidden, IncludeEmbeddedFields, 139 HTMLMode, HTMLOpenTag, HTMLCloseTag ); 120 140 end; 121 141 end; … … 195 215 DlgIDCounts.Duplicates := dupError; 196 216 frmTemplateDialog.Caption := CaptionText; 217 frmTemplateDialog.HTMLMode := uTemplates.bUsingHTMLMode; //kt 218 frmTemplateDialog.HTMLAnswerOpenTag := '<I>'; //kt 12/28/09 219 //SL.Text := RemoveHTMLTags(SL.Text); //elh 197 220 AssignFieldIDs(SL); 198 221 frmTemplateDialog.SL := SL; … … 237 260 end; 238 261 frmTemplateDialog.BuildAllControls; 239 repeat 262 repeat 240 263 frmTemplateDialog.ShowModal; 241 if(frmTemplateDialog.ModalResult = mrOK) then 242 GetText(SL, TRUE) {TRUE = Include embedded fields} 243 else 264 if(frmTemplateDialog.ModalResult = mrOK) then begin 265 GetText(SL, TRUE); {TRUE = Include embedded fields} 266 if uTemplates.bUsingHTMLMode then begin 267 SL.Text := FormatHTMLTags(SL.Text); 268 end else begin 269 SL.Text := RemoveHTMLTags(SL.Text); 270 end; 271 end else begin 244 272 if (not PreviewMode) and (not frmTemplateDialog.Silent) and (not uInit.TimedOut) then 245 273 begin … … 262 290 CancelDlg := TRUE; 263 291 end; 292 end; 264 293 until CancelDlg or (frmTemplateDialog.ModalResult = mrOK) 265 294 end … … 281 310 end; 282 311 312 function RemoveHTMLTags(Txt : string): string; 313 var 314 beginning,ending : integer; 315 tempString,tempResult : string; 316 begin 317 tempString := Txt; 318 //here we will strip out all HTML formatting tags //elh 319 beginning := pos(HTMLBEGINNINGTAG, tempString); 320 if beginning = 0 then begin 321 Result := Txt; 322 end else begin 323 while beginning > 0 do 324 begin 325 tempResult := tempResult + Leftstr(tempString,beginning-1); 326 tempString := Rightstr(tempString,length(tempString)-beginning-HTMLBEGINNINGTAGLEN); 327 ending := pos(HTMLENDINGTAG, tempString); 328 tempString := Rightstr(tempString,length(tempString)-ending); 329 beginning := pos(HTMLBEGINNINGTAG, tempString); 330 // tempString := Midstr(Txt,i,HTMLBEGINNINGTAGLEN); 331 end; 332 Result := tempResult + tempString; 333 end; 334 end; 335 336 function FormatHTMLTags(Txt : string): string; 337 var 338 beginning,ending : integer; 339 tempString,tempResult : string; 340 begin 341 tempString := Txt; 342 //here we will strip out all HTML formatting tags //elh 343 beginning := pos(HTMLBEGINNINGTAG, tempString); 344 if beginning = 0 then begin 345 Result := Txt; 346 end else begin 347 while beginning > 0 do 348 begin 349 tempResult := tempResult + Leftstr(tempString,beginning-1); 350 tempString := Rightstr(tempString,length(tempString)-beginning-HTMLBEGINNINGTAGLEN+1); 351 ending := pos(HTMLENDINGTAG, tempString); 352 tempResult := tempResult + Leftstr(tempString,ending-1); 353 tempString := Rightstr(tempString,length(tempString)-ending); 354 beginning := pos(HTMLBEGINNINGTAG, tempString); 355 // tempString := Midstr(Txt,i,HTMLBEGINNINGTAGLEN); 356 end; 357 Result := tempResult + tempString; 358 end; 359 end; 360 283 361 procedure CheckBoilerplate4Fields(SL: TStrings; const CaptionText: string = ''; PreviewMode: boolean = FALSE); 284 362 begin … … 307 385 finally 308 386 tmp.free; 387 end; 388 end; 389 390 procedure TfrmTemplateDialog.SetAnswerHTMLTag(Value : string); 391 //kt 12/28/09 Added entire function 392 begin 393 if Value='' then begin 394 FAnswerOpenTag :=''; 395 FAnswerCloseTag := ''; 396 end else begin 397 if Pos('<',Value)>0 then Value := Piece(Value,'<',2); 398 if Pos('>',Value)>0 then Value := Piece(Value,'>',1); 399 if Pos('/',Value)>0 then Value := Piece(Value,'/',2); 400 FAnswerOpenTag :='<'+Value+'>'; 401 FAnswerCloseTag := '</' + Value + '>'; 309 402 end; 310 403 end; … … 460 553 end; 461 554 tmp := copy(SL.Text, p1, p2); 555 tmp := RemoveHTMLTags(tmp); 462 556 if(copy(tmp, length(tmp)-1, 2) = CRLF) then 463 557 delete(tmp, length(tmp)-1, 2); … … 637 731 procedure TfrmTemplateDialog.FormCreate(Sender: TObject); 638 732 begin 733 FHTMLMode := false; //kt added 12/28/09 639 734 BuildIdx := TStringList.Create; 640 735 Entries := TStringList.Create; -
cprs/branches/tmg-cprs/CPRS-Chart/Templates/uTemplateFields.pas
r453 r654 44 44 FPanelDying: boolean; 45 45 FOnDestroy: TNotifyEvent; 46 FHTMLMode : boolean; //kt added 12/28/09 47 FAnswerOpenTag : string; //kt added 12/28/09 48 FAnswerCloseTag : string; //kt added 12/28/09 46 49 procedure KillLabels; 47 50 function GetFieldValues: string; 48 51 procedure SetFieldValues(const Value: string); 49 52 procedure SetAutoDestroyOnPanelFree(const Value: boolean); 53 procedure SetAnswerHTMLTag(Value : string); //kt 12/28/09 54 50 55 protected 51 56 procedure UpDownChange(Sender: TObject); … … 67 72 property OnDestroy: TNotifyEvent read FOnDestroy write FOnDestroy; 68 73 property FieldValues: string read GetFieldValues write SetFieldValues; 74 property HTMLMode : boolean read FHTMLMode write FHTMLMode; //kt added 12/28/09 75 property AnswerHTMLTag : string read FAnswerOpenTag write SetAnswerHTMLTag; //kt added 12/28/09 69 76 property AutoDestroyOnPanelFree: boolean read FAutoDestroyOnPanelFree 70 77 write SetAutoDestroyOnPanelFree; … … 161 168 procedure AssignFieldIDs(var Txt: string); overload; 162 169 procedure AssignFieldIDs(SL: TStrings); overload; 163 function ResolveTemplateFields(Text: string; AutoWrap: boolean; Hidden: boolean = FALSE; IncludeEmbedded: boolean = FALSE): string; 170 //kt 12/28/09 originial --> function ResolveTemplateFields(Text: string; AutoWrap: boolean; Hidden: boolean = FALSE; IncludeEmbedded: boolean = FALSE): string; 171 function ResolveTemplateFields(Text: string; 172 AutoWrap: boolean; 173 Hidden: boolean = FALSE; 174 IncludeEmbedded: boolean = FALSE; 175 HTMLMode : boolean = FALSE; //kt added 12/28/09 176 HTMLAnswerOpenTag : string = ''; //kt added 12/28/09 177 HTMLAnswerCloseTag : string = '' //kt added 12/28/09 178 ): string; 164 179 function AreTemplateFieldsRequired(const Text: string; FldValues: TORStringList = nil): boolean; 165 180 function HasTemplateField(txt: string): boolean; … … 179 194 TemplateFieldBeginSignature = '{FLD:'; 180 195 TemplateFieldEndSignature = '}'; 196 HTMLBEGINNINGTAG = '{HTML:'; 197 HTMLENDINGTAG = '}'; 198 HTMLBEGINNINGTAGLEN = length(HTMLBEGINNINGTAG); 199 HTMLENDINGTAGLEN = length(HTMLENDINGTAG); 181 200 //MissingFieldsTxt = 'One or more required fields must still be entered.'; <-- original line. //kt 8/8/2007 182 201 function MissingFieldsTxt : string; //kt added … … 519 538 AutoWrap: boolean; 520 539 Hidden: boolean = FALSE; 521 IncludeEmbedded: boolean = FALSE): string; 540 IncludeEmbedded: boolean = FALSE; 541 HTMLMode : boolean = FALSE; //kt added 12/28/09 542 HTMLAnswerOpenTag : string = ''; //kt added 12/28/09 543 HTMLAnswerCloseTag : string = '' //kt added 12/28/09 544 ): string; 522 545 var 523 546 flen, CtrlID, i, j: integer; … … 526 549 FoundEntry: boolean; 527 550 TmplFld: TTemplateField; 551 tempSL : TStringList; 528 552 529 553 procedure AddNewTxt; … … 584 608 if (assigned(TmplFld)) and (TmplFld.DateType in DateComboTypes) then {if this is a TORDateBox} 585 609 NewTxt := Piece(NewTxt,':',1); {we only want the first piece of NewTxt} 610 //kt 12/28/09 --- Start mod to wrap answers in custom HTML tag --- 611 if (HTMLMode=true) and (NewTxt <> '') then begin 612 NewTxt := HTMLAnswerOpenTag + NewTxt + HTMLAnswerCloseTag; //kt 12/29/09 613 end; 614 //kt --- End mod to wrap answers in custom HTML tag --- 586 615 AddNewTxt; 587 616 end; … … 594 623 end; 595 624 end; 625 end else begin 626 if HTMLMode=true then begin 627 tempSL := TStringList.create; 628 tempSL.Text := Result; 629 if tempSL.Count < 3 then begin 630 Result := HTMLAnswerOpenTag + Result + HTMLAnswerCloseTag; 631 end; 632 tempSL.Free; 633 end; 596 634 end; 597 635 until(i = 0); 598 636 if not AutoWrap then 599 637 WordWrapText(Result); 638 600 639 end; 601 640 … … 1801 1840 FID := AID; 1802 1841 FText := Text; 1842 FHTMLMode := false; //kt added 12/28/09 1803 1843 FControls := TStringList.Create; 1804 1844 FIndents := TStringList.Create; … … 2223 2263 end; 2224 2264 2265 procedure TTemplateDialogEntry.SetAnswerHTMLTag(Value : string); 2266 //kt 12/28/09 Added entire function 2267 begin 2268 if Value='' then begin 2269 FAnswerOpenTag :=''; 2270 FAnswerCloseTag := ''; 2271 end else begin 2272 if Pos('<',Value)>0 then Value := Piece(Value,'<',2); 2273 if Pos('>',Value)>0 then Value := Piece(Value,'>',1); 2274 FAnswerOpenTag :='<'+Value+'>'; 2275 FAnswerCloseTag := '</' + Value + '>'; 2276 end; 2277 end; 2278 2225 2279 function TTemplateDialogEntry.GetText: string; 2226 2280 begin 2227 Result := ResolveTemplateFields(FText, FALSE); 2281 //kt Result := ResolveTemplateFields(FText, FALSE); 2282 Result := ResolveTemplateFields(FText, FALSE, FALSE, FALSE, FHTMLMode, FAnswerOpenTag, FAnswerCloseTag); //kt 12/29/09 2228 2283 end; 2229 2284 -
cprs/branches/tmg-cprs/CPRS-Chart/Templates/uTemplates.pas
r541 r654 1886 1886 Itm: string; 1887 1887 begin 1888 Result := GetBoilerplate; 1888 Result := GetBoilerplate; //ELH 1889 1889 if FIsReminderDialog or FIsCOMObject then exit; 1890 1890 Itm := ItemBoilerplate; … … 1952 1952 TmpSL.Text := rHTMLTools.Text2HTML(TmpSL); //kt 8/09 1953 1953 end; //kt 8/09 1954 bUsingHTMLMode := false; //force reset each call. //kt 8/091954 //kt 12/28/09 bUsingHTMLMode := false; //force reset each call. //kt 8/09 1955 1955 end; //kt 8/09 1956 1956 Result := TmpSL.Text; -
cprs/branches/tmg-cprs/CPRS-Chart/fDrawers.dfm
r453 r654 1 1 object frmDrawers: TfrmDrawers 2 Left = 6 343 Top = 4372 Left = 624 3 Top = 346 4 4 BorderStyle = bsNone 5 5 Caption = 'frmDrawers' -
cprs/branches/tmg-cprs/CPRS-Chart/fDrawers.pas
r541 r654 977 977 if (dmodShared.TemplateOK(tvTemplates.Selected.Data)) then begin //kt 978 978 Template := TTemplate(tvTemplates.Selected.Data); 979 TemplateIsHTML := rHTMLTools.IsHTML(Template.Text); //kt980 if not InsertOK(TRUE,TemplateIsHTML) then exit; //kt981 979 Template.TemplatePreviewMode := FALSE; 982 if Template.IsReminderDialog then 980 if Template.IsReminderDialog then begin 983 981 Template.ExecuteReminderDialog(TForm(Owner)) 984 else 985 begin 982 end else begin 986 983 if Template.IsCOMObject then 987 984 txt := Template.COMObjectText('', DocInfo) 988 else 985 else begin 989 986 uTemplates.bUsingHTMLMode := HTMLEditActive; //kt 8/09 Will be used in TTemplate.GetText 990 987 txt := Template.Text; 991 if(txt <> '') then 992 begin 988 TemplateIsHTML := rHTMLTools.IsHTML(txt); //kt 989 if not InsertOK(FALSE,TemplateIsHTML) then exit; //kt 990 end; 991 if(txt <> '') then begin 993 992 // CheckBoilerplate4Fields(txt, 'Template: ' + Template.PrintName); <-- original line. //kt 7/15/2007 994 993 CheckBoilerplate4Fields(txt, DKLangConstW('fDrawers_Templatex') + Template.PrintName); //kt added 7/15/2007 -
cprs/branches/tmg-cprs/CPRS-Chart/fPtSel.dfm
r612 r654 1 1 object frmPtSel: TfrmPtSel 2 Left = 1843 Top = 1 152 Left = 248 3 Top = 152 4 4 Width = 793 5 Height = 58 95 Height = 587 6 6 BorderIcons = [] 7 7 Caption = 'Patient Selection' … … 169 169 object pnlNotifications: TORAutoPanel 170 170 Left = 0 171 Top = 5 20171 Top = 518 172 172 Width = 785 173 173 Height = 35 … … 229 229 Top = 311 230 230 Width = 785 231 Height = 20 9231 Height = 207 232 232 Align = alClient 233 233 Columns = < -
cprs/branches/tmg-cprs/CPRS-Chart/fPtSelOptns.dfm
r453 r654 1 1 object frmPtSelOptns: TfrmPtSelOptns 2 Left = 5873 Top = 1 992 Left = 436 3 Top = 128 4 4 BorderStyle = bsNone 5 5 Caption = 'frmPtSelOptns' -
cprs/branches/tmg-cprs/CPRS-Chart/fPtSelOptns.pas
r453 r654 225 225 { called by radTeams, radSpecialties, radWards - shows items for the list source } 226 226 begin 227 (* Commented out until a further clarification //kt 12/29/09 227 228 //vwpt remove other radio button selections 228 // if frmPtSel.radiogroup1.index <> 0 then //kt 229 if frmPtSel.RadioGroup1.ItemIndex <> 0 then 230 begin 229 if assigned(frmPtSel) and (frmPtSel.radiogroup1.ItemIndex <> 0) then //kt 230 begin //elh 231 231 FSrcType := TControl(Sender).Tag; 232 232 case FSrcType of … … 257 257 begin 258 258 //end vwpt 259 *) 259 260 cboList.Pieces := '2'; 260 261 FSrcType := TControl(Sender).Tag; … … 275 276 end; 276 277 cboList.Caption := TRadioButton(Sender).Caption; 277 end; //else278 //kt end; //else 278 279 end; 279 280 … … 282 283 begin 283 284 //vwpt remove other radio button selections 284 // if fPtSel.radiogrp1index <> 0 then //kt285 (* Commented out until a further clarification //kt 12/29/09 285 286 if frmPtSel.RadioGroup1.ItemIndex <> 0 then 286 287 begin … … 306 307 else 307 308 begin 308 //end vwpt 309 //end vwpt *) 309 310 cboList.Pieces := '2'; 310 311 FSrcType := TControl(Sender).Tag; … … 331 332 end; 332 333 cboList.Caption := TRadioButton(Sender).Caption; 333 end; //else334 //kt end; //else 334 335 end; 335 336 -
cprs/branches/tmg-cprs/CPRS-Chart/uReminders.pas
r541 r654 4579 4579 txt: string; 4580 4580 FldData: TORStringList; 4581 4582 begin 4581 HTMLMode : boolean; //kt added 12/28/09 4582 4583 begin 4584 HTMLMode := false; //kt added 12/28/09 NOTE: Later can figure out if/when appropriate to set this to true, and how to toggle. 4583 4585 if (not (FReminder is TReminder)) then 4584 4586 ScootOver := 4; … … 4596 4598 //values from the visual control in the dialog window. 4597 4599 if FReminder = CurrentReminderInDialog then 4598 txt := ResolveTemplateFields(txt, TRUE) 4600 //kt txt := ResolveTemplateFields(txt, TRUE) 4601 txt := ResolveTemplateFields(txt, TRUE, FALSE, FALSE, HTMLMode, '', '') //kt 12/28/09 4599 4602 else 4600 4603 //If this is not the CurrentReminderInDialog (i.e.: Next or Back button
Note:
See TracChangeset
for help on using the changeset viewer.