|
超级报表多SHEET控件1.1版本正式推出(2005-10-31)。
新增在插入新的SHEET之前会触发的事件BeforeInsertSheet。
新增在插入新的SHEET之后会触发的事件AfterInsertSheet。
新增从WEB上读入多SHEET报表文件的方法ReadHttpMutiSheetFile。
新增超级报表控件的方法,下面方法的帮助请参考“超级报表SDK开发应用帮助”:
boolean SetCellContentModified(short nSheetIndex,
long nStartRow,long nStartCol,long nEndRow,long nEndCol,boolean
bModified);
boolean IsCellContentModified(short nSheetIndex, long
nRow,long nCol);
BSTR SaveContentModifiedAsString(short nSheetIndex);
boolean ImportUserStringValue(short nSheetIndex, BSTR
szFileName);
boolean ReadHttpUserStringValue(short nSheetIndex,
BSTR szURL);
boolean SaveFileAsXMS(short nSheetIndex, BSTR szFileName,short
nFlag);
boolean SaveFileAsXML1(short nSheetIndex, BSTR szFileName);
long GetCellNameRow(short nSheetIndex, BSTR szCellName);
long GetCellNameCol(short nSheetIndex, BSTR szCellName);
long GetStartRow(short nSheetIndex);
long GetStartCol(short nSheetIndex);
boolean SetCellCheckBoxValue(short nSheetIndex, long
Row, long Col,boolean bChecked);
boolean ReadHttpUserFunctions(short nSheetIndex, BSTR
szURL);
BSTR GetCollectionFieldValue(short nSheetIndex, BSTR
szCollectionName,BSTR szFieldName,long nRecRow);
boolean IsRowHide(short nSheetIndex, long nRow);
boolean IsColHide(short nSheetIndex, long nCol);
BSTR GetCellComboSelectedValue(short nSheetIndex,
long nRow, long nCol);
boolean ClosePrintPreviewWindow(short nSheetIndex);
boolean SetSelectRegion(short nSheetIndex, long StartRow,
long StartCol, long EndRow, long EndCol);
boolean RestoreAfterCalculate(short nSheetIndex);
BSTR GetCellsValue(short nSheetIndex, long nStartRow,long
nStartCol,long nEndRow,long nEndCol,boolean bOutputFormulaValue,boolean
bGetShowValue);
boolean ImportExtendTextFile(short nSheetIndex, BSTR
szFileName, BSTR szSeparator, long StartRow, long
StartCol,boolean bInsertRows);
boolean ReadHttpExtendTextFile(short nSheetIndex,
BSTR szURL, BSTR szSeparator, long StartRow, long
StartCol,boolean bInsertRows);
void SetAbsoluteURLPreFix(short nSheetIndex, BSTR
szURLPreFix);
BSTR GetAbsoluteURLPreFix(short nSheetIndex);
void DeleteUserFunctions(short nSheetIndex);
short GetCellDigitPoint(short nSheetIndex, long nRow,long
nCol);
long CreateDrawObject(short nSheetIndex, short nObjectType,long
nStartRow, long nStartCol, long nEndRow, long nEndCol);
long CreateDrawObject1(short nSheetIndex, short nObjectType,long
left, long top, long right, long bottom);
boolean DeleteObject(short nSheetIndex, long lObjectHandle);
boolean SetObjectLineColor1(short nSheetIndex, long
lObjectHandle,long lColor);
boolean SetObjectFillColor1(short nSheetIndex, long
lObjectHandle,long lColor);
boolean SetObjectIsFillColor(short nSheetIndex, long
lObjectHandle,boolean bFillColor);
boolean SetObjectHasBorder(short nSheetIndex, long
lObjectHandle,boolean bBorder);
boolean SetObjectText(short nSheetIndex, long lObjectHandle,BSTR
strText);
boolean SetObjectTextColor(short nSheetIndex, long
lObjectHandle,long lTextColor);
boolean SetObjectTextHorzTextAlign(short nSheetIndex,
long lObjectHandle,short nTextAlign);
boolean SetObjectTextVertTextAlign(short nSheetIndex,
long lObjectHandle,short nTextAlign);
short AddParameter(short nSheetIndex, BSTR szParamName,BSTR
szParamValue);
boolean ModifyParameter(short nSheetIndex, BSTR szParamName,BSTR
szParamValue);
boolean DeleteParameter(short nSheetIndex, BSTR szParamName);
boolean DeleteAllParameters(short nSheetIndex);
short GetParameterCount(short nSheetIndex);
BSTR GetParameterName(short nSheetIndex, short nIndex);
BSTR GetParameterValue(short nSheetIndex, short nIndex);
boolean ReplaceFunctionParameter(short nSheetIndex);
void SetSaveImageFileBitCount(short nSheetIndex, short
nBitCount);
boolean AppendUserFunctions(short nSheetIndex, BSTR
szFileName);
boolean ReadHttpAppendUserFunctions(short nSheetIndex,
BSTR szURL);
boolean SetChartYAxisGridLines(short nSheetIndex,
long lObjectHandle,boolean hasGridLines);
boolean SetChartGraphAlignment(short nSheetIndex,
long lObjectHandle,boolean bVerticalAlign);
boolean SetChartShowLegend(short nSheetIndex, long
lObjectHandle,boolean bShowLegend);
boolean SetChartHorzAxisTextAlignment(short nSheetIndex,
long lObjectHandle,short nTextAlign);
boolean SetChartObjectType(short nSheetIndex, long
lObjectHandle,short nChartType);
boolean SetChartObjectXAxisLabel(short nSheetIndex,
long lObjectHandle,BSTR strXAxisLabel);
boolean SetChartObjectYAxisLabel(short nSheetIndex,
long lObjectHandle,BSTR strYAxisLabel);
boolean SetChartObjectTitle(short nSheetIndex, long
lObjectHandle,BSTR strChartTitle);
boolean SetChartObjectDataArea1(short nSheetIndex,
long lObjectHandle,BSTR szDataArea);
boolean SetChartObjectDataArea(short nSheetIndex,
long lObjectHandle,long nStartRow, long nStartCol,
long nEndRow, long nEndCol);
boolean SetChartObjectXLabelDataArea(short nSheetIndex,
long lObjectHandle,BSTR szDataArea);
boolean SetChartObjectLegendDataArea(short nSheetIndex,
long lObjectHandle,BSTR szDataArea);
boolean SetChartObjectSeriesDirection(short nSheetIndex,
long lObjectHandle,short nSeriesDirection);
long GetChartObjectHandle(short nSheetIndex, short
nIndex);
long GetObjectHandle(short nSheetIndex, short nIndex);
short GetFileType(BSTR lpszPathName);
新增超级报表控件的事件,下面方法的帮助请参考“超级报表SDK开发应用帮助”:
void DoHScroll(short nSheetIndex);
void DoVScroll(short nSheetIndex);
void ChangeRowHeight(short nSheetIndex);
void ChangeColWidth(short nSheetIndex);
void BeforePrintPreview(short nSheetIndex);
void AfterPrintPreview(short nSheetIndex);
void BeforePrint(short nSheetIndex);
void AfterPrint(short nSheetIndex);
|