static int ooxml_extn_cb(int fd, cli_ctx *ctx) { int ret; cli_dbgmsg("in ooxml_extn_cb\n"); ret = ooxml_parse_document(fd, ctx); if (ret == CL_EPARSE) cli_json_parse_error(ctx->wrkproperty, "OOXML_ERROR_EXTN_XMLPARSER"); else if (ret == CL_EFORMAT) cli_json_parse_error(ctx->wrkproperty, "OOXML_ERROR_EXTN_MALFORMED"); return ret; }
static int ooxml_extn_cb(int fd, cli_ctx *ctx) { cli_dbgmsg("in ooxml_extn_cb\n"); return ooxml_parse_document(fd, ctx); //return ooxml_basic_json(fd, ctx, "ExtendedProperties"); }
static int ooxml_core_cb(int fd, cli_ctx *ctx) { cli_dbgmsg("in ooxml_core_cb\n"); return ooxml_parse_document(fd, ctx); //return ooxml_basic_json(fd, ctx, "CoreProperties"); }