-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Office JS API: searchResults not returning results for tables having shape format applied to it. #4943
Comments
@wangyun-microsoft - Can you please look into this? |
Hi @GajananVadekar , thank you for reporting this issue, I can reproduce this issue on win32 application. It has been put on our backlog #9414799, product team will follow up and we will reply to you as soon as there is progress. |
Hi @qinliuMSFT , |
@GajananVadekar, sorry for the late response. Our experts did some investigations and found that this is a by-design behavior now. So that your case is a DCR actually. We recommend you to submit your request on https://techcommunity.microsoft.com/category/microsoft365/ideas/microsoft365developerplatform. Our PMs would review this part and convert requests with high votes into our real ADOs. |
This issue has been automatically marked as stale because it is marked as needing author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. Thank you for your interest in Office Add-ins! |
This issue has been closed due to inactivity. Please comment if you still need assistance and we'll re-open the issue. |
Platform : PC desktop
Host: Word
Office version number: Microsoft® Word for Microsoft 365 MSO (Version 2404 Build 16.0.17531.20140) 64-bit
Operating System: Microsoft Windows 11 pro.
Hi team,
I am encountering an issue when using the Office JavaScript API to search for specific patterns inside a Word document, specifically within tables that are in a shape format. The search works fine for regular tables, but does not return results for tables embedded in a shape.
I am attempting to search for numeric patterns (e.g., [0-9.,]{1,}) throughout the document, including inside tables.
While this code successfully returns results for regular tables, it does not work for tables that are embedded within shapes.
Are there any specific properties, methods, or techniques that should be used to handle this scenario?
Expected Behavior:
The searchResults should return matches for numeric patterns within both regular tables and tables inside shapes.
Actual Behavior:
The searchResults return no matches for content inside tables embedded in a shape, even though numeric patterns are present in those tables.
Additional Information:
I have attached the Word document containing the specific table in shape format where the issue occurs for further investigation.
TestDocument.docx
The text was updated successfully, but these errors were encountered: