Draw.io - copy/paste table from excel to draw.io with individual texts - draw.io

I have tables in excel and I'd like to copy/paste them into draw.io table. Is there any way I can make all rows into individual rows (texts) in draw.io instead of copy/paste each row (text) from excel to draw.io?
Thanks in advance!

Click the Plus + icon on the toolbar above the canvas.
Go to Advanced > CSV
There Just after the First 4 lines of comments (starting with '##'),
Replace everything, and add your list items. Click Import.
For learning how to change further styles, configs etc., read the help items in the text that was written by default in the box (which you replaced from 4th line). Or see here https://drawio-app.com/import-from-csv-to-drawio/.

Basically it is not something fully supported but in some cases copy/paste might work but use keyboard shortcuts.
Other possible solutions are to try to export as HTML/CSV and import it to draw.io

Yes, you can easily paste a part of table from microsoft excel and google sheet to
draw.io by 'crtl+c, crtl+v' creating a new table. It will be created with style "text;whiteSpace=wrap;html=1;" and then can be edited as a natively created draw.io table with actions like "create new column left" and so on.

You can use sql scripts for this.
-> Advance -> SQL .
I created sql scripts with excel formula and paste them here.
also please make sure you place the cursor properly , so that tables dont get overlapped.

Related

Output Class Probability distribution for all instances in WEKA

I am new to WEKA and want to get the probability distribution of all instances over all classes from classify tab to a csv file for further analysis of models.
Please suggest how to go about that in WEKA GUI explorer?
I just noticed that there is a more options button in test options under the classify tab. There you can choose CSV for output predictions. If you click on CSV you can turn outputDistribution to true and name your file.Hope this helps.
If this doesn't work then its fairly easy to do this with java code.
Not completely sure what you are asking but I gather it is the output from a cross validation/% split run that you want as a csv file? If so, the best place to achieve this is in the Experimenter tab in WEKA. First, click 'New' and add your datasets in the bottom left box after clicking 'add new.' Secondly, add your algorithms in the bottom right box having clicked 'add new.' Finally, change your results destination to 'CSV file' and browse for the file location. You can configure the experiment type and number of repetitions here also. Run the experiment in the next tab and wait for completion. You will find your results in the destination csv.

Append query suggestion to Search Box from a third party Source in sharepoint

Is there a way to add additional items to the default query suggestions provided in the search box as a user types. I need to fetch suggestion items from a query template endpoint and add the returned items to the default query suggestions provided by the search box control in SharePoint.
Does the basic query suggestion text file import method meet your requirements?
Sign in to the Office 365 Admin Center as a search administrator.Choose Admin > SharePoint > search > Query Suggestion Settings.
Open a text editor of your choice, and enter a list of terms that you want the system to always suggest to users. Only add one term per line to the text file, and don't mix languages in the text file.
Save the text file to a location that’s accessible from SharePoint Online. To import a list of query suggestions to SharePoint search, go to Always suggest phrases > Import from text file. When you import query suggestions, any existing ones will be overwritten.
Browse to the file that you want to import.
Go to Language for suggestion phrases, and select the processing language of your query suggestions. It should match the language of the terms in the text file.
Choose Save Settings.

How to create style sheet for creating html preview

I am developing a visual c++ Win-API application and I want to create a style sheet to display the html contents(I am not sure that i need to create style sheet only may be some thing else.But want to know what else can be used instead ?). Any idea how to achieve that??.Is it the same procedure as is the case with XML style sheet creation ?? (in xml file case we create a style sheet in order to preview on preview-pane)
If not please give idea how to do that ? As in case of html file we also have to take in account the font colour/background colour/font sizes etc. How to do that ?
(Actually i have to create preview handler for .html file) I have done every thing i just need to create style sheet (If not style sheet then some thing like this which will help me to display the html contents) and i already have data of .html file in a stream (which is IStreal * FinalHTMLStream)I just need to find the mechanism (like cretaing style sheet or may be any other)to create the html preview on preview pane using this stream.
Any Idea how to accomplish this ?
There are certain frameworks that allow you to create an HTML control easily, Win32++ is one of them. Give it a try.

Setting default font size for graphs in Powerpoint

I've found no other stackexchange site to ask this question so I present it here. If there's a more appropriate place for it please let me know.
I have just been given a ms-powerpoint template document to fix. It was created by designers using the slide master editor in MS-Office 2011 for Mac. The problem is that when the customer creates a new slide using one of these templates and then wants to insert a chart into one of the designated boxes (which is only one of the things that can be stuck in there) the text in the chart is always set at 18pt. I've looked everywhere for a setting that sets the default font size for charts (and smart art) for only that document but have been unable to find it.
Any pointers or help of any kind would be more than great.
I received the following answer from James Gordon from a Microsoft forum:
Charts are handled by Excel. In Excel you can create Chart Template,
which are saved in (.crtx) file format and will appear in the Ribbon.
The way to do it is to customize a chart and then right-click on the
chart. Use the Save As Template option from the pop-up menu. If you
save your template in the Chart Templates folder (the default when the
save dialog opens), after you quit and then re-open Excel, the
template will be available to you in the Ribbon.
SmartArt is within your PowerPoint presentation. There are various
approaches you might take regarding SmartArt. As you pointed out,
SmartArt can be specified in a Slide Master, or on Slide Design.
Saving a presentation as a Theme (.thmx) is one option. Another save
option is to save as a Template, which is more comprehensive (includes
every aspect of a slide show).

Adding buttons for HTML elements to the Sitecore rich text editor

I would like to add a button to the Sitecore rich text editor toolbar, specifically one that inserts the H2 element.
I know the H2 element can be inserted using the paragraph styles pulldown menu, but all my editors are now using the bold button for their headings because they don't "see" the paragraph styles pulldown. So, I want to make the H2 easily available using a toolbar button. (And maybe even removing the bold buttons, since it's not semantic at all.)
But no matter how I go through the documentation, I cannot find a good explanation on how to do this.
In addition to the guide Yan posted, here's another guide.
I found a couple of walkthroughs for this...
Sitecore v6.3 and previous: link
Sitecore v6.4: link
Make sure that you select the core database (bottom right of Sitecore desktop) so that you can see the /sitecore/system/Settings/Html Editor Profiles area.
In my article here the first step of wiring up an event to a button is in javascript. From there you can insert text or tags. You can also get the selected text and wrap it in tags. You don't need to compile anything I was just showing how you would if you needed to, but you can entirely cut that piece out and just use the editor to send whatever text you want back to the wysiwyg editor.