Home
last modified time | relevance | path

Searched refs:previewParam (Results 1 – 2 of 2) sorted by relevance

/ide/tools/previewer/cli/
DCommandLine.cpp600 Json::Value previewParam = args["previewParam"]; in IsSetArgValid() local
601 …if (!previewParam["width"].isInt() || !previewParam["height"].isInt() || !previewParam["dpi"].isIn… in IsSetArgValid()
602 !previewParam["locale"].isString() || !previewParam["colorMode"].isString() || in IsSetArgValid()
603 !previewParam["orientation"].isString() || !previewParam["deviceType"].isString()) { in IsSetArgValid()
606 if (!IsIntValValid(previewParam) || !IsStrValVailid(previewParam)) { in IsSetArgValid()
612 bool LoadDocumentCommand::IsIntValValid(const Json::Value& previewParam) const in IsIntValValid()
614 int width = previewParam["width"].asInt(); in IsIntValValid()
615 int height = previewParam["height"].asInt(); in IsIntValValid()
616 int dpi = previewParam["dpi"].asInt(); in IsIntValValid()
624 bool LoadDocumentCommand::IsStrValVailid(const Json::Value& previewParam) const in IsStrValVailid()
[all …]
DCommandLine.h268 bool IsIntValValid(const Json::Value& previewParam) const;
269 bool IsStrValVailid(const Json::Value& previewParam) const;