/base/print/print_fwk/interfaces/kits/jskits/ |
D | @ohos.PrintExtensionAbility.d.ts | 94 onStartPrintJob(jobInfo: print.PrintJob): void; 105 onCancelPrintJob(jobInfo: print.PrintJob): void; 127 onRequestPreview(jobInfo: print.PrintJob): string;
|
D | @ohos.print.d.ts | 304 function startPrintJob(jobInfo: PrintJob, callback: AsyncCallback<boolean>): void; 305 function startPrintJob(jobInfo: PrintJob): Promise<boolean>; 330 function requestPrintPreview(jobInfo: PrintJob, callback: (result: number) => void): void; 331 function requestPrintPreview(jobInfo: PrintJob): Promise<number>;
|
/base/print/print_fwk/frameworks/innerkitsimpl/src/ |
D | print_job.cpp | 176 void PrintJob::UpdateParams(const PrintJob &jobInfo) in UpdateParams() argument 179 fdList_.assign(jobInfo.fdList_.begin(), jobInfo.fdList_.end()); in UpdateParams() 181 jobId_ = jobInfo.jobId_; in UpdateParams() 182 printerId_ = jobInfo.printerId_; in UpdateParams() 183 copyNumber_ = jobInfo.copyNumber_; in UpdateParams() 184 pageRange_ = jobInfo.pageRange_; in UpdateParams() 185 isSequential_ = jobInfo.isSequential_; in UpdateParams() 186 pageSize_ = jobInfo.pageSize_; in UpdateParams() 187 isLandscape_ = jobInfo.isLandscape_; in UpdateParams() 188 colorMode_ = jobInfo.colorMode_; in UpdateParams() [all …]
|
/base/print/print_fwk/interfaces/kits/jsnapi/extension/ |
D | print_extension.js | 37 onStartPrintJob(jobInfo) { argument 41 onCancelPrintJob(jobInfo) { argument 49 onRequestPreview(jobInfo) { argument
|
/base/print/print_fwk/services/src/ |
D | print_service_ability.cpp | 620 int32_t PrintServiceAbility::StartPrintJob(const PrintJob &jobInfo) in StartPrintJob() argument 629 auto jobId = jobInfo.GetJobId(); in StartPrintJob() 630 auto printerId = jobInfo.GetPrinterId(); in StartPrintJob() 647 printJob->UpdateParams(jobInfo); in StartPrintJob() 652 PrintCupsClient::GetInstance()->AddCupsPrintJob(jobInfo); in StartPrintJob() 979 void PrintServiceAbility::ReportHisysEvent(const std::shared_ptr<PrintJob> &jobInfo, in ReportHisysEvent() argument 994 jobInfo->GetFdList(fdList); in ReportHisysEvent() 1002 msg["COPIES_SETTING"] = jobInfo->GetCopyNumber(); in ReportHisysEvent() 1003 std::string option = jobInfo->GetOption(); in ReportHisysEvent() 1017 msg["PRINT_STYLE_SETTING"] = jobInfo->GetDuplexMode(); in ReportHisysEvent() [all …]
|
D | print_cups_client.cpp | 211 void PrintCupsClient::AddCupsPrintJob(const PrintJob &jobInfo) in AddCupsPrintJob() argument 213 JobParameters *jobParams = BuildJobParameters(jobInfo); in AddCupsPrintJob() 602 JobParameters* PrintCupsClient::BuildJobParameters(const PrintJob &jobInfo) in BuildJobParameters() argument 605 if (!jobInfo.HasOption()) { in BuildJobParameters() 609 std::string option = jobInfo.GetOption(); in BuildJobParameters() 622 jobInfo.GetFdList(params->fdList); in BuildJobParameters() 623 params->serviceJobId = jobInfo.GetJobId(); in BuildJobParameters() 624 params->numCopies = jobInfo.GetCopyNumber(); in BuildJobParameters() 625 params->duplex = GetDulpexString(jobInfo.GetDuplexMode()); in BuildJobParameters() 627 params->mediaSize = GetMedieSize(jobInfo); in BuildJobParameters() [all …]
|
/base/print/print_fwk/test/unittest/fwk_inner_napi_test/ |
D | print_job_test.cpp | 402 PrintJob job, jobInfo; variable 417 PrintJob job, jobInfo; variable 428 jobInfo.Unmarshalling(parcel); 429 EXPECT_EQ(jobInfo.GetIsSequential(), false);
|
/base/print/print_fwk/interfaces/kits/napi/include/ |
D | print_callback.h | 33 PrintJob jobInfo; member
|
/base/print/print_fwk/services/include/ |
D | print_cups_client.h | 130 JobParameters* BuildJobParameters(const PrintJob &jobInfo); 132 std::string GetMedieSize(const PrintJob &jobInfo);
|
D | print_service_ability.h | 94 void SendPrintJobEvent(const PrintJob &jobInfo); 103 …void ReportHisysEvent(const std::shared_ptr<PrintJob> &jobInfo, const std::string &printerId, uint… 105 void CheckJobQueueBlocked(const PrintJob &jobInfo);
|
/base/print/print_fwk/frameworks/innerkitsimpl/include/ |
D | print_job.h | 71 void UpdateParams(const PrintJob& jobInfo);
|
D | iprint_service.h | 44 virtual int32_t StartPrintJob(const PrintJob &jobInfo) = 0;
|
/base/print/print_fwk/interfaces/kits/napi/src/ |
D | print_callback.cpp | 122 callbackValues[1] = PrintJobHelper::MakeJsObject(cbParam->env, cbParam->jobInfo); in PrintJobAfterCallFun() 221 param->jobInfo = info; in OnCallback()
|
/base/print/print_fwk/test/unittest/service_test/mock/ |
D | mock_print_service.h | 60 int32_t StartPrintJob(const PrintJob &jobInfo) override in StartPrintJob() argument
|