Home
last modified time | relevance | path

Searched refs:PrintPreviewAttribute (Results 1 – 9 of 9) sorted by relevance

/base/print/print_fwk/frameworks/innerkitsimpl/src/
Dprint_preview_attribute.cpp22 PrintPreviewAttribute::PrintPreviewAttribute() : hasResult_(false), result_(PRINT_INVALID_ID) { in PrintPreviewAttribute() function in OHOS::Print::PrintPreviewAttribute
25 PrintPreviewAttribute::PrintPreviewAttribute(const PrintPreviewAttribute &right) in PrintPreviewAttribute() function in OHOS::Print::PrintPreviewAttribute
32 PrintPreviewAttribute &PrintPreviewAttribute::operator=(const PrintPreviewAttribute &right) in operator =()
42 PrintPreviewAttribute::~PrintPreviewAttribute() in ~PrintPreviewAttribute()
46 void PrintPreviewAttribute::Reset() in Reset()
53 void PrintPreviewAttribute::SetResult(uint32_t result) in SetResult()
59 void PrintPreviewAttribute::SetPreviewRange(const PrintRange &previewRange) in SetPreviewRange()
64 bool PrintPreviewAttribute::HasResult() const in HasResult()
69 uint32_t PrintPreviewAttribute::GetResult() const in GetResult()
74 void PrintPreviewAttribute::GetPreviewRange(PrintRange &previewRange) const in GetPreviewRange()
[all …]
Dprint_job.cpp170 void PrintJob::SetPreview(const PrintPreviewAttribute &preview) in SetPreview()
273 void PrintJob::GetPreview(PrintPreviewAttribute &previewAttr) const in GetPreview()
331 auto previewPtr = PrintPreviewAttribute::Unmarshalling(parcel); in ReadFromParcel()
/base/print/print_fwk/frameworks/innerkitsimpl/include/
Dprint_preview_attribute.h22 class PrintPreviewAttribute final : public Parcelable {
24 explicit PrintPreviewAttribute();
26 PrintPreviewAttribute(const PrintPreviewAttribute &right);
28 PrintPreviewAttribute &operator=(const PrintPreviewAttribute &PrintPreviewAttribute);
30 virtual ~PrintPreviewAttribute();
46 static std::shared_ptr<PrintPreviewAttribute> Unmarshalling(Parcel &parcel);
Dprint_job.h69 void SetPreview(const PrintPreviewAttribute &preview);
103 void GetPreview(PrintPreviewAttribute &previewAttr) const;
137 PrintPreviewAttribute preview_;
/base/print/print_fwk/test/unittest/fwk_inner_napi_test/
Dprint_preview_attribute_test.cpp50 OHOS::Print::PrintPreviewAttribute attribute;
62 OHOS::Print::PrintPreviewAttribute attribute;
75 OHOS::Print::PrintPreviewAttribute attribute;
88 OHOS::Print::PrintPreviewAttribute attribute;
105 OHOS::Print::PrintPreviewAttribute attribute;
120 OHOS::Print::PrintPreviewAttribute attribute;
136 OHOS::Print::PrintPreviewAttribute attribute;
141 auto result = OHOS::Print::PrintPreviewAttribute::Unmarshalling(parcel);
Dprint_job_test.cpp65 OHOS::Print::PrintPreviewAttribute attr;
368 OHOS::Print::PrintPreviewAttribute attr, getAttr;
419 OHOS::Print::PrintPreviewAttribute attr;
/base/print/print_fwk/frameworks/helper/include/
Dprint_preview_attribute_helper.h25 static napi_value MakeJsObject(napi_env env, const PrintPreviewAttribute &preview);
26 static std::shared_ptr<PrintPreviewAttribute> BuildFromJs(napi_env env, napi_value jsValue);
/base/print/print_fwk/frameworks/helper/src/
Dprint_preview_attribute_helper.cpp26 napi_value PrintPreviewAttributeHelper::MakeJsObject(napi_env env, const PrintPreviewAttribute &pre… in MakeJsObject()
42 std::shared_ptr<PrintPreviewAttribute> PrintPreviewAttributeHelper::BuildFromJs(napi_env env, napi_… in BuildFromJs()
44 auto nativeObj = std::make_shared<PrintPreviewAttribute>(); in BuildFromJs()
Dprint_job_helper.cpp245 PrintPreviewAttribute preview; in CreatePreview()