Comments (7)
I think wrapping it in the content control is sufficient.
from markdown-transform.
@K-Kumar-01 does #432 close this Issue, or is this separate?
from markdown-transform.
@irmerk This is a bit different, there wasn't a firm discussion on styling so I went with the basic one there which Dan approved at the time since we were focused on conversion. This needs some discussion on how we want it to look.
from markdown-transform.
Pinging @Michael-Grover on this.
from markdown-transform.
Hi @K-Kumar-01 , I'm having a bit of trouble understanding this issue, partially because I can't run this locally to see if for myself. Please excuse my many questions:
What does "wrapping it in the content control" mean? Can a Microsoft Word user see what content is wrapped in the content control versus what is not?
I'm not familiar with the styling constraints on a Microsoft Word plugin. What are some options we have for visually distinguishing a clause from the content around it?
My understanding is that the inside of this red box I drew is the clause. Is that correct? What is the grey box, and why does it wrap content that is not part of the clause? As a user I would expect the clause to have something like the gray box wrapped around it.
from markdown-transform.
@Michael-Grover
Apologies for the late reply.
What does "wrapping it in the content control" mean? Can a Microsoft Word user see what content is wrapped in the content control versus what is not?
Yes a user can see if text is wrapped in content control or not. A border appears around the content wrapped when hovered as shown above.
I'm not familiar with the styling constraints on a Microsoft Word plugin. What are some options we have for visually distinguishing a clause from the content around it?
Not too sure myself. From what I have worked upon, one can try few of the following:
coloring the text, highlighting the text, changing the font, changing the size.
Although these are not good ones as size changes need to be specific. If a user will change the size, then we won't be able to say that it will still lie in a clause. Same for the other things.
My understanding is that the inside of this red box I drew is the clause. Is that correct? What is the grey box, and why does it wrap content that is not part of the clause? As a user I would expect the clause to have something like the gray box wrapped around it.
The gray part is the template area.It was implemented by @algomaster99 in his GSoC period. Later, I, @dselman, and @algomaster99 decided to wrap only the clause. But on thinking deeply, there was a problem which I found. That was how to determine which templates are already inserted and bind things.
Explanation: Suppose a template contains 2 clauses. Then we need to wrap both clauses along with content controls.
Also, there shouldn't be more than one template of the same kind. This is only possible via an id if given to the template which we do as of now. If only the clause is wrapped, then some ids need to be given to each clause which is associated with the template and on reopening further processing so that content controls are properly matched.
from markdown-transform.
@K-Kumar-01 I would suggest looking into popular Word plugins that also differentiate a block of text from the whole document, and see some ways they achieve this. I don't think we should necessarily use styling such as font and size to differentiate clause text, because the author of the document may want their contract to look visually consistent.
from markdown-transform.
Related Issues (20)
- Template Signature in `ciceromark_parsed` HOT 5
- Removal Container Content Control HOT 1
- Update of js-dom dependency from 15.2.1 to 16.4.0 HOT 1
- pdf transform: bold and italics do not work HOT 1
- Refactor the transfomer(OOXML<->CiceroMark)
- Unicode fonts for pdf transform HOT 4
- Pdf Transform: Generation for nested lists without initial paragraph is broken
- Pdf transform: link with formatting do not get properly translated
- `markus --help` leads to `Cannot find module 'mkdirp'` on fresh install on mac HOT 2
- Whitespace are wrongly decoded when transforming pdf to html HOT 4
- Characters `ti` replaced by `(` in pdf HOT 1
- Pdf file transform in markdown leads to almost empty file HOT 3
- Cannot load markdown-html in react-native project
- TemplateMark Dingus does not load markdown transforms
- Rename CiceroMark to AgreementMark HOT 3
- Remove the Dingus
- Update all Concerto main repo dependencies to latest version
- HTML Transform: Erronous HTML Table Parsing HOT 1
- Remove dependency on 'util' node package
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from markdown-transform.