Ms Word - Custom Border Art - ms-word

I am trying to find a way to add custom page borders to ms word, so that I can access them from the Art: drop down menu.
I am using both watermarks, background images and borders and I would much prefer to keep them separate from each other.
Does anyone know how to do this?

Typically, Microsoft protects its Office assets in locations not accessed by users. If they have designed a type of artwork that can be augmented by the user, the user-saved content will be saved to a completely different location, so the Office assets remain distinct.
Locations often vary in current versions of Office, but for 64-bit Office 2019, I find the Microsoft page border art at C:\Program Files\Microsoft Office\root\Office16\BORDERS. Each .BDR file contains several page borders, so MSART1.BDR contains the Birds in Flight, Party Favor, Apples, Heart Balloon, Skyrocket, Party Glass, Confetti Streamers and Flowers...Roses borders.
It would be difficult to reverse engineer the .BDR file format, and even if you did, there's no guarantee that Office would recognize a new .BDR file added to the folder.
It would be much easier to create custom borders, watermarks and background images, then add those to Building Blocks/AutoText, which is Microsoft's solution for user asset storage.

Related

Import .ai (illustrator file) in Unity and display them

I want to load an illustrator file in my game. Unity should recognize different layers, colors, and forms, and layers with text and display them in a 2d canvas.
The goal is that the players can click on different forms and that unity recognize them as individual forms. Do you know any unity asset or a way to make this possible?
For example when you import an image like this as an illustrator file -> https://www.mandala-bilder.de/mandala/erwachsenemandalas/mandala-ideen-erwachsene.pdf
I thought about an SVG file but then I can´t use the different layers.
Illustrator has a proprietary file format, it has no publicly available documentation for newer versions. While you can dig out old specifications (this is why some programs only support AI files saved in ancient versions) http://www.idea2ic.com/File_Formats/Adobe%20Illustrator%20File%20Format.pdf I do not think you can just go in and start supporting a 2021 variant without requesting (and motivating) the spec from Adobe. They might also want to charge you for it.
SVG on the other hand is free and it's spec is public so there is much widely spread support. also SVG supports groups which can get your around the need for layers
Vector Express is a free conversion API you should be able to use. (requires a network connection, though)
https://github.com/smidyo/vectorexpress-api
You should be able to POST a request (https://docs.unity3d.com/ScriptReference/Networking.UnityWebRequest.Post.html) to this endpoint, with the raw AI file as the body:
POST https://vector.express/api/v2/public/convert/ai/gs/pdf/psd2svg/svg/
This will return a JSON object with a link to an SVG file that you can then download and display.

Office-js API to use to change page size, Margin and Orientation

We develop Office.js addins for Word. In this process we have a need to be able to manipulate the following properties of my Word online document programmatically(which i can change through UI now)
Margins
Orientation (portrait)
Custom Page size
How can i find the APIs needed to achieve this?
These parts of the COM object model haven't (yet) been implemented in the Office JS APIs.
It would be possible to change these aspects of the Page Layout on the closed file, leveraging the Word Open XML file format. (These properties can't be changed by manipulating the opened files XML.)

Eclipse BIRT and Accessibility

I work for a large financial institution and all our web sites need to be accessible for people with disabilities. We are using Eclipse BIRT to generate some reports and I want to explore if anyone out there has any experience in making the reports accessible. The main problem is that there is a lot of data in the report and some of it may not be understandable by the value alone, for instance a string like "123444" may be an account number, a check number or a transaction id. In a pure HTML page we will either use a dl/dt/dd construct to make it clear the purpose of the date, or we use ARIA attributes like aria-labelledby.
Another area of concern is the creation of accessible PDF files.
Any help or report on experience will be greatly appreciated.
Given your description I presume that you are focusing on blind users. One of the most popular screen readers for English language use is JAWS by Freedom Scientific There is a free trial version which you can download for testing and/or your organization can purchase a copy.
You can read your report with JAWS and find what issues need to be addressed. Proper labeling conventions for buttons and such is probably the most overlooked by developers. (i.e. Button123 with Image1A is the submit button, JAWS can't read the picture of words in the image, soo...)
Speaking from experience (I am closely associated with a blind computer user) stay away from PDF if you want it to be blind friendly. Web pages and text documents are much more blind friendly.
PDF works to create a version of a document that is static for visual appeal. In the process is chops up the text, when JAWS tries to read it it will read half of one item, then half of another, than maybe jump back to finish the last 1/3 of the first, leaving the middle 1/6 for last, it is painful. Of course a PDF that does not have text layer (i.e. a picture of a word document) is not readable by any screen reader.

QGIS - Composer

My question concerns the general purpose of the composer in qgis. My first idea was that with the composer you can "save" different layer combinations with different style to gain the possibility the have different "views" on the same data. However I realized when I change the map in QGIS, the information in the composer is also refreshed. To clarify my intent I want to give a small example:
Assume you have the gas stations of different companies for a country and you want to produce a map with all companies and maps containing only the gas stations of a certain company. So in the beginning I though I just create different composers to gain different maps but I somehow fail.
If I understand your question, you can use the composer as you wish.
When you have finished a composer, click on the map and, in the object properties, just check "lock layers for this map."
It should no longer be updated, even if you hide or display layers.
Regards.
Vincent
For large projects with a large number of composers, it's better to use layer presets and the "Follow visibility preset" option within the composer.
This is because when using "lock layers" and "lock layer styles", it saves all of the layers and their styles and properties. When it does this for each composer, it can quickly balloon the size of the QGIS file. This can make it take an extremely long time to open a project, cause a lot of performance issues, and inevitably will corrupt your QGIS file. Following a visibility preset simply references the style for the layer rather than duplicates it.
E.g. I had an employee whose QGIS file got corrupted and I had him send it and the backup files to me. On review, the primary QGIS file was empty, and the backup file was an exceptional 65mb. The markup behind the QGIS file was nearly a million lines long. It was corrupted because it got cut off, so I'm not even sure how long it might have been in it's entirety. This was a result of him having about 30 layers and over 100 composers that each had the layers locked. It also explained why he was the only one who was constantly complaining about his laptop being too slow for the work :)
in answer to your statement “My question concerns the general purpose of the composer in qgis”
For me and as In understand the purpose of the print composer in qgis is more to provide an output for GIS project in a cartographic format .and it is very Cleary detailed in the qgis documentation “The Print Composer provides growing layout and printing capabilities. It allows you to add elements such as the QGIS map canvas, text labels, images, legends, scale bars, basic shapes, arrows, attribute tables and HTML frames “(see the link bellow)
If you need more information about how to use it please visit this link
https://docs.qgis.org/2.2/en/docs/user_manual/print_composer/print_composer.html?highlight=qgis%20composer
Best Regard,

Full text search in iOS application bundle files

How would I go about doing a full text search across a bunch of html files in an iOS application bundle? I need to have a lot of web content available offline and I need to be able to do a full text search across all of it. I feel like storing that content in a database will get a little bulky and slow things down significantly.
Thoughts?
--
Thanks,
Brandon
Do keep in mind that, even though it's a mobile device, the iPhone does have a fairly fast processor. All you're doing [said tongue-in-cheek] is searching text. These devices are built for video, music, and images.
In order of increasing amounts of coding on your part, you can:
Use a 3rd-party library (the only one I found is Locayta)
Port a non-Objective C search library (such as Lucene)
Store your HTML files in a database, and do a SQL search for any search text. Without a bunch of extra coding, this will really only work easily with exact matching on a single search term.
Manually load each file into the app and search the text using NSString's rangeOfString. Add features at will.
Build your own search engine, built off (at least) an index of terms. Start by trimming stop words, stem if you feel the need, decide if you want document relevance or not and possibly pursue vector space algorithms. Adding in autocorrect is probably beyond your app's focus, but nonetheless building your own text search engine would be a fast (run-time) way of providing multi-word search and a big bullet on your resume.