Skip to content

Commit

Permalink
Prepare v1.2.0
Browse files Browse the repository at this point in the history
First release to be published on the Apache OpenOffice Extensions site.
  • Loading branch information
peter88213 committed Apr 10, 2021
1 parent 9412a96 commit 46ff7ba
Show file tree
Hide file tree
Showing 13 changed files with 70 additions and 37 deletions.
Binary file renamed StyleSwitcher-1.1.1.oxt → StyleSwitcher-1.2.0.oxt
Binary file not shown.
Binary file not shown.
4 changes: 2 additions & 2 deletions StyleSwitcher-A.update.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
xmlns:dep="http://openoffice.org/extensions/description/2006"
xmlns:xlink="http://www.w3.org/1999/xlink" >
<identifier value="org.peter88213.StyleSwitcher" />
<version value="1.1.1" />
<version value="1.2.0" />
<dependencies>
<OpenOffice.org-minimal-version value="4.0" dep:name="Apache OpenOffice 4.0 minimum, or more recent" />
</dependencies>
<update-download>
<src xlink:href="https://raw.githubusercontent.com/peter88213/StyleSwitcher/master/StyleSwitcher-A-1.1.1.oxt" />
<src xlink:href="https://raw.githubusercontent.com/peter88213/StyleSwitcher/master/StyleSwitcher-A-1.2.0.oxt" />
</update-download>
<publisher>
<name lang="en" xlink:href="https://github.com/peter88213">Peter Triesberger</name>
Expand Down
Binary file not shown.
4 changes: 2 additions & 2 deletions StyleSwitcher-L.update.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
xmlns:l="http://libreoffice.org/extensions/description/2011"
xmlns:xlink="http://www.w3.org/1999/xlink" >
<identifier value="org.peter88213.StyleSwitcher" />
<version value="1.1.1" />
<version value="1.2.0" />
<dependencies>
<l:LibreOffice-minimal-version value="5.0" dep:name="LibreOffice 5.0 minimum, or more recent" />
</dependencies>
<update-download>
<src xlink:href="https://raw.githubusercontent.com/peter88213/StyleSwitcher/master/StyleSwitcher-L-1.1.1.oxt" />
<src xlink:href="https://raw.githubusercontent.com/peter88213/StyleSwitcher/master/StyleSwitcher-L-1.2.0.oxt" />
</update-download>
<publisher>
<name lang="en" xlink:href="https://github.com/peter88213">Peter Triesberger</name>
Expand Down
4 changes: 2 additions & 2 deletions StyleSwitcher.update.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
xmlns:dep="http://openoffice.org/extensions/description/2006"
xmlns:xlink="http://www.w3.org/1999/xlink" >
<identifier value="org.peter88213.StyleSwitcher" />
<version value="1.1.1" />
<version value="1.2.0" />
<dependencies>
<OpenOffice.org-minimal-version value="3.1" dep:name="OpenOffice.org 3.1 minimum, or more recent" />
</dependencies>
<update-download>
<src xlink:href="https://raw.githubusercontent.com/peter88213/StyleSwitcher/master/StyleSwitcher-1.1.1.oxt" />
<src xlink:href="https://raw.githubusercontent.com/peter88213/StyleSwitcher/master/StyleSwitcher-1.2.0.oxt" />
</update-download>
<publisher>
<name lang="en" xlink:href="https://github.com/peter88213">Peter Triesberger</name>
Expand Down
6 changes: 3 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ First, make sure there are document templates named __Default.ott__ , __Standard

Then download the extension variant that matches your Office installation:

[LibreOffice 6.x variant (StyleSwitcher-L-1.1.1.oxt)](https://raw.githubusercontent.com/peter88213/StyleSwitcher/master/StyleSwitcher-L-1.1.1.oxt)
[LibreOffice 6.x variant (StyleSwitcher-L-1.2.0.oxt)](https://raw.githubusercontent.com/peter88213/StyleSwitcher/master/StyleSwitcher-L-1.2.0.oxt)

[Apache OpenOffice 4.x variant (StyleSwitcher-A-1.1.1.oxt)](https://raw.githubusercontent.com/peter88213/StyleSwitcher/master/StyleSwitcher-A-1.1.1.oxt)
[Apache OpenOffice 4.x variant (StyleSwitcher-A-1.2.0.oxt)](https://raw.githubusercontent.com/peter88213/StyleSwitcher/master/StyleSwitcher-A-1.2.0.oxt)

[OpenOffice.org 3.x variant (StyleSwitcher-1.1.1.oxt)](https://raw.githubusercontent.com/peter88213/StyleSwitcher/master/StyleSwitcher-1.1.1.oxt)
[OpenOffice.org 3.x variant (StyleSwitcher-1.2.0.oxt)](https://raw.githubusercontent.com/peter88213/StyleSwitcher/master/StyleSwitcher-1.2.0.oxt)

* Installation right at download, by double-clicking on the downloaded file, or via the OpenOffice/LibreOffice Extension Manager.

Expand Down
21 changes: 10 additions & 11 deletions docs/samples.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

# Sample document templates

Here are some sample template documents. They are intended as source material for individual customizations. You might need a different language setting for the spell checker, or prefer different fonts. Download the template files and make them your own.
Here are some sample template files. They are intended as source material for individual customizations. You might need a different language setting for the spell checker, or prefer different fonts. Download the template files and make them your own.

## How to localize a template

1. Copy `xxx.ott` to your OpenOffice/LibreOffice `user\template` directory. Overwrite existing file, if applicable.
1. Put `xxx.ott` into your OpenOffice/LibreOffice `user\template` directory.
2. Right-click `xxx.ott` and select `open` (DO NOT DOUBLE CLICK) --> This starts Office Writer to modify the template.
3. `(OpenOffice main menu)` --> `Tools` --> `Language` --> `For all Text`.
4. Select your language.
Expand All @@ -20,35 +20,34 @@ This document template is optimized for easy-to-read screen display. The margins
* 21 x 29,7 cm (A4) paper size
* 12 p Sitka Text (Windows system font)
* Document language: de-DE
* "Text body" paragraph style sheet without hyphenation.

[Default.ott](https://raw.githubusercontent.com/peter88213/StyleSwitcher/master/ott/samples-de/Default.ott)
[Download Default.ott](https://raw.githubusercontent.com/peter88213/StyleSwitcher/master/ott/samples-de/Default.ott)


## StandardPages.ott A4 ([Normseite](https://de.wikipedia.org/wiki/Normseite))
## StandardPages.ott A4

This document template corresponds to the usual specifications of publishers for manuscripts. With a fixed-width font, it allows a standardized estimate of the total amount of text.
This document template corresponds to the usual specifications of publishers for manuscripts ([Normseite](https://de.wikipedia.org/wiki/Normseite)). With a fixed-width font, it allows a standardized estimate of the total amount of text.

* 210 mm x 297 mm (A4) paper size
* 30 lines
* 60 characters/line
* 12 p Courier New (Windows system font)
* Document language: de-DE

[StandardPages.ott (A4)](https://raw.githubusercontent.com/peter88213/StyleSwitcher/master/ott/samples-de/StandardPages.ott)
[Download StandardPages.ott (A4)](https://raw.githubusercontent.com/peter88213/StyleSwitcher/master/ott/samples-de/StandardPages.ott)


## StandardPages.ott US-Letter ([Standard manuscript format](https://en.wikipedia.org/wiki/Standard_manuscript_format))
## StandardPages.ott US-Letter

This document template corresponds to the usual specifications of publishers for manuscripts. With a fixed-width font, it allows a standardized estimate of the total amount of text.
This document template corresponds to the usual specifications of publishers for manuscripts ([Standard manuscript format](https://en.wikipedia.org/wiki/Standard_manuscript_format)). With a fixed-width font, it allows a standardized estimate of the total amount of text.

* 8.5" x 11" (US letter) paper size
* 25 lines
* 60 characters/line
* 12 p Courier New (Windows system font)
* Document language: en-US

[StandardPages.ott (US-Letter)](https://raw.githubusercontent.com/peter88213/StyleSwitcher/master/ott/samples-en/StandardPages.ott)
[Download StandardPages.ott (US-Letter)](https://raw.githubusercontent.com/peter88213/StyleSwitcher/master/ott/samples-en/StandardPages.ott)


## Printout.ott A4
Expand All @@ -60,6 +59,6 @@ This document template provides a readable and economical printout. The text bod
* Document language: de-DE


[Printout.ott](https://raw.githubusercontent.com/peter88213/StyleSwitcher/master/ott/samples-de/Printout.ott)
[Download Printout.ott](https://raw.githubusercontent.com/peter88213/StyleSwitcher/master/ott/samples-de/Printout.ott)


16 changes: 0 additions & 16 deletions ott/README.txt

This file was deleted.

31 changes: 31 additions & 0 deletions ott/samples-de/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Open/LibreOffice document template samples

## Default.ott A4

* 21 x 29,7 cm (A4) paper size
* 12 p Sitka Text
* Document language: de-DE

## StandardPages.ott A4

* 210 mm x 297 mm (A4) paper size
* 30 lines
* 60 characters/line
* 12 p Courier New
* Document language: de-DE


## Printout.ott A4

* 21 x 29,7 cm (A4) paper size
* 12 p Times New Roman
* Document language: de-DE


## How to localize a template

1. Copy `xxx.ott` to your Open/LibreOffice `user\template` directory. Overwrite existing file, if applicable.
2. Right-click `xxx.ott` and select `open` (DO NOT DOUBLE CLICK) --> This starts Office Writer to modify the template.
3. `(OpenOffice main menu)` --> `Tools` --> `Language` --> `For all Text`.
4. Select your language.
5. Save document.
19 changes: 19 additions & 0 deletions ott/samples-en/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Open/LibreOffice document template samples


## StandardPages.ott US-Letter

* 8.5" x 11" (US letter) paper size
* 25 lines
* 60 characters/line
* 12 p Courier New
* Document language: en-US


## How to localize a template

1. Copy `xxx.ott` to your Open/LibreOffice `user\template` directory. Overwrite existing file, if applicable.
2. Right-click `xxx.ott` and select `open` (DO NOT DOUBLE CLICK) --> This starts Office Writer to modify the template.
3. `(OpenOffice main menu)` --> `Tools` --> `Language` --> `For all Text`.
4. Select your language.
5. Save document.
Binary file modified oxt/StyleSwitcher.odt
Binary file not shown.
2 changes: 1 addition & 1 deletion tools/publish.bat
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
REM Prepare a newly compiled version for commit

set _version=1.1.0
set _version=1.2.0

REM Delete the old version ...
del ..\*.oxt
Expand Down

0 comments on commit 46ff7ba

Please sign in to comment.