| Summary: | Add support for "TK" keyword for content writing | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | L Duperval <services> |
| Component: | Writer | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | enhancement | CC: | libreoffice-ux-advise, rb.henschel, services, telesto |
| Priority: | medium | Keywords: | needsUXEval |
| Version: | 6.4.3.2 release | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
| Attachments: |
Example implementation from Mediium
Macro to insert image page margin |
||
|
Description
L Duperval
2020-08-04 11:38:18 UTC
Created attachment 163931 [details]
Example implementation from Mediium
https://en.wikipedia.org/wiki/To_come_(publishing) In other words a "// TODO: foo" comment. Sounds like a legacy convention to me worth to look for alternatives. Or am I wrong? You could say it's like a TODO but I see it more like a change marker. When you review changes, anything that's been modified is highlighted in the margin, so it catches your eye as you are skimming. I'm looking for something similar for this feature. The keyword could be configurable (TK, TBD, TODO, for example). I dislike the idea to parse the text. TK (and any other text) can be inserted with a different context (https://www.urbandictionary.com/define.php?term=TK). How about a dedicated command that set's the flag for a paragraph instead? And to integrate it with existing features we could show it like comments, maybe with another shape. Created attachment 164008 [details]
Macro to insert image page margin
I think, that such markers can be made with an image in the page margin. Such can be done with a macro and the macro can be bound to an icon or shortcut. Such can be provided by an extension.
The attachment contains a principle macro for such task. To test it, put a small image with filename 'warning.png' into your user folder where the file 'registrymodifications.xcu' is located. You can make an empty module in the Basic IDE and then import the attached macro into it.
(In reply to Regina Henschel from comment #5) > Macro to insert image page margin Nice solution, could be finalized and submitted to the extension site. Not responding to a keyword though. Should we resolve as WF, L., and realize the feature per extension? Hi, I've been dealing with a lot of unexpected situations so I haven't tried it yet. I promise to look at this today and let you know. I took a look and I made it work. Something to improve is to make it a character anchor. That way, if I add more information in the paragraph, the image moves with the text too. I will probably need to fiddle with the code a bit on my end, but it does the trick. I found how to make it a character (easy enough) but I didn't try to make it fit in the margin correctly. Thanks! (In reply to L Duperval from comment #8) > I took a look and I made it work. Please consider to share at https://extensions.libreoffice.org/ when done. Resolving the request as WFM. |