Skip to content

Commit

Permalink
Prepare v1.4.7
Browse files Browse the repository at this point in the history
 Remove language settings from the templates

- When creating a new document from a template, the system language is applied.
- When applying a template to an existing document, its language settings are kept.
  • Loading branch information
peter88213 committed Feb 28, 2023
1 parent 473ae9c commit 9f1d775
Show file tree
Hide file tree
Showing 17 changed files with 28 additions and 21 deletions.
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.4.6" />
<version value="1.4.7" />
<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.4.6.oxt" />
<src xlink:href="https://raw.githubusercontent.com/peter88213/StyleSwitcher/master/StyleSwitcher-A-1.4.7.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.4.6" />
<version value="1.4.7" />
<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.4.6.oxt" />
<src xlink:href="https://raw.githubusercontent.com/peter88213/StyleSwitcher/master/StyleSwitcher-L-1.4.7.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.4.6" />
<version value="1.4.7" />
<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.4.6.oxt" />
<src xlink:href="https://raw.githubusercontent.com/peter88213/StyleSwitcher/master/StyleSwitcher-1.4.7.oxt" />
</update-download>
<publisher>
<name lang="en" xlink:href="https://github.com/peter88213">Peter Triesberger</name>
Expand Down
Binary file removed docs/Screenshots/Customize00-en.png
Binary file not shown.
5 changes: 5 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@

## Changelog

### v1.4.7 Remove language settings from the templates

- When creating a new document from a template, the system language is applied.
- When applying a template to an existing document, its language settings are kept.

### v1.4.6 Optimize the included StandardPages template

- Use the "Consolas" font for "Quotations" paragraph style.
Expand Down
12 changes: 5 additions & 7 deletions docs/help-en.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,16 +138,10 @@ For each new document you will be asked whether you want to edit it for customiz


If you click on the __No__ button, the new template document will be saved "as is". In general, this
means that the document is set to "Windows" system fonts, A4 paper size, and no language.
means that the document is set to "Windows" system fonts, and A4 paper size.

If you click on the __Yes__ button, StyleSwitcher will immediately load the template document.

In order to enable your spell checker and localized smart quoting, the first thing you will want to do is adjust the document language of the template.


![](Screenshots/Customize00-en.png)



If your printer paper has a format other than A4, you can make the necessary settings in Writer's __Page Styles__ section.

Expand All @@ -174,6 +168,10 @@ You may need this operation if you have created your document based on a documen
_Note: this command is not used to undo an action of the StyleSwitcher extension._


## About language settings (western only)

- When creating a new document from a template, the system language is applied.
- When applying a template to an existing document, its language settings are kept.


## Get help
Expand Down
6 changes: 3 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ Download the extension variant that matches your Office installation:

Then download the extension variant that matches your Office installation:

[LibreOffice 6+ variant (StyleSwitcher-L-1.4.6.oxt)](https://raw.githubusercontent.com/peter88213/StyleSwitcher/master/StyleSwitcher-L-1.4.6.oxt)
[LibreOffice 6+ variant (StyleSwitcher-L-1.4.7.oxt)](https://raw.githubusercontent.com/peter88213/StyleSwitcher/master/StyleSwitcher-L-1.4.7.oxt)

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

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

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

Expand Down
Binary file modified oxt/StyleSwitcher.odt
Binary file not shown.
Binary file removed oxt/help/Screenshots/Customize00-en.png
Binary file not shown.
12 changes: 8 additions & 4 deletions oxt/help/help-en.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
</head>
<body>
<h1>StyleSwitcher Help</h1>
<p><a href="https://peter88213.github.io/StyleSwitcher/">Project homepage</a></p>
<p><a href="https://peter88213.github.io/StyleSwitcher/">Project homepage</a> &gt; Instructions for use</p>
<hr />
<h2 id="instructions-for-use">Instructions for use</h2>
<h3 id="please-note">Please note:</h3>
<p>This extension requires three document templates to be located in the <strong>template</strong> folder of your user profile:</p>
Expand Down Expand Up @@ -61,10 +62,8 @@ <h3 id="install-missing-template-documents">Install missing template documents</
<h4 id="customize-the-newly-installed-template-document">Customize the newly installed template document</h4>
<p>For each new document you will be asked whether you want to edit it for customization now.</p>
<p><img src="Screenshots/Message03-en.png" /></p>
<p>If you click on the <strong>No</strong> button, the new template document will be saved “as is”. In general, this means that the document is set to “Windows” system fonts, A4 paper size, and no language.</p>
<p>If you click on the <strong>No</strong> button, the new template document will be saved “as is”. In general, this means that the document is set to “Windows” system fonts, and A4 paper size.</p>
<p>If you click on the <strong>Yes</strong> button, StyleSwitcher will immediately load the template document.</p>
<p>In order to enable your spell checker and localized smart quoting, the first thing you will want to do is adjust the document language of the template.</p>
<p><img src="Screenshots/Customize00-en.png" /></p>
<p>If your printer paper has a format other than A4, you can make the necessary settings in Writer’s <strong>Page Styles</strong> section.</p>
<p><img src="Screenshots/Customize01-en.png" /></p>
<p>Make sure to save and close all template documents before using the StyleSwitcher toolbar.</p>
Expand All @@ -73,6 +72,11 @@ <h4 id="customize-the-newly-installed-template-document">Customize the newly ins
<h3 id="unlink-associated-template">Unlink associated template</h3>
<p>You may need this operation if you have created your document based on a document template, or if you have used the TemplateChanger extension to make an assignment that should no longer apply. After having unlinked the initial template, you will no longer be prompted for template updates in case they have been modified.</p>
<p><em>Note: this command is not used to undo an action of the StyleSwitcher extension.</em></p>
<h2 id="about-language-settings-western-only">About language settings (western only)</h2>
<ul>
<li>When creating a new document from a template, the system language is applied.</li>
<li>When applying a template to an existing document, its language settings are kept.</li>
</ul>
<h2 id="get-help">Get help</h2>
<p>In the <strong>Help</strong> section of the main menu, there is a <strong>StyleSwitcher help</strong> submenu.</p>
<p><img src="Screenshots/HelpMenu-en.png" /></p>
Expand Down
Binary file modified oxt/ott/Default.ott
Binary file not shown.
Binary file modified oxt/ott/Printout.ott
Binary file not shown.
Binary file modified oxt/ott/StandardPages.ott
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.4.6
set _version=1.4.7

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

0 comments on commit 9f1d775

Please sign in to comment.