|
@@ -456,7 +456,7 @@ end;
|
|
|
|
|
|
procedure TReportsForm.xlbPrintCurPageClick(Sender: TObject);
|
|
procedure TReportsForm.xlbPrintCurPageClick(Sender: TObject);
|
|
begin
|
|
begin
|
|
- if _IsEncrypt then
|
|
|
|
|
|
+ if _IsEncrypt or G_IsCloud then
|
|
PreviewComXML.Print(CurPage, 1)
|
|
PreviewComXML.Print(CurPage, 1)
|
|
else
|
|
else
|
|
TipMessage(GetHintStr);
|
|
TipMessage(GetHintStr);
|
|
@@ -473,7 +473,7 @@ end;
|
|
|
|
|
|
procedure TReportsForm.xlbPrintClick(Sender: TObject);
|
|
procedure TReportsForm.xlbPrintClick(Sender: TObject);
|
|
begin
|
|
begin
|
|
- if _IsEncrypt then
|
|
|
|
|
|
+ if _IsEncrypt or G_IsCloud then
|
|
begin
|
|
begin
|
|
if extvReport.LeafCheckedCount > 0 then
|
|
if extvReport.LeafCheckedCount > 0 then
|
|
PrintAllSelectedReports
|
|
PrintAllSelectedReports
|
|
@@ -504,7 +504,7 @@ end;
|
|
|
|
|
|
procedure TReportsForm.xlbToPDFClick(Sender: TObject);
|
|
procedure TReportsForm.xlbToPDFClick(Sender: TObject);
|
|
begin
|
|
begin
|
|
- if _IsEncrypt then
|
|
|
|
|
|
+ if _IsEncrypt or G_IsCloud then
|
|
begin
|
|
begin
|
|
if extvReport.LeafCheckedCount > 0 then
|
|
if extvReport.LeafCheckedCount > 0 then
|
|
ExportAllSelectedPDFReports
|
|
ExportAllSelectedPDFReports
|
|
@@ -534,7 +534,7 @@ end;
|
|
|
|
|
|
procedure TReportsForm.xlbToExcelClick(Sender: TObject);
|
|
procedure TReportsForm.xlbToExcelClick(Sender: TObject);
|
|
begin
|
|
begin
|
|
- if _IsEncrypt then
|
|
|
|
|
|
+ if _IsEncrypt or G_IsCloud then
|
|
begin
|
|
begin
|
|
if extvReport.LeafCheckedCount > 0 then
|
|
if extvReport.LeafCheckedCount > 0 then
|
|
ExportAllSelectedXlsReports
|
|
ExportAllSelectedXlsReports
|