Difference between revisions of "User:CL"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Open ODF 1.2 features)
Line 56: Line 56:
 
Status: Still under discussion in the TC
 
Status: Still under discussion in the TC
  
[[Headless Mode Debuging]]
+
=Headless Mode Debuging=
  
 
<pre>
 
<pre>
soffice.bin -norestore -invisible -headless macro:///Standard.Module1.Main
+
soffice -norestore -invisible -headless macro:///Standard.Module1.Main
 
</pre>
 
</pre>
 +
 +
<pre>
 +
Sub Main
 +
oDoc = StarDesktop.loadComponentFromURL( "file:///e:/html.odp", "_blank", 0, Array(MakePropertyValue("Hidden",True)) )
 +
 +
oDoc.storeToURL( "file:///e:/html/out.html", Array( MakePropertyValue( "URL", "file:///e:/html/out.html" ), MakePropertyValue( "FilterName", "impress_html_Export" ) )
 +
oDoc.close( True )
 +
End Sub
 +
 +
Function MakePropertyValue( Optional cName As String, Optional uValue ) As com.sun.star.beans.PropertyValue
 +
Dim oPropertyValue As New com.sun.star.beans.PropertyValue
 +
oPropertyValue.Name = cName
 +
oPropertyValue.Value = uValue
 +
MakePropertyValue() = oPropertyValue
 +
End Function
 +
</pre>
 +
  
 
[[Category:Development]]
 
[[Category:Development]]
 
[[Category:Impress]]
 
[[Category:Impress]]
 
[[Category:Draw]]
 
[[Category:Draw]]

Revision as of 11:06, 30 September 2009

My personal list of todo stuff and current status

Nick on irc.freenode.net : CL

Mail : christian.lippka AT sun.com

DISCLAIMER

This is my personal wiki. Everything I write here
may be wrong, stupid, incorrect, harmful or worse.
The views expressed on this page aren't (necessarily)
the views of Sun Microsystems Inc. 

Current Work

  • Fixing issues for OOo 3.0

TODO

Open ODF issues

  • draw:textarea-horizontal-align attribute has no default exported? [issue 85397]

Frequently needed Issues

  • incompatible bullets from 3.0 in 2.x => issue 91466

Open ODF 1.2 features

Auto shrink text in shapes [OASIS] Status: Desired for OOo3.x

Proposal: last visited page interaction [OASIS] Status: Desired for OOo3.x

How to add animations for shapes on master pages [OASIS] Status: Desired for OOo 3.x

Proposal for rounded corners of rects (draw:corner-radius) [OASIS] Status: Currently not planed for OOo

Add glue points to 3D objects [OASIS] Status: Currently not planed for OOo

Proposal to enhance hyperlinks to support shapes [OASIS] Status: Import planned for OOo 2.4, export desired for OOo 3.x

<svg:desc> and <svg:title> for drawing pages [OASIS] Status: Still under discussion in the TC

Layer-set per page [OASIS] Status: Still under discussion in the TC

Points are integers in ODF,but floating-point in SVG [OASIS] Status: Still under discussion in the TC

Headless Mode Debuging

soffice -norestore -invisible -headless macro:///Standard.Module1.Main
Sub Main
	oDoc = StarDesktop.loadComponentFromURL( "file:///e:/html.odp", "_blank", 0, Array(MakePropertyValue("Hidden",True)) )
	
	oDoc.storeToURL( "file:///e:/html/out.html", Array( MakePropertyValue( "URL", "file:///e:/html/out.html" ), MakePropertyValue( "FilterName", "impress_html_Export" ) )
	oDoc.close( True )
End Sub

Function MakePropertyValue( Optional cName As String, Optional uValue ) As com.sun.star.beans.PropertyValue
	Dim oPropertyValue As New com.sun.star.beans.PropertyValue
	oPropertyValue.Name = cName
	oPropertyValue.Value = uValue
	MakePropertyValue() = oPropertyValue
End Function
Personal tools