Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hi :)
Superb.  I feel it should be on a wiki-page or somewhere now that the list has been generated and 
the code available so that people can find their own list for their own version of LibreOffice.  I 
just don't know a good place to put it.  
Regards from
Tom :)

--- On Tue, 10/1/12, Fernand Vanrie <sos@pmgroup.be> wrote:

From: Fernand Vanrie <sos@pmgroup.be>
Subject: Re: [libreoffice-users] Re: Names of output filters? Name of HTML output filter?
To: users@global.libreoffice.org
Date: Tuesday, 10 January, 2012, 8:35

aj,

sorry but tour original question:

Running soffice --convert-to allows me to specify a custom output filter
name.*Where can I full list* of output filter names? In particular I am
looking for the name of the HTML output filter used for the HTML export
used through the UI. This filter is different from the one used  when
running with --convert-to html soley.

but after running the Basic code i found this list in LO 3.4

org.openoffice.da.writer2xhtml.epub
org.openoffice.da.calc2xhtml11
Text - txt - csv (StarCalc)
impress_svg_Export
math8
EPS - Encapsulated PostScript
StarOffice XML (Base) Report Chart
org.openoffice.da.writer2xhtml.mathml.xsl
impress_svm_Export
MS Excel 95 (StarWriter)
impress_pdf_addstream_import
JPG - JPEG
placeware_Export
StarOffice XML (Math)
T602Document
impress_jpg_Export
writer_globaldocument_StarOffice_XML_Writer
draw_emf_Export
MS Word 2003 XML
WMF - MS Windows Metafile
GIF - Graphics Interchange
writer_pdf_import
calc8
writer_globaldocument_StarOffice_XML_Writer_GlobalDocument
MS Word 97 Vorlage
impress_tif_Export
draw_xpm_Export
Calc MS Excel 2007 XML
Text (encoded)
MathML XML (Math)
MET - OS/2 Metafile
MS PowerPoint 97 AutoPlay
impress8
StarOffice XML (Calc)
calc_HTML_WebQuery
RAS - Sun Rasterfile
MS Excel 5.0 (StarWriter)
impress_png_Export
DXF - AutoCAD Interchange
impress_pct_Export
impress_met_Export
SGF - StarOffice Writer SGF
draw_eps_Export
Calc MS Excel 2007 Binary
calc8_template
Calc MS Excel 2007 XML Template
impress_pbm_Export
draw_pdf_import
Calc Office Open XML
math_pdf_Export
Rich Text Format (StarCalc)
MS PowerPoint 97 Vorlage
StarOffice XML (Base)
DIF
Impress MS PowerPoint 2007 XML Template
MS Excel 2003 XML
impress_ras_Export
draw_PCD_Photo_CD_Base16
draw_bmp_Export
WordPerfect Graphics
StarOffice XML (Writer)
PGM - Portable Graymap
Office Open XML Text Template
MS Excel 5.0/95
draw_svg_Export
draw_PCD_Photo_CD_Base4
TGA - Truevision TARGA
Quattro Pro 6.0
writer_globaldocument_pdf_Export
calc_pdf_addstream_import
writerglobal8_HTML
draw_svm_Export
HTML
EMF - MS Windows Metafile
PPM - Portable Pixelmap
Lotus
impress_ppm_Export
draw_jpg_Export
Text
TIF - Tag Image File
Impress Office Open XML AutoPlay
StarOffice XML (Base) Report
PNG - Portable Network Graphic
draw8
Rich Text Format
writer_web_StarOffice_XML_Writer_Web_Template
org.openoffice.da.writer2xhtml
MS_Works
Office Open XML Text
SVG - Scalable Vector Graphics
org.openoffice.da.writer2xhtml11
draw_tif_Export
impress_gif_Export
StarOffice XML (Draw)
StarOffice XML (Impress)
Text (encoded) (StarWriter/Web)
writer_web_pdf_Export
MediaWiki_Web
impress_pdf_Export
draw_pdf_addstream_import
draw_png_Export
HTML (StarCalc)
HTML (StarWriter)
impress_StarOffice_XML_Impress_Template
draw_pct_Export
calc_StarOffice_XML_Calc_Template
MS Excel 95 Vorlage/Template
writerglobal8_writer
MS Excel 95
draw_met_Export
dBase
MS Excel 97
MS Excel 4.0
draw_pbm_Export
impress_StarOffice_XML_Draw
Impress Office Open XML
writerweb8_writer
chart8
MediaWiki
MS Excel 4.0 Vorlage/Template
impress_wmf_Export
draw_ras_Export
writer_StarOffice_XML_Writer_Template
BMP - MS Windows
impress8_template
LotusWordPro
impress_pgm_Export
SGV - StarDraw 2.0
draw_PCD_Photo_CD_Base
draw_html_Export
writer8_template
Calc Office Open XML Template
writerglobal8
draw_flash_Export
MS Word 2007 XML Template
impress8_draw
CGM - Computer Graphics Metafile
MS PowerPoint 97
WordPerfect
impress_emf_Export
writer_pdf_Export
PSD - Adobe Photoshop
PBM - Portable Bitmap
draw_ppm_Export
writer_pdf_addstream_import
PCX - Zsoft Paintbrush
writer_web_HTML_help
MS Excel 4.0 (StarWriter)
Impress Office Open XML Template
org.openoffice.da.writer2xhtml.mathml
MathType 3.x
impress_xpm_Export
writer_web_StarOffice_XML_Writer
writerweb8_writer_template
MS Word 95
impress_html_Export
MS Word 97
draw_gif_Export
writer8
MS Excel 5.0/95 Vorlage/Template
draw8_template
StarOffice XML (Chart)
XPM
draw_pdf_Export
calc_pdf_Export
impress_eps_Export
XBM - X-Consortium
Text (encoded) (StarWriter/GlobalDocument)
writer_MIZI_Hwp_97
MS WinWord 6.0
Lotus 1-2-3 1.0 (WIN) (StarWriter)
SYLK
MS Word 2007 XML
Text (StarWriter/Web)
impress_pdf_import
MS Excel 97 Vorlage/Template
Impress MS PowerPoint 2007 XML AutoPlay
Impress MS PowerPoint 2007 XML
draw_wmf_Export
Unifa Adressbuch
org.openoffice.da.calc2xhtml
impress_bmp_Export
Lotus 1-2-3 1.0 (DOS) (StarWriter)
MS Word 95 Vorlage
MS WinWord 5
PCT - Mac Pict
SVM - StarView Metafile
draw_StarOffice_XML_Draw_Template
impress_flash_Export
draw_pgm_Export




I just need the name of the mentioned filter. I am not an OO hacker.
I just the the *one* name :)

-aj

Am 10. Januar 2012 09:08 schrieb Fernand Vanrie<sos@pmgroup.be>:

aj,

Sorry i was thinking you where trie to find a list of all filternames :-)

Greetz

Fernand

How is this related to my question?

-aj

Am 9. Januar 2012 14:47 schrieb Fernand Vanrie<sos@pmgroup.be>:

   Tom,
With the API and some Basic code from the good old Danny B. can do the
job
gives us a 65 pages writer Doc.
Hope its helps

Greetz

Ferand




Sub Main
     oFF = createUnoService( "com.sun.star.document.****FilterFactory" )

     oFilterNames = oFF.getElementNames()

     ' Now print the filter names.
'    For i = LBound( oFilterNames ) To UBound( oFilterNames )
'        Print oFilterNames(i)
'    Next

     ' Create a Writer doc and save the filter names to it.
     oDoc = StarDesktop.****loadComponentFromURL(
"private:factory/swriter",

"_blank", 0, Array() )
     oText = oDoc.getText()
     oCursor = oText.createTextCursor()
     oCursor.gotoEnd( False )



     oText.insertString( oCursor, "Filter Names", False )
     oCursor.ParaStyleName = "Heading 1"
     InsertParaBreak( oText, oCursor )
     oCursor.ParaStyleName = "Default"
     InsertParaBreak( oText, oCursor )

     ' Print the filter names into a Writer document.
     For i = LBound( oFilterNames ) To UBound( oFilterNames )
         oText.insertString( oCursor, oFilterNames(i), False )
         InsertLineBreak( oText, oCursor )
     Next
     InsertParaBreak( oText, oCursor )



     InsertParaBreak( oText, oCursor )
     oText.insertString( oCursor, "Filter Names and their Properties",
False
)
     oCursor.ParaStyleName = "Heading 1"
     InsertParaBreak( oText, oCursor )
     oCursor.ParaStyleName = "Default"

     ' Tab stops at:
     '        0.25 inch    (2.54 cm x 0.25)
     '        0.50 inch    (2.54 cm x 0.50)
     '        2.00 inch    (2.54 cm x 2.00)
     oCursor.ParaTabStops = Array(_
         MakeTabStop( 2540 * 0.25 ),_
         MakeTabStop( 2540 * 0.50 ),_
         MakeTabStop( 2540 * 2.00 ) )

     ' Print the filter names and their parameters.
     For i = LBound( oFilterNames ) To UBound( oFilterNames )
         InsertParaBreak( oText, oCursor )

         cFilterName = oFilterNames(i)
         aFilterProps = oFF.getByName( cFilterName )

         oText.insertString( oCursor, cFilterName, False )

         For j = LBound( aFilterProps ) To UBound( aFilterProps )
             oFilterProp = aFilterProps(j)

             InsertLineBreak( oText, oCursor )
             oText.insertString( oCursor, CHR(9)+oFilterProp.Name, False )

             nFilterPropValueVarType = VarType( oFilterProp.Value )
             If nFilterPropValueVarType = 8201 Then
                 ' VarType 8201 means a sequence of PropertyValue's.
                 oFilterPropNames = oFilterProp.Value
                 For k = LBound( oFilterPropNames ) To UBound(
oFilterPropNames )
                     InsertLineBreak( oText, oCursor )
                     oText.insertString( oCursor, CHR(9)+CHR(9)+**
oFilterPropNames(k).Name+CHR(****9)+CSTR(oFilterPropNames(k).****Value),

False )
                 Next k
             ElseIf nFilterPropValueVarType = 8200 Then
                 ' VarType 8200 means a sequence of Strings.
                 oFilterPropNames = oFilterProp.Value
                 For k = LBound( oFilterPropNames ) To UBound(
oFilterPropNames )
                     InsertLineBreak( oText, oCursor )
                     oText.insertString( oCursor, CHR(9)+CHR(9)+****
oFilterPropNames(k),

False )
                 Next k
             ElseIf nFilterPropValueVarType>   1  And
   nFilterPropValueVarType<= 12 Then
                 oText.insertString( oCursor,
CHR(9)+CSTR(oFilterProp.Value)
**, False )

             Else
                 oText.insertString( oCursor, CHR(9)+"?? unknown type ?? -
"+CSTR(****nFilterPropValueVarType), False )

             EndIf
         Next j

         InsertParaBreak( oText, oCursor )
     Next i

     InsertParaBreak( oText, oCursor )
End Sub

Sub InsertLineBreak( oText, oCursor )
     oText.insertControlCharacter( oCursor, com.sun.star.text.****
ControlCharacter.LINE_BREAK,

False )
End Sub

Sub InsertParaBreak( oText, oCursor )
     oText.insertControlCharacter( oCursor, com.sun.star.text.**
ControlCharacter.PARAGRAPH_****BREAK, False )

End Sub


' Create and return a tab stop.
' An array of what this function returns, is used
'  to set the tab stops of a paragraph.
'
' Parameters....
'    nPosition - position in tab stop, in 1000'th of cm.
'    nAlign - optional, if specified, must be one of...
'                com.sun.star.style.TabAlign.****LEFT = 0

'                com.sun.star.style.TabAlign.****CENTER = 1
'                com.sun.star.style.TabAlign.****RIGHT = 2
'                com.sun.star.style.TabAlign.****DECIMAL = 3
'                com.sun.star.style.TabAlign.****DEFAULT = 4

'    cDecimalChar - optional, if specified, only applies to a DECIMAL tab
stop,
'                    and specified the character which is recognized as
'                    the decimal point separator.
'    cFillChar - optional, if specified, specifies the char that fills
the
space
'                    between tab stops.
Function MakeTabStop( ByVal nPosition As Long,_
                         Optional nAlign,_
                         Optional cDecimalChar,_
                         Optional cFillChar _
                     ) As com.sun.star.style.TabStop
     If IsMissing( nAlign ) Then
         nAlign = com.sun.star.style.TabAlign.****LEFT

     EndIf

     oTabStop = createUnoStruct( "com.sun.star.style.TabStop" )

     oTabStop.Position = nPosition
     oTabStop.Alignment = nAlign

     If Not IsMissing( cDecimalChar ) Then
         oTabStop.DecimalChar = cDecimalChar
     EndIf
     If Not IsMissing( cFillChar ) Then
         oTabStop.FillChar = cFillChar
     EndIf

     MakeTabStop() = oTabStop
End Function






   Hi :)

All i could find was this wiki-page
http://help.libreoffice.org/****Common/About_Import_and_****
Export_Filters<http://help.libreoffice.org/**Common/About_Import_and_**Export_Filters>
<http://help.**libreoffice.org/Common/About_**Import_and_Export_Filters<http://help.libreoffice.org/Common/About_Import_and_Export_Filters>
last updated in May so i think things are likely to have moved on quite
a
lot!  Also i suspect there are add-ons/extensions that can add to the
list.

I tried looking up release notes
http://www.libreoffice.org/****download/release-notes/<http://www.libreoffice.org/**download/release-notes/>
<http:/**/www.libreoffice.org/download/**release-notes/<http://www.libreoffice.org/download/release-notes/>
http://wiki.**documentfoundati**on.org/**ReleaseNotes/3.5<http://documentfoundation.org/**ReleaseNotes/3.5>
<http**://wiki.documentfoundation.**org/ReleaseNotes/3.5<http://wiki.documentfoundation.org/ReleaseNotes/3.5>
which led me to
http://wiki.**documentfoundati**on.org/**Releases/3.4.4_info_**
about_**fixes<http://documentfoundation.org/**Releases/3.4.4_info_about_**fixes>
<http://wiki.**documentfoundation.org/**Releases/3.4.4_info_about_**
fixes<http://wiki.documentfoundation.org/Releases/3.4.4_info_about_fixes>
but there is not much detail listed in there.  mostly it seems
broad-brushstrokes rather than fine-grained detail .

Apols and regards from
Tom :)

--
View this message in context: http://nabble.**
documentfoundation.org/Names-****of-output-filters-Name-of-**<http://documentfoundation.org/Names-**of-output-filters-Name-of-**>
HTML-output-filter-****tp3639830p3644521.html<http://**
nabble.documentfoundation.org/**Names-of-output-filters-Name-**
of-HTML-output-filter-**tp3639830p3644521.html<http://nabble.documentfoundation.org/Names-of-output-filters-Name-of-HTML-output-filter-tp3639830p3644521.html>
Sent from the Users mailing list archive at Nabble.com.


   --
For unsubscribe instructions e-mail to: users+help@global.libreoffice.**
**
org<users%2Bhelp@global.**libreoffice.org<users%252Bhelp@global.libreoffice.org>
Problems? http://www.libreoffice.org/****get-help/mailing-lists/how-to-*
***<http://www.libreoffice.org/**get-help/mailing-lists/how-to-**>
unsubscribe/<http://www.**libreoffice.org/get-help/**
mailing-lists/how-to-**unsubscribe/<http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/>
Posting guidelines + more: 
http://wiki.**documentfoundati**on.org/**<http://documentfoundation.org/**>
Netiquette<http://wiki.**documentfoundation.org/**Netiquette<http://wiki.documentfoundation.org/Netiquette>
List archive: 
http://listarchives.**libreoff**ice.org/global/users/<http://libreoffice.org/global/users/>
<http://**listarchives.libreoffice.org/**global/users/<http://listarchives.libreoffice.org/global/users/>
All messages sent to this list will be publicly archived and cannot be
deleted



--
For unsubscribe instructions e-mail to: users+help@global.libreoffice.**
org<users%2Bhelp@global.libreoffice.org>
Problems? http://www.libreoffice.org/**get-help/mailing-lists/how-to-**
unsubscribe/<http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/>
Posting guidelines + more: http://wiki.**documentfoundation.org/**
Netiquette<http://wiki.documentfoundation.org/Netiquette>
List archive: 
http://listarchives.**libreoffice.org/global/users/<http://listarchives.libreoffice.org/global/users/>
All messages sent to this list will be publicly archived and cannot be
deleted




-- 
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted


-- 
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.