[Libreoffice-commits] core.git: Branch 'libreoffice-5-3-4' - sw/source xmloff/inc xmloff/Library_xo.mk xmloff/source

2017-06-15 Thread Troy Rollo
/style/styleexp.cxx| 50 ++ 6 files changed, 251 insertions(+), 4 deletions(-) New commits: commit 6a53a750e48c8a7b6ea6bf263eae80179374016e Author: Troy Rollo <libreoff...@troy.rollo.name> Date: Tue Jun 6 17:41:33 2017 +1000 tdf#103091 conditional style conditions not

[Libreoffice-commits] core.git: Branch 'libreoffice-5-4' - sw/source xmloff/inc xmloff/Library_xo.mk xmloff/source

2017-06-14 Thread Troy Rollo
/style/styleexp.cxx| 50 ++ 6 files changed, 251 insertions(+), 3 deletions(-) New commits: commit 5649def882dfd00bd9e7f8d9d079955daf80bebb Author: Troy Rollo <libreoff...@troy.rollo.name> Date: Tue Jun 6 17:41:33 2017 +1000 tdf#103091 conditional style conditions not

[Libreoffice-commits] core.git: Branch 'libreoffice-5-3' - sw/source xmloff/inc xmloff/Library_xo.mk xmloff/source

2017-06-13 Thread Troy Rollo
/style/styleexp.cxx| 50 ++ 6 files changed, 251 insertions(+), 4 deletions(-) New commits: commit e9869b9b38d4e4e7f893aecb26f73d985f17e350 Author: Troy Rollo <libreoff...@troy.rollo.name> Date: Tue Jun 6 17:41:33 2017 +1000 tdf#103091 conditional style conditions not

[Libreoffice-commits] core.git: sw/source xmloff/inc xmloff/Library_xo.mk xmloff/source

2017-06-13 Thread Troy Rollo
/style/styleexp.cxx| 50 ++ 6 files changed, 251 insertions(+), 3 deletions(-) New commits: commit a5b4cb3f836c991d0647f55e1ef4920ce6115eac Author: Troy Rollo <libreoff...@troy.rollo.name> Date: Tue Jun 6 17:41:33 2017 +1000 tdf#103091 conditional style conditions not

[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - sw/qa sw/source

2013-08-26 Thread Troy Rollo
4760c79afe37eaa95a93f3e8ad0a2775c86359dd Author: Troy Rollo libreoff...@troy.rollo.name Date: Mon Aug 26 15:14:40 2013 +0200 fdo#33960: sw: fix cross reference fields some more Change-Id: I46f9cf4132835c10ad82c9b014e5e8647902ab5e Signed-off-by: Michael Stahl mst...@redhat.com diff

Re: [PATCH][RESEND] Writer - cross-references to numbered paragraphs still wrong (bug ID 36960)

2013-08-22 Thread Troy Rollo
On Wed, 21 Aug 2013, Miklos Vajna wrote: Hi Troy, On Sat, Aug 17, 2013 at 01:06:21PM +1000, Troy Rollo t...@troy.rollo.name wrote: Bug 36960 was never fixed correctly (or rather, I suspect it was fixed, then broken when work was done to make the tests pass). What but is this? https

[PATCH][RESEND] Writer - cross-references to numbered paragraphs still wrong (bug ID 36960)

2013-08-19 Thread Troy Rollo
Bug 36960 was never fixed correctly (or rather, I suspect it was fixed, then broken when work was done to make the tests pass). The attached patch fixes the bug and adds new tests for cross-references to numbered paragraphs. The nature of the bug is that if you have numbered paragraphs like

Re: LibreOffice blanket license statement ...

2012-05-11 Thread Troy Rollo
All of my past future contributions to LibreOffice may be licensed under the MPL/LGPLv3+ dual license On Friday 11 May 2012, Michael Meeks wrote: Hi Troy, I'm just working through the MPL/LGPLv3+ re-licensing audit at the moment (so we can include code from Apache OpenOffice :-) What

Re: [Libreoffice] fix for fdo#33960 cross reference to a list number, dot bug makes sw/qa/complex/writer fail

2011-09-07 Thread Troy Rollo
On Wednesday 07 September 2011, Stephan Bergmann wrote: Troy, will you come up with a fix that brings sw/source/core/doc/number.cxx and sw/qa/complex/writer/CheckCrossReferences.java in sync again? I won't be able to do that until mid November due to other commitments. --

Re: [Libreoffice] fix for fdo#33960 cross reference to a list number, dot bug makes sw/qa/complex/writer fail

2011-09-06 Thread Troy Rollo
On Wednesday 07 September 2011, Stephan Bergmann wrote: final String FldResult1 = *i*; final String FldResult2 = +b+*i*; final String FldResult3 = -1-+b+*i*; -final String FldResult4 = 1.; -final String FldResult5 =

[Libreoffice] [PATCH] Fix fdo#36868 - doc import list numbering error

2011-07-23 Thread Troy Rollo
This patch appears to be fix fdo#36868. The problem is that the paragraph style was never being assigned an outline list level. The saved file did not have an sprmPOutLvl for that paragraph (although it did have one for the level 0 style), just an sprmPIlvl and an sprmPIlfo. Therefore there was no

[Libreoffice] [PATCH] Import of xrefs to numbered paragraphs from docx

2011-07-22 Thread Troy Rollo
This replaces the earlier version of this patch, which was wrong for the NUMBER_FULL_CONTEXT cross-reference type. --- writerfilter/source/dmapper/DomainMapper_Impl.cxx | 20 +++- 1 files changed, 19 insertions(+), 1 deletions(-) diff --git

[Libreoffice] [PATCH] Fix field values in export to docx

2011-07-22 Thread Troy Rollo
Prior to this patch, fields were being exported to docx file with the field value being the name of the field. This patch changes it to export the field value as the field value. --- sw/source/filter/ww8/docxattributeoutput.cxx |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff

[Libreoffice] [PATCH] Fix parent level count in numbering from docx

2011-07-22 Thread Troy Rollo
Before this patch, when importing from docx, if there were no parent numbering levels in the number formats for outline numbered paragraphs, the import would include all parent levels back to the second numbering level, in the third and subsequent numbering levels. ---

[Libreoffice] [PATCH] Import of xrefs to numbered paragraphs from docx

2011-07-21 Thread Troy Rollo
The first part of this patch adds importing of cross-references to numbered paragraphs from docx file. The second part provides a fix to imports of bookmarks from docx, which in the test files I have end up importing with an empty bookmark name. The problem is that for each bookmark,

Re: [Libreoffice] [PUSHED] Preserve RTF \'00 sequences (NUL) in strings

2011-07-20 Thread Troy Rollo
On Tuesday 19 July 2011, Caolán McNamara wrote: Ahhh, gotcha. Indeed, nice catch. Looks good to me, and gives the expected results. Pushed. Can you confirm the patch is under our preferred LGPLv3+/MPLv1.1 combo ? Sure, although I doubt there would be any copyright in that particular patch.

Re: [Libreoffice] [PATCH] Preserve RTF \'00 sequences (NUL) in strings

2011-07-19 Thread Troy Rollo
On Tuesday 19 July 2011, Caolán McNamara wrote: Well, this'll work I guess, and I'm minded to push it, but why ;-) Is there a concrete bug this fixes ? Yes, but it is a little obscure. If you take the attached ODT file, save it as an RTF, and then load the RTF, the prefix to the paragraph

Re: [Libreoffice] [PATCH] Fix 33898 - import/export xrefs to numbered paras

2011-07-19 Thread Troy Rollo
On Tuesday 19 July 2011, Korrawit Pruegsanusak wrote: Hello Troy, Digging mailing-list archive and just glancing at your patch, isn't this patch against fdo#33960 ? (https://bugs.freedesktop.org/show_bug.cgi?id=33960) IMHO it isn't likely to be 33898. It should have said 33893 (although I

[Libreoffice] [PATCH] Preserve RTF \'00 sequences (NUL) in strings

2011-07-17 Thread Troy Rollo
--- svtools/source/svrtf/parrtf.cxx | 22 +- 1 files changed, 21 insertions(+), 1 deletions(-) diff --git a/svtools/source/svrtf/parrtf.cxx b/svtools/source/svrtf/parrtf.cxx index 0b722d8..0c60834 100644 --- a/svtools/source/svrtf/parrtf.cxx +++

[Libreoffice] [PATCH] Fix 33898 - import/export xrefs to numbered paras

2011-07-17 Thread Troy Rollo
--- sw/source/filter/rtf/rtffld.cxx | 50 - sw/source/filter/ww8/ww8atr.cxx | 12 +++ sw/source/filter/ww8/ww8par5.cxx | 63 +++-- 3 files changed, 65 insertions(+), 60 deletions(-) diff --git

Re: [Libreoffice] [PATCH] Implement new rule for xref to numbered paragraphs

2011-07-12 Thread Troy Rollo
On Tuesday 12 July 2011, Caolán McNamara wrote: This looks good, however what does it do :-) Set sane leading/trailing text/space defaults for a new list numbering level based on the previous one ? Implements the rules discussed in

[Libreoffice] [PATCH] Implement new rule for xref to numbered paragraphs

2011-07-11 Thread Troy Rollo
--- sw/inc/numrule.hxx| 10 ++- sw/source/core/doc/number.cxx | 56 ++--- 2 files changed, 61 insertions(+), 5 deletions(-) diff --git a/sw/inc/numrule.hxx b/sw/inc/numrule.hxx index 26d0eff..392ac06 100644 --- a/sw/inc/numrule.hxx +++

[Libreoffice] [PATCH] Cross-references to numbered paragraphs: remove trailing dots at the end of a cross-reference, or where they precede an open parenthesis that starts the next paragraph level in t

2011-04-14 Thread Troy Rollo
--- sw/source/core/doc/number.cxx | 10 +- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/sw/source/core/doc/number.cxx b/sw/source/core/doc/number.cxx index 95ea5c8..d7df858 100644 --- a/sw/source/core/doc/number.cxx +++ b/sw/source/core/doc/number.cxx @@ -770,7 +770,15