diff --git a/source/oxt/writer4latex/Addons.xcu b/source/oxt/writer2latex/Addons.xcu
similarity index 91%
rename from source/oxt/writer4latex/Addons.xcu
rename to source/oxt/writer2latex/Addons.xcu
index 56daf13..32ac902 100644
--- a/source/oxt/writer4latex/Addons.xcu
+++ b/source/oxt/writer2latex/Addons.xcu
@@ -1,9 +1,9 @@
-
+
-
+
com.sun.star.text.TextDocument
@@ -16,7 +16,7 @@
_self
- org.openoffice.da.writer4latex:InsertBibTeX
+ org.openoffice.da.writer2latex:InsertBibTeX
%origin%/icons/bibtex
@@ -34,7 +34,7 @@
_self
- org.openoffice.da.writer4latex:ProcessDocument
+ org.openoffice.da.writer2latex:ProcessDocument
%origin%/icons/latex
@@ -52,7 +52,7 @@
_self
- org.openoffice.da.writer4latex:ViewLog
+ org.openoffice.da.writer2latex:ViewLog
%origin%/icons/log
diff --git a/source/oxt/writer4latex/AddonsAOO4.xcu b/source/oxt/writer2latex/AddonsAOO4.xcu
similarity index 90%
rename from source/oxt/writer4latex/AddonsAOO4.xcu
rename to source/oxt/writer2latex/AddonsAOO4.xcu
index 507a46d..cb7bd76 100644
--- a/source/oxt/writer4latex/AddonsAOO4.xcu
+++ b/source/oxt/writer2latex/AddonsAOO4.xcu
@@ -1,11 +1,11 @@
-
+
-
+
- Writer4LaTeX
+ Writer2LaTeX
@@ -20,7 +20,7 @@
_self
- org.openoffice.da.writer4latex:InsertBibTeX
+ org.openoffice.da.writer2latex:InsertBibTeX
%origin%/icons/bibtex
@@ -38,7 +38,7 @@
_self
- org.openoffice.da.writer4latex:ProcessDocument
+ org.openoffice.da.writer2latex:ProcessDocument
%origin%/icons/latex
@@ -56,7 +56,7 @@
_self
- org.openoffice.da.writer4latex:ViewLog
+ org.openoffice.da.writer2latex:ViewLog
%origin%/icons/log
diff --git a/source/oxt/writer2latex/META-INF/manifest.xml b/source/oxt/writer2latex/META-INF/manifest.xml
index 5292489..b72ce38 100644
--- a/source/oxt/writer2latex/META-INF/manifest.xml
+++ b/source/oxt/writer2latex/META-INF/manifest.xml
@@ -13,6 +13,10 @@
manifest:full-path="w2l_filters.xcu"
manifest:media-type="application/vnd.sun.star.configuration-data"/>
+
+
@@ -24,6 +28,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
diff --git a/source/oxt/writer4latex/Office/UI/WriterWindowState.xcu b/source/oxt/writer2latex/Office/UI/WriterWindowState.xcu
similarity index 84%
rename from source/oxt/writer4latex/Office/UI/WriterWindowState.xcu
rename to source/oxt/writer2latex/Office/UI/WriterWindowState.xcu
index f25c0da..2d9e3cd 100644
--- a/source/oxt/writer4latex/Office/UI/WriterWindowState.xcu
+++ b/source/oxt/writer2latex/Office/UI/WriterWindowState.xcu
@@ -5,9 +5,9 @@
oor:package="org.openoffice.Office.UI">
-
+
- Writer4LaTeX
+ Writer2LaTeX
diff --git a/source/oxt/writer4latex/ProtocolHandler.xcu b/source/oxt/writer2latex/ProtocolHandler.xcu
similarity index 70%
rename from source/oxt/writer4latex/ProtocolHandler.xcu
rename to source/oxt/writer2latex/ProtocolHandler.xcu
index 863586b..040262a 100644
--- a/source/oxt/writer4latex/ProtocolHandler.xcu
+++ b/source/oxt/writer2latex/ProtocolHandler.xcu
@@ -1,11 +1,11 @@
-
+
-
+
- org.openoffice.da.writer4latex:*
+ org.openoffice.da.writer2latex:*
diff --git a/source/oxt/writer4latex/OptionPages.xcu b/source/oxt/writer2latex/ToolbarOptionPages.xcu
similarity index 70%
rename from source/oxt/writer4latex/OptionPages.xcu
rename to source/oxt/writer2latex/ToolbarOptionPages.xcu
index 05d163c..8be669f 100644
--- a/source/oxt/writer4latex/OptionPages.xcu
+++ b/source/oxt/writer2latex/ToolbarOptionPages.xcu
@@ -9,7 +9,7 @@
-
@@ -19,13 +19,13 @@
-
- org.openoffice.da.writer4latex.configuration
+ org.openoffice.da.writer2latex.toolbar.configuration
- Writer4LaTeX
+ Writer2LaTeX toolbar
%origin%/W4LDialogs/ConfigurationRoot.xdl
@@ -36,10 +36,10 @@
-
- org.openoffice.da.writer4latex.applications
+ org.openoffice.da.writer2latex.toolbar.applications
Applications
@@ -48,13 +48,13 @@
%origin%/W4LDialogs/Applications.xdl
- org.openoffice.da.writer4latex.ApplicationsDialog
+ org.openoffice.da.writer2latex.ApplicationsDialog
-
- org.openoffice.da.writer4latex.bibliography
+ org.openoffice.da.writer2latex.toolbar.bibliography
Bibliography
@@ -63,7 +63,7 @@
%origin%/W4LDialogs/Bibliography.xdl
- org.openoffice.da.writer4latex.BibliographyDialog
+ org.openoffice.da.writer2latex.BibliographyDialog
diff --git a/source/oxt/writer4latex/Options.xcs b/source/oxt/writer2latex/ToolbarOptions.xcs
similarity index 94%
rename from source/oxt/writer4latex/Options.xcs
rename to source/oxt/writer2latex/ToolbarOptions.xcs
index a2d430d..34589cf 100644
--- a/source/oxt/writer4latex/Options.xcs
+++ b/source/oxt/writer2latex/ToolbarOptions.xcs
@@ -1,6 +1,6 @@
-
-
diff --git a/source/oxt/writer4latex/icons/bibtex_16.bmp b/source/oxt/writer2latex/icons/bibtex_16.bmp
similarity index 100%
rename from source/oxt/writer4latex/icons/bibtex_16.bmp
rename to source/oxt/writer2latex/icons/bibtex_16.bmp
diff --git a/source/oxt/writer4latex/icons/bibtex_26.bmp b/source/oxt/writer2latex/icons/bibtex_26.bmp
similarity index 100%
rename from source/oxt/writer4latex/icons/bibtex_26.bmp
rename to source/oxt/writer2latex/icons/bibtex_26.bmp
diff --git a/source/oxt/writer4latex/icons/custom_16.bmp b/source/oxt/writer2latex/icons/custom_16.bmp
similarity index 100%
rename from source/oxt/writer4latex/icons/custom_16.bmp
rename to source/oxt/writer2latex/icons/custom_16.bmp
diff --git a/source/oxt/writer4latex/icons/custom_26.bmp b/source/oxt/writer2latex/icons/custom_26.bmp
similarity index 100%
rename from source/oxt/writer4latex/icons/custom_26.bmp
rename to source/oxt/writer2latex/icons/custom_26.bmp
diff --git a/source/oxt/writer4latex/icons/latex_16.bmp b/source/oxt/writer2latex/icons/latex_16.bmp
similarity index 100%
rename from source/oxt/writer4latex/icons/latex_16.bmp
rename to source/oxt/writer2latex/icons/latex_16.bmp
diff --git a/source/oxt/writer4latex/icons/latex_26.bmp b/source/oxt/writer2latex/icons/latex_26.bmp
similarity index 100%
rename from source/oxt/writer4latex/icons/latex_26.bmp
rename to source/oxt/writer2latex/icons/latex_26.bmp
diff --git a/source/oxt/writer4latex/icons/log_16.bmp b/source/oxt/writer2latex/icons/log_16.bmp
similarity index 100%
rename from source/oxt/writer4latex/icons/log_16.bmp
rename to source/oxt/writer2latex/icons/log_16.bmp
diff --git a/source/oxt/writer4latex/icons/log_26.bmp b/source/oxt/writer2latex/icons/log_26.bmp
similarity index 100%
rename from source/oxt/writer4latex/icons/log_26.bmp
rename to source/oxt/writer2latex/icons/log_26.bmp
diff --git a/source/oxt/writer2latex/w2l_filters.xcu b/source/oxt/writer2latex/w2l_filters.xcu
index 6306862..103a09f 100644
--- a/source/oxt/writer2latex/w2l_filters.xcu
+++ b/source/oxt/writer2latex/w2l_filters.xcu
@@ -38,6 +38,32 @@
EXPORT ALIEN 3RDPARTYFILTER
+
+
+
diff --git a/source/oxt/writer2latex/w2l_types.xcu b/source/oxt/writer2latex/w2l_types.xcu
index 764c981..70562ee 100644
--- a/source/oxt/writer2latex/w2l_types.xcu
+++ b/source/oxt/writer2latex/w2l_types.xcu
@@ -26,7 +26,29 @@
+
+
+ LaTeX File
+
+
+
+ tex
+ true
+ org.openoffice.da.comp.writer2latex.TeXDetectService
+ org.openoffice.da.writer2latex.latex
+
+
+ XeLaTeX File
+
+
+
+ tex
+ true
+ org.openoffice.da.comp.writer2latex.TeXDetectService
+ org.openoffice.da.writer2latex.xelatex
+
+
diff --git a/source/oxt/writer4latex/META-INF/manifest.xml b/source/oxt/writer4latex/META-INF/manifest.xml
index bc0142a..91a165a 100644
--- a/source/oxt/writer4latex/META-INF/manifest.xml
+++ b/source/oxt/writer4latex/META-INF/manifest.xml
@@ -1,34 +1,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -37,22 +9,6 @@
manifest:full-path="Paths.xcu"
manifest:media-type="application/vnd.sun.star.configuration-data"/>
-
-
-
-
-
-
-
-
diff --git a/source/oxt/writer4latex/description.xml b/source/oxt/writer4latex/description.xml
index 5be2616..71a80e3 100644
--- a/source/oxt/writer4latex/description.xml
+++ b/source/oxt/writer4latex/description.xml
@@ -3,7 +3,7 @@
xmlns:d="http://openoffice.org/extensions/description/2006"
xmlns:xlink="http://www.w3.org/1999/xlink">
-
+
@@ -11,12 +11,12 @@
Writer2LaTeX
+ lang="en">Writer2LaTeX configurations
- Writer4LaTeX frontend
- Writer4LaTeX frontend
+ Writer2LaTeX konfigurationer
+ Writer4LaTeX configurations
diff --git a/source/oxt/writer4latex/descriptions/desc_da.txt b/source/oxt/writer4latex/descriptions/desc_da.txt
index d35f91e..ea5834f 100644
--- a/source/oxt/writer4latex/descriptions/desc_da.txt
+++ b/source/oxt/writer4latex/descriptions/desc_da.txt
@@ -1,3 +1 @@
-Writer4LaTeX integrerer Writer med din LaTeX distribution.
-
-Sammen med Writer2LaTeX eksportfilteret (som også skal være installeret) giver det dig mulighed for at bruge Writer som LaTeX frontend
\ No newline at end of file
+Writer2LaTeX configurations installerer skabeloner og formater til brug sammen med Writer2LaTeX
\ No newline at end of file
diff --git a/source/oxt/writer4latex/descriptions/desc_en.txt b/source/oxt/writer4latex/descriptions/desc_en.txt
index f73212d..b0b352e 100644
--- a/source/oxt/writer4latex/descriptions/desc_en.txt
+++ b/source/oxt/writer4latex/descriptions/desc_en.txt
@@ -1,3 +1 @@
-Writer4LaTeX integrates Writer with your LaTeX distribution.
-
-Working together with the Writer2LaTeX export filter (which must be installed) this enables you to use Writer as a LaTeX frontend
\ No newline at end of file
+Writer2LaTeX configurations installs templates and formats for use together with Writer2LaTeX
\ No newline at end of file