How do you set default zoom for an embedded document(Visio) in SharePoint? - sharepoint

I have tried to add the &z=15 and %zoom=15 to try to edit the default zoom in the embed code but it seems to not change anything. Also, I have changed up the width and height of the embed code but that didn't change the zoom just the overall dimensions. I am trying to embed a flowchart into my company's intranet SharePoint but the zoom is always set to 19% or 24% by default which makes it impossible to see anything in the diagram by default. I want it to start zoomed in at like 100% so the website/diagram is easier to use.
I have also tried to print it in a pdf, converting it to pdf, and converting it to other formats for the file viewer to give different views but it came to no avail. The closest thing was when I changed it to pdf and it gave me a better view, but I lost the interactive embed that a normal Visio embed would give.
Thank you for your help!

Puzzled with a similar problem, I've built a special Web Part for that (it provides additional options for embedding that are not part of the stock web part, such as zoom).
The source code:
https://github.com/nbelyh/VisioOnlineSpfxWebPart
Here web part in MS Store: https://appsource.microsoft.com/en-us/product/office/wa200002491

Related

How/which format to create multi-page printable documents with precise geometry/layout?

I would like to automatically generate calendar pages with very specific information and a very specific layout and ideally have all pages in a single document (can be PDF, doesn't have to be). For they layout of the boxes, text placement etc. I would like to be able to control the geometry very precisely so it's the same on every page and reproducible.
I could create SVG with exact dimensions, but I'm not sure about the part where I actually turn it into a document for printing.
With LaTeX I can most likely generate what I would like to have, but am unsure whether I have precise enough control over the dimensions of all my elements.
Creating Postscript or even a PDF "from scratch" seems a little too intimidating.
I know there may be more than one solution to this, but I'm happy to explore several options and see what works best with my experience.

Fixed Position Rectangles in SSRS 2016

I have a report that is designed to give us a visual representation of available kennel space in our facility. The floorplan image is defined as the background image on a rectangle. Each of the kennel areas are contained in a rectangle on top of the rectangle with the floorplan. I'm happy to share the rdl file if there is a way to upload it to this post (it is 9,559 lines of XML so not practical to copy the code in the post).
When I started into this particular project, I searched for a way to preserve position of each of the report items and the rectangle method came back as the only way to guarantee position at the time the report is generated. I have spent a considerable amount of time making sure each rectangle is positioned precisely where it needs to be on the page. In the designer, when I preview the report, it is as perfect as I can get (note that the image shows the dog lost & found area not lining up as I haven't completed that area just yet). I'm able to zoom in and out in preview and everything stays put exactly where I expect to see it.
On Friday, I decided to publish what I had completed to the server and I'm greatly disappointed at how it looks on the server. I'm at a loss to know how to correct it and can't find anything other than using the rectangles as I have already done. Here is the output on the server:
I even tried it in Internet Explorer and Edge to make sure it wasn't an issue with Chrome. I have not tried Firefox since I don't have it loaded and don't have a need (or desire) to load it. Any ideas as to how to fix this issue are appreciated!

How to add a custom svg icon to the Material UI font icon?

The icon I am looking for is pretty unique, so I think I'm going to have to create my own. (I'm looking for an icon of a closed door) I found a PNG file similar to what I need, but I need to figure out a way to integrate it with the material ui font icon.
Is there a way to create the js file for it, similar to the ones that exist? Like this one: https://github.com/callemall/material-ui/blob/master/src/svg-icons/action/accessibility.js
I don't know where the "path" comes from, does anyone know?
Thanks in advance!
Those were created using design tools specifically created for this purpose. Creating path based SVG Icons will take a bit more time if you're unexperienced in the field, however it is most likely you can create your own with some free online tools and a bit of patience.
Once you did (the data doesn't necessarily have to be in path format for the SVG, you can create any valid SVG using the available syntax and attributes which you can find info about right here), you can simply replicate one of those JS files and import / export them wherever applicable and use it in a similar fashion as you would any Material UI one.
Such an online tool could be this one for creating what you need:
http://editor.method.ac/

Embedding yammer in small sections

I'm using Yammer Embed to show a network feed on a SharePoint Intranet's homepage. Webpart's width is 460px.
PROBLEM:
A terrible horizontal scroll is rendered within the iframe when feed contains large images. Yammer embedded don't re-size images enough to fit in a small area like this one.
AT A GLANCE:
1) Skinny Mode (less than 400px) seems to remove some elements like profile picture but other feed pictures remain there.
2) Customizing everything from scratch using REST API is not an option for now, $ and time.
Has anyone come across this issue with Yammer Embed? Any ideas or options I'm missing here? Some attribute in the config section to ignore images or force a max width will be great.
Currently there is no workaround for this as Embed in Skinny mode removes too many components, and Yammer does not promote creating everything from scratch using the APIs.
I think we can all agree this is not expected behavior though. I've filed an internal bug for this. Thanks for reporting.
Update (8/19/2014):
A fix for the horizontal scrollbar will ship tonight.

Interacting with a SVG in Pharo?

I want to get a very basic interaction with a SVG loaded through Athens in Pharo using Morphic. This example shows what I'm looking for. I have used
(ASVGMorph fromFile: 'lion.svg') drawOn: Display getCanvas
but clicking the SVG makes the picture dissapear. However all examples I have seen were using a web browser. Is this possible using Athens? There is any other work in this area?
That's because you are drawing it in display canvas, which is refreshed every time... so is natural that you lost it...
What you need to do is:
(ASVGMorph fromFile: 'lion.svg') openInWorld.
or better, you probably want to put it in a window:
(ASVGMorph fromFile: 'lion.svg') openInWindow.
at the end, you will probably want it inside some other morph that you create, but debugging anyone of the solutions above with show you how to proceed :)
Yes, as Esteban pointed, to keep morph on desktop, you should add it to world, i.e. use
openInWorld, or #openInWindow.
ASVGMorph is very basic, however, and not intended to serve all possible use cases.
For more advanced uses, it is preferred to use ASVGRoot instance and draw it in own morph or compose with other drawings.

Resources