Writer Region Plugin - Provides the ability to work with formatted text inside the Worksheet. - Сообщения
WroteDavide, as always, your add-in is awesome and really an integral part of my use of smath studio. Thanks for creating it and the recent updates you have performed.
You're welcome

WroteI had two ideas for features I would like to suggest you think about incorporating some day:
- Rotated text(like rotating the whole writer region box, 90° intervals works for me)
- Emojis!!! :d basic static ones would be great!
Thanks for the suggestions, I'll see what I can do (the first would be easier than the second, because something was already done in the code).
P.S. Anyone who is testing the latest Nightly Build
No longer 3 clicks, so I think the recompile helpedWroteThanks for this plugin.
Questions:
- Is there a way to have the "toolbar" pop-up automatically? maybe override the standard smath tools?
- In order to open, I need to type CTRL+SHFT+W; however, for the toolbar to open, I need to press CTRL+SHIFT+S {or right click settings} for the tool bar to pop-up. Is this normal?
- With the included formatting, would a bullet point or list object be something that can be implemented?

Can you allow for a "minimize" of the toolbar window? Maybe interlocked with the SMath main window?
On my laptop, no other screen, the toolbar remains open and there is no way to minimize it out of the way. Many times, I am reading or looking at a PDF or other document and the toolbar stays on top. Maybe there is a switch to remain on top that can be turned off if SMath is not the focal window?
WroteNo longer 3 clicks, so I think the recompile helped
I've made some changes in that function, there's still a minor issue but nothing serious

WroteCan you allow for a "minimize" of the toolbar window?
It is possible. Via context menu only or also with a button (in this case the toolbar may result slighty bigger);
WroteMaybe interlocked with the SMath main window?
Not sure, I'll try to implement something...
WroteCan you allow for a "minimize" of the toolbar window? Maybe interlocked with the SMath main window?
Please check the new beta update using the latest Nightly Build (5953).
Is there any way to make the writer region line up horizontally with a math region? I can only get it slightly higher or slightly lower, I can't get them to match.
WroteIs there any way to make the writer region line up horizontally with a math region? I can only get it slightly higher or slightly lower, I can't get them to match.
I'm a little bit confused here (horizontally vs higher/lower)... You mean vertically?
The problem is... align to what? Just about math regions, different regions with the same vertical positions may have different baseline just changing the content or the font-size.
A very dirty solution is to place the WriterRegion with the top margin above the one of the MathRegion you want to align and add a first empty line with the height that better fit your needs (not the best approach).
I've planned to customize paragraphs to let the user choose line-height/top margin/bottom-margin of each one, but this feature involves several things, must be planned and deployed carefully.
Since the demise of Comppad within LibreOffice I’ve re-discovered SMath Studio.
Thanks to your work the simplistic text region can be substituted by Writer, resulting in a very readable and informative document.
However, when trying to convert a .sm file containing simple writer elements to .xmcd format the writer regions are lost. When the converted file is re-opened (Smath or Mathcad 15) math and text regions are converted but no sign of the writer regions. I’ve entered simple writer regions (no formatting, etc.) but comparing the pre- and post-converted files in a text editor there is no sign of the writer regions in the .xmcd file.
I’m probably missing something and would appreciate your advice
In anticipation many thanks
Mark
WroteHi Davide
Since the demise of Comppad within LibreOffice I’ve re-discovered SMath Studio.
Thanks to your work the simplistic text region can be substituted by Writer, resulting in a very readable and informative document.
However, when trying to convert a .sm file containing simple writer elements to .xmcd format the writer regions are lost. When the converted file is re-opened (Smath or Mathcad 15) math and text regions are converted but no sign of the writer regions. I’ve entered simple writer regions (no formatting, etc.) but comparing the pre- and post-converted files in a text editor there is no sign of the writer regions in the .xmcd file.
I’m probably missing something and would appreciate your advice
In anticipation many thanks
Mark
Thank you for reporting this issue Mark.
I have to check if the problem may be solved just by working from WriterRegion side or if there are things to do also in the XMCD plugin.
WroteIs there any way to make the writer region line up horizontally with a math region? I can only get it slightly higher or slightly lower, I can't get them to match.
Please try the new beta update; if you select a single math region and at least one WriterRegion the context menu will show you a "Vertical alignment" item and you can move the WriterRegion(s); if a single WriterRegion is selected and one or more MathRegions are selected, you can move the MathRegion(s). It's a little bit dirty solution but should works.
Wrotewhen trying to convert a .sm file containing simple writer elements to .xmcd format the writer regions are lost. When the converted file is re-opened (Smath or Mathcad 15) math and text regions are converted but no sign of the writer regions. I’ve entered simple writer regions (no formatting, etc.) but comparing the pre- and post-converted files in a text editor there is no sign of the writer regions in the .xmcd file.
I’m probably missing something and would appreciate your advice
I've uploaded a 0.7 beta version in the Extensions Manager that supports the export to XMCD files.
capitals have same height than numbers, thus text align horizontally.
WroteWhat is a "writer region" ???
A region to have rich text in the worksheet

Wrote... you may have noticed in "Courrier" [Smath default font]
capitals have same height than numbers, thus text align horizontally.
Yes I know. Unfortunately .NET doesn't help at all in precise text measuring, and math regions are based on the parameter "middle line" (that is wonderful in math regions, close to magic, but doesn't helps here). As for now, I've solved with the dumb way... I've measured the distances with Paint.NET, tabulated the results, provided the scaling for different DPI settings (this affects only the mutual vertical alignment between the two regions, if requested from the user, or the math alignment inside the region itself, if math regions are used inside the writer region).
I wish one day the default Greek will be "Times New Roman 10", the most comfortable characters.
Jean
WroteWrotewhen trying to convert a .sm file containing simple writer elements to .xmcd format the writer regions are lost. When the converted file is re-opened (Smath or Mathcad 15) math and text regions are converted but no sign of the writer regions. I’ve entered simple writer regions (no formatting, etc.) but comparing the pre- and post-converted files in a text editor there is no sign of the writer regions in the .xmcd file.
I’m probably missing something and would appreciate your advice
I've uploaded a 0.7 beta version in the Extensions Manager that supports the export to XMCD files. To test it you have to compile a modified XMCDFileType.dll (code available in SVN revision 1941; before replacing, backup the original library for an easy rollback).
Davide,
Apologies for delayed response. Many thanks for the fix.
Mark
- [LINUX] horizontal arrangement of characters improved;
- [LINUX] disabled SpellCheck on non-Windows environments to avoid exceptions from NHunspell/Hunspell libraries;
- [LINUX] patched symbols & colors dropdown menus (buttons with predefined options are not available, however now it is possible to access the dialogs for the generic options);
- [LINUX] some forms were displayed incorrectly;
tested in previous beta relases:
- added option to popup toolbar on creation, on focus or just on request;
- toolbar minimize;
- Vertical alignment relatively to canvas' math regions;
- XMCD export (requires latest nightly build);
- Added option to choose when to delete empty regions (always or only when you leave the region) (Hamburger icon > Options... > Environment)
- [SS-2391] was impossible to use Writer Regions in Viewer without crashes on executable opening;
- [SS-2380] File selection button in hyperlink dialog was permanently disabled;
- Fixed wrong referencing of relative links while opening different worksheets in the same SS instance;
- Fixed behavior of empty regions when working with multiple languages and "delete on leave" option is enabled;
- Highlight color was applied to font color while removing hyperlink target via dialog;

- added converters to/from decimal/hexadecimal character's codes (CTRL+ALT+D, CTRL+ALT+X);
- fixed refresh logic vs caret size when no selection is possible;
- fixed Fields selection's background vs italic style;
- SpellCheck waves no more deleted by Clean Format;
- SpellCheck waves no more propagated by Copy Format;
- refactoring;
- documentation updated;
- fixed exceptions when closing Fields' dialog in certain cases;
- print: underline/strikeout dashed lines issues fixed;
- anti-aliasing enabled for font-sizes > 20pt;
- minor fixes;
- refactoring;
-
Новые сообщения
-
Нет новых сообщений