docxtractr icon indicating copy to clipboard operation
docxtractr copied to clipboard

input issue

Open zbq-2019 opened this issue 1 year ago • 2 comments

Hello, everyone, when I used the function docx_extract_all_tbls() to extract data from one docx file that outputted from SAS, there was an issue which showed that "Error: Must pass in a 'docx' object" .
Then I checked the function read_docx(), the new item was coming as follows: rdocx document with 3063 element(s)

  • styles: Normal Default Paragraph Font Normal Table No List toc 1 Hyperlink header "paragraph" "character" "table" "numbering" "paragraph" "character" "paragraph" 页眉 字符 footer 页脚 字符 "character" "paragraph" "character"

  • Content at cursor location: level num_id text style_name content_type 1 NA NA NA paragraph

    I think the question in the step of read_docx() but I don't how to solve this problem. would somebody get me hint?

Thanks

zbq-2019 avatar Dec 25 '23 04:12 zbq-2019

thx for finding and reporting a potential bug!

if at all possible, i'd need a sample document. Circumstances like this are almost un-debuggable w/o that.

hrbrmstr avatar Dec 25 '23 10:12 hrbrmstr

Hello,      The supplement is an example word file in which only two tables are kept while the others are deleted due to privacy.  The same issue came when I changed another computer to run the function of the package.       I don't know this problem is whether the version or other causes. Last year I uses the package to extract tables in word file without any problems.

Expect your reply

------------------ 原始邮件 ------------------ 发件人: "hrbrmstr/docxtractr" @.>; 发送时间: 2023年12月25日(星期一) 晚上6:52 @.>; @.@.@.***>; 主题: Re: [hrbrmstr/docxtractr] input issue (Issue #37)

thx for finding and reporting a potential bug!

if at all possible, i'd need a sample document. Circumstances like this are almost un-debuggable w/o that.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

zbq-2019 avatar Dec 26 '23 00:12 zbq-2019