Относно филтрите за XML
LibreOffice записва документите във формат XML. Можете да създадете потребителски филтри, които преобразуват файловия формат OpenDocument XML, използван от LibreOffice, в друг формат. Тези филтри могат да бъдат интегрирани незабележимо в LibreOffice, така че да можете прозрачно да записвате и зареждате съответните формати.
За да създадете филтър за XML, трябва да разбирате добре понятията, свързани с XML и XSLT. Те са извън обхвата на този помощен текст.
Филтърът за XML съдържа листове със стилове (stylesheets), написани на езика XSLT. Те задават преобразуванието от файловия формат OpenDocument към друг базиран на XML формат чрез филтър за експортиране и импортиране. Има три вида филтри за XML:
-
Import Filters - load external XML files and transform the format of the files into the OpenDocument XML file format. After you install an import filter, the name of the filter is added to the list of file types in the File Open dialog.
-
Export Filters - transform OpenDocument XML files and save the files to a different XML format. After you install an export filter, the name of the filter is added to the list of file types in the Export dialog.
-
Import/Export Filters - load and save OpenDocument XML files into a different XML format. After you install these filters, the names of the filters are added to the list of file types in the File Open dialog and the File Save As dialog.