Writer Region Plugin

Writer Region Plugin - Provides the ability to work with formatted text inside the Worksheet. - Сообщения

#41 Опубликовано: 16.04.2016 12:46:35
Davide Carpi

Davide Carpi

1415 сообщений из 2872 понравились пользователям.

Группа: Moderator

Wrote

Davide, 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

Wrote

I 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 may notice an exception while trying to run this plugin; Andrey is informed, I'll work to fix it. there's a Nightly build update
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#42 Опубликовано: 18.04.2016 11:52:08
Ruben Sidranski

Ruben Sidranski

17 сообщений из 463 понравились пользователям.

Группа: User

Wrote

Thanks for this plugin.
Questions:

  1. Is there a way to have the "toolbar" pop-up automatically? maybe override the standard smath tools?
  2. 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?
  3. With the included formatting, would a bullet point or list object be something that can be implemented?

No longer 3 clicks, so I think the recompile helped

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?

#43 Опубликовано: 18.04.2016 13:24:50
Davide Carpi

Davide Carpi

1415 сообщений из 2872 понравились пользователям.

Группа: Moderator

Wrote

No 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

Wrote

Can 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);

Wrote

Maybe interlocked with the SMath main window?


Not sure, I'll try to implement something...
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#44 Опубликовано: 19.04.2016 13:07:00
Davide Carpi

Davide Carpi

1415 сообщений из 2872 понравились пользователям.

Группа: Moderator

Wrote

Can 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).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 пользователям понравился этот пост
sergio 19.04.2016 16:22:00
#45 Опубликовано: 19.04.2016 15:50:58
Ernesto

Ernesto

13 сообщений из 74 понравились пользователям.

Группа: User

Great plugin! Makes my sheets look much sleeker.

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.
#46 Опубликовано: 19.04.2016 19:44:19
Davide Carpi

Davide Carpi

1415 сообщений из 2872 понравились пользователям.

Группа: Moderator

Wrote

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.


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.

2016-04-20 00_45_47-SMath Studio Desktop - [Page1_].png

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.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#47 Опубликовано: 22.04.2016 16:25:28
Mark Raine

Mark Raine

0 сообщений из 2 понравились пользователям.

Группа: User

Hi 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
#48 Опубликовано: 22.04.2016 19:28:13
Davide Carpi

Davide Carpi

1415 сообщений из 2872 понравились пользователям.

Группа: Moderator

Wrote

Hi 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.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#49 Опубликовано: 23.04.2016 14:02:47
Davide Carpi

Davide Carpi

1415 сообщений из 2872 понравились пользователям.

Группа: Moderator

Wrote

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.



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.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#50 Опубликовано: 02.05.2016 14:09:41
Davide Carpi

Davide Carpi

1415 сообщений из 2872 понравились пользователям.

Группа: Moderator

Wrote

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



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). This works using SMath Studio >= 0.98.5973.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 пользователям понравился этот пост
Mark Raine 18.05.2016 15:11:00
#51 Опубликовано: 02.05.2016 18:34:19
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

Is there any way to make the writer region line up horizontally with a math region?



What is a "writer region" ???

Forum Align Horizontally.gif

#52 Опубликовано: 02.05.2016 18:47:08
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

... you may have noticed in "Courrier" [Smath default font]
capitals have same height than numbers, thus text align horizontally.
#53 Опубликовано: 02.05.2016 20:32:34
Davide Carpi

Davide Carpi

1415 сообщений из 2872 понравились пользователям.

Группа: Moderator

Wrote

What 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).

Показать спойлер

If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#54 Опубликовано: 02.05.2016 22:54:01
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Thanks Davide for the "Region writer spoiler". About like Mathcad, about same as OriginLab [Hypertext].
I wish one day the default Greek will be "Times New Roman 10", the most comfortable characters.

Jean
1 пользователям понравился этот пост
Davide Carpi 03.05.2016 04:43:00
#55 Опубликовано: 18.05.2016 15:20:05
Mark Raine

Mark Raine

0 сообщений из 2 понравились пользователям.

Группа: User

Wrote

Wrote

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



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
#56 Опубликовано: 18.05.2016 19:10:04
Davide Carpi

Davide Carpi

1415 сообщений из 2872 понравились пользователям.

Группа: Moderator

PLUGIN UPDATED SMath Studio 0.98.5935 and latest Nightly Build

  • [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);
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
2 пользователям понравился этот пост
Ernesto 18.05.2016 21:28:00, Вячеслав Мезенцев 18.05.2016 23:59:00
#57 Опубликовано: 19.08.2016 11:54:57
Davide Carpi

Davide Carpi

1415 сообщений из 2872 понравились пользователям.

Группа: Moderator

PLUGIN UPDATED SMath Studio 0.98.6073 and later

  • Added option to choose when to delete empty regions (always or only when you leave the region) (Hamburger icon > Options... > Environment)
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
2 пользователям понравился этот пост
NDTM Amarasekera 20.08.2016 23:19:00, Andrey Ivashov 19.08.2016 12:09:00
#58 Опубликовано: 07.09.2016 12:24:10
Davide Carpi

Davide Carpi

1415 сообщений из 2872 понравились пользователям.

Группа: Moderator

PLUGIN UPDATES cumulative changelog - RC2: SMath Studio 0.98.6089

  • [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;
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 пользователям понравился этот пост
frapuano 07.09.2016 14:01:00
#59 Опубликовано: 28.09.2016 05:13:58
Davide Carpi

Davide Carpi

1415 сообщений из 2872 понравились пользователям.

Группа: Moderator

PLUGIN UPDATED RC4: SMath Studio 0.98.6103 and later

  • added converters to/from decimal/hexadecimal character's codes (CTRL+ALT+D, CTRL+ALT+X);
    charcode.gif
  • 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;
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
4 пользователям понравился этот пост
frapuano 28.09.2016 13:01:00, NDTM Amarasekera 28.09.2016 10:03:00, Andrey Ivashov 28.09.2016 10:01:00, Вячеслав Мезенцев 28.09.2016 05:34:00
#60 Опубликовано: 13.10.2016 13:49:21
Davide Carpi

Davide Carpi

1415 сообщений из 2872 понравились пользователям.

Группа: Moderator

PLUGIN UPDATED SMath Studio 0.98.6128

  • 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;
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений