Table improvements + starting configuration ui

git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@27 f0f2a975-2e09-46c8-9428-3b39399b9f3c
This commit is contained in:
henrikjust 2009-08-31 08:26:09 +00:00
parent 9e78c8fc3d
commit f6c8e1709e
9 changed files with 172 additions and 36 deletions

View file

@ -12,6 +12,10 @@
<manifest:file-entry
manifest:full-path="w2l_filters.xcu"
manifest:media-type="application/vnd.sun.star.configuration-data"/>
<manifest:file-entry
manifest:full-path="OptionPages.xcu"
manifest:media-type="application/vnd.sun.star.configuration-data"/>
<manifest:file-entry
manifest:full-path="Options.xcs"
@ -25,6 +29,10 @@
manifest:full-path="W2LDialogs/"
manifest:media-type="application/vnd.sun.star.basic-library"/>
<manifest:file-entry
manifest:full-path="W2LDialogs2/"
manifest:media-type="application/vnd.sun.star.basic-library"/>
<manifest:file-entry
manifest:full-path="writer2latex.rdb"
manifest:media-type="application/vnd.sun.star.uno-typelibrary;type=RDB"/>

View file

@ -0,0 +1,69 @@
<?xml version='1.0' encoding='UTF-8'?>
<oor:component-data oor:name="OptionsDialog" oor:package="org.openoffice.Office"
xmlns:oor="http://openoffice.org/2001/registry"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<node oor:name="Modules">
<!-- This node should appear in the Writer module -->
<node oor:name="com.sun.star.text.TextDocument" oor:op="fuse">
<node oor:name="Nodes">
<node oor:name="org.openoffice.da.writer2latex.configuration"
oor:op="fuse">
</node>
</node>
</node>
</node>
<node oor:name="Nodes">
<node oor:name="org.openoffice.da.writer2latex.configuration"
oor:op="fuse">
<prop oor:name="Id">
<value>org.openoffice.da.writer2latex.configuration</value>
</prop>
<prop oor:name="Label">
<value xml:lang="en-US">Writer2LaTeX</value>
</prop>
<prop oor:name="OptionsPage">
<value>%origin%/W2LDialogs2/Configuration1.xdl</value>
</prop>
<prop oor:name="EventHandlerService">
<value>org.openoffice.da.writer2latex.ConfigurationDialog</value>
</prop>
<node oor:name="Leaves">
<node oor:name="org.openoffice.da.writer2latex.configuration.subpage1"
oor:op="fuse">
<prop oor:name="Id">
<value>org.openoffice.da.writer2latex.configuration.subpage1</value>
</prop>
<prop oor:name="Label">
<value xml:lang="en-US">Subpage</value>
</prop>
<prop oor:name="OptionsPage">
<value>%origin%/W2LDialogs2/Configuration2.xdl</value>
</prop>
<prop oor:name="EventHandlerService">
<value>org.openoffice.da.writer2latex.ConfigurationDialog</value>
</prop>
</node>
<node oor:name="org.openoffice.da.writer2latex.configuration.subpage2"
oor:op="fuse">
<prop oor:name="Id">
<value>org.openoffice.da.writer2latex.configuration.subpage2</value>
</prop>
<prop oor:name="Label">
<value xml:lang="en-US">Subpage</value>
</prop>
<prop oor:name="OptionsPage">
<value>%origin%/W2LDialogs2/Configuration1.xdl</value>
</prop>
<prop oor:name="EventHandlerService">
<value>org.openoffice.da.writer2latex.ConfigurationDialog</value>
</prop>
</node>
</node>
</node>
</node>
</oor:component-data>

View file

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dlg:window PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "dialog.dtd">
<dlg:window xmlns:dlg="http://openoffice.org/2000/dialog" xmlns:script="http://openoffice.org/2000/script" dlg:id="Configuration1" dlg:left="139" dlg:top="84" dlg:width="260" dlg:height="185" dlg:closeable="true" dlg:moveable="true" dlg:title="Writer2LaTeX Custom Configuration" dlg:withtitlebar="false">
<dlg:styles>
<dlg:style dlg:style-id="0" dlg:border="none"/>
<dlg:style dlg:style-id="1" dlg:font-height="14"/>
</dlg:styles>
<dlg:bulletinboard>
<dlg:fixedline dlg:id="FixedLine1" dlg:tab-index="0" dlg:left="6" dlg:top="32" dlg:width="248" dlg:height="2"/>
<dlg:img dlg:style-id="0" dlg:id="ImageControl1" dlg:tab-index="1" dlg:left="8" dlg:top="6" dlg:width="21" dlg:height="21" dlg:scale-image="false" dlg:src="../images/w2licon.png"/>
<dlg:text dlg:style-id="1" dlg:id="Label1" dlg:tab-index="2" dlg:left="36" dlg:top="10" dlg:width="193" dlg:height="16" dlg:value="Writer2LaTeX Custom Configuration"/>
<dlg:text dlg:id="Label2" dlg:tab-index="3" dlg:left="37" dlg:top="43" dlg:width="194" dlg:height="113" dlg:value="This is where you create a custom configuration for the Writer2LaTeX export filter. You can define how to convert text, tables, figures etc. to LaTeX code" dlg:multiline="true"/>
</dlg:bulletinboard>
</dlg:window>

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dlg:window PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "dialog.dtd">
<dlg:window xmlns:dlg="http://openoffice.org/2000/dialog" xmlns:script="http://openoffice.org/2000/script" dlg:id="Configuration2" dlg:left="139" dlg:top="84" dlg:width="260" dlg:height="101" dlg:closeable="true" dlg:moveable="true" dlg:title="Writer2LaTeX Custom Configuration" dlg:withtitlebar="false">
<dlg:bulletinboard>
<dlg:text dlg:id="Page2" dlg:tab-index="0" dlg:left="6" dlg:top="4" dlg:width="210" dlg:height="12" dlg:value="Custom Config - page 2"/>
</dlg:bulletinboard>
</dlg:window>

View file

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd">
<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Module1" script:language="StarBasic">REM ***** BASIC *****
Sub Main
End Sub
</script:module>

View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE library:library PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "library.dtd">
<library:library xmlns:library="http://openoffice.org/2000/library" library:name="W2LDialogs2" library:readonly="false" library:passwordprotected="false">
<library:element library:name="Configuration1"/>
<library:element library:name="Configuration2"/>
</library:library>

View file

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE library:library PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "library.dtd">
<library:library xmlns:library="http://openoffice.org/2000/library" library:name="W2LDialogs2" library:readonly="false" library:passwordprotected="false">
<library:element library:name="Module1"/>
</library:library>