GithubHelp home page GithubHelp logo

Comments (7)

ShockwaveNN avatar ShockwaveNN commented on August 15, 2024

@flaminestone take a look please

from sdkjs-plugins.

flaminestone avatar flaminestone commented on August 15, 2024

Hi @anirudhvarma12. There are no public methods for getting paragraph ids at now. I recommendet to use content controls for work with paragraphs/runs.

from sdkjs-plugins.

anirudhvarma12 avatar anirudhvarma12 commented on August 15, 2024

The problem with using content controls would be that they are visible to the user, we wanted something that is not visible to the user and can be used to track content. Any recommendations for that? Can we have an invisible content control?

from sdkjs-plugins.

flaminestone avatar flaminestone commented on August 15, 2024

No, content controls can not be invisible. I need some examples for understanding) Can you give more details?

from sdkjs-plugins.

anirudhvarma12 avatar anirudhvarma12 commented on August 15, 2024

We have some internal tools which require us to be able to track paragraph id. If you can give some pointers, I can open an MR also to add this functionality to the sdk.

from sdkjs-plugins.

KirillovIlya avatar KirillovIlya commented on August 15, 2024

First of all, you can hide the track around the content control.

  1. Content Control Settings
  2. Appearance
  3. Show as "None"

Tell me pls, which paragraph id we are replacing? I mean which subnode or attribute of a <w:p> we are replacing.
In fact, we have our internal id's for paragraphs, but we do not replace anything with them.

from sdkjs-plugins.

anirudhvarma12 avatar anirudhvarma12 commented on August 15, 2024

I was talking about the para:id https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.wordprocessing.paragraph.paragraphid?view=openxml-2.8.1#DocumentFormat_OpenXml_Wordprocessing_Paragraph_ParagraphId.

Is there any way to read this property from a paragraph?

from sdkjs-plugins.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.