Sparx Systems Forum
Enterprise Architect => Bugs and Issues => Topic started by: Thelonius on November 13, 2020, 02:37:40 pm
-
Is there a way to force Sparx client to default to "paste as plain text" when pasting text into element notes and documents?
When pasting text into element notes we either want 1. default to plain text 2. have a right-click context option to 'paste as plain text'.
But we do want to have hyperlinks in element notes.
:)
-
SECONDED that would be nice, we need to paste documentation from a lot of different sources and non printing characters and formatting caused a lot of problems especially in reporting. Enforce Plain Text Paste Everywhere + also remove all extended ASCII would be great features!
-
A keyboard shortcut (Ctrl-shift-V like in Gmail) would be cool as well.
Geert
-
A keyboard shortcut (Ctrl-shift-V like in Gmail) would be cool as well.
Geert
+5
-
Nice to see others are having the same perceptions using Sparx.
-
Related thought. We often place 'Document Artefacts' on diagrams to collect background information and links relevant to the context of the diagram.
I have not yet figured out how to change the default font, font size, and paragraph spacing for default document type.
My Question is This:
Is the default document easily accessible in Sparx (somewhere) that I can change the default formatting for it to our preferred standard - and therefore don't have to set (reset) each document to our preferred font / font size / paragraph spacing?
I tried to discover how to do this by searching and reading Sparx documentation that appeared to pertain to this action. Hahahaha!
If I am successful in this objective, it will still not allow me to set the default for pasting content into this document to 'paste as plain text by default' - so I presume I will be doomed to re-formatting anything pasted into a document to our preferred Arial 8pt.
Thanks for reading.
-
Hello,
Is the default document easily accessible in Sparx (somewhere) that I can change the default formatting for it to our preferred standard - and therefore don't have to set (reset) each document to our preferred font / font size / paragraph spacing?
I don't know whether you can access the default (linked documents are not affected by changes to the normal.rtf in %AppData%), but you can create your own templates. These are "linked document templates", and can be created in-project (Resources -- Linked Document Templates -- Model) or be packaged into an MDG technology.
In such a template, you can modify the "normal" style if you wish, add other styles, set page size, etc. Once deployed, you can select it when creating the document (first time double-clicking on the document artifact).
HTH,
/Uffe
-
A keyboard shortcut (Ctrl-shift-V like in Gmail) would be cool as well.
+1
-
A keyboard shortcut (Ctrl-shift-V like in Gmail) would be cool as well.
Geert
+1 and the dozen other users in my organisation.
Presently paste into notepad then copy from that into Sparx EA as a work around.
-
Related thought. We often place 'Document Artefacts' on diagrams to collect background information and links relevant to the context of the diagram.
I have not yet figured out how to change the default font, font size, and paragraph spacing for default document type.
My Question is This:
Is the default document easily accessible in Sparx (somewhere) that I can change the default formatting for it to our preferred standard - and therefore don't have to set (reset) each document to our preferred font / font size / paragraph spacing?
...
You find the default normal doc in
C:\Program Files (x86)\Sparx Systems\EA\DocTemplates\Document Templates\Normal.rtf.
Its copied to
C:\Users\username\AppData\Roaming\Sparx Systems\EA\RTF Templates
I used to replace this with our organisation's Normal.dot just save it as rtf.
However since styles have been introduced I now use those and these can be found here.
C:\Program Files (x86)\Sparx Systems\EA\DocTemplates\Stylesheets
But these are stored as xml.
What I do in Sparx EA is Open one of the stylesheets and export it as a MS Word doc. I can do things much easier in MSWord than the built in word processor. Then I change all the styles to match my organisations fonts, colours etc. in MS Word Styles. Note its the embedded styles in MS Word and not the example text with styles you see in the stylesheet. Some folk change the example text thinking they are changing the style but they aren't. After all the styles have been defined I create a new styles sheet in Sparx EA then import the MS Word doc where I'd changed the styles and save it. I then use the new stylesheet and apply that to any docs generated. Usually takes around 1 or 2 hours to change all the styles and save them back into Sparx EA.
Usually have to create 3 base templates in this order;
- Stylesheet
- Coverpage
- Table of contents
I then create the doc templates as needed based for various document types. For example
This is usually one of the first things I need to do when joining a new organisation and set up Sparx EA.
Hope that helps spread a little light onto the dark corners of EA.
-
A keyboard shortcut (Ctrl-shift-V like in Gmail) would be cool as well.
Geert
+1
-
Just cause its the holiday season I've submitted a feature request to implement a plain text paste using the shortcut ctrl-shift-v as used in chromium based browsers.
-
Now if we set our shoes before the fireplace next Saturday, we might get lucky
(because Sinterklaas (https://en.wikipedia.org/wiki/Sinterklaas)is coming that night)
Geert
-
I used to export the model to XMI, then open it with Notepad++ and run a simple find and replace with Regedit that remove all extended ASCII. Then re-import the model into EA. Seemed to work OK. Risky but it's an option ...
-
+5 from me.
I've been asking for this for a long time.
Shouldn't be that hard to implement, but when you're always busy with something else, a little thing can become an awfully big thing.
Regards
Bernd
-
Just cause its the holiday season I've submitted a feature request to implement a plain text paste using the shortcut ctrl-shift-v as used in chromium based browsers.
Back then I got the reply
Unfortunately it's not currently possible. I will submit a feature request on your behalf so that this is considered for implementation in a future release.
Haven't heard anything since and didn't get a reference number.
Its not in 16.1, where paste seems to work worse than 15 when pasting from tables, with all the text disappearing on save
-
A keyboard shortcut (Ctrl-shift-V like in Gmail) would be cool as well.
Geert
+1
-
Since ctrl-shift-v has been in major browsers it seems like forever (e.g. Chrome, Edge),
and even Microsoft have finally buckled under 2 decades of pressure
How to use Ctrl + Shift + V in Microsoft Word - The Verge (https://www.theverge.com/2023/3/9/23632415/microsoft-word-control-shift-v-paste-shortcut-plaintext)
surely it can't be far away.
This will certainly be of major benefit when pasting from tables, where the control that manages the text dialog box is incapable of extracting the textual content.
-
I use an AutoHotkey script mapped to ctrl+shift+v that pastes clipboard contents as plain text. Works in all applications.