Find here a library with Xilinx library primitives that can be used with LibreOffice tools. The library does not contain all primitives for all Xilinx FPGA families! It contains the primitives I use regularly in technical drawings and presentations. The library, in LibreOffice it’s called a gallery-theme, is created to be used with LibreOffice Draw but it can be used with all LibreOffice office tools. The intention for creating this gallery is to allow people using LibreOffice tools on Linux or Windows to create Microsoft Office Visio alike drawings.
-
Once user has used a LibreOffice tool, a set preferences is written in a configuration directory that can be found in the user directory: /home//.config/libreoffice/4/user/...
-
The directories listed under the /user directory are:
|- autocorr |- autotext |- backup |- basic |- config |- database |- extensions |- gallery |- pack |- psprint |- store |- uno_packages |- wordbook
Important directory for new gallery themes is the gallery directory.
Important directory for new gallery themes is the gallery directory.
-
Copy the [Xilinx Primitives SvgFiles_.zip](./Xilinx Primitives SvgFiles_04Aug20.zip) file in the gallery directory, mentioned in 2, of the LibreOffice installation and unzip it there.
-
Launch LibreOffice Draw.
-
Click the [Tools] tab and select from the drop down menu [Options]
-
In the left pane of the new popped up window select under LibreOffice the Paths option.
-
The right pane now shows all paths that are necessary when using LibreOffice tools.
-
Look right of Gallery to check if the path lists: /home//.config/libreoffice/4/user/gallery
- This figure shows points 6, 7, and 8
- If the correct directory is listed/showed, click [Cancel]
- If some other directory is listed go to point 4 and copy the three files from the zip file into that directory.
- OR
- Create your own gallery directory for the Xilinx primitives library.
- Copy the zip file created directory and unzip it there.
- In LibreOffice, [Tools] - [Options] select the Gallery line in the right pane.
- Select the [Edit] button.
- Click [Add] and browse/select the directory created to host the Xilinx library.
- Click [OK]
- Click [OK]
- In the main LibreOffice Draw top menu, click [View] and in the drop down menu tick [Gallery].
- In the galleries pane that opens at the right side of the screen slide down, a new Xilinx Primitives item could already be listed.
- If there is no Xilinx Primitives selection in the galleries menu, then:
- Click [New Theme]
- Click the [General] tab on the top of [Properties of New Theme] popup.
- As you will find out, The listing of the component primitives in the gallery theme is not alphabetic!
Below the
/home/<user>/.config/libreoffice/4/user/gallery/Xilinx Primitives SvgFiles
directory sub-directories are listed. The components listed in the gallery theme are listed as directory groups. - If another setup is wanted, create for each sub-directory a new theme.
Like
Xlnx Prim ClockBuffer
andXlnx Prim ClockManagers
and ... To do that you need for each new theme to follow the above description but then browse and select each sub-directory separately when adding components. - If you need extra sets of LibreOffice components, not only Xilinx, you can take contact and we will see if we can make it a project (possibly charged).