diff --git a/components/fpspreadsheet/fpspreadsheet.chm b/components/fpspreadsheet/fpspreadsheet.chm index 12e4c1801..fc0fd10c7 100755 Binary files a/components/fpspreadsheet/fpspreadsheet.chm and b/components/fpspreadsheet/fpspreadsheet.chm differ diff --git a/components/fpspreadsheet/fpspreadsheetctrls.lrs b/components/fpspreadsheet/fpspreadsheetctrls.lrs new file mode 100644 index 000000000..85594af81 --- /dev/null +++ b/components/fpspreadsheet/fpspreadsheetctrls.lrs @@ -0,0 +1,275 @@ +LazarusResources.Add('TSWORKBOOKSOURCE','PNG',[ + #137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#24#0#0#0#24#8#6#0#0#0#224'w='#248#0 + +#0#0#9'pHYs'#0#0#14#196#0#0#14#196#1#149'+'#14#27#0#0#0#7'tIME'#7#222#11#21 + +#21#28'/'#163#188'@'#220#0#0#0#7'tEXtAuthor'#0#169#174#204'H'#0#0#0#10'tEXtC' + +'opyright'#0#172#15#204':'#0#0#0#14'tEXtCreation time'#0'5'#247#15#9#0#0#0#9 + +'tEXtSoftware'#0']p'#255':'#0#0#0#11'tEXtDisclaimer'#0#183#192#180#143#0#0#0 + +#8'tEXtWarning'#0#192#27#230#135#0#0#0#7'tEXtSource'#0#245#255#131#235#0#0#0 + +#8'tEXtComment'#0#246#204#150#191#0#0#0#6'tEXtTitle'#0#168#238#210''''#0#0#2 + +#205'IDATH'#137#181#149']H'#147'a'#20#199#127#239#230#166#150'sc'#233#134'e' + +#201#12'IK'#13#10'2'#139' J'#188#144#160'O'#134','#25'XyU'#183'Rj'#183'^'#196 + +'{'#21't''$'#12#149#16'2'#141#136#16#130'('#203'&]'#132#22'T'#146'of#X'#178 + +#252#10#212#185'=]'#232'^'#222'w_~P'#255#187#231'p'#248#255#159#243'?'#231'9' + +#143'$'#132#224#127'"#>'#240#224#213'O'#209#241'd"ir'#211#153'b'#234'O'#20'H' + +#155#17#144'b'#21'h'#137#239'^?H'#249#158#28'>|_ 8'#179'Dpv'#153#224#204#18#3 + +'C'#129'M'#11#169#2#167'o'#190#22#149'%v\'#206'l'#202#139',8l'#153':'#242#224 + +#236'2'#127#22'#,,'#174'015'#199#243';'#199'7$'#160'ZT'#188';'#151#209#241#16 + +#163#227#224#176#21#3'$'#144#143#142#135#212#220#141'B'#215#131#234#138'|'#28 + +'V3'#169'zP]'#145#175'V'#17#143#134#134#6#225#245'z'#169#173#173#213'U'#166 + +#10'LL'#205#225#180#229#3#208'v'#185#148'S'#149';'#18'z'#16#156']Vs'#147#193 + +#231#243#1#8#173#136#206#162#145#143#211'D'#162#130#242#162#210#164#4#195'c' + +#191#212#220#216#173#215#19'Q'#155#220'toL8m'#153'8'#172'fuZ'#226#161#181#168 + +#227'F'#133#206#138#152'X'#188'M'#255#212#162#180'='#216#138'EZtuu%'#29'[' + +#221#20#29'9'#144#135#195'j'#166#189#251#19#237#221#137#201#233#166'('#21'T' + +#129#201#192'A`='#184#154 + +#165']'#192#251'F'#143';O#'#18#202'2a'#215#144#247#3#231#20'YH'#134'td'#201 + +#30#146'"'#139#0#144#215#217#211#171#198#26'=n'#251#162#190'-'#133#172#217 + +#159'V '#21#20'Y'#164#220#164'}~'#255'4pI'#145'Ed'#203#2'k8'#218#217#211#27 + +#137#29#206'W'#31#163#255#237';'#128'k'#138',&c'#241#164'=Hf'#141#246'!'#185 + +#154'%#'#240#12#168#1#212#166#207'(?x4'#252#134'"{.'#147#161#213#215#158#180 + +#2#175#215#155#246#156'eb'#5#168#185'PU'#165#139#219'\'#133#0#28'.)'#195#146 + +#157'M'#150')E'#5#0#131#131#131#194#231#243'%'#236#151#178'VI,'#134'AK'#222 + +#231#247'G'#27'=n'#245#178#177#1'Pd!%|'#250'1'#172#145#234'v'#187#171'Yrf'#24 + +#160#192'ja'#228#243#23'5w'#155#217'l'#232'}8'#128#251#226'Y-'#197'IHSA*'#184 + +#154#165#189#138','#190#198#197#172'F'#131'a&'#18#141#2'`6'#26#177#231'X'#24 + +#190#253'['#250#11#217#183#127'A'#224#133#168#24#0#0#0#0'IEND'#174'B`'#130 +]); +LazarusResources.Add('TSWORKBOOKTABCONTROL','PNG',[ + #137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#24#0#0#0#24#8#6#0#0#0#224'w='#248#0 + +#0#0#9'pHYs'#0#0#14#196#0#0#14#196#1#149'+'#14#27#0#0#0#7'tIME'#7#222#11#21 + +#20'"$ti'#232#30#0#0#0#7'tEXtAuthor'#0#169#174#204'H'#0#0#0#10'tEXtCopyright' + +#0#172#15#204':'#0#0#0#14'tEXtCreation time'#0'5'#247#15#9#0#0#0#9'tEXtSoftw' + +'are'#0']p'#255':'#0#0#0#11'tEXtDisclaimer'#0#183#192#180#143#0#0#0#8'tEXtWa' + +'rning'#0#192#27#230#135#0#0#0#7'tEXtSource'#0#245#255#131#235#0#0#0#8'tEXtC' + +'omment'#0#246#204#150#191#0#0#0#6'tEXtTitle'#0#168#238#210''''#0#0#2';IDATH' + +#137#189#148#203'k'#19'Q'#20#198#127'w2'#137'ik['#9#5#17#11'6'#136#139'nu' + +#209#23'&.'#186#18'A'#173'6`'#22'B@'#220'U'#186#9#20#233#127'0'#155'B'#255 + +#128#128#139#22'R'#140#15#20#31#187#166#216'0'#174#20'Wj'#195'$T'#165#133#152 + +#150'Jc '#143#235#162#205#144#232'L'#218#25#136#7'.'#204#249#206'w'#207'w' + +#206#220'{'#143#144'R'#210'IS:'#154#29'P'#1'V'#222#229#228#226'J'#198#150'43' + +'='#198#244#196#144'p# '#164#148#132'f'#151'ez'#225#142'-)4'#187'l+lUXsAj'#3 + +#220#251'Um['#137'U'#1#161#217'e[|zb'#136#22#129#237#237#159'm'#5#190'nl;' + +#194#27'f'#10#148#246#127#183'%'#218#197#143#218#167#2#140#251#11'd'#179'[m' + +#137'3'#9#235'K`'#133#143#251#11#172#173#166#229#229'pH'#152#29'LM'#141#218 + +'&o'#23#179#178#185#185'E'#243'[m'#14#228'r'#27#142#18'Y'#217'f'#254'G'#139 + +#223#241#135#246#127'^2'#192#218'j'#250'X'#27'J'#213'}'#186#213#30#231#2'/_}' + +'<'#146#188'#7y['#215'8'#225#5')'#15'V'#165#6#17#207#2#2#133#231#158#7#244 + +#248#192#215#231'g='#211'E:\<'#24#21#135#29#28'k'#172#222'}'#17'&'#22#141#152 + +'~b)'#201#163'k'#171#220#127#19#6#224#234#197#17#0#210#159#242#20'J['#163#194 + +#233#184#14#198#197'Y'#224'C,'#26#25'h'#18')'#250#189#4#26#201'S'#186#254#20 + +#184'ahR8>dC'#147#223#129#129#196'R'#210#196'b'#209'H'#160'\i'#161#13'r'#248 + +#251']'#221'"C'#147#182#163';'#165#235#5#224#182#161#201#154'k'#129'C'#27'M,' + +'%k'#13#231#230#216'8)]/'#3#247#12'M'#230#27#184#227'3'#0#8#198#133#7'x'#13 + +'L'#2#230#161#239#26#223'x'#146'Y'#231'\'#160#143'|q'#15#215#29#248#189'T' + +#129#201#169#145#145#22#252'Tp'#16#128'K'#23#134#233#237#234#194#239'u'#209 + +#193#240'C!'#203#21'hN'#158#210#245'z,'#26'1'#139'm\'#0'C'#147'B'#253'7'#133 + +#189#5#227#226#180#170#192#153#254'^'#222#127#254'b'#226#221'>'#159#146'|' + +#252#140#200#173#235#205#244'+'#224#162#131'`\'#156'74'#153#253#11#235#247'(' + +#202'n'#173'^'#7#192#231#241#16'8'#217'Kf~G'#252#1'|G'#211#170#2'|'#230'z'#0 + +#0#0#0'IEND'#174'B`'#130 +]); +LazarusResources.Add('TSWORKSHEETGRID','PNG',[ + #137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#24#0#0#0#24#8#6#0#0#0#224'w='#248#0 + +#0#0#9'pHYs'#0#0#14#196#0#0#14#196#1#149'+'#14#27#0#0#0#7'tIME'#7#222#11#21 + +#20'"'#23#203#185#137#8#0#0#0#7'tEXtAuthor'#0#169#174#204'H'#0#0#0#10'tEXtCo' + +'pyright'#0#172#15#204':'#0#0#0#14'tEXtCreation time'#0'5'#247#15#9#0#0#0#9 + +'tEXtSoftware'#0']p'#255':'#0#0#0#11'tEXtDisclaimer'#0#183#192#180#143#0#0#0 + +#8'tEXtWarning'#0#192#27#230#135#0#0#0#7'tEXtSource'#0#245#255#131#235#0#0#0 + +#8'tEXtComment'#0#246#204#150#191#0#0#0#6'tEXtTitle'#0#168#238#210''''#0#0#2 + +#14'IDATH'#137#205#148#205'k'#19'Q'#20#197#127'o&'#19#19'5FBA'#196#130#4'q' + +#209'E'#19#208'ET'#208#184#232#166'"'#248#201' '#17#132#128#184#171#187#192 + +'P'#252#3#2#179#17#250#7#4#4#179#8#24'?'#16#162#238#146#130'e\'#217#184'R' + +#144#177#168';I'#171'n'#2'1y.'#154#25''''#157#164'i'#134#10'=0'#139'w8'#239 + +#158'{'#222#29#174#144'R'#242'?'#17#2'0'#140#165']q)'#22#23#196'P'#3#128#249 + +#249#20#181'Z'#19#195#184#205#234#234#7#223#229'tzv('#239#160'Vk'#178'\o'#200 + +#243#217#11#3'&!'#175'`'#179#139#199'#'#11#4#129'/A'#177#184#224#19#25#198 + +#210'P~'#171'f['#131'tz'#214#237'2'#149'J'#185#130'f'#243'_'#231'^'#222#11 + +#175'f'#164#129#247'}G]'#216#174#208'X'#131#160#9#198#153#238#253#4#227#140 + +#247'~'#130']'#159#193#239#246'Ob'#145#248#216#206#29#8')'#229#142'w'#209#186 + +#252#202#155#158#201'>'#13#164#220#252':]'#208#213#135#8#20'^'#168#247'9'#16 + +#134#176#22'AU'#162'4'#140#150#16#206'6]'#174'7vdr'#231'e'#150'|Nw'#207#165 + +'r'#133'G'#151#235#220'{'#157#5#224#210#169#12#0'U'#203#250#2#220#18#147#174 + +#235'dA'#28#3#222#231's'#250#148#199#164#21#209'Hx'#138'?'#3#174#218#166#20 + +#202'D'#213#1#219#148#223#129#169'R'#185#226'r'#249#156#158'hw'#6'd'#211#244 + +#231';'#177'A'#223#196#183#247#29'T-'#235#7'p'#211'6e7'#176'A'#31'gJ'#229'J' + +#215'9\;{'#142#170'e'#181#129#187#182')'#215#28'~'#226#25#0'$'#11'B'#5'^'#1 + +'s'#128';'#244#13#251#27'OW'#222'r'#244#146#1#172#154'J'#0#239#128'M'#24#238 + +#1#224'D'#127#231'u'#247#3'W'#243#23'8<'#254'M'#228#9#210')'#254#0#155#15#138 + +#197#9#254#162#181#2#192#218#245#2#217'L'#134't*'#194#4#133'm%'#189'>'#4#139 + +#183']wP'#173#148#199#205#250#23'@'#219#162#146#255#150#152#13#171#166'.''' + +#13#184#146#203#242#241#243#151'1'#127#214'4'#13#231#213'['#202#15#239#5#211 + +'oC'#132#9#172#154#186#166'm'#249':'#197#229#18#134'q'#226#13#6#0#152#137#4 + +#249#243'Y'#186'/'#127#169#191#202')U'#131'17('#180#0#0#0#0'IEND'#174'B`'#130 +]); +LazarusResources.Add('TSCELLINDICATOR','PNG',[ + #137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#24#0#0#0#24#8#6#0#0#0#224'w='#248#0 + +#0#0#9'pHYs'#0#0#14#196#0#0#14#196#1#149'+'#14#27#0#0#0#7'tIME'#7#222#11#21 + +#21#12':'#132#163#182'f'#0#0#0#7'tEXtAuthor'#0#169#174#204'H'#0#0#0#10'tEXtC' + +'opyright'#0#172#15#204':'#0#0#0#14'tEXtCreation time'#0'5'#247#15#9#0#0#0#9 + +'tEXtSoftware'#0']p'#255':'#0#0#0#11'tEXtDisclaimer'#0#183#192#180#143#0#0#0 + +#8'tEXtWarning'#0#192#27#230#135#0#0#0#7'tEXtSource'#0#245#255#131#235#0#0#0 + +#8'tEXtComment'#0#246#204#150#191#0#0#0#6'tEXtTitle'#0#168#238#210''''#0#0#1 + +#216'IDATH'#137#181#149#191'k'#19'a'#24#199'?'#239']r&j'#140#4'A'#132#130'=' + +#196'!'#142'v'#136'q'#18'Z'#28'\'#196#31#28#146'-'#226#214#213#3#169'B'#221 + +'o'#238#216'f'#203'p`'#212#205#10']'#28#12#175#248#15'('#200'kA'#183'Z'#139 + +'S ^^'#135#220#29#233#153'&'#189'K'#250#133'gx'#190#247#242#253'>'#15#207#243 + +#190''''#214'7'#183'5s'#194#203#199#183'E'#146#203#133#31'f'#23#223'z?'#150 + +'7fV'#158#130#169#6#245#213#157#137#249'L'#6#245#213#29#186#27#203#177'hZ' + +#241#169#6'It7'#150#231'o'#144#165#234'Q'#228'&'#9#143'V'#156#204#143#139#19 + +#223'"'#214'7'#183#245'<'#16#234#144#140#19#239'`x'#147#143#184#133's'#193 + +#184#182'&'#197#226'S'#202'i'#206#11#173#143#255#214#217#174'X'#2'>'#159#202 + +#131#214#195#232#7#0#228#148#167#131'k'#207#133'>c'#129#149'/`'#26'E><'#219 + +#23#169#12'B'#19#221'l8q'#222'j'#251'(O'#139#234#154#208#0'w'#174#215#0#232 + +'H'#249#29'x'#148'e'#200#11#173#182#191#23'%'#205#134#131#237#138'_'#9#241'7' + +#192#162#242#180'Lm'#160'<'#253#19#184#208'j'#251'1'#215'l8'#149'^'#255'p'#17 + +#132#11#148'iM'#149#167#255#251#177'D'#232'H'#185#7''#215#227'`'#187#226'b'#206#128'K'#229#18#159#190'|'#141#249#211#150'e' + +#248#175#222#226'<'#184';z'#252#22'd'#232#192'v'#197#21#229#233'o'#9#174'l' + +#26#198'A0'#24#0'`'#153'&'#149#179'%'#186'/~'#139#127#13'J8'#138#147'`8'#26#0 + +#0#0#0'IEND'#174'B`'#130 +]); +LazarusResources.Add('TSSPREADSHEETINSPECTOR','PNG',[ + #137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#24#0#0#0#24#8#6#0#0#0#224'w='#248#0 + +#0#0#9'pHYs'#0#0#14#196#0#0#14#196#1#149'+'#14#27#0#0#0#7'tIME'#7#222#11#21 + +#20'"4i'#222#248'z'#0#0#0#7'tEXtAuthor'#0#169#174#204'H'#0#0#0#10'tEXtCopyri' + +'ght'#0#172#15#204':'#0#0#0#14'tEXtCreation time'#0'5'#247#15#9#0#0#0#9'tEXt' + +'Software'#0']p'#255':'#0#0#0#11'tEXtDisclaimer'#0#183#192#180#143#0#0#0#8't' + +'EXtWarning'#0#192#27#230#135#0#0#0#7'tEXtSource'#0#245#255#131#235#0#0#0#8 + +'tEXtComment'#0#246#204#150#191#0#0#0#6'tEXtTitle'#0#168#238#210''''#0#0#2'9' + +'IDATH'#137#205#150#207'k'#19'A'#20#199'?'#147#141#181'BC'#139#226'-'#151' ' + +#5'Ki'#138'? '#212#31#173#7'A'#234'Ac'#127'D'#137' '#233#197'[[<'#132#134'Z' + +#208'cJ<'#136#226'9^'#204'!'#135#212'z'#137'"'#133'&Q'#194#234'A'#187'"'#8'V' + +'c'#253#3'Rk'#177'V'#211#205'x'#136'Y'#210#164#238'6'#161'B'#191'0'#135'}' + +#239#237#251#204#155'73'#187'BJ'#201#255#148#29' '#20#186#191'c'#148'pxT'#212 + +#0#0#250#251#221'$'#147#26#161#208'U'#22#22#222#213#188#216#221#221#181#165 + +#189#172'dR'#3' '#147'J'#203#211'}'#189#6#196'^'#29#16#14'?2MP'#183#164#148 + +'LL'#220#147'f'#178#242'W'#198#165#231'SRJIy'#216'+an'#183#187'f'#2#154#166 + +#153#250#171'c'#170#181#9'`'#22#184#29#191'%'#160#145#10#172#160#187#191#2'+' + +#240#238#175'`'#199'{'#176#186#190#130#163#185#213'4'#238#159#0#171#25'v'#158 + +'jg'#173'g'#145#189'{@'#202#210'('#232#176'8'#189#129'bSx'#162#140'17'#15'M/' + +#155#165'b'#219'G:'#148#23'uU'#240#254#197'G\A'#129#127#216'g'#216#162#177'8' + +#138'M'#161'c'#178't'#253#244'vz'#0'H'#168#234#23'WPx'#234#238'AK'#243'a'#30 + +#254'N'#16#8#12#0'0'#226#247'q'#228#214#1#0#206#31'5'#146'?'#6#188#185#136'T' + +#27#218'E'#174#160' '#26#139'3'#226'/Ur'#201'{'#150'h,^'#25#234#228#239#242 + +'7'#180#139#28't'#177'zn'#235#171#251#249#155#15#0'C'#185#136#212'k'#0#245 + +#156#131#183'_U'#134#30#156#228#218#149#193'R'#21'='''#152#205#190'f'#244#248 + +'m'#198'/O.'#149#227#236#181'i'#172#165#23'u'#238'<'#157'B/'#234#198'R'#181 + +#185#156'\'#0#238'fo2'#243'yZ.'#229#191'o'#6'dRi'#211#164#149#254#235#207#250 + +'X/'#192#128#199'CBU'#13'{'#155#203#9'Y8'#214#222'A^'#211'(l'#252'DH)'#235 + +#250'&'#207#218#198#140#228'e'#205#168#175#8#248#135#141#231'r'#195's'#17')D' + +#249#175'"'#147'J[BV~-sc'#206#203'A'#135#3#165#226#8#229#215'~ '#132#192'7x' + +#177#18'p&'#23#145')'#3#176']'#185#130#226'P."?U'#217'Z'#21#155#237#155'^,'#2 + +#208#164'('#236'oq'#144#157'Z'#22#127#0#194#234'TC'#241#4'G}'#0#0#0#0'IEND' + +#174'B`'#130 +]); +LazarusResources.Add('TSFONTNAMECOMBOBOX','PNG',[ + #137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#24#0#0#0#24#8#6#0#0#0#224'w='#248#0 + +#0#0#9'pHYs'#0#0#14#196#0#0#14#196#1#149'+'#14#27#0#0#0#7'tIME'#7#222#11#21 + +#22'5'#14#169#213'q0'#0#0#0#7'tEXtAuthor'#0#169#174#204'H'#0#0#0#10'tEXtCopy' + +'right'#0#172#15#204':'#0#0#0#14'tEXtCreation time'#0'5'#247#15#9#0#0#0#9'tE' + +'XtSoftware'#0']p'#255':'#0#0#0#11'tEXtDisclaimer'#0#183#192#180#143#0#0#0#8 + +'tEXtWarning'#0#192#27#230#135#0#0#0#7'tEXtSource'#0#245#255#131#235#0#0#0#8 + +'tEXtComment'#0#246#204#150#191#0#0#0#6'tEXtTitle'#0#168#238#210''''#0#0#2 + +#152'IDATH'#137#181#149']H'#147'Q'#24#199#127#239#187'1'#178#210#249'E)'#4'&' + +'QbA'#145#25#163'('#141#181#25'uc'#26'.X7yW'#164'7'#129'8'#171#171#186#25#236 + +'R'#168#139#2')'#208'@P'#9#250#244'c'#249#177#180'7Ls'#136'`'#16'S'#232#162 + +#136#185#209'E'#13#214'v'#186#152'{'#157#243#221#135'R'#127'x'#225#156#255'9' + +#231#249#157#243#156#231#229'HB'#8#254#167#244#0#14'G'#231'?'#163'8'#157#173 + +#210#6'@'#12're'#11#193#186#215#173#155#243'.'#224'pt'#138'D'#136'>q'#129#217 + +'\'#151'up'#183'{Pm'#23#23#23#19#137#10'FG'''#0#24#27#247#136#218#154'S'#210 + +#6'@'#226#162#205#168#189#189#3#163#209#168'9'#166#215't7'#161'9'#239#2'u' + +#231#206#167#28'W'#1'Ng'#183'j'#234't'#223#178#12'_'#194#171#151#179'ig'#232 + +'c'#193#215'.'#197#225#232#20#233'v'#148'I'#201'@'#205#20#29'9|0m'#144#130 + +#130#162'u'#253'@'#192#191'9@6J'#12#154'N'#242'V'#1#217'*'#229#9#242#147#210 + +#16'Wpu'#231#241'4e:'#137'&`fz'#22#134#134'1[-'#184#135#134'U'#223'l'#181#240 + +#238#189#7#128#145'U'#127'f:'#139'*'#202#164'8'#168#171#239'>wG'#234#169#232 + +#128#235'#'#22#132#128'p'#4#30#214#13'"K2-o-'#236#200#129#9#207'6t'#147'9b' + +#220#177'"e'#4#152#173#22#181']'#150'w'#0#0'{'#147'M'#245#186'zz'#145'%'#153 + +#27#238#216#188#154'C&'#0#250#21'e'#169#188'M2i'#2#170#170#143#170#237'`'#192 + +'O~A'#145#234#189#169#152#231#242#163'Z'#26'.'#158#5#160#217'n'#227#230'@'#19 + +#0#23#170'b'#193#151#150#13#0'{}.'#161'dUE'#193#132#139#220#149'[J'#240#151 + +#159#174#158'^'#213'kl'#176#18#10#175#205#15#132'~'#192'j'#250'S'#2#226'U' + +#164'UM'#179#183'SW'#206#11'e'#158#150#234'{'#248'\"'#146#22#16#12#248#213'O' + +'KO'#174#14#242#248'i'#159#218'o8q'#146#231#31'?q\'#182'S'#148'S'#162#250'R' + +#242#147#153#205#235'&'#136'2'#22'}'#192'w'#177#8#196#238#1' '#232#251#202 + +#192#212'$e'#133'y,'#175#252#4'4'#202#212#233'l'#149#198#198'=i!'#215'^'#159 + +'&'#20#129'F'#147#137'~EQ'#253#252#242'=0'#5#199#246'W'#178#226#245#18#254 + +#243'{'#227#9'2'#169#242#150'$B'#225'X'#240#184#250#21'%'#218'l'#183#169#233 + +#142#23#128#207'%2'#255#7#137'*o'#147'v'#235'e(5'#230#242'a'#241#179#234'o7' + +#24#228#222#190'g'#216'.'#213'''N?'#3#26'w'#144#5'd'#159#207'%'#190'$yF'#157 + +','#7'#'#209'('#0#6#157#142#194#157#185'L'#221#9'H'#127#1')'#220#241#163#169 + +'M'#10#243#0#0#0#0'IEND'#174'B`'#130 +]); +LazarusResources.Add('TSFONTSIZECOMBOBOX','PNG',[ + #137'PNG'#13#10#26#10#0#0#0#13'IHDR'#0#0#0#24#0#0#0#24#8#6#0#0#0#224'w='#248#0 + +#0#0#9'pHYs'#0#0#14#196#0#0#14#196#1#149'+'#14#27#0#0#0#7'tIME'#7#222#11#21 + +#22'5'#4'I'#0#152'.'#0#0#0#7'tEXtAuthor'#0#169#174#204'H'#0#0#0#10'tEXtCopyr' + +'ight'#0#172#15#204':'#0#0#0#14'tEXtCreation time'#0'5'#247#15#9#0#0#0#9'tEX' + +'tSoftware'#0']p'#255':'#0#0#0#11'tEXtDisclaimer'#0#183#192#180#143#0#0#0#8 + +'tEXtWarning'#0#192#27#230#135#0#0#0#7'tEXtSource'#0#245#255#131#235#0#0#0#8 + +'tEXtComment'#0#246#204#150#191#0#0#0#6'tEXtTitle'#0#168#238#210''''#0#0#2 + +#134'IDATH'#137#181#149'_HSQ'#28#199'?'#247'n'#140#172'lfR'#10'A'#147#168#176 + +#192#200#140'Q'#148#134#153'Q'#15#149#134#11#150#15#249#214#31#5#9#196#245 + +#231#169'^'#6'{'#244#161#135#2')'#166#129#224'$'#232#175#208#242#31#142#27 + +#165'9DP'#136'M'#232#161#8#183'!'#148#131#185#157#30#166#215'9'#239#254'I}' + +#159#206#249#158's'#190#159'{'#207#239#28#142'$'#132#224#127'J'#15'`'#179'u' + +#254'3'#138#221#222'*'#173#3#196'!'#215'6'#16#214#189'f'#221#164'w'#26#155 + +#173'S$B'#244#137#11'jj'#234#178#14'w'#187#7#212'vQQ'#17#209#152'`pp'#4#128 + +#161#225'QQ]uRZ'#7'H\'#148#139'::'#238'b4'#26'5'#199#244#154'n'#14#154#244'N' + +'Sw'#238'|'#202'q'#21'`'#183'w'#171#166'N'#247'#'#203#248'b'#222#190#153'H;C' + +#31#15'_-'#138#205#214')'#210'}Q&%'#3'5'#183#232'p'#249'ALM'#219'5'#3#252#206 + +' '#166#166#194#132'~ w@6J'#14'N'#165#140#0#191'3'#168#233#155#154#10#240';C' + +#25#1'rV'#159#161#9#206#28#14')'#254'`'#252#243#4'P'#3#176#166#22#174'67'#139 + +'K'#191#129#139#203's6'#8'H'#165#185#133'Y'#30'znQ\'#14'7?'#128#16#16#137#194 + +#147#186#1'dI'#166#229'c-['#242'`dt'#19#186#177'<1l'#11'H'#25#1#174'6wBo?'#0 + +#214'F'#139#234't'#245#244'"K2'#183#221#181#0'T'#29'2'#199#215')'#138#191#180 + +']2k'#2'**'#143'h'#182#1#222#31#152#226#234#211'j'#234'/'#159#1#160#217'j' + +#225'N'#127'#'#0#23'*'#226#225#254'9'#3#128#201#231#16'J'#206'E'#222#153'_B' + +#232#207'<]='#189#170#215'P'#127#150'pduN0'#252#11#150#183#127'C'#167'h'#226 + +#254'|'#202#177#215#202#20'-'#149#143#240'9D4-'#192#239#12#166#188#3#0#207 + +#175#15#240#236'E'#159#218#175'?~'#130'W_'#190'rL'#182#178'#'#175'X'#245#165 + +#228'''3'#155#215'M'#16'c('#246#152#159'b'#6#136#215#1' '#228#251'N'#191'g' + +#140'='#133#219#152#11','#0#26#199#212'no'#149#134#134'G'#211'Bn'#188';E8'#10 + +#13'f3.EQ'#253#130#210#221#224#129#163#251#202#8'x'#189'D'#150#22#215#255'A&' + +#149#221#147'D8'#18#15'_'#145'KQb'#205'V'#139#186#221'+'#7#192#231#16#153#239 + +'A'#162'J'#219#165']z'#25'J'#140#249'|'#154#153'U'#253#205#6#131#220#219#247 + +#18#203#149'K'#137#211'O'#131'F'#13#178#128#236#245'9'#196#183'$'#207#168#147 + +#229'P4'#22#3#192#160#211'Q'#184'5'#31#207#131#160#244#23'4'#20#230#207'F' + +#233#205'B'#0#0#0#0'IEND'#174'B`'#130 +]); diff --git a/components/fpspreadsheet/fpspreadsheetctrls.pas b/components/fpspreadsheet/fpspreadsheetctrls.pas index 928c99f19..95488487e 100644 --- a/components/fpspreadsheet/fpspreadsheetctrls.pas +++ b/components/fpspreadsheet/fpspreadsheetctrls.pas @@ -27,6 +27,7 @@ interface uses Classes, SysUtils, Controls, StdCtrls, ComCtrls, ValEdit, ActnList, + LResources, fpspreadsheet, {%H-}fpsAllFormats; type @@ -132,8 +133,9 @@ type property FileFormat: TsSpreadsheetFormat read FFileFormat write FFileFormat default sfExcel8; {@@ Name of the loaded spreadsheet file which is loaded by assigning a file name to this property. Format detection is determined by the properties - AutoDetectFormat and FileFormat. } - property FileName: TFileName read FFileName write SetFileName; // using this property loads the file at design-time! + AutoDetectFormat and FileFormat. Using this property loads the file at + design-time. } + property FileName: TFileName read FFileName write SetFileName; {@@ A set of options to be transferred to the workbook, for e.g. formula calculation etc. } property Options: TsWorkbookOptions read FOptions write SetOptions; @@ -239,6 +241,7 @@ type { TsCellCombobox } + {@@ TsCellCombobox is the ancestor of TsFontNameCombobox and TsFontSizeCombobox } TsCellCombobox = class(TCombobox) private FWorkbookSource: TsWorkbookSource; @@ -256,7 +259,9 @@ type destructor Destroy; override; procedure ListenerNotification(AChangedItems: TsNotificationItems; AData: Pointer = nil); + {@@ Refers to the underlying workbook } property Workbook: TsWorkbook read GetWorkbook; + {@@ Refers to the underlying worksheet containing the displayed cell } property Worksheet: TsWorksheet read GetWorksheet; published {@@ Link to the WorkbookSource which provides the workbook and worksheet. } @@ -266,6 +271,7 @@ type { TsCellFontCombobox } + {@@ TsCellFontCombobox is a combobox for selecting various font properties } TsCellFontCombobox = class(TsCellCombobox) protected function GetCellFont(ACell: PCell): TsFont; @@ -274,6 +280,7 @@ type {TsFontNameCombobox } + {@@ TsCellFontNameCombobox is for selection of a font name } TsFontNameCombobox = class(TsCellFontCombobox) protected procedure ApplyFormatToCell(ACell: PCell); override; @@ -286,6 +293,7 @@ type {TsFontSizeCombobox } + {@@ TsFontSizeCombobox is for selection of a font size } TsFontSizeCombobox = class(TsCellFontCombobox) protected procedure ApplyFormatToCell(ACell: PCell); override; @@ -1537,6 +1545,11 @@ end; { TsCellFontCombobox } {------------------------------------------------------------------------------} +{@@ ---------------------------------------------------------------------------- + Determines the font used by a specified cell. Returns the workbook's default + font if the cell does not exist. Considers the uffBold and uffFont formatting + fields of the cell +-------------------------------------------------------------------------------} function TsCellFontCombobox.GetCellFont(ACell: PCell): TsFont; begin if ACell = nil then @@ -1556,12 +1569,19 @@ end; { TsFontNameCombobox } {------------------------------------------------------------------------------} +{@@ ---------------------------------------------------------------------------- + Constructor of the FontNameCombobox. Predefines the width of the combobox + such that it is sufficient for most font names +-------------------------------------------------------------------------------} constructor TsFontNameCombobox.Create(AOwner: TComponent); begin inherited Create(AOwner); Width := 150; end; +{@@ ---------------------------------------------------------------------------- + Applies the font with the selected name to a specified cell. +-------------------------------------------------------------------------------} procedure TsFontNameCombobox.ApplyFormatToCell(ACell: PCell); var fnt: TsFont; @@ -1573,6 +1593,10 @@ begin end; end; +{@@ ---------------------------------------------------------------------------- + Extracts the font of the specified cell and selects its font name in the + combobox. +-------------------------------------------------------------------------------} procedure TsFontNameCombobox.ExtractFromCell(ACell: PCell); var fnt: TsFont; @@ -1582,6 +1606,10 @@ begin ItemIndex := Items.IndexOf(fnt.FontName); end; +{@@ ---------------------------------------------------------------------------- + Populates the combobox with the names of all fonts available on the current + system +-------------------------------------------------------------------------------} procedure TsFontNameCombobox.Populate; begin Items.Assign(Screen.Fonts); @@ -1592,12 +1620,19 @@ end; { TsFontSizeCombobox } {------------------------------------------------------------------------------} +{@@ ---------------------------------------------------------------------------- + Constructor of the FontSizeCombobox. Reduces the default width of the combobox + due to the narrow width of the font size numbers. +-------------------------------------------------------------------------------} constructor TsFontSizeCombobox.Create(AOwner: TComponent); begin inherited Create(AOwner); Width := 60; end; +{@@ ---------------------------------------------------------------------------- + Applies the font with the selected size to a specified cell. +-------------------------------------------------------------------------------} procedure TsFontSizeCombobox.ApplyFormatToCell(ACell: PCell); var fnt: TsFont; @@ -1611,6 +1646,10 @@ begin end; end; +{@@ ---------------------------------------------------------------------------- + Extracts the font of the specified cell and selects its font size in the + combobox. +-------------------------------------------------------------------------------} procedure TsFontSizeCombobox.ExtractFromCell(ACell: PCell); var fnt: TsFont; @@ -1620,6 +1659,9 @@ begin ItemIndex := Items.IndexOf(Format('%.0f', [fnt.Size])); end; +{@@ ---------------------------------------------------------------------------- + Populates the combobox with often-used font sizes (in points) +-------------------------------------------------------------------------------} procedure TsFontSizeCombobox.Populate; begin with Items do @@ -2035,4 +2077,8 @@ begin end; end; +initialization + +{$I fpspreadsheetctrls.lrs} + end. diff --git a/components/fpspreadsheet/images/components/TSCELLEDIT.png b/components/fpspreadsheet/images/components/TSCELLEDIT.png new file mode 100644 index 000000000..86e2de307 Binary files /dev/null and b/components/fpspreadsheet/images/components/TSCELLEDIT.png differ diff --git a/components/fpspreadsheet/images/components/TSCELLINDICATOR.png b/components/fpspreadsheet/images/components/TSCELLINDICATOR.png new file mode 100644 index 000000000..b0ffcd003 Binary files /dev/null and b/components/fpspreadsheet/images/components/TSCELLINDICATOR.png differ diff --git a/components/fpspreadsheet/images/components/TSFONTNAMECOMBOBOX.png b/components/fpspreadsheet/images/components/TSFONTNAMECOMBOBOX.png new file mode 100644 index 000000000..1f346cf7a Binary files /dev/null and b/components/fpspreadsheet/images/components/TSFONTNAMECOMBOBOX.png differ diff --git a/components/fpspreadsheet/images/components/TSFONTSIZECOMBOBOX.png b/components/fpspreadsheet/images/components/TSFONTSIZECOMBOBOX.png new file mode 100644 index 000000000..9b6fd3ca8 Binary files /dev/null and b/components/fpspreadsheet/images/components/TSFONTSIZECOMBOBOX.png differ diff --git a/components/fpspreadsheet/images/components/TSSPREADSHEETINSPECTOR.png b/components/fpspreadsheet/images/components/TSSPREADSHEETINSPECTOR.png new file mode 100644 index 000000000..cd89c3722 Binary files /dev/null and b/components/fpspreadsheet/images/components/TSSPREADSHEETINSPECTOR.png differ diff --git a/components/fpspreadsheet/images/components/TSWORKBOOKSOURCE.png b/components/fpspreadsheet/images/components/TSWORKBOOKSOURCE.png new file mode 100644 index 000000000..ac2c32cdb Binary files /dev/null and b/components/fpspreadsheet/images/components/TSWORKBOOKSOURCE.png differ diff --git a/components/fpspreadsheet/images/components/TSWORKBOOKTABCONTROL.png b/components/fpspreadsheet/images/components/TSWORKBOOKTABCONTROL.png new file mode 100644 index 000000000..8af7aea93 Binary files /dev/null and b/components/fpspreadsheet/images/components/TSWORKBOOKTABCONTROL.png differ diff --git a/components/fpspreadsheet/images/components/TSWORKSHEETGRID.png b/components/fpspreadsheet/images/components/TSWORKSHEETGRID.png new file mode 100644 index 000000000..766d2c06e Binary files /dev/null and b/components/fpspreadsheet/images/components/TSWORKSHEETGRID.png differ diff --git a/components/fpspreadsheet/images/components/fpspreadsheetctrls.Spp b/components/fpspreadsheet/images/components/fpspreadsheetctrls.Spp new file mode 100644 index 000000000..15eb1d3ab Binary files /dev/null and b/components/fpspreadsheet/images/components/fpspreadsheetctrls.Spp differ