[Libreoffice-commits] core.git: Branch 'aoo/trunk' - 5 commits - automation/source i18npool/source Module_ooo.mk postprocess/packcomponents Repository.mk solenv/ant xmlhelp/Ant_LuceneHelpWrapper.mk xmlhelp/inc xmlhelp/java xmlhelp/Library_tvhlp1.mk xmlhelp/Library_ucpchelp1.mk xmlhelp/Makefile xmlhelp/Module_xmlhelp.mk xmlhelp/Package_xml.mk xmlhelp/Package_xsl.mk xmlhelp/prj xmlhelp/source xmlhelp/util xmlhelp/Zip_helpxsl.mk

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Aug 16 19:02:37 UTC 2018


Rebased ref, commits from common ancestor:
commit 870f47795d6675d28ea2277e2e7cba64ebcee32b
Author:     Matthias Seidel <mseidel at apache.org>
AuthorDate: Thu Aug 16 16:08:50 2018 +0000
Commit:     Matthias Seidel <mseidel at apache.org>
CommitDate: Thu Aug 16 16:08:50 2018 +0000

    Fixed LongDateDaySeparator

diff --git a/i18npool/source/localedata/data/da_DK.xml b/i18npool/source/localedata/data/da_DK.xml
index 9525b3f7a358..2dc62d7c7655 100644
--- a/i18npool/source/localedata/data/da_DK.xml
+++ b/i18npool/source/localedata/data/da_DK.xml
@@ -21,336 +21,336 @@
  *
  ***********************************************************-->
 <Locale versionDTD="2.0.3" allowUpdateFromCLDR="yes" version="1.2">
-  <LC_INFO>
-    <Language>
-      <LangID>da</LangID>
-      <DefaultName>Danish</DefaultName>
-    </Language>
-    <Country>
-      <CountryID>DK</CountryID>
-      <DefaultName>Denmark</DefaultName>
-    </Country>
-  </LC_INFO>
-  <LC_CTYPE>
-    <Separators>
-      <DateSeparator>-</DateSeparator>
-      <ThousandSeparator>.</ThousandSeparator>
-      <DecimalSeparator>,</DecimalSeparator>
-      <TimeSeparator>:</TimeSeparator>
-      <Time100SecSeparator>,</Time100SecSeparator>
-      <ListSeparator>;</ListSeparator>
-      <LongDateDayOfWeekSeparator> </LongDateDayOfWeekSeparator>
-      <LongDateDaySeparator>.</LongDateDaySeparator>
-      <LongDateMonthSeparator> </LongDateMonthSeparator>
-      <LongDateYearSeparator> </LongDateYearSeparator>
-    </Separators>
-    <Markers>
-      <QuotationStart>’</QuotationStart>
-      <QuotationEnd>’</QuotationEnd>
-      <DoubleQuotationStart>”</DoubleQuotationStart>
-      <DoubleQuotationEnd>”</DoubleQuotationEnd>
-    </Markers>
-    <TimeAM>AM</TimeAM>
-    <TimePM>PM</TimePM>
-    <MeasurementSystem>metric</MeasurementSystem>
-  </LC_CTYPE>
-  <LC_FORMAT>
-    <FormatElement msgid="FixedFormatskey1" default="true" type="medium" usage="FIXED_NUMBER" formatindex="0">
-      <FormatCode>Standard</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="FixedFormatskey2" default="true" type="short" usage="FIXED_NUMBER" formatindex="1">
-      <FormatCode>0</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="FixedFormatskey3" default="false" type="medium" usage="FIXED_NUMBER" formatindex="2">
-      <FormatCode>0,00</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="FixedFormatskey4" default="false" type="short" usage="FIXED_NUMBER" formatindex="3">
-      <FormatCode>#.##0</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="FixedFormatskey5" default="false" type="medium" usage="FIXED_NUMBER" formatindex="4">
-      <FormatCode>#.##0,00</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="FixedFormatskey6" default="false" type="medium" usage="FIXED_NUMBER" formatindex="5">
-      <FormatCode>#.###,00</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="ScientificFormatskey1" default="true" type="medium" usage="SCIENTIFIC_NUMBER" formatindex="6">
-      <FormatCode>0,00E+000</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="ScientificFormatskey2" default="false" type="medium" usage="SCIENTIFIC_NUMBER" formatindex="7">
-      <FormatCode>0,00E+00</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="PercentFormatskey1" default="true" type="short" usage="PERCENT_NUMBER" formatindex="8">
-      <FormatCode>0%</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="PercentFormatskey2" default="true" type="long" usage="PERCENT_NUMBER" formatindex="9">
-      <FormatCode>0,00%</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="CurrencyFormatskey1" default="true" type="short" usage="CURRENCY" formatindex="12">
-      <FormatCode>[$kr-406] #.##0;[$kr-406] -#.##0</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="CurrencyFormatskey2" default="false" type="medium" usage="CURRENCY" formatindex="13">
-      <FormatCode>[$kr-406] #.##0,00;[$kr-406] -#.##0,00</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="CurrencyFormatskey3" default="false" type="medium" usage="CURRENCY" formatindex="14">
-      <FormatCode>[$kr-406] #.##0;[RED][$kr-406] -#.##0</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="CurrencyFormatskey4" default="true" type="medium" usage="CURRENCY" formatindex="15">
-      <FormatCode>[$kr-406] #.##0,00;[RED][$kr-406] -#.##0,00</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="CurrencyFormatskey5" default="false" type="medium" usage="CURRENCY" formatindex="16">
-      <FormatCode>#.##0,00 CCC</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="CurrencyFormatskey6" default="false" type="medium" usage="CURRENCY" formatindex="17">
-      <FormatCode>[$kr-406] #.##0,--;[RED][$kr-406] -#.##0,--</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="DateFormatskey1" default="true" type="short" usage="DATE" formatindex="18">
-      <FormatCode>DD-MM-YY</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="DateFormatskey9" default="true" type="long" usage="DATE" formatindex="19">
-      <FormatCode>D. MMMM YYYY</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="DateFormatskey8" default="true" type="medium" usage="DATE" formatindex="20">
-      <FormatCode>DD-MM-YY</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="DateFormatskey7" default="false" type="medium" usage="DATE" formatindex="21">
-      <FormatCode>DD-MM-YYYY</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="DateFormatskey10" default="false" type="long" usage="DATE" formatindex="22">
-      <FormatCode>D. MMM YY</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="DateFormatskey11" default="false" type="long" usage="DATE" formatindex="23">
-      <FormatCode>D. MMM YYYY</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="DateFormatskey16" default="false" type="long" usage="DATE" formatindex="24">
-      <FormatCode>D. MMM. YYYY</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="DateFormatskey12" default="false" type="long" usage="DATE" formatindex="25">
-      <FormatCode>D. MMMM YYYY</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="DateFormatskey17" default="false" type="long" usage="DATE" formatindex="26">
-      <FormatCode>D. MMMM YYYY</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="DateFormatskey13" default="false" type="long" usage="DATE" formatindex="27">
-      <FormatCode>NN D. MMM YY</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="DateFormatskey2" default="false" type="medium" usage="DATE" formatindex="28">
-      <FormatCode>NN DD-MMM YY</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="DateFormatskey14" default="false" type="long" usage="DATE" formatindex="29">
-      <FormatCode>NN D. MMMM YYYY</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="DateFormatskey15" default="false" type="long" usage="DATE" formatindex="30">
-      <FormatCode>NNNND. MMMM YYYY</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="DateFormatskey18" default="false" type="short" usage="DATE" formatindex="31">
-      <FormatCode>MM-DD</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="DateFormatskey19" default="false" type="medium" usage="DATE" formatindex="32">
-      <FormatCode>YY-MM-DD</FormatCode>
-      <DefaultName>ISO 8601 (EN 28601)</DefaultName>
-    </FormatElement>
-    <FormatElement msgid="DateFormatskey20" default="false" type="medium" usage="DATE" formatindex="33">
-      <FormatCode>YYYY-MM-DD</FormatCode>
-      <DefaultName>ISO 8601 (EN 28601)</DefaultName>
-    </FormatElement>
-    <FormatElement msgid="DateFormatskey3" default="false" type="medium" usage="DATE" formatindex="34">
-      <FormatCode>MM-YY</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="DateFormatskey4" default="false" type="medium" usage="DATE" formatindex="35">
-      <FormatCode>DD-MMM</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="DateFormatskey5" default="false" type="medium" usage="DATE" formatindex="36">
-      <FormatCode>MMMM</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="DateFormatskey6" default="false" type="medium" usage="DATE" formatindex="37">
-      <FormatCode>QQ YY</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="DateFormatskey21" default="false" type="medium" usage="DATE" formatindex="38">
-      <FormatCode>WW</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="TimeFormatskey1" default="true" type="short" usage="TIME" formatindex="39">
-      <FormatCode>TT:MM</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="TimeFormatskey2" default="true" type="medium" usage="TIME" formatindex="40">
-      <FormatCode>TT:MM:SS</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="TimeFormatskey3" default="false" type="short" usage="TIME" formatindex="41">
-      <FormatCode>TT:MM AM/PM</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="TimeFormatskey4" default="false" type="medium" usage="TIME" formatindex="42">
-      <FormatCode>TT:MM:SS AM/PM</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="TimeFormatskey5" default="false" type="medium" usage="TIME" formatindex="43">
-      <FormatCode>[TT]:MM:SS</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="TimeFormatskey6" default="false" type="short" usage="TIME" formatindex="44">
-      <FormatCode>MM:SS,00</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="TimeFormatskey7" default="false" type="medium" usage="TIME" formatindex="45">
-      <FormatCode>[TT]:MM:SS,00</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="DateTimeFormatskey1" default="true" type="medium" usage="DATE_TIME" formatindex="46">
-      <FormatCode>DD-MM-YY TT:MM</FormatCode>
-    </FormatElement>
-    <FormatElement msgid="DateTimeFormatskey2" default="false" type="medium" usage="DATE_TIME" formatindex="47">
-      <FormatCode>DD-MM-YYYY TT:MM:SS</FormatCode>
-    </FormatElement>
-  </LC_FORMAT>
-  <LC_COLLATION ref="en_US" />
-  <LC_SEARCH ref="en_US"/>
-  <LC_INDEX>
-    <IndexKey phonetic="false" default="true" unoid="alphanumeric">A-Z Æ Ø Å</IndexKey>
-    <UnicodeScript>0</UnicodeScript>
-    <UnicodeScript>1</UnicodeScript>
-    <UnicodeScript>2</UnicodeScript>
-    <FollowPageWord>f.</FollowPageWord>
-    <FollowPageWord>ff.</FollowPageWord>
-  </LC_INDEX>
-  <LC_CALENDAR>
-    <Calendar unoid="gregorian" default="true">
-      <DaysOfWeek>
-        <Day>
-          <DayID>sun</DayID>
-          <DefaultAbbrvName>søn</DefaultAbbrvName>
-          <DefaultFullName>søndag</DefaultFullName>
-        </Day>
-        <Day>
-          <DayID>mon</DayID>
-          <DefaultAbbrvName>man</DefaultAbbrvName>
-          <DefaultFullName>mandag</DefaultFullName>
-        </Day>
-        <Day>
-          <DayID>tue</DayID>
-          <DefaultAbbrvName>tir</DefaultAbbrvName>
-          <DefaultFullName>tirsdag</DefaultFullName>
-        </Day>
-        <Day>
-          <DayID>wed</DayID>
-          <DefaultAbbrvName>ons</DefaultAbbrvName>
-          <DefaultFullName>onsdag</DefaultFullName>
-        </Day>
-        <Day>
-          <DayID>thu</DayID>
-          <DefaultAbbrvName>tor</DefaultAbbrvName>
-          <DefaultFullName>torsdag</DefaultFullName>
-        </Day>
-        <Day>
-          <DayID>fri</DayID>
-          <DefaultAbbrvName>fre</DefaultAbbrvName>
-          <DefaultFullName>fredag</DefaultFullName>
-        </Day>
-        <Day>
-          <DayID>sat</DayID>
-          <DefaultAbbrvName>lør</DefaultAbbrvName>
-          <DefaultFullName>lørdag</DefaultFullName>
-        </Day>
-      </DaysOfWeek>
-      <MonthsOfYear>
-        <Month>
-          <MonthID>jan</MonthID>
-          <DefaultAbbrvName>jan</DefaultAbbrvName>
-          <DefaultFullName>januar</DefaultFullName>
-        </Month>
-        <Month>
-          <MonthID>feb</MonthID>
-          <DefaultAbbrvName>feb</DefaultAbbrvName>
-          <DefaultFullName>februar</DefaultFullName>
-        </Month>
-        <Month>
-          <MonthID>mar</MonthID>
-          <DefaultAbbrvName>mar</DefaultAbbrvName>
-          <DefaultFullName>marts</DefaultFullName>
-        </Month>
-        <Month>
-          <MonthID>apr</MonthID>
-          <DefaultAbbrvName>apr</DefaultAbbrvName>
-          <DefaultFullName>april</DefaultFullName>
-        </Month>
-        <Month>
-          <MonthID>may</MonthID>
-          <DefaultAbbrvName>maj</DefaultAbbrvName>
-          <DefaultFullName>maj</DefaultFullName>
-        </Month>
-        <Month>
-          <MonthID>jun</MonthID>
-          <DefaultAbbrvName>jun</DefaultAbbrvName>
-          <DefaultFullName>juni</DefaultFullName>
-        </Month>
-        <Month>
-          <MonthID>jul</MonthID>
-          <DefaultAbbrvName>jul</DefaultAbbrvName>
-          <DefaultFullName>juli</DefaultFullName>
-        </Month>
-        <Month>
-          <MonthID>aug</MonthID>
-          <DefaultAbbrvName>aug</DefaultAbbrvName>
-          <DefaultFullName>august</DefaultFullName>
-        </Month>
-        <Month>
-          <MonthID>sep</MonthID>
-          <DefaultAbbrvName>sep</DefaultAbbrvName>
-          <DefaultFullName>september</DefaultFullName>
-        </Month>
-        <Month>
-          <MonthID>oct</MonthID>
-          <DefaultAbbrvName>okt</DefaultAbbrvName>
-          <DefaultFullName>oktober</DefaultFullName>
-        </Month>
-        <Month>
-          <MonthID>nov</MonthID>
-          <DefaultAbbrvName>nov</DefaultAbbrvName>
-          <DefaultFullName>november</DefaultFullName>
-        </Month>
-        <Month>
-          <MonthID>dec</MonthID>
-          <DefaultAbbrvName>dec</DefaultAbbrvName>
-          <DefaultFullName>december</DefaultFullName>
-        </Month>
-      </MonthsOfYear>
-      <Eras>
-        <Era>
-          <EraID>bc</EraID>
-          <DefaultAbbrvName>f.Kr.</DefaultAbbrvName>
-          <DefaultFullName>før Kristus</DefaultFullName>
-        </Era>
-        <Era>
-          <EraID>ad</EraID>
-          <DefaultAbbrvName>e.Kr.</DefaultAbbrvName>
-          <DefaultFullName>efter Kristus</DefaultFullName>
-        </Era>
-      </Eras>
-      <StartDayOfWeek>
-        <DayID>mon</DayID>
-      </StartDayOfWeek>
-      <MinimalDaysInFirstWeek>4</MinimalDaysInFirstWeek>
-    </Calendar>
-  </LC_CALENDAR>
-  <LC_CURRENCY>
-    <Currency default="true" usedInCompatibleFormatCodes="true">
-      <CurrencyID>DKK</CurrencyID>
-      <CurrencySymbol>kr</CurrencySymbol>
-      <BankSymbol>DKK</BankSymbol>
-      <CurrencyName>Dansk krone</CurrencyName>
-      <DecimalPlaces>2</DecimalPlaces>
-    </Currency>
-  </LC_CURRENCY>
-  <LC_TRANSLITERATION ref="en_US"/>
-  <LC_MISC>
-    <ReservedWords>
-      <trueWord>sand</trueWord>
-      <falseWord>falsk</falseWord>
-      <quarter1Word>1. kvartal</quarter1Word>
-      <quarter2Word>2. kvartal</quarter2Word>
-      <quarter3Word>3. kvartal</quarter3Word>
-      <quarter4Word>4. kvartal</quarter4Word>
-      <aboveWord>over</aboveWord>
-      <belowWord>under</belowWord>
-      <quarter1Abbreviation>K1</quarter1Abbreviation>
-      <quarter2Abbreviation>K2</quarter2Abbreviation>
-      <quarter3Abbreviation>K3</quarter3Abbreviation>
-      <quarter4Abbreviation>K4</quarter4Abbreviation>
-    </ReservedWords>
-  </LC_MISC>
-  <LC_NumberingLevel ref="en_US"/>
-  <LC_OutLineNumberingLevel ref="en_US"/>
+    <LC_INFO>
+        <Language>
+            <LangID>da</LangID>
+            <DefaultName>Danish</DefaultName>
+        </Language>
+        <Country>
+            <CountryID>DK</CountryID>
+            <DefaultName>Denmark</DefaultName>
+        </Country>
+    </LC_INFO>
+    <LC_CTYPE>
+        <Separators>
+            <DateSeparator>-</DateSeparator>
+            <ThousandSeparator>.</ThousandSeparator>
+            <DecimalSeparator>,</DecimalSeparator>
+            <TimeSeparator>:</TimeSeparator>
+            <Time100SecSeparator>,</Time100SecSeparator>
+            <ListSeparator>;</ListSeparator>
+            <LongDateDayOfWeekSeparator> </LongDateDayOfWeekSeparator>
+            <LongDateDaySeparator>. </LongDateDaySeparator>
+            <LongDateMonthSeparator> </LongDateMonthSeparator>
+            <LongDateYearSeparator> </LongDateYearSeparator>
+        </Separators>
+        <Markers>
+            <QuotationStart>’</QuotationStart>
+            <QuotationEnd>’</QuotationEnd>
+            <DoubleQuotationStart>”</DoubleQuotationStart>
+            <DoubleQuotationEnd>”</DoubleQuotationEnd>
+        </Markers>
+        <TimeAM>AM</TimeAM>
+        <TimePM>PM</TimePM>
+        <MeasurementSystem>metric</MeasurementSystem>
+    </LC_CTYPE>
+    <LC_FORMAT>
+        <FormatElement msgid="FixedFormatskey1" default="true" type="medium" usage="FIXED_NUMBER" formatindex="0">
+            <FormatCode>Standard</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="FixedFormatskey2" default="true" type="short" usage="FIXED_NUMBER" formatindex="1">
+            <FormatCode>0</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="FixedFormatskey3" default="false" type="medium" usage="FIXED_NUMBER" formatindex="2">
+            <FormatCode>0,00</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="FixedFormatskey4" default="false" type="short" usage="FIXED_NUMBER" formatindex="3">
+            <FormatCode>#.##0</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="FixedFormatskey5" default="false" type="medium" usage="FIXED_NUMBER" formatindex="4">
+            <FormatCode>#.##0,00</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="FixedFormatskey6" default="false" type="medium" usage="FIXED_NUMBER" formatindex="5">
+            <FormatCode>#.###,00</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="ScientificFormatskey1" default="true" type="medium" usage="SCIENTIFIC_NUMBER" formatindex="6">
+            <FormatCode>0,00E+000</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="ScientificFormatskey2" default="false" type="medium" usage="SCIENTIFIC_NUMBER" formatindex="7">
+            <FormatCode>0,00E+00</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="PercentFormatskey1" default="true" type="short" usage="PERCENT_NUMBER" formatindex="8">
+            <FormatCode>0%</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="PercentFormatskey2" default="true" type="long" usage="PERCENT_NUMBER" formatindex="9">
+            <FormatCode>0,00%</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="CurrencyFormatskey1" default="true" type="short" usage="CURRENCY" formatindex="12">
+            <FormatCode>[$kr-406] #.##0;[$kr-406] -#.##0</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="CurrencyFormatskey2" default="false" type="medium" usage="CURRENCY" formatindex="13">
+            <FormatCode>[$kr-406] #.##0,00;[$kr-406] -#.##0,00</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="CurrencyFormatskey3" default="false" type="medium" usage="CURRENCY" formatindex="14">
+            <FormatCode>[$kr-406] #.##0;[RED][$kr-406] -#.##0</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="CurrencyFormatskey4" default="true" type="medium" usage="CURRENCY" formatindex="15">
+            <FormatCode>[$kr-406] #.##0,00;[RED][$kr-406] -#.##0,00</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="CurrencyFormatskey5" default="false" type="medium" usage="CURRENCY" formatindex="16">
+            <FormatCode>#.##0,00 CCC</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="CurrencyFormatskey6" default="false" type="medium" usage="CURRENCY" formatindex="17">
+            <FormatCode>[$kr-406] #.##0,--;[RED][$kr-406] -#.##0,--</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="DateFormatskey1" default="true" type="short" usage="DATE" formatindex="18">
+            <FormatCode>DD-MM-YY</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="DateFormatskey9" default="true" type="long" usage="DATE" formatindex="19">
+            <FormatCode>D. MMMM YYYY</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="DateFormatskey8" default="true" type="medium" usage="DATE" formatindex="20">
+            <FormatCode>DD-MM-YY</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="DateFormatskey7" default="false" type="medium" usage="DATE" formatindex="21">
+            <FormatCode>DD-MM-YYYY</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="DateFormatskey10" default="false" type="long" usage="DATE" formatindex="22">
+            <FormatCode>D. MMM YY</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="DateFormatskey11" default="false" type="long" usage="DATE" formatindex="23">
+            <FormatCode>D. MMM YYYY</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="DateFormatskey16" default="false" type="long" usage="DATE" formatindex="24">
+            <FormatCode>D. MMM. YYYY</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="DateFormatskey12" default="false" type="long" usage="DATE" formatindex="25">
+            <FormatCode>D. MMMM YYYY</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="DateFormatskey17" default="false" type="long" usage="DATE" formatindex="26">
+            <FormatCode>D. MMMM YYYY</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="DateFormatskey13" default="false" type="long" usage="DATE" formatindex="27">
+            <FormatCode>NN D. MMM YY</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="DateFormatskey2" default="false" type="medium" usage="DATE" formatindex="28">
+            <FormatCode>NN DD-MMM YY</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="DateFormatskey14" default="false" type="long" usage="DATE" formatindex="29">
+            <FormatCode>NN D. MMMM YYYY</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="DateFormatskey15" default="false" type="long" usage="DATE" formatindex="30">
+            <FormatCode>NNNND. MMMM YYYY</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="DateFormatskey18" default="false" type="short" usage="DATE" formatindex="31">
+            <FormatCode>MM-DD</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="DateFormatskey19" default="false" type="medium" usage="DATE" formatindex="32">
+            <FormatCode>YY-MM-DD</FormatCode>
+            <DefaultName>ISO 8601 (EN 28601)</DefaultName>
+        </FormatElement>
+        <FormatElement msgid="DateFormatskey20" default="false" type="medium" usage="DATE" formatindex="33">
+            <FormatCode>YYYY-MM-DD</FormatCode>
+            <DefaultName>ISO 8601 (EN 28601)</DefaultName>
+        </FormatElement>
+        <FormatElement msgid="DateFormatskey3" default="false" type="medium" usage="DATE" formatindex="34">
+            <FormatCode>MM-YY</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="DateFormatskey4" default="false" type="medium" usage="DATE" formatindex="35">
+            <FormatCode>DD-MMM</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="DateFormatskey5" default="false" type="medium" usage="DATE" formatindex="36">
+            <FormatCode>MMMM</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="DateFormatskey6" default="false" type="medium" usage="DATE" formatindex="37">
+            <FormatCode>QQ YY</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="DateFormatskey21" default="false" type="medium" usage="DATE" formatindex="38">
+            <FormatCode>WW</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="TimeFormatskey1" default="true" type="short" usage="TIME" formatindex="39">
+            <FormatCode>TT:MM</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="TimeFormatskey2" default="true" type="medium" usage="TIME" formatindex="40">
+            <FormatCode>TT:MM:SS</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="TimeFormatskey3" default="false" type="short" usage="TIME" formatindex="41">
+            <FormatCode>TT:MM AM/PM</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="TimeFormatskey4" default="false" type="medium" usage="TIME" formatindex="42">
+            <FormatCode>TT:MM:SS AM/PM</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="TimeFormatskey5" default="false" type="medium" usage="TIME" formatindex="43">
+            <FormatCode>[TT]:MM:SS</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="TimeFormatskey6" default="false" type="short" usage="TIME" formatindex="44">
+            <FormatCode>MM:SS,00</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="TimeFormatskey7" default="false" type="medium" usage="TIME" formatindex="45">
+            <FormatCode>[TT]:MM:SS,00</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="DateTimeFormatskey1" default="true" type="medium" usage="DATE_TIME" formatindex="46">
+            <FormatCode>DD-MM-YY TT:MM</FormatCode>
+        </FormatElement>
+        <FormatElement msgid="DateTimeFormatskey2" default="false" type="medium" usage="DATE_TIME" formatindex="47">
+            <FormatCode>DD-MM-YYYY TT:MM:SS</FormatCode>
+        </FormatElement>
+    </LC_FORMAT>
+    <LC_COLLATION ref="en_US" />
+    <LC_SEARCH ref="en_US"/>
+    <LC_INDEX>
+        <IndexKey phonetic="false" default="true" unoid="alphanumeric">A-Z Æ Ø Å</IndexKey>
+        <UnicodeScript>0</UnicodeScript>
+        <UnicodeScript>1</UnicodeScript>
+        <UnicodeScript>2</UnicodeScript>
+        <FollowPageWord>f.</FollowPageWord>
+        <FollowPageWord>ff.</FollowPageWord>
+    </LC_INDEX>
+    <LC_CALENDAR>
+        <Calendar unoid="gregorian" default="true">
+            <DaysOfWeek>
+                <Day>
+                    <DayID>sun</DayID>
+                    <DefaultAbbrvName>søn</DefaultAbbrvName>
+                    <DefaultFullName>søndag</DefaultFullName>
+                </Day>
+                <Day>
+                    <DayID>mon</DayID>
+                    <DefaultAbbrvName>man</DefaultAbbrvName>
+                    <DefaultFullName>mandag</DefaultFullName>
+                </Day>
+                <Day>
+                    <DayID>tue</DayID>
+                    <DefaultAbbrvName>tir</DefaultAbbrvName>
+                    <DefaultFullName>tirsdag</DefaultFullName>
+                </Day>
+                <Day>
+                    <DayID>wed</DayID>
+                    <DefaultAbbrvName>ons</DefaultAbbrvName>
+                    <DefaultFullName>onsdag</DefaultFullName>
+                </Day>
+                <Day>
+                    <DayID>thu</DayID>
+                    <DefaultAbbrvName>tor</DefaultAbbrvName>
+                    <DefaultFullName>torsdag</DefaultFullName>
+                </Day>
+                <Day>
+                    <DayID>fri</DayID>
+                    <DefaultAbbrvName>fre</DefaultAbbrvName>
+                    <DefaultFullName>fredag</DefaultFullName>
+                </Day>
+                <Day>
+                    <DayID>sat</DayID>
+                    <DefaultAbbrvName>lør</DefaultAbbrvName>
+                    <DefaultFullName>lørdag</DefaultFullName>
+                </Day>
+            </DaysOfWeek>
+            <MonthsOfYear>
+                <Month>
+                    <MonthID>jan</MonthID>
+                    <DefaultAbbrvName>jan</DefaultAbbrvName>
+                    <DefaultFullName>januar</DefaultFullName>
+                </Month>
+                <Month>
+                    <MonthID>feb</MonthID>
+                    <DefaultAbbrvName>feb</DefaultAbbrvName>
+                    <DefaultFullName>februar</DefaultFullName>
+                </Month>
+                <Month>
+                    <MonthID>mar</MonthID>
+                    <DefaultAbbrvName>mar</DefaultAbbrvName>
+                    <DefaultFullName>marts</DefaultFullName>
+                </Month>
+                <Month>
+                    <MonthID>apr</MonthID>
+                    <DefaultAbbrvName>apr</DefaultAbbrvName>
+                    <DefaultFullName>april</DefaultFullName>
+                </Month>
+                <Month>
+                    <MonthID>may</MonthID>
+                    <DefaultAbbrvName>maj</DefaultAbbrvName>
+                    <DefaultFullName>maj</DefaultFullName>
+                </Month>
+                <Month>
+                    <MonthID>jun</MonthID>
+                    <DefaultAbbrvName>jun</DefaultAbbrvName>
+                    <DefaultFullName>juni</DefaultFullName>
+                </Month>
+                <Month>
+                    <MonthID>jul</MonthID>
+                    <DefaultAbbrvName>jul</DefaultAbbrvName>
+                    <DefaultFullName>juli</DefaultFullName>
+                </Month>
+                <Month>
+                    <MonthID>aug</MonthID>
+                    <DefaultAbbrvName>aug</DefaultAbbrvName>
+                    <DefaultFullName>august</DefaultFullName>
+                </Month>
+                <Month>
+                    <MonthID>sep</MonthID>
+                    <DefaultAbbrvName>sep</DefaultAbbrvName>
+                    <DefaultFullName>september</DefaultFullName>
+                </Month>
+                <Month>
+                    <MonthID>oct</MonthID>
+                    <DefaultAbbrvName>okt</DefaultAbbrvName>
+                    <DefaultFullName>oktober</DefaultFullName>
+                </Month>
+                <Month>
+                    <MonthID>nov</MonthID>
+                    <DefaultAbbrvName>nov</DefaultAbbrvName>
+                    <DefaultFullName>november</DefaultFullName>
+                </Month>
+                <Month>
+                    <MonthID>dec</MonthID>
+                    <DefaultAbbrvName>dec</DefaultAbbrvName>
+                    <DefaultFullName>december</DefaultFullName>
+                </Month>
+            </MonthsOfYear>
+            <Eras>
+                <Era>
+                    <EraID>bc</EraID>
+                    <DefaultAbbrvName>f.Kr.</DefaultAbbrvName>
+                    <DefaultFullName>før Kristus</DefaultFullName>
+                </Era>
+                <Era>
+                    <EraID>ad</EraID>
+                    <DefaultAbbrvName>e.Kr.</DefaultAbbrvName>
+                    <DefaultFullName>efter Kristus</DefaultFullName>
+                </Era>
+            </Eras>
+            <StartDayOfWeek>
+                <DayID>mon</DayID>
+            </StartDayOfWeek>
+            <MinimalDaysInFirstWeek>4</MinimalDaysInFirstWeek>
+        </Calendar>
+    </LC_CALENDAR>
+    <LC_CURRENCY>
+        <Currency default="true" usedInCompatibleFormatCodes="true">
+            <CurrencyID>DKK</CurrencyID>
+            <CurrencySymbol>kr</CurrencySymbol>
+            <BankSymbol>DKK</BankSymbol>
+            <CurrencyName>Dansk krone</CurrencyName>
+            <DecimalPlaces>2</DecimalPlaces>
+        </Currency>
+    </LC_CURRENCY>
+    <LC_TRANSLITERATION ref="en_US"/>
+    <LC_MISC>
+        <ReservedWords>
+            <trueWord>sand</trueWord>
+            <falseWord>falsk</falseWord>
+            <quarter1Word>1. kvartal</quarter1Word>
+            <quarter2Word>2. kvartal</quarter2Word>
+            <quarter3Word>3. kvartal</quarter3Word>
+            <quarter4Word>4. kvartal</quarter4Word>
+            <aboveWord>over</aboveWord>
+            <belowWord>under</belowWord>
+            <quarter1Abbreviation>K1</quarter1Abbreviation>
+            <quarter2Abbreviation>K2</quarter2Abbreviation>
+            <quarter3Abbreviation>K3</quarter3Abbreviation>
+            <quarter4Abbreviation>K4</quarter4Abbreviation>
+        </ReservedWords>
+    </LC_MISC>
+    <LC_NumberingLevel ref="en_US"/>
+    <LC_OutLineNumberingLevel ref="en_US"/>
 </Locale>
commit a0083e2cbc9e67c425ea422ca80edd5d19f503c4
Author:     Damjan Jovanovic <damjan at apache.org>
AuthorDate: Thu Aug 16 05:52:54 2018 +0000
Commit:     Damjan Jovanovic <damjan at apache.org>
CommitDate: Thu Aug 16 05:52:54 2018 +0000

    Add a few forgotten exports.
    
    Patch by: me

diff --git a/automation/source/server/server.cxx b/automation/source/server/server.cxx
index cfc6cf821727..ee6cfadc54ca 100644
--- a/automation/source/server/server.cxx
+++ b/automation/source/server/server.cxx
@@ -961,7 +961,7 @@ RemoteControl::~RemoteControl()
 
 static ::osl::Mutex aMutex;
 static RemoteControl* pRemoteControl = 0;
-extern "C" void CreateRemoteControl()
+extern "C" AUTOMATION_DLLPUBLIC void CreateRemoteControl()
 {
     if ( !pRemoteControl )
     {
@@ -971,19 +971,19 @@ extern "C" void CreateRemoteControl()
     }
 }
 
-extern "C" void DestroyRemoteControl()
+extern "C" AUTOMATION_DLLPUBLIC void DestroyRemoteControl()
 {
     ::osl::MutexGuard aGuard( aMutex );
     delete pRemoteControl;
     pRemoteControl = 0;
 }
 
-extern "C" void CreateEventLogger()
+extern "C" AUTOMATION_DLLPUBLIC void CreateEventLogger()
 {
     MacroRecorder::GetMacroRecorder()->SetActionLog();
 }
 
-extern "C" void DestroyEventLogger()
+extern "C" AUTOMATION_DLLPUBLIC void DestroyEventLogger()
 {
     MacroRecorder::GetMacroRecorder()->SetActionLog( sal_False );   // Will delete MacroRecorder if necessary
 }
diff --git a/automation/source/server/statemnt.hxx b/automation/source/server/statemnt.hxx
index d14820333b3a..25a22547336b 100644
--- a/automation/source/server/statemnt.hxx
+++ b/automation/source/server/statemnt.hxx
@@ -51,6 +51,7 @@
 #include <vcl/event.hxx>
 #include <com/sun/star/beans/PropertyValue.hpp>
 #include <automation/commtypes.hxx>
+#include <automation/automationdllapi.h>
 
 class Window;
 class SystemWindow;
@@ -78,7 +79,7 @@ class EditWindow;
 extern "C"
 {
 #endif
-    void SAL_CALL osl_TestToolDebugPrint( const sal_Char *pString );
+    AUTOMATION_DLLPUBLIC void SAL_CALL osl_TestToolDebugPrint( const sal_Char *pString );
 #ifdef __cplusplus
 }
 #endif
commit 12a6555eba8267a7078f7a76e5fa936814d89a78
Author:     Damjan Jovanovic <damjan at apache.org>
AuthorDate: Thu Aug 16 01:05:08 2018 +0000
Commit:     Damjan Jovanovic <damjan at apache.org>
CommitDate: Thu Aug 16 01:05:08 2018 +0000

    On some operating systems, libxslt doesn't automatically link to libxml2,
    
    so we have to link it manually.
    
    Patch by: me

diff --git a/xmlhelp/Library_ucpchelp1.mk b/xmlhelp/Library_ucpchelp1.mk
index 135ddb7926b2..771f1d59eb18 100644
--- a/xmlhelp/Library_ucpchelp1.mk
+++ b/xmlhelp/Library_ucpchelp1.mk
@@ -58,6 +58,7 @@ $(eval $(call gb_Library_add_linked_libs,ucpchelp1,\
 
 $(call gb_Library_use_externals,ucpchelp1,\
 	expat_utf8 \
+	libxml2 \
 	libxslt \
 )
 
commit 911842ad46b2391676c451fe5fafb2b70ef7927a
Author:     Damjan Jovanovic <damjan at apache.org>
AuthorDate: Wed Aug 15 18:16:27 2018 +0000
Commit:     Damjan Jovanovic <damjan at apache.org>
CommitDate: Wed Aug 15 18:16:27 2018 +0000

    "stl" is a mandatory library to link to.
    
    Windows always fails to link libraries without it.
    
    Patch by: me

diff --git a/xmlhelp/Library_tvhlp1.mk b/xmlhelp/Library_tvhlp1.mk
index cceae74278d1..2b90a78d76d2 100644
--- a/xmlhelp/Library_tvhlp1.mk
+++ b/xmlhelp/Library_tvhlp1.mk
@@ -46,6 +46,7 @@ $(eval $(call gb_Library_add_linked_libs,tvhlp1,\
     cppu \
     cppuhelper \
     sal \
+    stl \
     $(gb_STDLIBS) \
 ))
 
diff --git a/xmlhelp/Library_ucpchelp1.mk b/xmlhelp/Library_ucpchelp1.mk
index d9746a314f75..135ddb7926b2 100644
--- a/xmlhelp/Library_ucpchelp1.mk
+++ b/xmlhelp/Library_ucpchelp1.mk
@@ -51,6 +51,7 @@ $(eval $(call gb_Library_add_linked_libs,ucpchelp1,\
     cppu \
     cppuhelper \
     sal \
+    stl \
     ucbhelper \
     $(gb_STDLIBS) \
 ))
commit 6180d04a63e605fbabeb53e538406526dc7ef60c
Author:     Damjan Jovanovic <damjan at apache.org>
AuthorDate: Wed Aug 15 07:01:42 2018 +0000
Commit:     Damjan Jovanovic <damjan at apache.org>
CommitDate: Wed Aug 15 07:01:42 2018 +0000

    Port main/xmlhelp to gbuild.
    
    Patch by: me

diff --git a/Module_ooo.mk b/Module_ooo.mk
index 67cea532ba17..ff41468b3ef3 100644
--- a/Module_ooo.mk
+++ b/Module_ooo.mk
@@ -103,6 +103,7 @@ $(eval $(call gb_Module_add_moduledirs,ooo,\
     writerfilter \
     x11_extensions \
     xml2cmp \
+    xmlhelp \
     xmloff \
     xmlreader \
     xmlscript \
diff --git a/Repository.mk b/Repository.mk
index 066bd2f1b6ff..51efa03c0438 100644
--- a/Repository.mk
+++ b/Repository.mk
@@ -153,6 +153,8 @@ $(eval $(call gb_Helper_register_libraries,OOOLIBS, \
     textconversiondlgs \
     ootk \
     tl \
+    tvhlp1 \
+    ucpchelp1 \
     utl \
     unordf \
     unoxml \
diff --git a/postprocess/packcomponents/makefile.mk b/postprocess/packcomponents/makefile.mk
index b8d543148c1a..4c0044c95c58 100644
--- a/postprocess/packcomponents/makefile.mk
+++ b/postprocess/packcomponents/makefile.mk
@@ -141,6 +141,8 @@ my_components = \
     component/unoxml/source/rdf/unordf \
     component/unoxml/source/service/unoxml \
     component/writerfilter/util/writerfilter \
+    component/xmlhelp/source/treeview/tvhlp1 \
+    component/xmlhelp/util/ucpchelp1 \
     component/xmloff/source/transform/xof \
     component/xmloff/util/xo \
     component/xmlscript/util/xcr \
@@ -184,8 +186,6 @@ my_components = \
     svgfilter \
     syssh \
     t602filter \
-    tvhlp1 \
-    ucpchelp1 \
     updatefeed \
     updchk \
     vbaevents \
@@ -275,7 +275,7 @@ my_components += component/slideshow/source/engine/OGLTrans/ogltrans
 
 .IF "$(SOLAR_JAVA)" == "TRUE"
 my_components += \
-    LuceneHelpWrapper \
+    component/xmlhelp/java/LuceneHelpWrapper/LuceneHelpWrapper \
     ScriptFramework \
     ScriptProviderForJava \
     XMergeBridge \
diff --git a/solenv/ant/externals.xml b/solenv/ant/externals.xml
index 8965778e6875..0dafa892159b 100644
--- a/solenv/ant/externals.xml
+++ b/solenv/ant/externals.xml
@@ -73,4 +73,16 @@
         system-path="${COMMONS_LOGGING_JAR}"
         internal-filename="commons-logging-1.1.3.jar"/>
 
+    <define-external
+        name="lucene-core"
+        system-test="${SYSTEM_LUCENE}"
+        system-path="${LUCENE_CORE_JAR}"
+        internal-filename="lucene-core-2.9.4-dev.jar"/>
+
+    <define-external
+        name="lucene-analyzers"
+        system-test="${SYSTEM_LUCENE}"
+        system-path="${LUCENE_ANALYZERS_JAR}"
+        internal-filename="lucene-analyzers-2.9.4-dev.jar"/>
+
 </project>
diff --git a/xmlhelp/source/cxxhelp/qe/makefile.mk b/xmlhelp/Ant_LuceneHelpWrapper.mk
similarity index 73%
rename from xmlhelp/source/cxxhelp/qe/makefile.mk
rename to xmlhelp/Ant_LuceneHelpWrapper.mk
index d80fa55a714e..565d77702552 100644
--- a/xmlhelp/source/cxxhelp/qe/makefile.mk
+++ b/xmlhelp/Ant_LuceneHelpWrapper.mk
@@ -21,25 +21,9 @@
 
 
 
-PRJ=..$/..$/..
+$(eval $(call gb_Ant_Ant,LuceneHelpWrapper,$(SRCDIR)/xmlhelp/java/LuceneHelpWrapper/build.xml))
 
-PRJNAME=	xmlhelp
-TARGET=	    jaqe	
-AUTOSEG=	TRUE
+$(eval $(call gb_Ant_set_componentfile,LuceneHelpWrapper,xmlhelp/java/LuceneHelpWrapper/LuceneHelpWrapper,OOO))
 
-ENABLE_EXCEPTIONS=TRUE
-
-# --- Settings -----------------------------------------------------
-
-.INCLUDE :	settings.mk
-
-.IF "$(GUI)"=="WNT"
-CFLAGS+=-GR
-.ENDIF
-
-SLOFILES=$(SLO)$/DocGenerator.obj
-
-# --- Targets ------------------------------------------------------
-
-.INCLUDE :	target.mk
+# vim: set noet sw=4 ts=4:
 
diff --git a/xmlhelp/Library_tvhlp1.mk b/xmlhelp/Library_tvhlp1.mk
new file mode 100644
index 000000000000..cceae74278d1
--- /dev/null
+++ b/xmlhelp/Library_tvhlp1.mk
@@ -0,0 +1,61 @@
+#**************************************************************
+#  
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#  
+#    http://www.apache.org/licenses/LICENSE-2.0
+#  
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+#  
+#**************************************************************
+
+
+
+$(eval $(call gb_Library_Library,tvhlp1))
+
+$(eval $(call gb_Library_add_precompiled_header,tvhlp1,$(SRCDIR)/xmlhelp/inc/pch/precompiled_xmlhelp))
+
+$(eval $(call gb_Library_set_componentfile,tvhlp1,xmlhelp/source/treeview/tvhlp1))
+
+$(eval $(call gb_Library_set_include,tvhlp1,\
+	$$(INCLUDE) \
+	-I$(SRCDIR)/xmlhelp/inc \
+	-I$(SRCDIR)/xmlhelp/inc/pch \
+	-I$(SRCDIR)/solenv/inc \
+	-I$(OUTDIR)/inc/stl \
+	-I$(OUTDIR)/inc \
+))
+
+$(eval $(call gb_Library_add_api,tvhlp1,\
+	offapi \
+	udkapi \
+))
+
+$(eval $(call gb_Library_add_linked_libs,tvhlp1,\
+    comphelper \
+    cppu \
+    cppuhelper \
+    sal \
+    $(gb_STDLIBS) \
+))
+
+$(call gb_Library_use_externals,tvhlp1,\
+	expat_utf8 \
+)
+
+$(eval $(call gb_Library_add_exception_objects,tvhlp1,\
+    xmlhelp/source/treeview/tvfactory \
+    xmlhelp/source/treeview/tvread \
+))
+
+# vim: set noet sw=4 ts=4:
diff --git a/xmlhelp/Library_ucpchelp1.mk b/xmlhelp/Library_ucpchelp1.mk
new file mode 100644
index 000000000000..d9746a314f75
--- /dev/null
+++ b/xmlhelp/Library_ucpchelp1.mk
@@ -0,0 +1,81 @@
+#**************************************************************
+#  
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#  
+#    http://www.apache.org/licenses/LICENSE-2.0
+#  
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+#  
+#**************************************************************
+
+
+
+$(eval $(call gb_Library_Library,ucpchelp1))
+
+$(eval $(call gb_Library_add_precompiled_header,ucpchelp1,$(SRCDIR)/xmlhelp/inc/pch/precompiled_xmlhelp))
+
+$(eval $(call gb_Library_set_componentfile,ucpchelp1,xmlhelp/util/ucpchelp1))
+
+$(eval $(call gb_Library_set_include,ucpchelp1,\
+	$$(INCLUDE) \
+	-I$(SRCDIR)/xmlhelp/inc \
+	-I$(SRCDIR)/xmlhelp/inc/pch \
+	-I$(SRCDIR)/xmlhelp/source/cxxhelp/inc \
+	-I$(SRCDIR)/solenv/inc \
+	-I$(OUTDIR)/inc/stl \
+	-I$(OUTDIR)/inc \
+))
+
+$(eval $(call gb_Library_add_api,ucpchelp1,\
+	offapi \
+	udkapi \
+))
+
+$(eval $(call gb_Library_add_defs,ucpchelp1,\
+	-DHAVE_EXPAT_H \
+))
+
+$(eval $(call gb_Library_add_linked_libs,ucpchelp1,\
+    comphelper \
+    cppu \
+    cppuhelper \
+    sal \
+    ucbhelper \
+    $(gb_STDLIBS) \
+))
+
+$(call gb_Library_use_externals,ucpchelp1,\
+	expat_utf8 \
+	libxslt \
+)
+
+$(eval $(call gb_Library_add_exception_objects,ucpchelp1,\
+    xmlhelp/source/cxxhelp/provider/bufferedinputstream \
+    xmlhelp/source/cxxhelp/provider/content \
+    xmlhelp/source/cxxhelp/provider/contentcaps \
+    xmlhelp/source/cxxhelp/provider/databases \
+    xmlhelp/source/cxxhelp/provider/db \
+    xmlhelp/source/cxxhelp/provider/inputstream \
+    xmlhelp/source/cxxhelp/provider/provider \
+    xmlhelp/source/cxxhelp/provider/resultset \
+    xmlhelp/source/cxxhelp/provider/resultsetbase \
+    xmlhelp/source/cxxhelp/provider/resultsetforroot \
+    xmlhelp/source/cxxhelp/provider/resultsetforquery \
+    xmlhelp/source/cxxhelp/provider/services \
+    xmlhelp/source/cxxhelp/provider/urlparameter \
+    xmlhelp/source/cxxhelp/qe/DocGenerator \
+    xmlhelp/source/cxxhelp/util/Decompressor \
+))
+
+# vim: set noet sw=4 ts=4:
diff --git a/xmlhelp/source/cxxhelp/util/makefile.mk b/xmlhelp/Makefile
similarity index 72%
rename from xmlhelp/source/cxxhelp/util/makefile.mk
rename to xmlhelp/Makefile
index e41bf2b105c8..c1d144cbd4c9 100644
--- a/xmlhelp/source/cxxhelp/util/makefile.mk
+++ b/xmlhelp/Makefile
@@ -19,28 +19,14 @@
 #  
 #**************************************************************
 
+ifeq ($(strip $(SOLARENV)),)
+$(error No environment set!)
+endif
 
+gb_PARTIALBUILD := T
+GBUILDDIR := $(SOLARENV)/gbuild
+include $(GBUILDDIR)/gbuild.mk
 
-PRJ=..$/..$/..
-
-PRJNAME=	xmlhelp
-TARGET=	    jautil	
-AUTOSEG=	TRUE
-
-ENABLE_EXCEPTIONS=TRUE
-
-# --- Settings -----------------------------------------------------
-
-.INCLUDE :	settings.mk
-
-.IF "$(GUI)"=="WNT"
-CFLAGS+=-GR
-.ENDIF
-
-SLOFILES=\
-        $(SLO)$/Decompressor.obj
-
-# --- Targets ------------------------------------------------------
-
-.INCLUDE :	target.mk
+$(eval $(call gb_Module_make_global_targets,$(shell ls $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/Module*.mk)))
 
+# vim: set noet sw=4 ts=4:
diff --git a/xmlhelp/source/com/sun/star/help/helplinker.pmk b/xmlhelp/Module_xmlhelp.mk
similarity index 80%
rename from xmlhelp/source/com/sun/star/help/helplinker.pmk
rename to xmlhelp/Module_xmlhelp.mk
index a10d50a3fec5..1cf9b0dd2245 100644
--- a/xmlhelp/source/com/sun/star/help/helplinker.pmk
+++ b/xmlhelp/Module_xmlhelp.mk
@@ -21,7 +21,17 @@
 
 
 
-# define HELPLINKER_DLLIMPLEMENTATION (see @ inc/xmlhelp/helplinkerdllapi.h)
-CDEFS += -DHELPLINKER_DLLIMPLEMENTATION
+$(eval $(call gb_Module_Module,xmlhelp))
 
-VISIBILITY_HIDDEN=TRUE
+$(eval $(call gb_Module_add_targets,xmlhelp,\
+	Ant_LuceneHelpWrapper \
+	Library_tvhlp1 \
+	Library_ucpchelp1 \
+	Package_xml \
+	Package_xsl \
+	Zip_helpxsl \
+))
+
+
+
+# vim: set noet sw=4 ts=4:
diff --git a/xmlhelp/Package_xml.mk b/xmlhelp/Package_xml.mk
new file mode 100644
index 000000000000..3206cfad3d1c
--- /dev/null
+++ b/xmlhelp/Package_xml.mk
@@ -0,0 +1,26 @@
+###############################################################
+#  
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#  
+#    http://www.apache.org/licenses/LICENSE-2.0
+#  
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+#  
+###############################################################
+
+
+
+$(eval $(call gb_Package_Package,xmlhelp_xml,$(SRCDIR)/xmlhelp))
+
+$(eval $(call gb_Package_add_file,xmlhelp_xml,xml/ucpchelp.xml,util/ucpchelp.xml))
diff --git a/xmlhelp/Package_xsl.mk b/xmlhelp/Package_xsl.mk
new file mode 100644
index 000000000000..4a00682828d4
--- /dev/null
+++ b/xmlhelp/Package_xsl.mk
@@ -0,0 +1,29 @@
+###############################################################
+#  
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#  
+#    http://www.apache.org/licenses/LICENSE-2.0
+#  
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+#  
+###############################################################
+
+
+
+$(eval $(call gb_Package_Package,xmlhelp_xsl,$(SRCDIR)/xmlhelp))
+
+$(eval $(call gb_Package_add_file,xmlhelp_xsl,bin/embed.xsl,util/embed.xsl))
+$(eval $(call gb_Package_add_file,xmlhelp_xsl,bin/idxcaption.xsl,util/idxcaption.xsl))
+$(eval $(call gb_Package_add_file,xmlhelp_xsl,bin/idxcontent.xsl,util/idxcontent.xsl))
+$(eval $(call gb_Package_add_file,xmlhelp_xsl,bin/main_transform.xsl,util/main_transform.xsl))
diff --git a/xmlhelp/Zip_helpxsl.mk b/xmlhelp/Zip_helpxsl.mk
new file mode 100644
index 000000000000..333b8a7db82a
--- /dev/null
+++ b/xmlhelp/Zip_helpxsl.mk
@@ -0,0 +1,32 @@
+###############################################################
+#  
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#  
+#    http://www.apache.org/licenses/LICENSE-2.0
+#  
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+#  
+###############################################################
+
+
+
+$(eval $(call gb_Zip_Zip,helpxsl,$(SRCDIR)/xmlhelp/util))
+
+$(eval $(call gb_Zip_add_files,helpxsl,\
+	idxcaption.xsl \
+	idxcontent.xsl \
+	main_transform.xsl \
+))
+
+# vim: set noet sw=4 ts=4:
diff --git a/xmlhelp/source/com/sun/star/help/LuceneHelpWrapper.component b/xmlhelp/java/LuceneHelpWrapper/LuceneHelpWrapper.component
similarity index 100%
rename from xmlhelp/source/com/sun/star/help/LuceneHelpWrapper.component
rename to xmlhelp/java/LuceneHelpWrapper/LuceneHelpWrapper.component
diff --git a/xmlhelp/source/com/sun/star/help/MANIFEST.MF b/xmlhelp/java/LuceneHelpWrapper/MANIFEST.MF
similarity index 100%
rename from xmlhelp/source/com/sun/star/help/MANIFEST.MF
rename to xmlhelp/java/LuceneHelpWrapper/MANIFEST.MF
diff --git a/xmlhelp/java/LuceneHelpWrapper/build.xml b/xmlhelp/java/LuceneHelpWrapper/build.xml
new file mode 100644
index 000000000000..8639d6361e15
--- /dev/null
+++ b/xmlhelp/java/LuceneHelpWrapper/build.xml
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ ***********************************************************-->
+
+
+<project name="LuceneHelpWrapper" default="main">
+
+    <property file="../../../ant.properties"/>
+    <import file="${SRC_ROOT}/solenv/ant/aoo-ant.xml"/>
+
+    <target name="init-project">
+
+        <property name="jar.classpath" value="${external.lucene-core.jarclasspath} ${external.lucene-analyzers.jarclasspath}"/>
+        <property name="jar.manifest" value="${SRC_ROOT}/xmlhelp/java/LuceneHelpWrapper/MANIFEST.MF"/>
+
+        <path id="main.classpath">
+            <pathelement location="${OUTDIR}/bin/juh.jar"/>
+            <pathelement location="${OUTDIR}/bin/jurt.jar"/>
+            <pathelement location="${OUTDIR}/bin/ridl.jar"/>
+            <pathelement location="${OUTDIR}/bin/unoil.jar"/>
+            <pathelement location="${external.lucene-core.path}"/>
+            <pathelement location="${external.lucene-analyzers.path}"/>
+            <pathelement location="${OUTDIR}/bin/help"/>
+        </path>
+
+    </target>
+
+
+    <target name="import-helpindexer" extensionOf="pre-compile" depends="prepare">
+
+        <copy todir="${main.build.dir}">
+            <fileset dir="${OUTDIR}/bin/help" includes="**/*.class"/>
+        </copy>
+
+    </target>
+
+</project>
+
diff --git a/xmlhelp/source/com/sun/star/help/HelpComponent.java b/xmlhelp/java/LuceneHelpWrapper/src/main/java/com/sun/star/help/HelpComponent.java
similarity index 100%
rename from xmlhelp/source/com/sun/star/help/HelpComponent.java
rename to xmlhelp/java/LuceneHelpWrapper/src/main/java/com/sun/star/help/HelpComponent.java
diff --git a/xmlhelp/source/com/sun/star/help/HelpIndexer.java b/xmlhelp/java/LuceneHelpWrapper/src/main/java/com/sun/star/help/HelpIndexer.java
similarity index 100%
rename from xmlhelp/source/com/sun/star/help/HelpIndexer.java
rename to xmlhelp/java/LuceneHelpWrapper/src/main/java/com/sun/star/help/HelpIndexer.java
diff --git a/xmlhelp/source/com/sun/star/help/HelpSearch.java b/xmlhelp/java/LuceneHelpWrapper/src/main/java/com/sun/star/help/HelpSearch.java
similarity index 99%
rename from xmlhelp/source/com/sun/star/help/HelpSearch.java
rename to xmlhelp/java/LuceneHelpWrapper/src/main/java/com/sun/star/help/HelpSearch.java
index a95fd9165ff9..cc0bffb5691c 100644
--- a/xmlhelp/source/com/sun/star/help/HelpSearch.java
+++ b/xmlhelp/java/LuceneHelpWrapper/src/main/java/com/sun/star/help/HelpSearch.java
@@ -204,8 +204,8 @@ public class HelpSearch
         // Command line interface for testing
         private static String[] doQuery( Object[] args, Object[] aScoreOutArray ) throws Exception
         {
-             String aLanguageStr = "";
-             String aIndexStr = "";
+            String aLanguageStr = "";
+            String aIndexStr = "";
             String aQueryStr = "";
             boolean bCaptionOnly = false;
 
diff --git a/xmlhelp/java/LuceneHelpWrapper/src/main/java/com/sun/star/help/LuceneHelpWrapper.component b/xmlhelp/java/LuceneHelpWrapper/src/main/java/com/sun/star/help/LuceneHelpWrapper.component
new file mode 100644
index 000000000000..019b50b664a1
--- /dev/null
+++ b/xmlhelp/java/LuceneHelpWrapper/src/main/java/com/sun/star/help/LuceneHelpWrapper.component
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************
+ * 
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ * 
+ ***********************************************************-->
+
+
+
+<component loader="com.sun.star.loader.Java2"
+    xmlns="http://openoffice.org/2010/uno-components">
+  <implementation name="com.sun.star.help.HelpIndexer">
+    <service name="com.sun.star.help.HelpIndexer"/>
+  </implementation>
+  <implementation name="com.sun.star.help.HelpSearch$_HelpSearch">
+    <service name="com.sun.star.help.HelpSearch"/>
+  </implementation>
+</component>
diff --git a/xmlhelp/prj/build.lst b/xmlhelp/prj/build.lst
index 13ca8b3e6180..58fdb011a9bb 100644
--- a/xmlhelp/prj/build.lst
+++ b/xmlhelp/prj/build.lst
@@ -1,9 +1,2 @@
 xh      xmlhelp :       comphelper ucbhelper LIBXSLT:libxslt unoil LUCENE:lucene javaunohelper l10ntools NULL
-xh	xmlhelp									usr1	-	all	xh_mkout NULL
-xh	xmlhelp\inc								nmake	-	all	xh_inc NULL
-xh	xmlhelp\source\treeview					nmake	-	all	xh_treeview xh_inc NULL
-xh	xmlhelp\source\com\sun\star\help		nmake	-	all	xh_help xh_inc NULL
-xh	xmlhelp\source\cxxhelp\util				nmake	-	all	xh_cutil xh_inc NULL
-xh	xmlhelp\source\cxxhelp\qe				nmake	-	all	xh_qe xh_inc NULL
-xh	xmlhelp\source\cxxhelp\provider			nmake	-	all	xh_provider xh_inc NULL
-xh	xmlhelp\util            				nmake	-	all	xh_util xh_cutil xh_qe xh_provider NULL
+xh	xmlhelp\prj								nmake	-	all	xh_prj NULL
diff --git a/xmlhelp/prj/d.lst b/xmlhelp/prj/d.lst
index 740ff554ee34..e69de29bb2d1 100644
--- a/xmlhelp/prj/d.lst
+++ b/xmlhelp/prj/d.lst
@@ -1,12 +0,0 @@
-..\%__SRC%\bin\*.dll %_DEST%\bin%_EXT%\*.*
-..\%__SRC%\bin\HelpLinker* %_DEST%\bin%_EXT%
-..\%__SRC%\lib\lib*.so %_DEST%\lib%_EXT%
-..\%__SRC%\lib\*.dylib %_DEST%\lib%_EXT%\*.*
-..\%__SRC%\class\*.jar %_DEST%\bin%_EXT%\*.*
-..\util\ucpchelp.xml %_DEST%\xml%_EXT%\ucpchelp.xml
-..\util\*.xsl %_DEST%\bin%_EXT%\*.*
-..\%__SRC%\lib\ihelplinker.lib %_DEST%\lib%_EXT%\ihelplinker.lib
-..\%__SRC%\bin\helpxsl.zip %_DEST%\pck%_EXT%\helpxsl.zip
-..\%__SRC%\misc\LuceneHelpWrapper.component %_DEST%\xml%_EXT%\LuceneHelpWrapper.component
-..\%__SRC%\misc\tvhlp1.component %_DEST%\xml%_EXT%\tvhlp1.component
-..\%__SRC%\misc\ucpchelp1.component %_DEST%\xml%_EXT%\ucpchelp1.component
diff --git a/xmlhelp/inc/makefile.mk b/xmlhelp/prj/makefile.mk
similarity index 69%
rename from xmlhelp/inc/makefile.mk
rename to xmlhelp/prj/makefile.mk
index 479df6f6ac6a..c62c6a657d16 100644
--- a/xmlhelp/inc/makefile.mk
+++ b/xmlhelp/prj/makefile.mk
@@ -20,24 +20,25 @@
 #**************************************************************
 
 
-PRJ=..
-
-PRJNAME=xmlhelp
-TARGET=inc
-
-# --- Settings -----------------------------------------------------
-
-.INCLUDE :  settings.mk
-
-# --- Files --------------------------------------------------------
-# --- Targets -------------------------------------------------------
-
-.INCLUDE :  target.mk
-
-.IF "$(ENABLE_PCH)"!=""
-ALLTAR : \
-    $(SLO)$/precompiled.pch \
-    $(SLO)$/precompiled_ex.pch
-    
-.ENDIF			# "$(ENABLE_PCH)"!=""
 
+PRJ=..
+TARGET=prj
+
+.INCLUDE : settings.mk
+
+.IF "$(VERBOSE)"!=""
+VERBOSEFLAG :=
+.ELSE
+VERBOSEFLAG := -s
+.ENDIF
+
+.IF "$(DEBUG)"!=""
+DEBUG_ARGUMENT=DEBUG=$(DEBUG)
+.ELIF "$(debug)"!=""
+DEBUG_ARGUMENT=debug=$(debug)
+.ELSE
+DEBUG_ARGUMENT=
+.ENDIF
+
+all:
+    cd $(PRJ) && $(GNUMAKE) $(VERBOSEFLAG) -r -j$(MAXPROCESS) $(gb_MAKETARGET) $(DEBUG_ARGUMENT) && $(GNUMAKE) $(VERBOSEFLAG) -r deliverlog
diff --git a/xmlhelp/source/com/sun/star/help/makefile.mk b/xmlhelp/source/com/sun/star/help/makefile.mk
deleted file mode 100644
index 32d0db59ad25..000000000000
--- a/xmlhelp/source/com/sun/star/help/makefile.mk
+++ /dev/null
@@ -1,86 +0,0 @@
-#**************************************************************
-#  
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#    http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-#  
-#**************************************************************
-
-
-
-PRJ		= ..$/..$/..$/..$/..
-PRJNAME = xmlhelp
-TARGET  = HelpLinker
-PACKAGE = com$/sun$/star$/help
-
-.IF "$(SOLAR_JAVA)"!=""
-# --- Settings -----------------------------------------------------
-
-.INCLUDE : settings.mk
- 
-JAVACLASSFILES = \
-    $(CLASSDIR)$/$(PACKAGE)$/HelpSearch.class			        \
-    $(CLASSDIR)$/$(PACKAGE)$/HelpComponent.class			        \
-    $(CLASSDIR)$/$(PACKAGE)$/HelpIndexer.class			        
-
-TRANSEX3FILES = \
-        $(SOLARBINDIR)$/help$/$(PACKAGE)$/HelpIndexerTool.class		\
-        $(SOLARBINDIR)$/help$/$(PACKAGE)$/HelpFileDocument.class				
-
-ADDFILES = $(subst,$(SOLARBINDIR)$/help,$(CLASSDIR) $(TRANSEX3FILES))
-
-JARFILES  = ridl.jar jurt.jar unoil.jar juh.jar 
-.IF "$(SYSTEM_LUCENE)" == "YES"
-EXTRAJARFILES = $(LUCENE_CORE_JAR) $(LUCENE_ANALYZERS_JAR)
-JARCLASSPATH = $(EXTRAJARFILES)
-.ELSE
-JARFILES += lucene-core-2.9.4-dev.jar lucene-analyzers-2.9.4-dev.jar
-JARCLASSPATH = lucene-core-2.9.4-dev.jar lucene-analyzers-2.9.4-dev.jar
-.ENDIF
-  
-JARTARGET	   	   = LuceneHelpWrapper.jar
-JARCOMPRESS        = TRUE 
-CUSTOMMANIFESTFILE = MANIFEST.MF
- 
-# --- Targets ------------------------------------------------------
-
-.INCLUDE :  target.mk
-
-.IF "$(JARTARGETN)"!=""
-$(JAVATARGET) : $(ADDFILES)
-$(JARTARGETN) : $(ADDFILES)
-.ENDIF
-
-$(ADDFILES) : $(SOLARBINDIR)$/help$/$(PACKAGE)$/$$(@:f)
-    $(MKDIRHIER) $(@:d)	
-    $(COPY) $< $@
-
-fix_system_lucene:
-    @echo "Fix Java Class-Path entry for Lucene libraries from system."
-    @$(SED) -r -e "s#^(Class-Path:).*#\1 file://$(LUCENE_CORE_JAR) file://$(LUCENE_ANALYZERS_JAR)#" \
-    -i ../../../../../$(INPATH)/class/HelpLinker/META-INF/MANIFEST.MF
-
-ALLTAR : $(MISC)/LuceneHelpWrapper.component
-
-$(MISC)/LuceneHelpWrapper.component .ERRREMOVE : \
-        $(SOLARENV)/bin/createcomponent.xslt LuceneHelpWrapper.component
-    $(XSLTPROC) --nonet --stringparam uri \
-        '$(COMPONENTPREFIX_BASIS_JAVA)$(JARTARGET)' -o $@ \
-        $(SOLARENV)/bin/createcomponent.xslt LuceneHelpWrapper.component
-.ELSE
-all:
-        @echo java disabled
-.ENDIF
diff --git a/xmlhelp/source/cxxhelp/provider/makefile.mk b/xmlhelp/source/cxxhelp/provider/makefile.mk
deleted file mode 100644
index baf7ad54ee92..000000000000
--- a/xmlhelp/source/cxxhelp/provider/makefile.mk
+++ /dev/null
@@ -1,89 +0,0 @@
-#**************************************************************
-#  
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#    http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-#  
-#**************************************************************
-
-
-
-PRJ=..$/..$/..
-PRJNAME=xmlhelp
-TARGET=chelp
-
-ENABLE_EXCEPTIONS=TRUE
-USE_DEFFILE=TRUE
-NO_BSYMBOLIC=TRUE
-
-
-# --- Settings ---------------------------------------------------------
-
-.INCLUDE: settings.mk
-
-# GCC versions 4.2.x introduced a warning "allocating zero-element array"
-# Allocating zero-element arrays is an allowed if not somewhat dubious 
-# technique though, so this warning is plain wrong and has been fixed 
-# in gcc 4.3. Unfortunately there is no way at all to suppress this warning.
-# Some files in this directory use zero allocated arrays, we need to
-# disable the WaE mechanism for the GCC 4.2.x series.
-.IF "$(COM)"=="GCC"
-.IF "$(CCNUMVER)">="000400020000" && "$(CCNUMVER)"<="000400020003"
-CFLAGSWERRCXX:=
-.ENDIF # "$(CCNUMVER)">="000400020000" && "$(CCNUMVER)"<="000400020003"
-.ENDIF # "$(COM)"=="GCC"
-
-CFLAGS +=  -DHAVE_EXPAT_H
-
-.IF "$(SYSTEM_LIBXML)" == "YES"
-CFLAGS+= $(LIBXML_CFLAGS)
-.ELSE
-LIBXMLINCDIR=external$/libxml
-CFLAGS+= -I$(SOLARINCDIR)$/$(LIBXMLINCDIR)
-.ENDIF
-
-.IF "$(SYSTEM_LIBXSLT)" == "YES"
-CFLAGS+= $(LIBXSLT_CFLAGS)
-.ELSE
-LIBXSLTINCDIR=external$/libxslt
-CFLAGS+= -I$(SOLARINCDIR)$/$(LIBXSLTINCDIR)
-.ENDIF
-
-.IF "$(GUI)"=="WNT"
-CFLAGS+=-GR
-.ENDIF
-
-# --- General -----------------------------------------------------
-
-SLOFILES=\
-    $(SLO)$/db.obj                     \
-    $(SLO)$/databases.obj          \
-    $(SLO)$/services.obj    	   \
-    $(SLO)$/resultset.obj     	   \
-    $(SLO)$/resultsetbase.obj      \
-    $(SLO)$/resultsetforroot.obj   \
-    $(SLO)$/resultsetforquery.obj  \
-    $(SLO)$/contentcaps.obj        \
-    $(SLO)$/provider.obj    	   \
-    $(SLO)$/content.obj     	   \
-    $(SLO)$/urlparameter.obj       \
-    $(SLO)$/inputstream.obj        \
-    $(SLO)$/bufferedinputstream.obj
-
-# --- Targets ----------------------------------------------------------
-
-.INCLUDE: target.mk
-
diff --git a/xmlhelp/source/cxxhelp/provider/services.cxx b/xmlhelp/source/cxxhelp/provider/services.cxx
index 4eb37f259d3a..8a385b0375a6 100644
--- a/xmlhelp/source/cxxhelp/provider/services.cxx
+++ b/xmlhelp/source/cxxhelp/provider/services.cxx
@@ -32,14 +32,14 @@
 using namespace com::sun::star;
 
 //=========================================================================
-extern "C" void SAL_CALL component_getImplementationEnvironment(
+extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
     const sal_Char ** ppEnvTypeName, uno_Environment ** /*ppEnv*/ )
 {
     *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
 }
 
 //=========================================================================
-extern "C" void * SAL_CALL component_getFactory(
+extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
     const sal_Char * pImplName,
     void * pServiceManager,
     void * /*pRegistryKey*/ )
diff --git a/xmlhelp/source/treeview/tvfactory.cxx b/xmlhelp/source/treeview/tvfactory.cxx
index 08c63574244e..e0cf8e3dc497 100644
--- a/xmlhelp/source/treeview/tvfactory.cxx
+++ b/xmlhelp/source/treeview/tvfactory.cxx
@@ -252,7 +252,7 @@ TVFactory::CreateInstance(
 }
 
 //=========================================================================
-extern "C" void SAL_CALL component_getImplementationEnvironment(
+extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
     const sal_Char ** ppEnvTypeName, uno_Environment ** ppEnv )
 {
     (void)ppEnv;
@@ -261,7 +261,7 @@ extern "C" void SAL_CALL component_getImplementationEnvironment(
 }
 
 //=========================================================================
-extern "C" void * SAL_CALL component_getFactory(
+extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
     const sal_Char * pImplName,void * pServiceManager,void * pRegistryKey )
 {
     (void)pRegistryKey;
diff --git a/xmlhelp/util/makefile.mk b/xmlhelp/util/makefile.mk
deleted file mode 100644
index 275f2412198f..000000000000
--- a/xmlhelp/util/makefile.mk
+++ /dev/null
@@ -1,87 +0,0 @@
-#**************************************************************
-#  
-#  Licensed to the Apache Software Foundation (ASF) under one
-#  or more contributor license agreements.  See the NOTICE file
-#  distributed with this work for additional information
-#  regarding copyright ownership.  The ASF licenses this file
-#  to you under the Apache License, Version 2.0 (the
-#  "License"); you may not use this file except in compliance
-#  with the License.  You may obtain a copy of the License at
-#  
-#    http://www.apache.org/licenses/LICENSE-2.0
-#  
-#  Unless required by applicable law or agreed to in writing,
-#  software distributed under the License is distributed on an
-#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-#  KIND, either express or implied.  See the License for the
-#  specific language governing permissions and limitations
-#  under the License.
-#  
-#**************************************************************
-
-
-
-UCP_VERSION=1
-UCP_NAME=chelp
-
-PRJ=..
-PRJNAME=xmlhelp
-TARGET=ucp$(UCP_NAME)
-UCPHELP_MAJOR=1
-
-ENABLE_EXCEPTIONS=TRUE
-USE_DEFFILE=TRUE
-NO_BSYMBOLIC=TRUE
-
-# --- Settings ---------------------------------------------------------
-
-.INCLUDE: settings.mk
-
-.IF "$(GUI)"=="WNT"
-CFLAGS+=-GR
-.ENDIF
-
-# --- Shared-Library ---------------------------------------------------
-
-SHL1TARGET=$(TARGET)$(UCP_VERSION)
-SHL1DEF=$(MISC)$/$(SHL1TARGET).def
-SHL1IMPLIB=i$(TARGET)
-SHL1VERSIONMAP=$(SOLARENV)/src/component.map
-
-# Add additional libs here.
-SHL1STDLIBS=                     \
-    $(CPPUHELPERLIB)         \
-    $(CPPULIB)               \
-    $(COMPHELPERLIB)         \
-    $(SALLIB)                \
-    $(EXPATASCII3RDLIB)      \
-    $(UCBHELPERLIB)          \
-        $(XSLTLIB)
-
-SHL1LIBS =                       \
-    $(SLB)$/jaqe.lib         \
-    $(SLB)$/jautil.lib       \
-    $(SLB)$/chelp.lib
-
-# --- Def-File ---------------------------------------------------------
-
-DEF1NAME=$(SHL1TARGET)
-
-# --- Targets ----------------------------------------------------------
-
-ZIP1TARGET=helpxsl
-ZIP1FLAGS= -u -r
-#ZIP1DIR=$(PRJ)$/source$/auxiliary
-ZIP1LIST=main_transform*.xsl idxcaption.xsl idxcontent.xsl
-
-
-.INCLUDE: target.mk
-
-
-ALLTAR : $(MISC)/ucpchelp1.component
-
-$(MISC)/ucpchelp1.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
-        ucpchelp1.component
-    $(XSLTPROC) --nonet --stringparam uri \
-        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
-        $(SOLARENV)/bin/createcomponent.xslt ucpchelp1.component


More information about the Libreoffice-commits mailing list