Re: [libreoffice-users] Share stuff in registrymodifications.xcu

2012-01-10 Thread Cor Nouws

Hi Robert,

Robert Funnell wrote (11-01-12 03:49)


... Now I would like to share the new entries that I've
created in the symbol catalogue of the formula editor. These seem to be
defined in registrymodifications.xcu. That file is very large, contains
all sorts of stuff, and is hard to read. Does it make sense to copy it
from one machine to another?


It's worth a try and can't do much harm, since you can backup the 
original one / can always start a clean profile.



If not, is there some other way of sharing symbol-catalogue entries?


As far as I remember, I've been able to add all kind of changes with 
extensions.
The way it works is still the same as it was with OOo, and I see the 
starter page of the wiki is still there:

http://wiki.services.openoffice.org/wiki/Extensions

And probably on the fora there will also be examples.

Hope this helps,
regards,

--
 - Cor
 - http://nl.libreoffice.org


--
For unsubscribe instructions e-mail to: users+h...@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



[libreoffice-users] Need API support for iOS

2012-01-10 Thread sudheer dantuluri
Hi Team,

I've  a requirement in iOS where I need to highlight text of a doc, docx,
ppt, pptx and txt formats and I'm looking for an API support to integrate
the editing stuff of the files formats mentioned earlier.
Came to know that LibreOffice is working on such stuff for iOS. If so
please help me know how can I integrate it in my iOS application and also
please do let me know the license cost for the API.

Thanks
Sudheer

-- 
For unsubscribe instructions e-mail to: users+h...@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



[libreoffice-users] Re: Blood pressure chart doesn't work

2012-01-10 Thread NoOp
On 01/10/2012 05:18 AM, A.N. wrote:
> Cor Nouws wrote:
>> Beginner wrote (10-01-12 02:48)
>>
>>> However seems like Libre office is not handling this template well,
>>> values I enter in the table don't reflect on the chart.
>>
>> There was a bug that charts were not updated automatic:
>> https://bugs.freedesktop.org/show_bug.cgi?id=39118
>>
>> Is fixed for 3.5.0 and hopefully (I'm not sure) also for 3.4.5.
>>   See http://www.libreoffice.org/download/pre-releases/
>>
>> Cheers,
>>
> 
> Thank you.
> I tried to use this template with L.O. 3.3.4 and it works fine with it.
> Seems like 3.4.4 has quite a lot of bugs that just left out or never 
> been recognized.

+1

Works in 3.3.4 and
LOdev 3.5.0beta2
Build ID: 4ca392c-760cc4d-f39cf3d-1b2857e-60db978
but not in 3.4.4

> 3.3.4 also solved my other problem with Writer, so I guess I will wait 
> stable version of 3.5.0 come out, in the mean time I better stick with 
> older 3.3.4.
> 
> Thanks all
> 
> A.N. the Beginner user
> 
> 



-- 
For unsubscribe instructions e-mail to: users+h...@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



[libreoffice-users] Share stuff in registrymodifications.xcu

2012-01-10 Thread Robert Funnell
I run writer on multiple machines (Windows and Linux) and I like to 
share settings between them. I know how to do this with macros and 
menus by copying files. Now I would like to share the new entries that 
I've created in the symbol catalogue of the formula editor. These seem 
to be defined in registrymodifications.xcu. That file is very large, 
contains all sorts of stuff, and is hard to read. Does it make sense 
to copy it from one machine to another? If not, is there some other 
way of sharing symbol-catalogue entries?


Thanks.

- Robert




--
For unsubscribe instructions e-mail to: users+h...@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



[libreoffice-users] Re: Numbering Headings: Addendums

2012-01-10 Thread NoOp
On 01/09/2012 01:16 AM, Dotan Cohen wrote:
> I found it clearer to simply file a new, more focused bug that differs in 
> scope:
> 
> Alter heading options with "Restart Numbering"
> https://bugs.freedesktop.org/show_bug.cgi?id=44592

Maybe this will be of help/interest:

[Have a look at the sample document attachment]




-- 
For unsubscribe instructions e-mail to: users+h...@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



[libreoffice-users] Re: Names of output filters? Name of HTML output filter?

2012-01-10 Thread Tom
Hi :)
Ahh excellent.  So there is a call for it.  A wiki-page could heave a less
obscure title such as
http://wiki.documentfoundation.org/FilterList
or perhaps something that office workers might understand.  How about
http://wiki.documentfoundation.org/Formats
As for the quality of the code i was pretty impressed that it appeared so
quickly.  
http://nabble.documentfoundation.org/file/n3648970/good_code.png
good_code.png 
Fernand Vanrie wrote the code faster than anyone was able to point to the
old link.  The old link's most recent list was for OOo version 1.1 rc1 which
is a little out-of-date now.  Fernand's list was for .4.x which is a lot
more up-to-date.   
Regards from
Tom :)

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

-- 
For unsubscribe instructions e-mail to: users+h...@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



[libreoffice-users] Labels!!

2012-01-10 Thread Scott Augustus
Hi folks,

Is there a way, as in MS Word, to set labels to always print to the bypass tray 
of a printer?  I'm having trouble with it currently.  It is possible to select 
bypass tray each time, but I'd like to have it be that all labels automatically 
go there.

Thanks!
Libreoffice User

-- 






Trinsic Technologies 

http://www.trinsictech.com 




-- 
For unsubscribe instructions e-mail to: users+h...@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


[libreoffice-users] Re: Names of output filters? Name of HTML output filter?

2012-01-10 Thread Andreas Säger
Since 8 years it has been here:
http://www.oooforum.org/forum/viewtopic.phtml?t=3549 with documentation,
discussion links to related topics and everything.

The above code in this thread may not run when copied from browser or mail
client. It has too many syntax errors due to additional line breaks.

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

-- 
For unsubscribe instructions e-mail to: users+h...@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



Re: [libreoffice-users] Re: Names of output filters? Name of HTML output filter?

2012-01-10 Thread Tom Davies
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  wrote:

From: Fernand Vanrie 
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

[libreoffice-users] Disable extension installed with unopkg

2012-01-10 Thread Maxime de Roucy
Hello

I am creating a custom package of LibreOffice for windows XP.
I am installing some extension with "unopkg add --shared myext.oxt".
But then users are not able to disable the extension.

* I would like to know if it is possible to disable an extension by
commande line (or modifying a file or whatever but not by graphical
actions).
* Is it possible to allow users to disable/enable extensions installed
by "unopkg add --shared" ?

Thanks you in advance.

-- 
Maxime de Roucy
Groupe LINAGORA - OSSA
80 rue Roque de Fillol
92800 PUTEAUX
Tel. : 0 810 251 251



-- 
For unsubscribe instructions e-mail to: users+h...@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


Re: [libreoffice-users] Blood pressure chart doesn't work

2012-01-10 Thread A.N.

Cor Nouws wrote:

Beginner wrote (10-01-12 02:48)


However seems like Libre office is not handling this template well,
values I enter in the table don't reflect on the chart.


There was a bug that charts were not updated automatic:
https://bugs.freedesktop.org/show_bug.cgi?id=39118

Is fixed for 3.5.0 and hopefully (I'm not sure) also for 3.4.5.
  See http://www.libreoffice.org/download/pre-releases/

Cheers,



Thank you.
I tried to use this template with L.O. 3.3.4 and it works fine with it.
Seems like 3.4.4 has quite a lot of bugs that just left out or never 
been recognized.
3.3.4 also solved my other problem with Writer, so I guess I will wait 
stable version of 3.5.0 come out, in the mean time I better stick with 
older 3.3.4.


Thanks all

A.N. the Beginner user


--
For unsubscribe instructions e-mail to: users+h...@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


Re: [libreoffice-users] Blood pressure chart doesn't work

2012-01-10 Thread Cor Nouws

Beginner wrote (10-01-12 02:48)


However seems like Libre office is not handling this template well,
values I enter in the table don't reflect on the chart.


There was a bug that charts were not updated automatic:
https://bugs.freedesktop.org/show_bug.cgi?id=39118

Is fixed for 3.5.0 and hopefully (I'm not sure) also for 3.4.5.
  See http://www.libreoffice.org/download/pre-releases/

Cheers,

--
 - Cor
 - http://nl.libreoffice.org


--
For unsubscribe instructions e-mail to: users+h...@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


Re: [libreoffice-users] Re: Names of output filters? Name of HTML output filter?

2012-01-10 Thread Fernand Vanrie

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:


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:

  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




Re: [libreoffice-users] Re: Names of output filters? Name of HTML output filter?

2012-01-10 Thread filtered
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 :

> 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:
>>
>>  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,

Re: [libreoffice-users] Re: Names of output filters? Name of HTML output filter?

2012-01-10 Thread Fernand Vanrie

Tom ,

Copy the code in a Basic module and run !

Greetz

Fernand

Hi :)
I thought the original was asking for a list of all the filters available?

I think Fernand's coding gives a list of the filters in whichever version of libreOffice you happen to be running.  As each new release comes out extra filters may have been added and apparently it is difficult to find documentation about which version has which filters.  Sadly i have no idea how to run the coding even with the helpful comments!  Hopefully you understand this better than me. 


Regards from
Tom :)


--- On Mon, 9/1/12, filtered  wrote:

From: filtered
Subject: Re: [libreoffice-users] Re: Names of output filters? Name of HTML 
output filter?
To: users@global.libreoffice.org
Date: Monday, 9 January, 2012, 15:00

How is this related to my question?

-aj

Am 9. Januar 2012 14:47 schrieb Fernand Vanrie:


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

Re: [libreoffice-users] Re: Names of output filters? Name of HTML output filter?

2012-01-10 Thread Fernand Vanrie

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:


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 nP