Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,494 Was thanked: 1274 time(s) in 745 post(s)
|
MicroOffice [ β ]
Implementation started. I don't know how, but I think it is possible to show office documents as images. For editing we can open Word, Excel or Visio as external editors. Documents can be embedded to worksheet. Edited by user 24 August 2019 06:29:28(UTC)
| Reason: Not specified |
Russia ☠forever Viacheslav N. Mezentsev |
3 users thanked uni for this useful post.
|
on 16/08/2019(UTC), on 16/08/2019(UTC), on 22/03/2020(UTC)
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,494 Was thanked: 1274 time(s) in 745 post(s)
|
Using this technique it is possible to use the Plotly.js library to draw graphs. Basically, this method allows you to access the usual form, but with limited interaction. Edited by user 16 August 2019 00:32:12(UTC)
| Reason: Not specified |
Russia ☠forever Viacheslav N. Mezentsev |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,128 Was thanked: 509 time(s) in 339 post(s)
|
This will be a good plugin I think. Is there any way to show the office document as objects, not as images? In mathcad when I paste an excel table it is imported as an object. It can be edited with right click and externally edited as you mentioned for your implementation. But it is also shown as object and pdf-friendly. smath.pdf (65kb) downloaded 121 time(s). mathcad.pdf (285kb) downloaded 76 time(s).Regards
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
If you want that Excel data table in Smath, easy: 1. capture the Execl, select, crop image 2. copy image, paste in Smath. The tool is freeware WinGrab.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,128 Was thanked: 509 time(s) in 339 post(s)
|
Jean, it is obvious you didn't check the pdf files. You really wouldn't need to tell me about how to crop images if you did, I already did that. Problem is not how to do it, problem is font render quality. Smath copies excel tables as images, which has no font so no print quality.
1. there is undeniable quality difference between cropped image version (smath), which you mentioned, and font version (mathcad). 2. windows has its own screen capture program that works perfectly. no need to install or keep additional software for this purpose. 3. you actually don't need any software to copy image of excel tables, Ctrl+C is enough. than you can paste it as an image in smath. But if you make pdf from smath file which has image copied excel table, quality is a disaster.
Regards
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: overlord But if you make pdf from smath file which has image copied Excel table, quality is a disaster. The two PDf look same [I checked both] That's why I suggested NOT use Microsoft. If I make an Smath PDF as captured, PDF is 1/1 My PDF is CutePDF freeware, NOT Smath PDF.
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Jean Giraud If I make an Smath PDF as captured, PDF is 1/1 My PDF is CutePDF freeware, NOT Smath PDF. ...open with Adobe Reader [the freeware] Images captured/crop as described earlier, pasted in Smath, Smath => CutePDF Type T_J.pdf (400kb) downloaded 49 time(s).
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
... so simple, so perfect for publishing Smath *.PDF CosmosPDF.pdf (121kb) downloaded 77 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,128 Was thanked: 509 time(s) in 339 post(s)
|
Originally Posted by: Jean Giraud The two PDf look same [I checked both] That's why I suggested NOT use Microsoft. If I make an Smath PDF as captured, PDF is 1/1 My PDF is CutePDF freeware, NOT Smath PDF.
Please zoom in both pdf. You will see they are not same. Your last example has the same diseas, if you zoom in to your cosmos.pdf you will see. Texts in cropped images are not looking good at pdf and paper.
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 10/11/2010(UTC) Posts: 1,494 Was thanked: 1274 time(s) in 745 post(s)
|
Originally Posted by: overlord Is there any way to show the office document as objects, not as images? Unfortunately, no. As I know for good quality you must use .Net graphic library and there is no simple way to translate graphics from another application. In such projects, I try to find ways to use the existing code to expand the functionality of the program even if the quality of the document decreases. There are so many components that are based on the Control class, it would be great to use at least some of them. Because writing a useful plugin from scratch is very difficult. |
Russia ☠forever Viacheslav N. Mezentsev |
1 user thanked uni for this useful post.
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: overlord Please zoom in both pdf. You will see they are not same. Your last example has the same diseas, if you zoom in to your cosmos.pdf you will see. Texts in cropped images are not looking good at pdf and paper. At right is the original in Smath document. At left is the 100% Adobe, copied/pasted.
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Jean Giraud At right is the original in Smath document. At left is the 100% Adobe, copied/pasted.
Smath document. PDF Cosmos Test.sm (712kb) downloaded 41 time(s).After this post, I will re-download check.
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Jean Giraud After this post, I will re-download check. ... re-download sanity checked confirmed 1/1. Conclusion: 1. NO need for Microsoft for Smath *.PDF 2. Go by the procedure explained above. 3. Procedure presumably applicable to Smath past SS 6179. 4. Check [3] on latest SS. Cheers ... Jean
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Simply, I don't understand what Microsoft has to do wrt Smath I used only Paint in my Win 7, a damned poor Paint vs XP Home.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,128 Was thanked: 509 time(s) in 339 post(s)
|
Originally Posted by: uni Unfortunately, no. As I know for good quality you must use .Net graphic library and there is no simple way to translate graphics from another application. In such projects, I try to find ways to use the existing code to expand the functionality of the program even if the quality of the document decreases. There are so many components that are based on the Control class, it would be great to use at least some of them. Because writing a useful plugin from scratch is very difficult.
Thank you for your kind and explanatory reply. So I have to get on with images.
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: overlord So I have to get on with images. Have you tried: select the Excel table, copy/paste in IrfanView. Does not => f..k Microsoft Office. Since Mathcad 8 Pro. select math regions [including table] copy/paste in IrfanView ... bingo as an image, copy image, paste in Smath [PDF Cosmos]. I asked for same feature in Smath, apparently was to be added in SS 6179 < SS Newer. The alternate captured procedure offered ... few more clicks.
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,647 Location: Italy Was thanked: 1329 time(s) in 875 post(s)
|
Originally Posted by: Jean Giraud Since Mathcad 8 Pro. select math regions [including table] copy/paste in IrfanView ... bingo as an image, copy image, paste in Smath [PDF Cosmos]. I asked for same feature in Smath, apparently was to be added in SS 6179 < SS Newer. It is available since version 0.98.6523 |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Davide Carpi It is available since version 0.98.6523 . ... then Collab Overlord should try. Thanks Davide.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 03/03/2014(UTC) Posts: 418 Was thanked: 125 time(s) in 96 post(s)
|
Originally Posted by: overlord Jean, it is obvious you didn't check the pdf files. You really wouldn't need to tell me about how to crop images if you did, I already did that. Problem is not how to do it, problem is font render quality. Smath copies excel tables as images, which has no font so no print quality.
1. there is undeniable quality difference between cropped image version (smath), which you mentioned, and font version (mathcad). 2. windows has its own screen capture program that works perfectly. no need to install or keep additional software for this purpose. 3. you actually don't need any software to copy image of excel tables, Ctrl+C is enough. than you can paste it as an image in smath. But if you make pdf from smath file which has image copied excel table, quality is a disaster.
Regards EXCEL I/O plugin will plot regions of excel for you without quality loss by using excel_EMF(#) function https://en.smath.com/for...n-and-export-to-PNG.aspxA sample of a Plot produced by combination of excel_EMF function and Image Region inside the SMath workbook. The example was borrowed from one of the calculations by Jean Giraud. Note the difference of as-printed quality between X-Y Plot output and excel_EMF output. moody.pdf (93kb) downloaded 143 time(s). Inst_Colebrook MOODY_excelPlot.sm (21kb) downloaded 135 time(s). moody_plot.xlsx (32kb) downloaded 106 time(s).Edited by user 02 October 2019 21:56:44(UTC)
| Reason: Not specified
|
1 user thanked Alex M. for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,128 Was thanked: 509 time(s) in 339 post(s)
|
Originally Posted by: Alex M. EXCEL I/O plugin will plot regions of excel for you without quality loss by using excel_EMF(#) function https://en.smath.com/for...n-and-export-to-PNG.aspxA sample of a Plot produced by combination of excel_EMF function and Image Region inside the SMath workbook. The example was borrowed from one of the calculations by Jean Giraud. Note the difference of as-printed quality between X-Y Plot output and excel_EMF output. This has much more render quality than I expected, actually there is no quality loss. Thank you very much. If combination of excel_IO and image plugin can do this, there should be no reason MicroOffice plugins can't imho. Smath can even store excel data embedded in *.sm file and it can be viewed without quality loss like your example. So there won't be any need for an excel file (as a source) for viewing.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.