[Libreoffice-commits] core.git: helpcontent2
helpcontent2 |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 4a58754714c4e570f68b31a1926c7de6feb48cc2 Author: Gabor KelemenDate: Fri Mar 31 07:50:10 2017 +0200 Updated core Project: help 9f6da2a058bbd85ed331724e0b81986508c84ac5 Unbreak build after https://gerrit.libreoffice.org/#/c/35927/ File was not added to the repository Change-Id: I71766866d8baeed1aaf8a61f8f0522b7bf710868 Reviewed-on: https://gerrit.libreoffice.org/35956 Reviewed-by: Gabor Kelemen Tested-by: Gabor Kelemen diff --git a/helpcontent2 b/helpcontent2 index e8045f04d057..9f6da2a058bb 16 --- a/helpcontent2 +++ b/helpcontent2 @@ -1 +1 @@ -Subproject commit e8045f04d057ea3e50726f99c442557e6e3986bc +Subproject commit 9f6da2a058bbd85ed331724e0b81986508c84ac5 ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] help.git: AllLangHelp_shared.mk
AllLangHelp_shared.mk |1 - 1 file changed, 1 deletion(-) New commits: commit 9f6da2a058bbd85ed331724e0b81986508c84ac5 Author: Gabor KelemenDate: Fri Mar 31 07:50:10 2017 +0200 Unbreak build after https://gerrit.libreoffice.org/#/c/35927/ File was not added to the repository Change-Id: I71766866d8baeed1aaf8a61f8f0522b7bf710868 Reviewed-on: https://gerrit.libreoffice.org/35956 Reviewed-by: Gabor Kelemen Tested-by: Gabor Kelemen diff --git a/AllLangHelp_shared.mk b/AllLangHelp_shared.mk index 0deb8b212..e5f29dd00 100644 --- a/AllLangHelp_shared.mk +++ b/AllLangHelp_shared.mk @@ -332,7 +332,6 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,shared,\ helpcontent2/source/text/shared/01/gallery \ helpcontent2/source/text/shared/01/gallery_files \ helpcontent2/source/text/shared/01/grid \ -helpcontent2/source/text/shared/01/grid_and_helplines \ helpcontent2/source/text/shared/01/guides \ helpcontent2/source/text/shared/01/mediaplayer \ helpcontent2/source/text/shared/01/menu_edit_find \ ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] online.git: wsd/LOOLWSD.cpp
wsd/LOOLWSD.cpp |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) New commits: commit ec5fb2a794738b84a4dae7790726be07ab56bfda Author: Andras TimarDate: Fri Mar 31 07:51:30 2017 +0200 add missing default config values Change-Id: Ic7829c8f97f43bf8f4f2ba4eccdbdf1da89665e4 diff --git a/wsd/LOOLWSD.cpp b/wsd/LOOLWSD.cpp index f8bfc661..325d42b1 100644 --- a/wsd/LOOLWSD.cpp +++ b/wsd/LOOLWSD.cpp @@ -660,7 +660,9 @@ void LOOLWSD::initialize(Application& self) { "logging.file.property[2]", "true" }, { "logging.file.property[3][@name]", "flush" }, { "logging.file.property[3]", "false" }, -{ "trace[@enable]", "false" } }; +{ "trace[@enable]", "false" }, +{ "trace.path[@compress]", "true" }, +{ "trace.path[@snapshot]", "false" } }; // Set default values, in case they are missing from the config file. AutoPtr defConfig(new AppConfigMap(DefAppConfig)); ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] online.git: loleaflet/src
loleaflet/src/control/Control.ContextMenu.js | 24 +++- 1 file changed, 11 insertions(+), 13 deletions(-) New commits: commit 30c9414d6d65ce9d0cba4fb1fd44bfe5b6ce0c3a Author: Pranav KantDate: Fri Mar 31 11:05:41 2017 +0530 loleaflet: Context menu cut/copy/paste is always internal If user wants to take something out of the document, he/she needs to make use of keyboard shortcuts to do the same. Change-Id: Id8237e0bfcb311d1a1465645042f160f7e1d8fb6 diff --git a/loleaflet/src/control/Control.ContextMenu.js b/loleaflet/src/control/Control.ContextMenu.js index 73f0d51f..4961f892 100644 --- a/loleaflet/src/control/Control.ContextMenu.js +++ b/loleaflet/src/control/Control.ContextMenu.js @@ -130,18 +130,16 @@ L.Control.ContextMenu = L.Control.extend({ itemName = itemName.replace(itemName.substring('Delete All Comments by '.length), 'This Author'); } - if (map['wopi'].DisableCopy) { - switch (commandName) { - case 'Cut': - itemName = _('Internal Cut'); - break; - case 'Copy': - itemName = _('Internal Copy'); - break; - case 'Paste': - itemName = _('Internal Paste'); - break; - } + switch (commandName) { + case 'Cut': + itemName = _('Internal Cut'); + break; + case 'Copy': + itemName = _('Internal Copy'); + break; + case 'Paste': + itemName = _('Internal Paste'); + break; } contextMenu[item.command] = { @@ -161,7 +159,7 @@ L.Control.ContextMenu = L.Control.extend({ isLastItemText = true; } else if (item.type === 'menu') { itemName = item.text.replace('~', ''); - if (map['wopi'].DisableCopy && itemName === 'Paste Special') { + if (itemName === 'Paste Special') { itemName = _('Internal Paste Special'); } var submenu = this._createContextMenuStructure(item); ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
Crash test update
New crashtest update available at http://dev-builds.libreoffice.org/crashtest/84f78392249c3749801acf238a99fda95311e01f/ exportCrashes.csv Description: Binary data importCrash.csv Description: Binary data validationErrors.csv Description: Binary data ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice-bugs] [Bug 106876] [META] Find & Replace with styles
https://bugs.documentfoundation.org/show_bug.cgi?id=106876 Thomas Lendochanged: What|Removed |Added Alias||Search-styles -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 84675] Add missing BASIC function and constant documentation
https://bugs.documentfoundation.org/show_bug.cgi?id=84675 Johnny_Mchanged: What|Removed |Added URL|http://en.libreofficeforum. |https://web.archive.org/web |org/node/5245 |/20160827142748/http://en.l ||ibreofficeforum.org/node/52 ||45 Version|3.3.4 release |Inherited From OOo --- Comment #7 from Johnny_M --- (In reply to Regina Henschel from comment #6) > Johnny_M: http://en.libreofficeforum.org does no longer exists. Do you have > another place of the list, or have a copy that you can attach here? Thanks for the heads-up! I've changed the URL to the one of its last crawl by the Wayback Machine (August 27, 2016). -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 106889] More default page sizes needed, like A0, A1, A2, B0, B1, ...
https://bugs.documentfoundation.org/show_bug.cgi?id=106889 --- Comment #2 from Hiunn-hué--- Related: Bug 47176 - Add Half Letter (5.5x8.5in) paper size > There is a paper size, half of a letter (letter is 8.5in x11.1 in), > used a lot in enterprises and governor of Taiwan. >From Wikipedia: "By extension of the American standards, the halved Letter size, 5 1⁄2 in × 8 in (140 mm × 203 mm), meets the needs of many applications. It is variably known as Statement, Stationery, Memo, Half Letter, Half A (from ANSI sizes) or simply Half Size. Like the similar-sized ISO A5, it is used for everything from personal letter writing to official aeronautical maps." -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 106893] New: Black area when closing bottom toolbar after a change
https://bugs.documentfoundation.org/show_bug.cgi?id=106893 Bug ID: 106893 Summary: Black area when closing bottom toolbar after a change Product: LibreOffice Version: 5.4.0.0.alpha0+ Master Hardware: ARM OS: Android Status: UNCONFIRMED Severity: normal Priority: medium Component: Android Viewer Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: uzno...@yahoo.com How to reproduce: 1. Open a document (.docx or .odt) 2. Touch the edit button (A with underline) 3. Make a change and it takes effect (e.g. bold some text) 4. Touch the edit button (A with underline) again 5. There is black area (which was covered by bottom toolbar) I think this is due to a missing function call to update viewport after closing the bottom toolbar. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 106437] Unable to open or create ODG or ODP file : error on libsdlo.so
https://bugs.documentfoundation.org/show_bug.cgi?id=106437 --- Comment #11 from Elmar--- have done so -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 106892] R-CLK on incorrectly spelled word cause calc and impress to hang
https://bugs.documentfoundation.org/show_bug.cgi?id=106892 --- Comment #3 from Elmar--- Created attachment 132293 --> https://bugs.documentfoundation.org/attachment.cgi?id=132293=edit right click causes freeze -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 106892] R-CLK on incorrectly spelled word cause calc and impress to hang
https://bugs.documentfoundation.org/show_bug.cgi?id=106892 Elmarchanged: What|Removed |Added Attachment #132292|example ods |example ods wrong description||attachment -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 106892] R-CLK on incorrectly spelled word cause calc and impress to hang
https://bugs.documentfoundation.org/show_bug.cgi?id=106892 --- Comment #2 from Elmar--- Created attachment 132292 --> https://bugs.documentfoundation.org/attachment.cgi?id=132292=edit example ods -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 106892] R-CLK on incorrectly spelled word cause calc and impress to hang
https://bugs.documentfoundation.org/show_bug.cgi?id=106892 --- Comment #1 from Elmar--- Created attachment 132291 --> https://bugs.documentfoundation.org/attachment.cgi?id=132291=edit example odp -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 106892] New: R-CLK on incorrectly spelled word cause calc and impress to hang
https://bugs.documentfoundation.org/show_bug.cgi?id=106892 Bug ID: 106892 Summary: R-CLK on incorrectly spelled word cause calc and impress to hang Product: LibreOffice Version: 5.4.0.0.alpha0+ Master Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: medium Component: Calc Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: rob...@iafrica.com Description: On the fly spell correction causes CALC and IMPRESS (not WRITER) to hang. Have to abort. Steps to Reproduce: 1. R-CLK on underlined word 2. CALC / IMPRESS hangs 3. Need to abort after dialog asking to wait or abort waiting makes no difference Actual Results: as above Expected Results: Expect to see list of possible correct spellings Reproducible: Always User Profile Reset: yes Additional Info: User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
Re: [Libreoffice-qa] Is it a master to test with XP?
Jep. It is a test build for Windows XP and I have installed it ~4 days ago and works like a charm (at least I haven't found any unusual) Dennis (not subscribed, keep me in CC!) -- View this message in context: http://nabble.documentfoundation.org/Is-it-a-master-to-test-with-XP-tp4211243p4211276.html Sent from the QA mailing list archive at Nabble.com. ___ List Name: Libreoffice-qa mailing list Mail address: Libreoffice-qa@lists.freedesktop.org Change settings: https://lists.freedesktop.org/mailman/listinfo/libreoffice-qa Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://lists.freedesktop.org/archives/libreoffice-qa/
[Libreoffice-bugs] [Bug 106889] More default page sizes needed, like A0, A1, A2, B0, B1, ...
https://bugs.documentfoundation.org/show_bug.cgi?id=106889 V Stuart Footechanged: What|Removed |Added Status|UNCONFIRMED |NEW CC||vstuart.fo...@utsa.edu Ever confirmed|0 |1 Severity|minor |enhancement --- Comment #1 from V Stuart Foote --- The A0 A1 A2 and A3 are defined for Draw, so likely minimal fuss to implement for Writer. Easy hack? =-ref-= https://en.wikipedia.org/wiki/Paper_size -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 44801] Allow to search/ replace Character Styles in Find & Replace dialog
https://bugs.documentfoundation.org/show_bug.cgi?id=44801 LibreTrainingchanged: What|Removed |Added Blocks||106876 Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=106876 [Bug 106876] [META] Find & Replace with styles -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 106876] [META] Find & Replace with styles
https://bugs.documentfoundation.org/show_bug.cgi?id=106876 LibreTrainingchanged: What|Removed |Added Depends on||44801 Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=44801 [Bug 44801] Allow to search/replace Character Styles in Find & Replace dialog -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 106876] [META] Find & Replace with styles
https://bugs.documentfoundation.org/show_bug.cgi?id=106876 LibreTrainingchanged: What|Removed |Added CC||libretraining.tutorials@gma ||il.com Depends on||34390 Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=34390 [Bug 34390] Add to 'Search/Find & Replace' capability to find frame, page, list, and character styles -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 34390] Add to 'Search/Find & Replace' capability to find frame, page, list, and character styles
https://bugs.documentfoundation.org/show_bug.cgi?id=34390 LibreTrainingchanged: What|Removed |Added Blocks||106876 Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=106876 [Bug 106876] [META] Find & Replace with styles -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 106891] New: Crash in: SdrMark::GetMarkedSdrObj()
https://bugs.documentfoundation.org/show_bug.cgi?id=106891 Bug ID: 106891 Summary: Crash in: SdrMark::GetMarkedSdrObj() Product: LibreOffice Version: 5.2.3.3 release Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: medium Component: Writer Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: kumara.bhik...@gmail.com This bug was filed from the crash reporting server and is br-feb03c58-c319-4e61-8436-d2c711648734. = I was trying to click into a text box, while a shape object was in the way. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 106890] New: Page orientation of User page size is not determined correctly
https://bugs.documentfoundation.org/show_bug.cgi?id=106890 Bug ID: 106890 Summary: Page orientation of User page size is not determined correctly Product: LibreOffice Version: 5.3.1.2 release Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: medium Component: Writer Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: cson...@halmai.hu I do the following steps: - File => New => Text Document (my default page size is A4 Portrait) - Format => Page => Page => Format=User, Width=10", Height=5" (can be whatever as long as W>H) The illustration shows a wide horizontal sheet which is OK but the Orientation still shows Portrait which is not OK. If I click the Landscape radio button then the page dimensions swap and the illustration turns to look like a vertical page which is good but this is not something I would call Landscape. This behaviour is pretty annoying. When I change the Width or the Height parameters then the Orientation should be set automatically, according to the dimensions. When H>W then it should be Landscape and Portrait otherwise. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 96676] EMF+ not displaying correctly
https://bugs.documentfoundation.org/show_bug.cgi?id=96676 V Stuart Footechanged: What|Removed |Added CC||vstuart.fo...@utsa.edu --- Comment #9 from V Stuart Foote --- Confirming the WFM on Windows 10 Home with Version: 5.3.2.0.0+ (x64) Build ID: c8f0a37ff804e6329b21a4b7bfabb0667263c6e5 CPU Threads: 4; OS Version: Windows 6.19; UI Render: GL; Layout Engine: new; Locale: en-US (en_US); Calc: group both OpenGL and Default rendering of the EMF+ appears correct. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 106889] New: More default page sizes needed, like A0, A1, A2, B0, B1, ...
https://bugs.documentfoundation.org/show_bug.cgi?id=106889 Bug ID: 106889 Summary: More default page sizes needed, like A0, A1, A2, B0, B1, ... Product: LibreOffice Version: 5.3.2.1 rc Hardware: All OS: All Status: UNCONFIRMED Severity: minor Priority: medium Component: Writer Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: cson...@halmai.hu There are some frequently used page sizes that are not supported by LibreOffice. I would like to have A0, A1, A2, B0, B1, B2, B3 as well in the page size drop-down list because defining these page sizes manually all the time is quite cumbersome. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-commits] core.git: starmath/source
starmath/source/parse.cxx | 90 -- 1 file changed, 40 insertions(+), 50 deletions(-) New commits: commit 0ba23e36bb81b65360f3279f5af14a63916189f6 Author: Takeshi AbeDate: Sat Mar 25 16:50:11 2017 +0900 starmath: Stop using the stack to parse consective identifiers and numbers. Change-Id: I7e898cd437ec314a0d07a16e13d3044480d2e057 Reviewed-on: https://gerrit.libreoffice.org/35903 Tested-by: Jenkins Reviewed-by: Takeshi Abe diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx index 182e2498a07d..9e423e1a7f17 100644 --- a/starmath/source/parse.cxx +++ b/starmath/source/parse.cxx @@ -1328,66 +1328,56 @@ SmNode *SmParser::DoTerm(bool bGroupNumberIdent) case TIDENT : case TNUMBER : { -m_aNodeStack.push_front(o3tl::make_unique(m_aCurToken, +auto pTextNode = o3tl::make_unique(m_aCurToken, m_aCurToken.eType == TNUMBER ? FNT_NUMBER : - FNT_VARIABLE)); + FNT_VARIABLE); if (!bGroupNumberIdent) { NextToken(); +return pTextNode.release(); } -else +SmNodeArray aNodes; +// Some people want to be able to write "x_2n" for "x_{2n}" +// although e.g. LaTeX or AsciiMath interpret that as "x_2 n". +// The tokenizer skips whitespaces so we need some additional +// work to distinguish from "x_2 n". +// See https://bz.apache.org/ooo/show_bug.cgi?id=11752 and +// https://bugs.libreoffice.org/show_bug.cgi?id=55853 +sal_Int32 nBufLen = m_aBufferString.getLength(); + +// We need to be careful to call NextToken() only after having +// tested for a whitespace separator (otherwise it will be +// skipped!) +bool moveToNextToken = true; +while (m_nBufferIndex < nBufLen && + m_pSysCC->getType(m_aBufferString, m_nBufferIndex) != + UnicodeType::SPACE_SEPARATOR) { -// Some people want to be able to write "x_2n" for "x_{2n}" -// although e.g. LaTeX or AsciiMath interpret that as "x_2 n". -// The tokenizer skips whitespaces so we need some additional -// work to distinguish from "x_2 n". -// See https://bz.apache.org/ooo/show_bug.cgi?id=11752 and -// https://bugs.libreoffice.org/show_bug.cgi?id=55853 -sal_Int32 nBufLen = m_aBufferString.getLength(); -sal_Int32 nTokens = 1; - -// We need to be careful to call NextToken() only after having -// tested for a whitespace separator (otherwise it will be -// skipped!) -bool moveToNextToken = true; -while (m_nBufferIndex < nBufLen && - m_pSysCC->getType(m_aBufferString, m_nBufferIndex) != - UnicodeType::SPACE_SEPARATOR) -{ -NextToken(); -if (m_aCurToken.eType != TNUMBER && -m_aCurToken.eType != TIDENT) -{ -// Neither a number nor an identifier. We just moved to -// the next token, so no need to do that again. -moveToNextToken = false; -break; -} - m_aNodeStack.push_front(o3tl::make_unique(m_aCurToken, - m_aCurToken.eType == - TNUMBER ? - FNT_NUMBER : - FNT_VARIABLE)); -nTokens++; -} -if (moveToNextToken) NextToken(); -if (nTokens > 1) +NextToken(); +if (m_aCurToken.eType != TNUMBER && +m_aCurToken.eType != TIDENT) { -// We have several concatenated identifiers and numbers. -// Let's group them into one SmExpressionNode. -SmNodeArray nodeArray(nTokens); -for (auto rIt = nodeArray.rbegin(), rEnd = nodeArray.rend(); rIt != rEnd; ++rIt) -{ -*rIt = popOrZero(m_aNodeStack); -} -std::unique_ptr pNode(new SmExpressionNode(SmToken())); -pNode->SetSubNodes(nodeArray); -return pNode.release(); +//
[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-2-1' - 5 commits - common/Log.cpp common/Log.hpp common/Session.cpp common/Util.cpp common/Util.hpp kit/ForKit.cpp Makefile.
Makefile.am|3 ++- common/Log.cpp | 21 - common/Log.hpp |4 ++-- common/Session.cpp |4 ++-- common/Util.cpp| 21 + common/Util.hpp|4 kit/ForKit.cpp |2 ++ net/ServerSocket.hpp |6 +++--- net/Socket.hpp |6 +++--- net/SslSocket.hpp |8 ++-- test/Makefile.am |4 ++-- test/UnitPrefork.cpp |5 +++-- wsd/DocumentBroker.cpp |4 ++-- wsd/LOOLWSD.cpp| 12 ++-- wsd/LOOLWSD.hpp|1 + wsd/README |3 +++ wsd/SenderQueue.hpp|8 wsd/Storage.cpp|6 -- wsd/TileCache.cpp |6 +++--- 19 files changed, 85 insertions(+), 43 deletions(-) New commits: commit 4986ac9027a00a2b87f3bebacfb53d0086ae93a9 Author: Michael MeeksDate: Thu Mar 30 21:55:33 2017 +0100 Re-enable UnitPrefork. diff --git a/test/Makefile.am b/test/Makefile.am index c55c306f..9008efa1 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -74,7 +74,7 @@ check-local: ./run_unit.sh --log-file test.log --trs-file test.trs # FIXME 2: unit-oob.la fails with symbol undefined: # UnitWSD::testHandleRequest(UnitWSD::TestRequest, UnitHTTPServerRequest&, UnitHTTPServerResponse&) , -TESTS = # unit-prefork.la # unit-tilecache.la unit-storage.la unit-timeout.la unit-admin.la unit-minsocketbuffersize.la +TESTS = unit-prefork.la # unit-tilecache.la unit-storage.la unit-timeout.la unit-admin.la unit-minsocketbuffersize.la else TESTS = ${top_builddir}/test/test endif diff --git a/test/UnitPrefork.cpp b/test/UnitPrefork.cpp index 841fbd37..90852a69 100644 --- a/test/UnitPrefork.cpp +++ b/test/UnitPrefork.cpp @@ -27,9 +27,10 @@ public: setTimeout(60 * 1000); } -virtual void configure(Poco::Util::LayeredConfiguration& /* config */) override +virtual void configure(Poco::Util::LayeredConfiguration& config) override { -LOOLWSD::NumPreSpawnedChildren = NumToPrefork; +config.setInt("num_prespawn_children", NumToPrefork); +UnitWSD::configure(config); } virtual void newChild(WebSocketHandler &) override commit f4d5559b9844d0f97815bf36cfad48b1fb2bc293 Author: Michael Meeks Date: Thu Mar 30 21:55:17 2017 +0100 Improve debugging information. diff --git a/kit/ForKit.cpp b/kit/ForKit.cpp index 62c34c57..59da5d64 100644 --- a/kit/ForKit.cpp +++ b/kit/ForKit.cpp @@ -341,6 +341,8 @@ int main(int argc, char** argv) SigUtil::setTerminationSignals(); #endif +Util::setThreadName("forkit"); + // Initialization const bool logToFile = std::getenv("LOOL_LOGFILE"); const char* logFilename = std::getenv("LOOL_LOGFILENAME"); diff --git a/wsd/LOOLWSD.cpp b/wsd/LOOLWSD.cpp index f8c8c5d9..9a5920d2 100644 --- a/wsd/LOOLWSD.cpp +++ b/wsd/LOOLWSD.cpp @@ -347,6 +347,8 @@ static int rebalanceChildren(int balance) { Util::assertIsLocked(NewChildrenMutex); +LOG_WRN("rebalance children to " << balance); + // Do the cleanup first. const bool rebalance = cleanupChildren(); @@ -2193,7 +2195,8 @@ public: << " TerminationFlag: " << TerminationFlag << "\n" << " isShuttingDown: " << ShutdownRequestFlag << "\n" << " NewChildren: " << NewChildren.size() << "\n" - << " OutstandingForks: " << OutstandingForks << "\n"; + << " OutstandingForks: " << OutstandingForks << "\n" + << " NumPreSpawnedChildren: " << LOOLWSD::NumPreSpawnedChildren << "\n"; os << "Server poll:\n"; _acceptPoll.dumpState(os); commit d7172e3ee1241902055c0a9358b43ebbdcb0e888 Author: Michael Meeks Date: Thu Mar 30 21:54:40 2017 +0100 Fix unit test delay time check. diff --git a/wsd/LOOLWSD.cpp b/wsd/LOOLWSD.cpp index ff12b061..f8c8c5d9 100644 --- a/wsd/LOOLWSD.cpp +++ b/wsd/LOOLWSD.cpp @@ -2434,7 +2434,7 @@ int LOOLWSD::innerMain() // Unit test timeout if (std::chrono::duration_cast( -std::chrono::steady_clock::now() - startStamp).count() < +std::chrono::steady_clock::now() - startStamp).count() > UnitWSD::get().getTimeoutMilliSeconds()) UnitWSD::get().timeout(); commit 35917b140f058dd651b64e3d9660ba903561ce25 Author: Michael Meeks Date: Thu Mar 30 18:14:40 2017 +0100 Cleanup prctl / gettid system-call thrash on logging. Makes the strace look much prettier. diff --git a/Makefile.am b/Makefile.am index 80aed7c6..b7d066f4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -131,7 +131,8 @@ looltool_SOURCES = tools/Tool.cpp loolstress_CPPFLAGS = -DTDOC=\"$(abs_top_srcdir)/test/data\" ${include_paths} loolstress_SOURCES = tools/Stress.cpp \ common/Protocol.cpp \ - common/Log.cpp +
[Libreoffice-bugs] [Bug 98446] Hide Whitespace option grayed-out intermittently
https://bugs.documentfoundation.org/show_bug.cgi?id=98446 --- Comment #13 from LibreTraining--- Testing was done on: Version: 5.3.1.2 (x64) Build ID: e80a0e0fd1875e1696614d24c32df0f95f03deb2 CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; Layout Engine: new; Locale: en-US (en_US); Calc: group -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 98446] Hide Whitespace option grayed-out intermittently
https://bugs.documentfoundation.org/show_bug.cgi?id=98446 --- Comment #12 from LibreTraining--- I have determined one setting in the settings.xml file which appears to cause the issue. Using your demo files: - Hide whitespace grayed out.odt - Hide whitespace possible.odt I set the LO advanced setting to PrettyPrint the XML files. Then I extracted the contents of the ODT files so I could compare them. Then I tried to make the files as similar as possible. - deleted all custom styles - deleted all direct formatting - applied default style to all - reset document properties Then I extracted the files. Ran the compare - found 4 XML files with differences Replaced the XML files one-by-one to see which one fixed the issue. When the settings.xml was copied - the issue went away. So I then replaced each difference line-by-line. One setting, ViewLayoutColumns, brought back the Hide Whitespace function. >From ODT file: hide whitespace grayed out.odt File: settings.xml http://www.w3.org/1999/xlink; xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" xmlns:ooo="http://openoffice.org/2004/office; office:version="1.2"> ... ... 0 >From ODT file: hide possible.odt 1 So when I changed ViewLayoutColumns from 0 to 1 - the issue went away! To confirm I went back to the original hide_whitespace_grayed_out.odt file and changed just that line. It worked. To confirm I went back to the GS50-GettingStartedLO.odt I first mentioned above. In the settings.xml file I changed ViewLayoutColumns to 1. It worked. So ... could some knowledgable developer please figure-out what is happening. - Why is ViewLayoutColumns getting set to 0? - Why does that disable Hide Whitespace? -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 106880] PPT/ PPTX files with slide transitions having specific duration are imported with wrong duration
https://bugs.documentfoundation.org/show_bug.cgi?id=106880 --- Comment #2 from Aron Budea--- For checkerboard slide transition the basic transition speeds are: fast/med/slow = 0.5s/0.75s/1s. It seems to be different for different transitions. If the speed fits a predefined option, it's saved like this: If the speed is different, it's saved like this: http://schemas.openxmlformats.org/markup-compatibility/2006;> http://schemas.microsoft.com/office/powerpoint/2010/main; Requires="p14"> It's fairly easy to get a list of predefined values for each of the transitions, just have to have a transition with each of the predefined durations, and switching between transitions will show the exact value in the Duration field. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-commits] core.git: Branch 'libreoffice-5-3' - sc/source
sc/source/ui/cctrl/checklistmenu.cxx | 10 ++ sc/source/ui/inc/checklistmenu.hxx | 13 - sc/source/ui/view/gridwin.cxx| 24 ++-- sc/source/ui/view/gridwin2.cxx | 14 +++--- 4 files changed, 35 insertions(+), 26 deletions(-) New commits: commit 99744cb30435f2158d29967b77d08d0e4f79492c Author: Markus MohrhardDate: Sun Mar 26 22:50:18 2017 +0200 handle date autofilter entries correctly, tdf#106214 Change-Id: I8fd2896c8998e79794a0ccaae1c2442caf8b89ac Reviewed-on: https://gerrit.libreoffice.org/35730 Tested-by: Jenkins Reviewed-by: Markus Mohrhard (cherry picked from commit b3d498755238cb0d9a7a3e33b6070c1e4c0e3482) Reviewed-on: https://gerrit.libreoffice.org/35733 Reviewed-by: Kohei Yoshida diff --git a/sc/source/ui/cctrl/checklistmenu.cxx b/sc/source/ui/cctrl/checklistmenu.cxx index 226f029c6633..e73c229ff975 100644 --- a/sc/source/ui/cctrl/checklistmenu.cxx +++ b/sc/source/ui/cctrl/checklistmenu.cxx @@ -1916,12 +1916,14 @@ void ScCheckListMenuWindow::getResult(ResultType& rResult) if (aLabel.isEmpty()) aLabel = ScGlobal::GetRscString(STR_EMPTYDATA); bool bState = maChecks->IsChecked( aLabel, maMembers[i].mpParent ); -OUString sName; +ResultEntry aResultEntry; +aResultEntry.bValid = bState; if ( maMembers[i].mbDate ) -sName = maMembers[i].maRealName; +aResultEntry.aName = maMembers[i].maRealName; else -sName = maMembers[i].maName; -aResult.insert(ResultType::value_type(sName, bState)); +aResultEntry.aName = maMembers[i].maName; +aResultEntry.bDate = maMembers[i].mbDate; +aResult.insert(aResultEntry); } } rResult.swap(aResult); diff --git a/sc/source/ui/inc/checklistmenu.hxx b/sc/source/ui/inc/checklistmenu.hxx index 1ee9e7bdc102..d80e20b76d21 100644 --- a/sc/source/ui/inc/checklistmenu.hxx +++ b/sc/source/ui/inc/checklistmenu.hxx @@ -293,7 +293,18 @@ struct ScCheckListMember class ScCheckListMenuWindow : public ScMenuFloatingWindow { public: -typedef std::unordered_map ResultType; +struct ResultEntry +{ +OUString aName; +bool bValid; +bool bDate; + +bool operator<(const ResultEntry& rhs) const +{ +return aName < rhs.aName; +} +}; +typedef std::set ResultType; /** * Extended data that the client code may need to store. Create a diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx index aea4f5365f3b..317d1941c1f0 100644 --- a/sc/source/ui/view/gridwin.cxx +++ b/sc/source/ui/view/gridwin.cxx @@ -642,13 +642,16 @@ class AddItemToEntry : public std::unary_function public: AddItemToEntry(ScQueryEntry::QueryItemsType& rItems, svl::SharedStringPool& rPool) : mrItems(rItems), mrPool(rPool) {} -void operator() (const OUString& rSelected) +void operator() (const ScCheckListMenuWindow::ResultEntry& rEntry) { -ScQueryEntry::Item aNew; -aNew.maString = mrPool.intern(rSelected); -aNew.meType = ScQueryEntry::ByString; -aNew.mfVal = 0.0; -mrItems.push_back(aNew); +if (rEntry.bValid) +{ +ScQueryEntry::Item aNew; +aNew.maString = mrPool.intern(rEntry.aName); +aNew.meType = rEntry.bDate ? ScQueryEntry::ByDate : ScQueryEntry::ByString; +aNew.mfVal = 0.0; +mrItems.push_back(aNew); +} } }; @@ -852,17 +855,10 @@ void ScGridWindow::UpdateAutoFilterFromMenu(AutoFilterMode eMode) ScCheckListMenuWindow::ResultType aResult; mpAutoFilterPopup->getResult(aResult); -std::vector aSelected; -ScCheckListMenuWindow::ResultType::const_iterator itr = aResult.begin(), itrEnd = aResult.end(); -for (; itr != itrEnd; ++itr) -{ -if (itr->second) -aSelected.push_back(itr->first); -} ScQueryEntry::QueryItemsType& rItems = pEntry->GetQueryItems(); rItems.clear(); -std::for_each(aSelected.begin(), aSelected.end(), AddItemToEntry(rItems, rPool)); +std::for_each(aResult.begin(), aResult.end(), AddItemToEntry(rItems, rPool)); } break; case Top10: diff --git a/sc/source/ui/view/gridwin2.cxx b/sc/source/ui/view/gridwin2.cxx index c2e34db084ea..ae9398ecb416 100644 --- a/sc/source/ui/view/gridwin2.cxx +++ b/sc/source/ui/view/gridwin2.cxx @@ -554,29 +554,29 @@ void ScGridWindow::UpdateDPFromFieldPopupMenu()
[Libreoffice-commits] core.git: Branch 'feature/cib_contract136' - 24 commits - bin/lo-pack-sources cli_ure/source filter/source fpicker/source hwpfilter/source include/vcl jvmfwk/inc jvmfwk/plugins l
Rebased ref, commits from common ancestor: commit a5b35b777843e8a4888e65e47596c7f9a1e58dc7 Author: Samuel MehrbrodtDate: Thu Mar 9 20:43:09 2017 +0100 jvmfwk: get jre bitness matching LO's This squashes the following commits: Related tdf#54443 List only matching JREs I.e. show only 64bit JRE for 64bit LO and 32bit JRE for 32bit LO Change-Id: Id5e890637c7e1014bcb4e6fdd9ed9a33765112d5 Reviewed-on: https://gerrit.libreoffice.org/35026 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt (cherry picked from commit 9143dd4ebe37b608e43d04434cf831624bf55b65) Reviewed-on: https://gerrit.libreoffice.org/35162 Reviewed-by: Thorsten Behrens - and - jvmfwk: fix JVM detection on 64-bit Windows _WIN32 is also defined on 64-bit Windows so reorder these ifdefs. Should i be surprised that this breaks several dbaccess tests for me but all tinderboxes are green? (regression from 9143dd4ebe37b608e43d04434cf831624bf55b65) Change-Id: Id917952d3135768355af711688ff70bf6c019a6e (cherry picked from commit 2aa20cfb7a11dd8d86372af4065a5887a0b752ca) Reviewed-on: https://gerrit.libreoffice.org/35530 Reviewed-by: Samuel Mehrbrodt Tested-by: Jenkins diff --git a/jvmfwk/inc/vendorbase.hxx b/jvmfwk/inc/vendorbase.hxx index d5742783f5bc..457b7b20dd55 100644 --- a/jvmfwk/inc/vendorbase.hxx +++ b/jvmfwk/inc/vendorbase.hxx @@ -133,6 +133,7 @@ public: const OUString & getRuntimeLibrary() const; const OUString & getLibraryPath() const; bool supportsAccessibility() const; +bool isValidArch() const; /* determines if prior to running java something has to be done, like setting the LD_LIBRARY_PATH. This implementation checks if an LD_LIBRARY_PATH (getLD_LIBRARY_PATH) needs to be set and @@ -178,6 +179,7 @@ protected: OUString m_sHome; OUString m_sRuntimeLibrary; OUString m_sLD_LIBRARY_PATH; +OUString m_sArch; bool m_bAccessibility; diff --git a/jvmfwk/inc/vendorplugin.hxx b/jvmfwk/inc/vendorplugin.hxx index 8df13b153b83..426157b6ed54 100644 --- a/jvmfwk/inc/vendorplugin.hxx +++ b/jvmfwk/inc/vendorplugin.hxx @@ -55,6 +55,7 @@ enum class javaPluginError FailedVersion, NoJre, WrongVendor, +WrongArch, VmCreationFailed }; diff --git a/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx b/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx index 43ddc827fefa..48fc537393a0 100644 --- a/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx +++ b/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx @@ -227,6 +227,10 @@ javaPluginError checkJavaVersionRequirements( rtl_uString * * arExcludeList, sal_Int32 nLenList) { +if (!aVendorInfo->isValidArch()) +{ +return javaPluginError::WrongArch; +} if (!sMinVersion.isEmpty()) { try @@ -334,7 +338,7 @@ javaPluginError jfw_plugin_getAllJavaInfos( javaPluginError err = checkJavaVersionRequirements( cur, sMinVersion, sMaxVersion, arExcludeList, nLenList); -if (err == javaPluginError::FailedVersion) +if (err == javaPluginError::FailedVersion || err == javaPluginError::WrongArch) continue; else if (err == javaPluginError::WrongVersionFormat) return err; diff --git a/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx b/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx index 9b580ccaa8fb..27b3ddcd7422 100644 --- a/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx +++ b/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx @@ -62,12 +62,14 @@ bool VendorBase::initialize(vector > props) OUString sVendorProperty("java.vendor"); OUString sVersionProperty("java.version"); OUString sHomeProperty("java.home"); +OUString sArchProperty("os.arch"); OUString sAccessProperty("javax.accessibility.assistive_technologies"); bool bVersion = false; bool bVendor = false; bool bHome = false; bool bAccess = false; +bool bArch = false; typedef vector >::const_iterator it_prop; for (it_prop i = props.begin(); i != props.end(); ++i) @@ -103,6 +105,11 @@ bool VendorBase::initialize(vector > props) bHome = true; #endif } +else if (!bArch && sArchProperty.equals(i->first)) +{ +m_sArch = i->second; +bArch = true; +} else if (!bAccess && sAccessProperty.equals(i->first)) { if (!i->second.isEmpty()) @@ -115,7 +122,7 @@ bool VendorBase::initialize(vector > props) //must search through all properties. } -if (!bVersion || !bVendor || !bHome) +if (!bVersion || !bVendor ||
[Libreoffice-bugs] [Bug 106887] Find & Replace: Add ability to assign a certain paragraph style
https://bugs.documentfoundation.org/show_bug.cgi?id=106887 Thomas Lendochanged: What|Removed |Added Blocks||106876 Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=106876 [Bug 106876] [META] Find & Replace with styles -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 106888] Find & Replace: Add ability to search for paragraph formatting
https://bugs.documentfoundation.org/show_bug.cgi?id=106888 Thomas Lendochanged: What|Removed |Added Blocks||106876 Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=106876 [Bug 106876] [META] Find & Replace with styles -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 106876] [META] Find & Replace with styles
https://bugs.documentfoundation.org/show_bug.cgi?id=106876 Thomas Lendochanged: What|Removed |Added CC||thomas.le...@gmail.com Depends on||106887, 106888 Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=106887 [Bug 106887] Find & Replace: Add ability to assign a certain paragraph style https://bugs.documentfoundation.org/show_bug.cgi?id=106888 [Bug 106888] Find & Replace: Add ability to search for paragraph formatting -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 106888] New: Find & Replace: Add ability to search for paragraph formatting
https://bugs.documentfoundation.org/show_bug.cgi?id=106888 Bug ID: 106888 Summary: Find & Replace: Add ability to search for paragraph formatting Product: LibreOffice Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: enhancement Priority: medium Component: Writer Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: thomas.le...@gmail.com When searching with the Find & Replace dialog, it should be possible to search for direct paragraph formatting details analogous to the existing text formatting search feature. With such a feature (in combination with paragraph style assigning) the user can replace direct paragraph formatting with a paragraph style. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 106887] New: Find & Replace: Add ability to assign a certain paragraph style
https://bugs.documentfoundation.org/show_bug.cgi?id=106887 Bug ID: 106887 Summary: Find & Replace: Add ability to assign a certain paragraph style Product: LibreOffice Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: enhancement Priority: medium Component: Writer Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: thomas.le...@gmail.com When searching with the Find & Replace dialog, it should be possible to assign a certain paragraph style to a found paragraph. Existing direct paragraph formatting should be replaced completely by the style. In combination with a paragraph formatting search feature, a user could search for certain paragraphs (e.g. with 5 cm indent and 10 % pattern) and replace their manual formatting with a paragraph style. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-commits] core.git: Branch 'feature/pivotcharts' - chart2/CppunitTest_chart2_pivot_chart_test.mk chart2/Module_chart2.mk chart2/qa
chart2/CppunitTest_chart2_pivot_chart_test.mk | 131 + chart2/Module_chart2.mk |1 chart2/qa/extras/PivotChartTest.cxx | 244 ++ chart2/qa/extras/data/ods/PivotChart.ods |binary chart2/qa/extras/data/ods/PivotChart2.ods |binary 5 files changed, 376 insertions(+) New commits: commit 3359fe9479244c1e8133f355474512e43f4ec756 Author: Tomaž VajngerlDate: Thu Mar 30 23:50:38 2017 +0200 chart2: pivot chart round-trip test, pivot table update test Change-Id: Ia96bae4f24e7031929ceb9dc9fbeaa841def7547 diff --git a/chart2/CppunitTest_chart2_pivot_chart_test.mk b/chart2/CppunitTest_chart2_pivot_chart_test.mk new file mode 100644 index ..418db1af9cc9 --- /dev/null +++ b/chart2/CppunitTest_chart2_pivot_chart_test.mk @@ -0,0 +1,131 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +#* +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +#* + +$(eval $(call gb_CppunitTest_CppunitTest,chart2_pivot_chart_test)) + +$(eval $(call gb_CppunitTest_use_externals,chart2_pivot_chart_test, \ + boost_headers \ + libxml2 \ +)) + +$(eval $(call gb_CppunitTest_add_exception_objects,chart2_pivot_chart_test, \ +chart2/qa/extras/PivotChartTest \ +)) + +$(eval $(call gb_CppunitTest_use_libraries,chart2_pivot_chart_test, \ +basegfx \ +comphelper \ +cppu \ +cppuhelper \ +drawinglayer \ +editeng \ +for \ +forui \ +i18nlangtag \ +msfilter \ +vcl \ +oox \ +sal \ +salhelper \ +sax \ +sb \ +sc \ +sw \ +sd \ +sfx \ +sot \ +svl \ +svt \ +svx \ +svxcore \ +test \ +tl \ +tk \ +ucbhelper \ +unotest \ +utl \ +vbahelper \ +xo \ +sw \ +$(gb_UWINAPI) \ +)) + +$(eval $(call gb_CppunitTest_set_include,chart2_pivot_chart_test,\ +-I$(SRCDIR)/chart2/inc \ +$$(INCLUDE) \ +)) + +$(eval $(call gb_CppunitTest_use_sdk_api,chart2_pivot_chart_test)) +$(eval $(call gb_CppunitTest_use_ure,chart2_pivot_chart_test)) +$(eval $(call gb_CppunitTest_use_vcl,chart2_pivot_chart_test)) + +$(eval $(call gb_CppunitTest_use_components,chart2_pivot_chart_test,\ +basic/util/sb \ +animations/source/animcore/animcore \ +chart2/source/controller/chartcontroller \ +chart2/source/chartcore \ +comphelper/util/comphelp \ +configmgr/source/configmgr \ +dtrans/util/mcnttype \ +dbaccess/util/dba \ +embeddedobj/util/embobj \ +eventattacher/source/evtatt \ +filter/source/config/cache/filterconfig1 \ +filter/source/odfflatxml/odfflatxml \ +filter/source/storagefilterdetect/storagefd \ +filter/source/xmlfilteradaptor/xmlfa \ +filter/source/xmlfilterdetect/xmlfd \ +forms/util/frm \ +framework/util/fwk \ +i18npool/util/i18npool \ +linguistic/source/lng \ +oox/util/oox \ +package/source/xstor/xstor \ +package/util/package2 \ +sax/source/expatwrap/expwrap \ +sc/util/sc \ +sc/util/scd \ +sc/util/scfilt \ +sw/util/sw \ +sw/util/swd \ +sw/util/msword \ +sd/util/sd \ +sd/util/sdfilt \ +sd/util/sdd \ +$(call gb_Helper_optional,SCRIPTING, \ + sc/util/vbaobj) \ +scaddins/source/analysis/analysis \ +scaddins/source/datefunc/date \ +scripting/source/basprov/basprov \ +scripting/util/scriptframe \ +sfx2/util/sfx \ +sot/util/sot \ +svl/source/fsstor/fsstorage \ +svl/util/svl \ + svtools/util/svt \ +svx/util/svx \ +svx/util/svxcore \ +toolkit/util/tk \ +ucb/source/core/ucb1 \ +ucb/source/ucp/file/ucpfile1 \ +ucb/source/ucp/tdoc/ucptdoc1 \ +unotools/util/utl \ +unoxml/source/rdf/unordf \ +unoxml/source/service/unoxml \ +uui/util/uui \ +writerfilter/util/writerfilter \ +xmloff/util/xo \ +xmlscript/util/xmlscript \ +)) + +$(eval $(call gb_CppunitTest_use_configuration,chart2_pivot_chart_test)) + +# vim: set noet sw=4 ts=4: diff --git a/chart2/Module_chart2.mk b/chart2/Module_chart2.mk index 0061c0aabb91..810be6d197e8 100644 --- a/chart2/Module_chart2.mk +++ b/chart2/Module_chart2.mk @@ -34,6 +34,7 @@ $(eval $(call gb_Module_add_slowcheck_targets,chart2,\ CppunitTest_chart2_import \ CppunitTest_chart2_trendcalculators \ CppunitTest_chart2_dump \ +CppunitTest_chart2_pivot_chart_test \ )) ifeq ($(ENABLE_CHART_TESTS),TRUE) diff --git a/chart2/qa/extras/PivotChartTest.cxx b/chart2/qa/extras/PivotChartTest.cxx new file mode 100644 index ..ad98c60869da --- /dev/null +++
[Libreoffice-bugs] [Bug 106886] Find & Replace: Search and replace table styles
https://bugs.documentfoundation.org/show_bug.cgi?id=106886 Thomas Lendochanged: What|Removed |Added Blocks||106876 Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=106876 [Bug 106876] [META] Find & Replace with styles -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 106876] [META] Find & Replace with styles
https://bugs.documentfoundation.org/show_bug.cgi?id=106876 Thomas Lendochanged: What|Removed |Added Depends on||106886, 106884, 106885 Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=106884 [Bug 106884] Find & Replace: Search and replace page styles https://bugs.documentfoundation.org/show_bug.cgi?id=106885 [Bug 106885] Find & Replace: Search and replace frame styles https://bugs.documentfoundation.org/show_bug.cgi?id=106886 [Bug 106886] Find & Replace: Search and replace table styles -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 106885] Find & Replace: Search and replace frame styles
https://bugs.documentfoundation.org/show_bug.cgi?id=106885 Thomas Lendochanged: What|Removed |Added Blocks||106876 Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=106876 [Bug 106876] [META] Find & Replace with styles -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 106884] Find & Replace: Search and replace page styles
https://bugs.documentfoundation.org/show_bug.cgi?id=106884 Thomas Lendochanged: What|Removed |Added Blocks||106876 Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=106876 [Bug 106876] [META] Find & Replace with styles -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 106885] New: Find & Replace: Search and replace frame styles
https://bugs.documentfoundation.org/show_bug.cgi?id=106885 Bug ID: 106885 Summary: Find & Replace: Search and replace frame styles Product: LibreOffice Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: enhancement Priority: medium Component: Writer Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: thomas.le...@gmail.com It's possible to search and replace paragraph styles. It should also be possible to search for frame styles and replace them with another frame style. It's more abstract than searching for strings, but found frames with a certain style should be marked and then could be assigned with a new frame style by the user with the replace button. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 106886] New: Find & Replace: Search and replace table styles
https://bugs.documentfoundation.org/show_bug.cgi?id=106886 Bug ID: 106886 Summary: Find & Replace: Search and replace table styles Product: LibreOffice Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: enhancement Priority: medium Component: Writer Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: thomas.le...@gmail.com It's possible to search and replace paragraph styles. It should also be possible to search for table styles and replace them with another table style. It's more abstract than searching for strings, but found tables with a certain style should be marked and then could be assigned with a new table style by the user with the replace button. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 106884] New: Find & Replace: Search and replace page styles
https://bugs.documentfoundation.org/show_bug.cgi?id=106884 Bug ID: 106884 Summary: Find & Replace: Search and replace page styles Product: LibreOffice Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: enhancement Priority: medium Component: Writer Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: thomas.le...@gmail.com It's possible to search and replace paragraph styles. It should also be possible to search for page styles and replace them with another page style. It's more abstract than searching for strings, but found pages with a certain style should be marked and then could be assigned with a new page style by the user with the replace button. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-commits] core.git: writerfilter/source
writerfilter/source/dmapper/DomainMapperTableHandler.cxx |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) New commits: commit c382c998ffdaf80c10a3f078fb4f0a37224d1158 Author: Michael StahlDate: Thu Mar 30 23:11:41 2017 +0200 writerfilter: DOCX import: fix handling of w:hideMark vs. w:vMerge The problem is that Writer's layout can't handle the case where cells are vertically merged and the last row has a fixed height; the vertically merged cell will grow up to the height of the other cells in the non- fixed rows plus the fixed row height, but no larger. So for now, avoid setting fixed row heights in this case. (regression from d1278ef4849661b9ae0eb7aaf4d74fbf91ccaf11) Change-Id: Iac3689e0bb0d5b8a62115ca0fb1f2c553a6e6bbc diff --git a/writerfilter/source/dmapper/DomainMapperTableHandler.cxx b/writerfilter/source/dmapper/DomainMapperTableHandler.cxx index ec5285ab26ee..2c33391d9c7b 100644 --- a/writerfilter/source/dmapper/DomainMapperTableHandler.cxx +++ b/writerfilter/source/dmapper/DomainMapperTableHandler.cxx @@ -875,8 +875,12 @@ CellPropertyValuesSeq_t DomainMapperTableHandler::endTableGetCellProperties(Tabl bool lcl_hideMarks(PropertyMapVector1& rCellProperties) { for (PropertyMapPtr & p : rCellProperties) -if (!p->isSet(PROP_CELL_HIDE_MARK)) +{ +// if anything is vertically merged, the row must not be set to fixed +// as Writer's layout doesn't handle that well +if (!p->isSet(PROP_CELL_HIDE_MARK) || p->isSet(PROP_VERTICAL_MERGE)) return false; +} return true; } ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-bugs] [Bug 106876] [META] Find & Replace with styles
https://bugs.documentfoundation.org/show_bug.cgi?id=106876 Thomas Lendochanged: What|Removed |Added Summary|[META] Find & Replace |[META] Find & Replace with |styles |styles -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 106883] Find & Replace: Add ability to assign a certain list style
https://bugs.documentfoundation.org/show_bug.cgi?id=106883 Thomas Lendochanged: What|Removed |Added Blocks||106876 Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=106876 [Bug 106876] [META] Find & Replace styles -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 106876] [META] Find & Replace styles
https://bugs.documentfoundation.org/show_bug.cgi?id=106876 Thomas Lendochanged: What|Removed |Added Depends on||106883, 106882, 106881 Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=106881 [Bug 106881] Find & Replace: Search and replace list styles https://bugs.documentfoundation.org/show_bug.cgi?id=106882 [Bug 106882] Find & Replace: Add ability to search for list formatting https://bugs.documentfoundation.org/show_bug.cgi?id=106883 [Bug 106883] Find & Replace: Add ability to assign a certain list style -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 106882] Find & Replace: Add ability to search for list formatting
https://bugs.documentfoundation.org/show_bug.cgi?id=106882 Thomas Lendochanged: What|Removed |Added Blocks||106876 Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=106876 [Bug 106876] [META] Find & Replace styles -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 106881] Find & Replace: Search and replace list styles
https://bugs.documentfoundation.org/show_bug.cgi?id=106881 Thomas Lendochanged: What|Removed |Added Blocks||106876 Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=106876 [Bug 106876] [META] Find & Replace styles -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 106883] New: Find & Replace: Add ability to assign a certain list style
https://bugs.documentfoundation.org/show_bug.cgi?id=106883 Bug ID: 106883 Summary: Find & Replace: Add ability to assign a certain list style Product: LibreOffice Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: enhancement Priority: medium Component: Writer Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: thomas.le...@gmail.com When searching with the Find & Replace dialog, it should be possible to assign a certain list style to found paragraphs or lists. Existing direct list formatting should be replaced completely by the style. With such a feature (in combination with direct list formatted paragraph search) the user could replace direct formatted lists with a list style. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 106882] New: Find & Replace: Add ability to search for list formatting
https://bugs.documentfoundation.org/show_bug.cgi?id=106882 Bug ID: 106882 Summary: Find & Replace: Add ability to search for list formatting Product: LibreOffice Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: enhancement Priority: medium Component: Writer Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: thomas.le...@gmail.com When searching with the Find & Replace dialog, it should be possible to search for direct list formatted paragraphs. Maybe a checkbox is sufficient with that it searches for list formatted paragraphs in the xml structure of ODF. Paragraphs belonging together as one list should be handled like one paragraph so that the user can proceed with the whole list as one likes, e.g. assign a new list sign or a style to the whole list. With such a feature (in combination with list style assigning) the user can replace direct formatted lists with a list style. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 106881] New: Find & Replace: Search and replace list styles
https://bugs.documentfoundation.org/show_bug.cgi?id=106881 Bug ID: 106881 Summary: Find & Replace: Search and replace list styles Product: LibreOffice Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: enhancement Priority: medium Component: Writer Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: thomas.le...@gmail.com It's possible to search and replace paragraph styles. It should also be possible to search for list styles and replace them with another list style. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 84675] Add missing BASIC function and constant documentation
https://bugs.documentfoundation.org/show_bug.cgi?id=84675 Regina Henschelchanged: What|Removed |Added CC||rb.hensc...@t-online.de --- Comment #6 from Regina Henschel --- Johnny_M: http://en.libreofficeforum.org does no longer exists. Do you have another place of the list, or have a copy that you can attach here? -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
Making people interested in programming extensions (possible topic for hackfests)
Hello, In the ESC call minutes, several hackfest topics are mentioned, among others, Extensions and making people interested in writing them. Is there someone who would like to improve the process of learning to programm extensions and create materials for such Hackfest Workshops? In the recent weeks I started to teach myself how to write Extensions [1][2] and, if there is interest, could share my experiences [2] to provide some direct feedback on possible problems beginners face. Kind Regards, Jan [1] or at least tried to [2] I did previously write minor extensions for other sofware (Firefox, Etherpad) too, so I would also have some rough comparsion points. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice-bugs] [Bug 39053] EMF are not drawn correctly ( gradient and text drawn correctly now, but the borders aren't)
https://bugs.documentfoundation.org/show_bug.cgi?id=39053 --- Comment #32 from Bartosz--- What kind of EMF editor are you using? -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 106868] Calc crashes to modify external link
https://bugs.documentfoundation.org/show_bug.cgi?id=106868 m.a.riosvchanged: What|Removed |Added CC||miguelangelrv@libreoffice.o ||rg --- Comment #2 from m.a.riosv --- There are no links on the file. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 106872] Very slow when selecting column ( with filter and freeze Rows or Columns enable)
https://bugs.documentfoundation.org/show_bug.cgi?id=106872 m.a.riosvchanged: What|Removed |Added CC||miguelangelrv@libreoffice.o ||rg --- Comment #1 from m.a.riosv --- I can't reproduce. Version: 5.3.2.1 (x64) Build ID: 7f6693c08cc110b9721245fc4bd4f1712e0c086c CPU Threads: 4; OS Version: Windows 6.19; UI Render: default; Layout Engine: new; Locale: es-ES (es_ES); Calc: group -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-commits] core.git: Branch 'feature/pivotcharts' - include/xmloff offapi/com sc/inc sc/source xmloff/inc xmloff/source
include/xmloff/xmlnmspe.hxx |7 include/xmloff/xmltoken.hxx |1 offapi/com/sun/star/chart2/data/XPivotChartDataProvider.idl | 32 + sc/inc/PivotChartDataProvider.hxx | 33 +- sc/inc/servuno.hxx |2 sc/inc/unonames.hxx |1 sc/source/ui/drawfunc/fuins2.cxx|9 sc/source/ui/unoobj/PivotChartDataProvider.cxx | 196 +--- sc/source/ui/unoobj/servuno.cxx |7 xmloff/inc/SchXMLImport.hxx |3 xmloff/source/chart/SchXMLChartContext.cxx | 80 xmloff/source/chart/SchXMLChartContext.hxx |2 xmloff/source/chart/SchXMLExport.cxx|8 xmloff/source/chart/SchXMLImport.cxx| 60 --- xmloff/source/chart/SchXMLSeries2Context.cxx| 50 ++- xmloff/source/chart/SchXMLTools.cxx | 21 - xmloff/source/core/xmltoken.cxx |1 xmloff/source/token/tokens.txt |3 18 files changed, 385 insertions(+), 131 deletions(-) New commits: commit ca73bdd75d4eea277e1df2c89e4da141f320ae6f Author: Tomaž VajngerlDate: Thu Mar 30 22:53:05 2017 +0200 xmloff: add ODF import/export for pivot charts This adds import and export for pivot charts: - Added loext:data-pilot-source attribute on chart:chart which is the internal name of the pivot table with which the pivot chart is associated with. If the element is present, then the it means the chart is a pivot chart, else it is a normal chart - Added service to create pivot chart data provider through UNO - Add new methods to XPivotChartDataProvider to create value and label data sequences separately from the data source, which is needed for pivot chart import - When importing defer setting the data provider until a later time when we know if we are creating a chart od a pivot chart Change-Id: I414203518a12d0f20ca17fe55c3af7bc683f60e2 diff --git a/include/xmloff/xmlnmspe.hxx b/include/xmloff/xmlnmspe.hxx index ae588d28eeac..17f490ff582c 100644 --- a/include/xmloff/xmlnmspe.hxx +++ b/include/xmloff/xmlnmspe.hxx @@ -23,11 +23,11 @@ #include #define XML_NAMESPACE( prefix, key ) \ -const sal_uInt16 XML_NAMESPACE_##prefix = key; \ -const sal_uInt16 XML_NAMESPACE_##prefix##_IDX = key; +constexpr sal_uInt16 XML_NAMESPACE_##prefix = key; \ +constexpr sal_uInt16 XML_NAMESPACE_##prefix##_IDX = key; #define XML_OLD_NAMESPACE( prefix, index ) \ -const sal_uInt16 XML_OLD_NAMESPACE_##prefix##_IDX = \ +constexpr sal_uInt16 XML_OLD_NAMESPACE_##prefix##_IDX = \ (XML_OLD_NAMESPACE_BASE+index); // current namespaces @@ -89,7 +89,6 @@ XML_NAMESPACE_EXT( LO, 42U ) // namespaces used in the technical preview (SO 5.2) XML_OLD_NAMESPACE( FO, 0U ) XML_OLD_NAMESPACE( XLINK, 1U ) - XML_OLD_NAMESPACE( OFFICE, 2U ) XML_OLD_NAMESPACE( STYLE, 3U ) XML_OLD_NAMESPACE( TEXT,4U ) diff --git a/include/xmloff/xmltoken.hxx b/include/xmloff/xmltoken.hxx index 70b57d1b0f8d..4e1ddd4c4cda 100644 --- a/include/xmloff/xmltoken.hxx +++ b/include/xmloff/xmltoken.hxx @@ -545,6 +545,7 @@ namespace xmloff { namespace token { XML_DATA_LABEL_NUMBER, XML_DATA_LABEL_SYMBOL, XML_DATA_LABEL_TEXT, +XML_DATA_PILOT_SOURCE, XML_DATA_PILOT_FIELD, XML_DATA_PILOT_GRAND_TOTAL, XML_DATA_PILOT_LEVEL, diff --git a/offapi/com/sun/star/chart2/data/XPivotChartDataProvider.idl b/offapi/com/sun/star/chart2/data/XPivotChartDataProvider.idl index 284d7acbc253..60c76baf889e 100644 --- a/offapi/com/sun/star/chart2/data/XPivotChartDataProvider.idl +++ b/offapi/com/sun/star/chart2/data/XPivotChartDataProvider.idl @@ -46,11 +46,41 @@ interface XPivotChartDataProvider : com::sun::star::uno::XInterface */ sequence getDataFields(); -/** associated pivot table name +/** get the associated pivot table name * * @since LibreOffice 5.4 */ string getPivotTableName(); + +/** set the associated pivot table name + * + * @since LibreOffice 5.4 + */ + void setPivotTableName([in] string sPivotTableName); + +/** creates a single data sequence of values for the given data series index. + * + * @param nIndex + * index of the data series + * + * @since LibreOffice 5.4 + */ +XDataSequence createDataSequenceOfValuesByIndex([in] long nIndex); + +/** creates a single data sequence of label(s) for the given data series index. + * + * @param nIndex + * index of the data series + * + * @since LibreOffice 5.4 + */ +
[Libreoffice-bugs] [Bug 37281] emf file looks wrong
https://bugs.documentfoundation.org/show_bug.cgi?id=37281 Bartoszchanged: What|Removed |Added Status|NEW |ASSIGNED Assignee|libreoffice-b...@lists.free |gan...@poczta.onet.pl |desktop.org | -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 96676] EMF+ not displaying correctly
https://bugs.documentfoundation.org/show_bug.cgi?id=96676 Bartoszchanged: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |WORKSFORME --- Comment #8 from Bartosz --- Unable to reproduce with LibreOffice 5.3.1 (Windows XP) I dragged emf file into Writer document and I opened attached docx document. In both cases it is displaying correctly -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 103859] [META] EMF/WMF (Windows Metafile) bugs and enhancements
https://bugs.documentfoundation.org/show_bug.cgi?id=103859 Bug 103859 depends on bug 96676, which changed state. Bug 96676 Summary: EMF+ not displaying correctly https://bugs.documentfoundation.org/show_bug.cgi?id=96676 What|Removed |Added Status|NEW |RESOLVED Resolution|--- |WORKSFORME -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-commits] online.git: 3 commits - kit/ForKit.cpp test/Makefile.am test/UnitPrefork.cpp wsd/LOOLWSD.cpp
kit/ForKit.cpp |2 ++ test/Makefile.am |2 +- test/UnitPrefork.cpp |5 +++-- wsd/LOOLWSD.cpp |7 +-- 4 files changed, 11 insertions(+), 5 deletions(-) New commits: commit f20e931b29ebea0778e72892c9357ef9ae809557 Author: Michael MeeksDate: Thu Mar 30 21:55:33 2017 +0100 Re-enable UnitPrefork. diff --git a/test/Makefile.am b/test/Makefile.am index c55c306f..9008efa1 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -74,7 +74,7 @@ check-local: ./run_unit.sh --log-file test.log --trs-file test.trs # FIXME 2: unit-oob.la fails with symbol undefined: # UnitWSD::testHandleRequest(UnitWSD::TestRequest, UnitHTTPServerRequest&, UnitHTTPServerResponse&) , -TESTS = # unit-prefork.la # unit-tilecache.la unit-storage.la unit-timeout.la unit-admin.la unit-minsocketbuffersize.la +TESTS = unit-prefork.la # unit-tilecache.la unit-storage.la unit-timeout.la unit-admin.la unit-minsocketbuffersize.la else TESTS = ${top_builddir}/test/test endif diff --git a/test/UnitPrefork.cpp b/test/UnitPrefork.cpp index 841fbd37..90852a69 100644 --- a/test/UnitPrefork.cpp +++ b/test/UnitPrefork.cpp @@ -27,9 +27,10 @@ public: setTimeout(60 * 1000); } -virtual void configure(Poco::Util::LayeredConfiguration& /* config */) override +virtual void configure(Poco::Util::LayeredConfiguration& config) override { -LOOLWSD::NumPreSpawnedChildren = NumToPrefork; +config.setInt("num_prespawn_children", NumToPrefork); +UnitWSD::configure(config); } virtual void newChild(WebSocketHandler &) override commit a2398fc367eafdcec9dce99765b2671b339ce19a Author: Michael Meeks Date: Thu Mar 30 21:55:17 2017 +0100 Improve debugging information. diff --git a/kit/ForKit.cpp b/kit/ForKit.cpp index 62c34c57..59da5d64 100644 --- a/kit/ForKit.cpp +++ b/kit/ForKit.cpp @@ -341,6 +341,8 @@ int main(int argc, char** argv) SigUtil::setTerminationSignals(); #endif +Util::setThreadName("forkit"); + // Initialization const bool logToFile = std::getenv("LOOL_LOGFILE"); const char* logFilename = std::getenv("LOOL_LOGFILENAME"); diff --git a/wsd/LOOLWSD.cpp b/wsd/LOOLWSD.cpp index 3adf744a..f8bfc661 100644 --- a/wsd/LOOLWSD.cpp +++ b/wsd/LOOLWSD.cpp @@ -347,6 +347,8 @@ static int rebalanceChildren(int balance) { Util::assertIsLocked(NewChildrenMutex); +LOG_WRN("rebalance children to " << balance); + // Do the cleanup first. const bool rebalance = cleanupChildren(); @@ -2177,7 +2179,8 @@ public: << " TerminationFlag: " << TerminationFlag << "\n" << " isShuttingDown: " << ShutdownRequestFlag << "\n" << " NewChildren: " << NewChildren.size() << "\n" - << " OutstandingForks: " << OutstandingForks << "\n"; + << " OutstandingForks: " << OutstandingForks << "\n" + << " NumPreSpawnedChildren: " << LOOLWSD::NumPreSpawnedChildren << "\n"; os << "Server poll:\n"; _acceptPoll.dumpState(os); commit eab89a0e709b1d61daa4844706641e0092310371 Author: Michael Meeks Date: Thu Mar 30 21:54:40 2017 +0100 Fix unit test delay time check. diff --git a/wsd/LOOLWSD.cpp b/wsd/LOOLWSD.cpp index 877d7ccc..3adf744a 100644 --- a/wsd/LOOLWSD.cpp +++ b/wsd/LOOLWSD.cpp @@ -2418,7 +2418,7 @@ int LOOLWSD::innerMain() // Unit test timeout if (std::chrono::duration_cast( -std::chrono::steady_clock::now() - startStamp).count() < +std::chrono::steady_clock::now() - startStamp).count() > UnitWSD::get().getTimeoutMilliSeconds()) UnitWSD::get().timeout(); ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] online.git: Changes to 'refs/tags/libreoffice-5.3.2.2'
Tag 'libreoffice-5.3.2.2' created by Andras Timarat 2017-03-30 20:44 + libreoffice-5.3.2.2 Changes since libreoffice-5.3.1.2-78: --- 0 files changed --- ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] online.git: Branch 'libreoffice-5-3' - configure.ac loleaflet/Makefile
configure.ac |2 +- loleaflet/Makefile |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) New commits: commit 122a4499c424fbed5cbe1b142c9c4762e46ca0aa Author: Andras TimarDate: Thu Mar 30 22:44:28 2017 +0200 Bump version to 5.3.2.2 Change-Id: Ib9e074e3a5e0e1ee0bfc747991757a7eff95c3fd diff --git a/configure.ac b/configure.ac index 9005b187..e9548b75 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ AC_PREREQ([2.69]) -AC_INIT([libreoffice-online], [5.3.1.2], [libreoffice@lists.freedesktop.org]) +AC_INIT([libreoffice-online], [5.3.2.2], [libreoffice@lists.freedesktop.org]) LT_INIT([shared, disable-static, dlopen]) AM_INIT_AUTOMAKE([1.11 silent-rules subdir-objects]) diff --git a/loleaflet/Makefile b/loleaflet/Makefile index a883cb58..b111782f 100644 --- a/loleaflet/Makefile +++ b/loleaflet/Makefile @@ -3,7 +3,7 @@ # ("micro") part: Between releases odd, even for releases (no other # changes inbetween). -VERSION=5.3.1.2 +VERSION=5.3.2.2 # Version number of the bundled 'draw' thing DRAW_VERSION=0.2.4 ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-bugs] [Bug 95861] Writer Web -- rework HTML export and import filters to use HTML 5 and inline CSS3 styles
https://bugs.documentfoundation.org/show_bug.cgi?id=95861 --- Comment #8 from Tomaz Vajngerl--- (In reply to Gerry from comment #7) > I oppose the removal of the web view and HTML source view/editing. It is a > quite handy feature, which I frequently use and really like. I am quite sure > that other people are using it, too. What do you use it for? -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-ux-advise] [Bug 95861] Writer Web -- rework HTML export and import filters to use HTML 5 and inline CSS3 styles
https://bugs.documentfoundation.org/show_bug.cgi?id=95861 --- Comment #8 from Tomaz Vajngerl--- (In reply to Gerry from comment #7) > I oppose the removal of the web view and HTML source view/editing. It is a > quite handy feature, which I frequently use and really like. I am quite sure > that other people are using it, too. What do you use it for? -- You are receiving this mail because: You are on the CC list for the bug. ___ Libreoffice-ux-advise mailing list Libreoffice-ux-advise@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise
[Libreoffice-commits] core.git: android/source
android/source/src/java/org/libreoffice/LibreOfficeMainActivity.java | 19 ++ 1 file changed, 19 insertions(+) New commits: commit d8c23a727689b680bc68825d810e77cc6a6571ad Author: Tomaž VajngerlDate: Thu Mar 30 22:21:38 2017 +0200 android: restore tabbed toolbar removed by accident commit 1503769fe15c122ff2bb8f6f7e7b4ab72656ddc2 removed tabbed toolbar by mistake Change-Id: I72e408d8e67b846e227d4563a8cd8455c1e73c29 diff --git a/android/source/src/java/org/libreoffice/LibreOfficeMainActivity.java b/android/source/src/java/org/libreoffice/LibreOfficeMainActivity.java index fb41762af342..66ff92121b7a 100755 --- a/android/source/src/java/org/libreoffice/LibreOfficeMainActivity.java +++ b/android/source/src/java/org/libreoffice/LibreOfficeMainActivity.java @@ -25,6 +25,7 @@ import android.view.View; import android.view.inputmethod.InputMethodManager; import android.widget.AdapterView; import android.widget.ListView; +import android.widget.TabHost; import android.widget.Toast; import org.libreoffice.overlay.DocumentOverlay; @@ -210,6 +211,24 @@ public class LibreOfficeMainActivity extends AppCompatActivity { mDocumentOverlay = new DocumentOverlay(this, layerView); mToolbarController.setupToolbars(); + +TabHost host = (TabHost) findViewById(R.id.toolbarTabHost); +host.setup(); + +TabHost.TabSpec spec = host.newTabSpec("Character"); +spec.setContent(R.id.tab_character); +spec.setIndicator("Character"); +host.addTab(spec); + +spec = host.newTabSpec("Paragraph"); +spec.setContent(R.id.tab_paragraph); +spec.setIndicator("Paragraph"); +host.addTab(spec); + +spec = host.newTabSpec("Insert"); +spec.setContent(R.id.tab_insert); +spec.setIndicator("Insert"); +host.addTab(spec); } private void openSelectPathIntent() { ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: android/source
android/source/AndroidManifest.xml |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) New commits: commit c1769e9b27bcf62e644927139d07ee195803363a Author: Ximeng ZuDate: Sun Mar 26 12:25:19 2017 -0500 tdf#96816 android: top part unreachable with soft keyboard Uncomment in Manifest file the line related to input method: android:windowSoftInputMode="adjustResize" This allows for panning and zooming to the top part of the document. Change-Id: Ic75489071add6b52948d381f4f8b7205148b78ef Reviewed-on: https://gerrit.libreoffice.org/35721 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl Tested-by: Tomaž Vajngerl diff --git a/android/source/AndroidManifest.xml b/android/source/AndroidManifest.xml index 601f478ae352..d0fde624572d 100644 --- a/android/source/AndroidManifest.xml +++ b/android/source/AndroidManifest.xml @@ -24,8 +24,8 @@ - + android:configChanges="orientation|keyboard|keyboardHidden|screenLayout|uiMode|screenSize|smallestScreenSize" +android:windowSoftInputMode="adjustResize" > ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: android/source
android/source/res/drawable/ic_subscript.xml | 10 android/source/res/drawable/ic_superscript.xml| 20 + android/source/res/layout/toolbar_bottom.xml | 22 +- android/source/src/java/org/libreoffice/FormattingController.java |9 4 files changed, 60 insertions(+), 1 deletion(-) New commits: commit 72b9fe1d470ea0d22f433598b1d2f68d1be12057 Author: brainbreakerDate: Tue Mar 28 01:02:29 2017 +0530 Add superscript and subscript text formatting options This commit adds superscript and subscript text formatting options in formatting toolbar Change-Id: Id6966eb11b71b269431a21f46bd7c597fdcdb08c Reviewed-on: https://gerrit.libreoffice.org/35778 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl diff --git a/android/source/res/drawable/ic_subscript.xml b/android/source/res/drawable/ic_subscript.xml new file mode 100644 index ..7a379cf5007f --- /dev/null +++ b/android/source/res/drawable/ic_subscript.xml @@ -0,0 +1,10 @@ +http://schemas.android.com/apk/res/android;> + + + diff --git a/android/source/res/drawable/ic_superscript.xml b/android/source/res/drawable/ic_superscript.xml new file mode 100644 index ..aa18a305d2cb --- /dev/null +++ b/android/source/res/drawable/ic_superscript.xml @@ -0,0 +1,20 @@ +http://schemas.android.com/apk/res/android; +android:width="24dp" +android:height="24dp" +android:viewportWidth="24.0" +android:viewportHeight="24.0"> + + + diff --git a/android/source/res/layout/toolbar_bottom.xml b/android/source/res/layout/toolbar_bottom.xml index 15ff06886efe..c412678f7817 100644 --- a/android/source/res/layout/toolbar_bottom.xml +++ b/android/source/res/layout/toolbar_bottom.xml @@ -121,7 +121,7 @@ android:id="@+id/font_size_spinner" android:layout_width="wrap_content" android:layout_height="wrap_content" -android:layout_weight="0.80" +android:layout_weight="0.60" android:minHeight="50dip" /> + + + + diff --git a/android/source/src/java/org/libreoffice/FormattingController.java b/android/source/src/java/org/libreoffice/FormattingController.java index cecb0dd469e4..b7e5398963dc 100644 --- a/android/source/src/java/org/libreoffice/FormattingController.java +++ b/android/source/src/java/org/libreoffice/FormattingController.java @@ -32,6 +32,9 @@ import org.libreoffice.kit.Document; mContext.findViewById(R.id.button_font_shrink).setOnClickListener(this); mContext.findViewById(R.id.button_font_grow).setOnClickListener(this); + +mContext.findViewById(R.id.button_subscript).setOnClickListener(this); + mContext.findViewById(R.id.button_superscript).setOnClickListener(this); } @Override @@ -90,6 +93,12 @@ import org.libreoffice.kit.Document; case R.id.button_font_grow: LOKitShell.sendEvent(new LOEvent(LOEvent.UNO_COMMAND, ".uno:Grow")); break; +case R.id.button_subscript: +LOKitShell.sendEvent(new LOEvent(LOEvent.UNO_COMMAND, ".uno:SubScript")); +break; +case R.id.button_superscript: +LOKitShell.sendEvent(new LOEvent(LOEvent.UNO_COMMAND, ".uno:SuperScript")); +break; } } ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: filter/qa filter/source
filter/qa/cppunit/data/tiff/pass/multi-page-1.tiff |binary filter/source/graphicfilter/itiff/ccidecom.cxx | 37 +++-- filter/source/graphicfilter/itiff/ccidecom.hxx | 18 +++--- filter/source/graphicfilter/itiff/itiff.cxx| 22 ++-- 4 files changed, 53 insertions(+), 24 deletions(-) New commits: commit bb3715b6283f0d828be92065016d7b65d8671088 Author: Caolán McNamaraDate: Thu Mar 30 21:10:46 2017 +0100 ofz#967 optimize tiff import if line is the same as previous line Change-Id: Ided61679a579a73481320f85c05b03e3ce3d762a diff --git a/filter/qa/cppunit/data/tiff/pass/multi-page-1.tiff b/filter/qa/cppunit/data/tiff/pass/multi-page-1.tiff new file mode 100644 index ..8eb7c8078054 Binary files /dev/null and b/filter/qa/cppunit/data/tiff/pass/multi-page-1.tiff differ diff --git a/filter/source/graphicfilter/itiff/ccidecom.cxx b/filter/source/graphicfilter/itiff/ccidecom.cxx index b5f3ab4cf529..a7d0ffc49f14 100644 --- a/filter/source/graphicfilter/itiff/ccidecom.cxx +++ b/filter/source/graphicfilter/itiff/ccidecom.cxx @@ -624,18 +624,17 @@ void CCIDecompressor::StartDecompression( SvStream & rIStream ) return; } - -bool CCIDecompressor::DecompressScanline( sal_uInt8 * pTarget, sal_uLong nTargetBits, bool bLastLine ) +DecompressStatus CCIDecompressor::DecompressScanline( sal_uInt8 * pTarget, sal_uLong nTargetBits, bool bLastLine ) { //Read[1|2]DScanlineData take a sal_uInt16, so its either limit here or expand there if (nTargetBits > SAL_MAX_UINT16) -return false; +return DecompressStatus(false, true); if ( nEOLCount >= 5 ) // RTC (Return To Controller) -return true; +return DecompressStatus(true, true); if ( !bStatus ) -return false; +return DecompressStatus(false, true); // If EOL-Codes exist, the EOL-Code also appeared in front of the first line. // (and I thought it means 'End of Line'...) @@ -660,13 +659,13 @@ bool CCIDecompressor::DecompressScanline( sal_uInt8 * pTarget, sal_uLong nTarget { if ( !ReadEOL( nTargetBits ) ) { -return bStatus; +return DecompressStatus(bStatus, true); } } } if ( nEOLCount >= 5 ) // RTC (Return To Controller) -return true; +return DecompressStatus(true, true); // should the situation arise, generate a white previous line for 2D: if ( nOptions & CCI_OPTION_2D ) @@ -696,11 +695,12 @@ bool CCIDecompressor::DecompressScanline( sal_uInt8 * pTarget, sal_uLong nTarget else b2D = false; +bool bUnchanged; // read scanline: if ( b2D ) -Read2DScanlineData( pTarget, (sal_uInt16)nTargetBits ); +bUnchanged = Read2DScanlineData(pTarget, nTargetBits); else -Read1DScanlineData( pTarget, (sal_uInt16)nTargetBits ); +bUnchanged = Read1DScanlineData(pTarget, nTargetBits); // if we're in 2D mode we have to remember the line: if ( nOptions & CCI_OPTION_2D && bStatus ) @@ -717,7 +717,7 @@ bool CCIDecompressor::DecompressScanline( sal_uInt8 * pTarget, sal_uLong nTarget if ( pIStream->GetError() ) bStatus = false; -return bStatus; +return DecompressStatus(bStatus, bUnchanged); } @@ -923,8 +923,9 @@ sal_uInt16 CCIDecompressor::CountBits(const sal_uInt8 * pData, sal_uInt16 nDataS return nPos-nBitPos; } -void CCIDecompressor::Read1DScanlineData(sal_uInt8 * pTarget, sal_uInt16 nTargetBits) +bool CCIDecompressor::Read1DScanlineData(sal_uInt8 * pTarget, sal_uInt16 nBitsToRead) { +sal_uInt16 nTargetBits = nBitsToRead; sal_uInt16 nCode,nCodeBits,nDataBits,nTgtFreeByteBits; sal_uInt8 nByte; sal_uInt8 nBlackOrWhite; // is 0xff for black or 0x00 for white @@ -962,11 +963,11 @@ void CCIDecompressor::Read1DScanlineData(sal_uInt8 * pTarget, sal_uInt16 nTarget // is that an invalid code? if ( nDataBits == ) { -return; +return nTargetBits == nBitsToRead; } if ( nCodeBits == 0 ) { -return; // could be filling bits now +return nTargetBits == nBitsToRead; // could be filling bits now } nEOLCount = 0; // too much data? @@ -1017,10 +1018,11 @@ void CCIDecompressor::Read1DScanlineData(sal_uInt8 * pTarget, sal_uInt16 nTarget if (bTerminatingCode) nBlackOrWhite = ~nBlackOrWhite; } while (nTargetBits>0 || !bTerminatingCode); -} +return nTargetBits == nBitsToRead; +} -void CCIDecompressor::Read2DScanlineData(sal_uInt8 * pTarget, sal_uInt16 nTargetBits) +bool CCIDecompressor::Read2DScanlineData(sal_uInt8 * pTarget, sal_uInt16 nTargetBits) { sal_uInt16 n2DMode,nBitPos,nUncomp,nRun,nRun2,nt; sal_uInt8 nBlackOrWhite; @@ -1032,7 +1034,7 @@ void
[Libreoffice-commits] core.git: vcl/source
vcl/source/gdi/bitmap.cxx | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) New commits: commit 30d58306a93d4325f6388b8d05b9db91026c7c55 Author: Caolán McNamaraDate: Thu Mar 30 16:13:49 2017 +0100 ofz#968 short-cut slow create mask when we are our own mask already Change-Id: I5969226bf2da34d34e30e44ae763792cdc072bc8 Reviewed-on: https://gerrit.libreoffice.org/35921 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara diff --git a/vcl/source/gdi/bitmap.cxx b/vcl/source/gdi/bitmap.cxx index d7c9d909a753..6ec5a842f30a 100644 --- a/vcl/source/gdi/bitmap.cxx +++ b/vcl/source/gdi/bitmap.cxx @@ -1107,9 +1107,16 @@ bool Bitmap::Expand( sal_uLong nDX, sal_uLong nDY, const Color* pInitColor ) Bitmap Bitmap::CreateMask( const Color& rTransColor, sal_uLong nTol ) const { -Bitmap aNewBmp( GetSizePixel(), 1 ); -ScopedReadAccesspReadAcc(const_cast (*this)); +ScopedReadAccess pReadAcc(const_cast (*this)); + +if (!nTol && (pReadAcc->GetScanlineFormat() == ScanlineFormat::N1BitLsbPal || pReadAcc->GetScanlineFormat() == ScanlineFormat::N1BitMsbPal) +&& pReadAcc->GetBestMatchingColor(Color(COL_WHITE)) == pReadAcc->GetBestMatchingColor(rTransColor)) +{ +//if we're a 1 bit pixel already, and the transcolor matches the color that would replace it already already, then just return a copy +return *this; +} +Bitmap aNewBmp(GetSizePixel(), 1); ScopedWriteAccess pWriteAcc(aNewBmp); boolbRet = false; ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: vcl/source
vcl/source/gdi/bitmap.cxx | 235 ++ 1 file changed, 116 insertions(+), 119 deletions(-) New commits: commit d9d94d716903e34863b8e28fde90dcfbd4786284 Author: Caolán McNamaraDate: Thu Mar 30 15:59:38 2017 +0100 tweak indent a little Change-Id: Icc3c69887a15eb0eacfa9209630a57f602c44422 Reviewed-on: https://gerrit.libreoffice.org/35920 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara diff --git a/vcl/source/gdi/bitmap.cxx b/vcl/source/gdi/bitmap.cxx index ca040df7d384..d7c9d909a753 100644 --- a/vcl/source/gdi/bitmap.cxx +++ b/vcl/source/gdi/bitmap.cxx @@ -1108,111 +1108,94 @@ bool Bitmap::Expand( sal_uLong nDX, sal_uLong nDY, const Color* pInitColor ) Bitmap Bitmap::CreateMask( const Color& rTransColor, sal_uLong nTol ) const { Bitmap aNewBmp( GetSizePixel(), 1 ); +ScopedReadAccesspReadAcc(const_cast (*this)); + ScopedWriteAccess pWriteAcc(aNewBmp); boolbRet = false; -if( pWriteAcc ) +if (pWriteAcc && pReadAcc) { -ScopedReadAccess pReadAcc(const_cast (*this)); +const long nWidth = pReadAcc->Width(); +const long nHeight = pReadAcc->Height(); +const BitmapColor aBlack( pWriteAcc->GetBestMatchingColor( Color( COL_BLACK ) ) ); +const BitmapColor aWhite( pWriteAcc->GetBestMatchingColor( Color( COL_WHITE ) ) ); -if( pReadAcc ) +if( !nTol ) { -const long nWidth = pReadAcc->Width(); -const long nHeight = pReadAcc->Height(); -const BitmapColor aBlack( pWriteAcc->GetBestMatchingColor( Color( COL_BLACK ) ) ); -const BitmapColor aWhite( pWriteAcc->GetBestMatchingColor( Color( COL_WHITE ) ) ); +const BitmapColor aTest( pReadAcc->GetBestMatchingColor( rTransColor ) ); +long nX, nY; -if( !nTol ) +if( pReadAcc->GetScanlineFormat() == ScanlineFormat::N4BitMsnPal || +pReadAcc->GetScanlineFormat() == ScanlineFormat::N4BitLsnPal ) { -const BitmapColor aTest( pReadAcc->GetBestMatchingColor( rTransColor ) ); -long nX, nY; +// optimized for 4Bit-MSN/LSN source palette +const sal_uInt8 cTest = aTest.GetIndex(); +const long nShiftInit = ( ( pReadAcc->GetScanlineFormat() == ScanlineFormat::N4BitMsnPal ) ? 4 : 0 ); -if( pReadAcc->GetScanlineFormat() == ScanlineFormat::N4BitMsnPal || -pReadAcc->GetScanlineFormat() == ScanlineFormat::N4BitLsnPal ) +if( pWriteAcc->GetScanlineFormat() == ScanlineFormat::N1BitMsbPal && +aWhite.GetIndex() == 1 ) { -// optimized for 4Bit-MSN/LSN source palette -const sal_uInt8 cTest = aTest.GetIndex(); -const long nShiftInit = ( ( pReadAcc->GetScanlineFormat() == ScanlineFormat::N4BitMsnPal ) ? 4 : 0 ); - -if( pWriteAcc->GetScanlineFormat() == ScanlineFormat::N1BitMsbPal && -aWhite.GetIndex() == 1 ) -{ -// optimized for 1Bit-MSB destination palette -for( nY = 0L; nY < nHeight; nY++ ) -{ -Scanline pSrc = pReadAcc->GetScanline( nY ); -Scanline pDst = pWriteAcc->GetScanline( nY ); -long nShift = 0; -for( nX = 0L, nShift = nShiftInit; nX < nWidth; nX++, nShift ^= 4 ) -{ -if( cTest == ( ( pSrc[ nX >> 1 ] >> nShift ) & 0x0f ) ) -pDst[ nX >> 3 ] |= 1 << ( 7 - ( nX & 7 ) ); -else -pDst[ nX >> 3 ] &= ~( 1 << ( 7 - ( nX & 7 ) ) ); -} -} -} -else +// optimized for 1Bit-MSB destination palette +for( nY = 0L; nY < nHeight; nY++ ) { -for( nY = 0L; nY < nHeight; nY++ ) +Scanline pSrc = pReadAcc->GetScanline( nY ); +Scanline pDst = pWriteAcc->GetScanline( nY ); +long nShift = 0; +for( nX = 0L, nShift = nShiftInit; nX < nWidth; nX++, nShift ^= 4 ) { -Scanline pSrc = pReadAcc->GetScanline( nY ); -long nShift = 0; -for( nX = 0L, nShift = nShiftInit; nX < nWidth; nX++, nShift ^= 4 ) -
[Libreoffice-bugs] [Bug 106325] Android: No way to create a new document not just open an existing one
https://bugs.documentfoundation.org/show_bug.cgi?id=106325 --- Comment #4 from Commit Notification--- brainbreaker committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=1503769fe15c122ff2bb8f6f7e7b4ab72656ddc2 tdf#106325 - No way to create a new Document It will be available in 5.4.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 106325] Android: No way to create a new document not just open an existing one
https://bugs.documentfoundation.org/show_bug.cgi?id=106325 Commit Notificationchanged: What|Removed |Added Whiteboard||target:5.4.0 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-commits] core.git: android/Bootstrap android/source desktop/source
android/Bootstrap/src/org/libreoffice/kit/Document.java |2 android/source/build.gradle |2 android/source/res/anim/fab_close.xml | 18 android/source/res/anim/fab_open.xml | 19 android/source/res/drawable/ic_add_black_24dp.xml |9 android/source/res/layout/activity_document_browser.xml | 213 +- android/source/res/values/strings.xml |9 android/source/src/java/org/libreoffice/LOEvent.java | 17 android/source/src/java/org/libreoffice/LOKitShell.java | 12 android/source/src/java/org/libreoffice/LOKitThread.java | 58 ++ android/source/src/java/org/libreoffice/LOKitTileProvider.java| 24 + android/source/src/java/org/libreoffice/LibreOfficeMainActivity.java | 132 -- android/source/src/java/org/libreoffice/TileProvider.java |6 android/source/src/java/org/libreoffice/ToolbarController.java|6 android/source/src/java/org/libreoffice/ui/FileUtilities.java |2 android/source/src/java/org/libreoffice/ui/LibreOfficeUIActivity.java | 123 + desktop/source/lib/lokandroid.cxx |2 17 files changed, 586 insertions(+), 68 deletions(-) New commits: commit 1503769fe15c122ff2bb8f6f7e7b4ab72656ddc2 Author: brainbreakerDate: Tue Mar 14 19:12:20 2017 +0530 tdf#106325 - No way to create a new Document This commit will add the ability to create a new document. A FAB is used in home screen which on expansion gives four options namely new writer document, new impress, new Sheet or new Draw. Two new events loadNewDocument and saveDocumentAs have been added. Another major change includes the use of constraint layout in LOUIActivity layout as it decreases nesting of views and improves the app performance. This was needed because of the new FAB layouts being added. Support for vector drawables has been enabled. Change-Id: Ia3ea17f73c0d8514f8ddb7b9a1cbd2ce7de6ac08 Reviewed-on: https://gerrit.libreoffice.org/35183 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl diff --git a/android/Bootstrap/src/org/libreoffice/kit/Document.java b/android/Bootstrap/src/org/libreoffice/kit/Document.java index a7d3f04938bb..7cf99413644c 100644 --- a/android/Bootstrap/src/org/libreoffice/kit/Document.java +++ b/android/Bootstrap/src/org/libreoffice/kit/Document.java @@ -147,7 +147,7 @@ public class Document { public native void setClientZoom(int nTilePixelWidth, int nTilePixelHeight, int nTileTwipWidth, int nTileTwipHeight); -private native void saveAs(String url, String format, String options); +public native void saveAs(String url, String format, String options); private native void paintTileNative(ByteBuffer buffer, int canvasWidth, int canvasHeight, int tilePositionX, int tilePositionY, int tileWidth, int tileHeight); diff --git a/android/source/build.gradle b/android/source/build.gradle index d5fc5c932be0..302d34a54754 100644 --- a/android/source/build.gradle +++ b/android/source/build.gradle @@ -26,6 +26,7 @@ dependencies { compile files("${liboWorkdir}/UnpackedTarball/owncloud_android_lib/bin/owncloud-android-library.jar") compile 'com.android.support:appcompat-v7:25.1.0' compile 'com.android.support:design:25.1.0' +compile 'com.android.support.constraint:constraint-layout:1.0.2' } android { @@ -64,6 +65,7 @@ android { // ToDo: fix openssl stuff to not block targeting 23 or later targetSdkVersion 22 manifestPlaceholders = [installLocation: "preferExternal"] +vectorDrawables.useSupportLibrary = true } buildTypes { debug { diff --git a/android/source/res/anim/fab_close.xml b/android/source/res/anim/fab_close.xml new file mode 100644 index ..ba13b0f038be --- /dev/null +++ b/android/source/res/anim/fab_close.xml @@ -0,0 +1,18 @@ + +http://schemas.android.com/apk/res/android; +android:fillAfter="true"> + + + + diff --git a/android/source/res/anim/fab_open.xml b/android/source/res/anim/fab_open.xml new file mode 100644 index ..9099d8b53c80 --- /dev/null +++ b/android/source/res/anim/fab_open.xml @@ -0,0 +1,19 @@ + +http://schemas.android.com/apk/res/android; +android:fillAfter="true"> + + + + diff --git a/android/source/res/drawable/ic_add_black_24dp.xml b/android/source/res/drawable/ic_add_black_24dp.xml new file mode 100644 index ..0258249cc482 --- /dev/null +++ b/android/source/res/drawable/ic_add_black_24dp.xml @@ -0,0 +1,9 @@ +http://schemas.android.com/apk/res/android; +android:width="24dp" +android:height="24dp" +
[Libreoffice-commits] core.git: Branch 'refs/notes/commits' - 87/0b2b08c8ad89228626b36304f470b9f7f2282d
87/0b2b08c8ad89228626b36304f470b9f7f2282d |1 + 1 file changed, 1 insertion(+) New commits: commit 0ea56b7bc1d096809b7604b97e4f779a57b917fa Author: Caolán McNamaraDate: Thu Mar 30 20:41:03 2017 +0100 Notes added by 'git notes add' diff --git a/87/0b2b08c8ad89228626b36304f470b9f7f2282d b/87/0b2b08c8ad89228626b36304f470b9f7f2282d new file mode 100644 index ..32d49b494cb5 --- /dev/null +++ b/87/0b2b08c8ad89228626b36304f470b9f7f2282d @@ -0,0 +1 @@ +prefer: 423beaf852aefb6a62882ac0ca55443113fda8b1 ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: Branch 'refs/notes/commits' - 1a/63a96b03e755f492eec5fa6b3e6e22545060f1
1a/63a96b03e755f492eec5fa6b3e6e22545060f1 |1 + 1 file changed, 1 insertion(+) New commits: commit 1e00e9e4c0fdb365358e48a95dcd986ef466ab99 Author: Caolán McNamaraDate: Thu Mar 30 20:39:51 2017 +0100 Notes added by 'git notes add' diff --git a/1a/63a96b03e755f492eec5fa6b3e6e22545060f1 b/1a/63a96b03e755f492eec5fa6b3e6e22545060f1 new file mode 100644 index ..ef24d09aa25b --- /dev/null +++ b/1a/63a96b03e755f492eec5fa6b3e6e22545060f1 @@ -0,0 +1 @@ +prefer: 2175ea13ce37e46e83c3bd7da747eb2552a4030c ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] online.git: test/Makefile.am
test/Makefile.am |1 - 1 file changed, 1 deletion(-) New commits: commit 1cc621f2af0d1792f09c8065b3274386f99b6ba5 Author: Henry CastroDate: Thu Mar 30 15:37:21 2017 -0400 test: remove duplicate common/Util.cpp Change-Id: I65cfd6a0460a09f7ed3708082127a2ff939e7622 diff --git a/test/Makefile.am b/test/Makefile.am index 0089e657..c55c306f 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -41,7 +41,6 @@ wsd_sources = \ ../wsd/TileCache.cpp \ ../wsd/TestStubs.cpp \ ../common/Unit.cpp \ -../common/Util.cpp \ ../net/Socket.cpp unittest_CPPFLAGS = -I$(top_srcdir) -DBUILDING_TESTS ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-bugs] [Bug 106852] no keyboard shortcut for 'paste values' in Calc
https://bugs.documentfoundation.org/show_bug.cgi?id=106852 V Stuart Footechanged: What|Removed |Added Priority|medium |low Status|UNCONFIRMED |NEW Ever confirmed|0 |1 OS|Linux (All) |All Severity|normal |minor --- Comment #3 from V Stuart Foote --- OK, so with copy/cut of cell value the Paste Special dialog in Calc changes. It behaves the same on Windows and offers the additional options including the row of buttons with "Values Only", "Values & Formulas" and "Transpose" And all the buttons on the dialog can be reached via keyboard-- and + in Windows OS. The keyboard button focus in this OS includes the thin outline--but more obvious blue highlight on mouse-over. Lack of accelerators/short-cut for the buttons is annoying (and inconsistent with the other check box widgets) but does not prevent keyboard navigation as suggested. "Implementation Error" OR "Enhancement"? -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 106856] This .xls file does not open correctly
https://bugs.documentfoundation.org/show_bug.cgi?id=106856 --- Comment #4 from Frederic Parrenin--- Calc open the file as raw text on my side. It does not import the html structure of the table. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 95861] Writer Web -- rework HTML export and import filters to use HTML 5 and inline CSS3 styles
https://bugs.documentfoundation.org/show_bug.cgi?id=95861 --- Comment #7 from Gerry--- (In reply to David Tardon from comment #3) > (In reply to V Stuart Foote from comment #2) > I suggest we strip the whole Web module out. I have just seen this proposal here to remove Writer/Web (web view and HTML source view) https://wiki.documentfoundation.org/Proposals_for_removing_features#Writer.2FWeb I oppose the removal of the web view and HTML source view/editing. It is a quite handy feature, which I frequently use and really like. I am quite sure that other people are using it, too. -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-ux-advise] [Bug 95861] Writer Web -- rework HTML export and import filters to use HTML 5 and inline CSS3 styles
https://bugs.documentfoundation.org/show_bug.cgi?id=95861 --- Comment #7 from Gerry--- (In reply to David Tardon from comment #3) > (In reply to V Stuart Foote from comment #2) > I suggest we strip the whole Web module out. I have just seen this proposal here to remove Writer/Web (web view and HTML source view) https://wiki.documentfoundation.org/Proposals_for_removing_features#Writer.2FWeb I oppose the removal of the web view and HTML source view/editing. It is a quite handy feature, which I frequently use and really like. I am quite sure that other people are using it, too. -- You are receiving this mail because: You are on the CC list for the bug. ___ Libreoffice-ux-advise mailing list Libreoffice-ux-advise@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise
[Libreoffice-commits] help.git: AllLangHelp_shared.mk source/text
AllLangHelp_shared.mk |1 source/text/scalc/main0103.xhp | 11 --- source/text/shared/01/grid.xhp | 57 +++-- source/text/shared/02/01171400.xhp | 52 + source/text/swriter/main0103.xhp | 13 +--- 5 files changed, 80 insertions(+), 54 deletions(-) New commits: commit e8045f04d057ea3e50726f99c442557e6e3986bc Author: Olivier HallotDate: Thu Mar 30 15:56:49 2017 -0300 Fix list of View commands in Writer menu help Reorder and update View menu description for Writer Change-Id: Ib7af048b603977dabbdb53069935a5158e3a6bbe Reviewed-on: https://gerrit.libreoffice.org/35927 Reviewed-by: Olivier Hallot Tested-by: Olivier Hallot diff --git a/AllLangHelp_shared.mk b/AllLangHelp_shared.mk index e5f29dd00..0deb8b212 100644 --- a/AllLangHelp_shared.mk +++ b/AllLangHelp_shared.mk @@ -332,6 +332,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,shared,\ helpcontent2/source/text/shared/01/gallery \ helpcontent2/source/text/shared/01/gallery_files \ helpcontent2/source/text/shared/01/grid \ +helpcontent2/source/text/shared/01/grid_and_helplines \ helpcontent2/source/text/shared/01/guides \ helpcontent2/source/text/shared/01/mediaplayer \ helpcontent2/source/text/shared/01/menu_edit_find \ diff --git a/source/text/scalc/main0103.xhp b/source/text/scalc/main0103.xhp index fde4ef2f9..209d51834 100644 --- a/source/text/scalc/main0103.xhp +++ b/source/text/scalc/main0103.xhp @@ -40,7 +40,6 @@ Displays the normal layout view of the sheet. Page Break - @@ -50,16 +49,20 @@ Grid Lines for Sheet Toggle the visibility of grid lines for the current sheet. + +Show Formula +Display the cell formula expression instead of the calculated result. + -Clip Art Gallery +Gallery - + @@ -68,4 +71,4 @@ - + \ No newline at end of file diff --git a/source/text/shared/01/grid.xhp b/source/text/shared/01/grid.xhp index 2d076b418..5ab02c034 100644 --- a/source/text/shared/01/grid.xhp +++ b/source/text/shared/01/grid.xhp @@ -1,7 +1,5 @@ - - - + - +--> - - -Grid -/text/shared/01/grid.xhp - + +Grid +/text/shared/01/grid.xhp + + + + -grids;display options (Impress/Draw) + + grids;display options (Impress/Draw) -Grid -Sets the display properties of a grid. + + + +Grid +Sets the display properties of a grid. + - + -Display Grid -Displays or hides grid lines that you can use to align objects such as graphics on a page. -Snap to Grid -issue 112000 for new keyAutomatically aligns objects to vertical and horizontal grid lines. To override this feature, hold down the Option keyAlt key when you drag an object.UFI: copied from shared\optionen\01050100.xhpUFI removed GridFront help idGrid to Front -Displays the grid lines in front of the objects on the slide or page. + + + +Display Grid +Displays or hides grid lines that you can use to align objects such as graphics on a page. + +Snap to Gridissue 112000 for new key +Automatically aligns objects to vertical and horizontal grid lines. To override this feature, hold down the Option key +Alt key when you drag an object.UFI: copied from shared\optionen\01050100.xhp +UFI removed GridFront help id + +Grid to Front +Displays the grid lines in front of the objects on the slide or page. + -Set the grid color on %PRODUCTNAME - PreferencesTools - Options - %PRODUCTNAME - Application Colors. +Set the grid color on %PRODUCTNAME - Preferences +Tools - Options - %PRODUCTNAME - Application Colors. - + + \ No newline at end of file diff --git a/source/text/shared/02/01171400.xhp b/source/text/shared/02/01171400.xhp index 546f1295c..d1c0267c6 100644 --- a/source/text/shared/02/01171400.xhp +++ b/source/text/shared/02/01171400.xhp @@ -1,6 +1,5 @@ - - + - - +--> + - -Helplines While Moving -/text/shared/02/01171400.xhp - - -Sun Microsystems, Inc. - + +Helplines While Moving +/text/shared/02/01171400.xhp + -UFI: removed help ids -Helplines While Moving + + +UFI: removed help ids + + + +Helplines While Moving + + - - - -Icon - - - -Helplines While Moving - - + + + Icon + + + Helplines While Moving + + + - + + \ No newline at end of file diff --git a/source/text/swriter/main0103.xhp b/source/text/swriter/main0103.xhp index 1fc5237be..00e198031 100644 --- a/source/text/swriter/main0103.xhp +++ b/source/text/swriter/main0103.xhp @@ -48,9 +48,6 @@ Scrollbars Show or hide the horizontal and vertical scroll bars that are used to change the viewable area of a document that doesn't fit within the window. - -Hide Whitespace -View documents with the white space found at the end and beginning of pages hidden. Table Boundaries @@ -62,13 +59,21 @@ Comments Show or
[Libreoffice-bugs] [Bug 106861] Help needs adaption to new position of AutoInput in Calc
https://bugs.documentfoundation.org/show_bug.cgi?id=106861 Commit Notificationchanged: What|Removed |Added Whiteboard||target:5.4.0 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-commits] core.git: helpcontent2
helpcontent2 |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 0466d0c815f8b0f60497faec8b60a18d35a61eca Author: Olivier HallotDate: Thu Mar 30 15:56:49 2017 -0300 Updated core Project: help e8045f04d057ea3e50726f99c442557e6e3986bc Fix list of View commands in Writer menu help Reorder and update View menu description for Writer Change-Id: Ib7af048b603977dabbdb53069935a5158e3a6bbe Reviewed-on: https://gerrit.libreoffice.org/35927 Reviewed-by: Olivier Hallot Tested-by: Olivier Hallot diff --git a/helpcontent2 b/helpcontent2 index 8291b5b5f748..e8045f04d057 16 --- a/helpcontent2 +++ b/helpcontent2 @@ -1 +1 @@ -Subproject commit 8291b5b5f748af4eeb68797193e9c84d11ecbda5 +Subproject commit e8045f04d057ea3e50726f99c442557e6e3986bc ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-bugs] [Bug 106861] Help needs adaption to new position of AutoInput in Calc
https://bugs.documentfoundation.org/show_bug.cgi?id=106861 --- Comment #3 from Commit Notification--- Olivier Hallot committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/help/commit/?id=8291b5b5f748af4eeb68797193e9c84d11ecbda5 tdf#106861 - fix Autoinput entry in menu, plus -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-commits] help.git: AllLangHelp_scalc.mk source/text
AllLangHelp_scalc.mk |1 source/text/scalc/00/0406.xhp| 96 +--- source/text/scalc/01/0699.xhp| 46 --- source/text/scalc/guide/auto_off.xhp | 104 ++- source/text/scalc/main0106.xhp | 46 --- 5 files changed, 119 insertions(+), 174 deletions(-) New commits: commit 8291b5b5f748af4eeb68797193e9c84d11ecbda5 Author: Olivier HallotDate: Thu Mar 30 14:13:33 2017 -0300 tdf#106861 - fix Autoinput entry in menu, plus - Reorder Calc tools menu help page - Remove ref to "Cell contents" - Move Recalculate to Data menu Change-Id: Id6165db40a99316eae9768955b6cdbb9d5f05afb Reviewed-on: https://gerrit.libreoffice.org/35922 Reviewed-by: Olivier Hallot Tested-by: Olivier Hallot diff --git a/AllLangHelp_scalc.mk b/AllLangHelp_scalc.mk index 625811584..f857bb52c 100644 --- a/AllLangHelp_scalc.mk +++ b/AllLangHelp_scalc.mk @@ -135,7 +135,6 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,scalc,\ helpcontent2/source/text/scalc/01/0607 \ helpcontent2/source/text/scalc/01/0608 \ helpcontent2/source/text/scalc/01/0613 \ -helpcontent2/source/text/scalc/01/0699 \ helpcontent2/source/text/scalc/01/0708 \ helpcontent2/source/text/scalc/01/0709 \ helpcontent2/source/text/scalc/01/1201 \ diff --git a/source/text/scalc/00/0406.xhp b/source/text/scalc/00/0406.xhp index e2c0436e8..8b3de9116 100644 --- a/source/text/scalc/00/0406.xhp +++ b/source/text/scalc/00/0406.xhp @@ -1,7 +1,5 @@ - - - + +--> - - - -Tools Menu -/text/scalc/00/0406.xhp - + +Tools Menu +/text/scalc/00/0406.xhp + + -Tools Menu -Choose Tools - Detective - + + +Tools Menu +Choose Tools - Detective + -Choose Tools - Detective - Trace Precedents - -Shift+F7 +Choose Tools - Detective - Trace Precedents +Shift+F7 -Menu Tools - Language - Hyphenation - -Choose Tools - Detective - Remove Precedents - +Menu Tools - Language - Hyphenation +Choose Tools - Detective - Remove Precedents + -Choose Tools - Detective - Trace Dependents - -Shift+F5 +Choose Tools - Detective - Trace Dependents +Shift+F5 -Choose Tools - Detective - Remove Dependents - -Choose Tools - Detective - Remove All Traces - -Choose Tools - Detective - Trace Error - -Choose Tools - Detective - Fill Mode - -Choose Tools - Detective - Mark Invalid Data - -Choose Tools - Detective - Refresh Traces - -Choose Tools - Detective - AutoRefresh - -Choose Tools - Goal Seek - -Choose Tools - Solver - -Choose Tools - Solver, Options button - -Choose Tools - Scenarios - -Choose Tools - Protect Sheet -Choose Tools - Protect Spreadsheet -Choose Tools - Cell Contents - +Choose Tools - Detective - Remove Dependents +Choose Tools - Detective - Remove All Traces +Choose Tools - Detective - Trace Error +Choose Tools - Detective - Fill Mode +Choose Tools - Detective - Mark Invalid Data +Choose Tools - Detective - Refresh Traces +Choose Tools - Detective - AutoRefresh +Choose Tools - Goal Seek +Choose Tools - Solver +Choose Tools - Solver, Options button +Choose Tools - Scenarios +Choose Tools - Protect Sheet +Choose Tools - Protect Spreadsheet + -Choose Tools - Cell Contents - Recalculate - -F9 +Choose Data - Calculate - Recalculate +F9 -Choose Data - Calculate - AutoCalculate - -Choose Tools - Cell Contents - AutoInput - +Choose Data - Calculate - AutoCalculate +Choose Tools - AutoInput - + + \ No newline at end of file diff --git a/source/text/scalc/01/0699.xhp b/source/text/scalc/01/0699.xhp deleted file mode 100644 index b91383f40..0 --- a/source/text/scalc/01/0699.xhp +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - -Cell Contents -/text/scalc/01/0699.xhp - - -Sun Microsystems, Inc. - - - - - - - Cell Contents - Opens a submenu with commands to calculate tables and activate AutoInput. - - - - - - - - - diff --git a/source/text/scalc/guide/auto_off.xhp b/source/text/scalc/guide/auto_off.xhp index dbc58cda3..7ac4ebcaa 100644 --- a/source/text/scalc/guide/auto_off.xhp +++ b/source/text/scalc/guide/auto_off.xhp @@ -1,6 +1,5 @@ - - +--> - - Deactivating Automatic Changes - /text/scalc/guide/auto_off.xhp - - - -deactivating; automatic changes - tables; deactivating automatic changes in - AutoInput function on/off - text in cells;AutoInput function - cells; AutoInput function of text - input support in spreadsheets - changing; input in cells - AutoCorrect function;cell contents - cell input;AutoInput function - lowercase letters;AutoInput function (in cells) - capital letters;AutoInput function (in cells) - date formats;avoiding conversion
[Libreoffice-commits] core.git: helpcontent2
helpcontent2 |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 333879483ecdb1fdab376b7265749722cab5e1bf Author: Olivier HallotDate: Thu Mar 30 14:13:33 2017 -0300 Updated core Project: help 8291b5b5f748af4eeb68797193e9c84d11ecbda5 tdf#106861 - fix Autoinput entry in menu, plus - Reorder Calc tools menu help page - Remove ref to "Cell contents" - Move Recalculate to Data menu Change-Id: Id6165db40a99316eae9768955b6cdbb9d5f05afb Reviewed-on: https://gerrit.libreoffice.org/35922 Reviewed-by: Olivier Hallot Tested-by: Olivier Hallot diff --git a/helpcontent2 b/helpcontent2 index f2c45a2b93c8..8291b5b5f748 16 --- a/helpcontent2 +++ b/helpcontent2 @@ -1 +1 @@ -Subproject commit f2c45a2b93c88cf7fa1feba2197e8745f56de98a +Subproject commit 8291b5b5f748af4eeb68797193e9c84d11ecbda5 ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-bugs] [Bug 106847] Homophones – gramm =?UTF-8?Q?ar=20checker?=, blue squiggle, context menu
https://bugs.documentfoundation.org/show_bug.cgi?id=106847 V Stuart Footechanged: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |NOTOURBUG --- Comment #2 from V Stuart Foote --- Wouldn't this be "NOT OUR" Enhancement--but it does no belong in core. Also, this is already provided in the Language Tool extension [1][2][3] with n-gram data download [4] Otherwise there are some other external projects that could provide support [5]. =-ref-= [1] https://www.languagetool.org/ [2] https://extensions.libreoffice.org/extensions/languagetool [3] https://languagetool.org/compare/ [4] http://wiki.languagetool.org/finding-errors-using-n-gram-data [5] http://www.techrepublic.com/blog/five-apps/five-libreoffice-extensions-to-help-you-catch-grammar-problems/ -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 105142] FIREBIRD 3 - create default collation or character set on database creation
https://bugs.documentfoundation.org/show_bug.cgi?id=105142 rob...@familiegrosskopf.de changed: What|Removed |Added See Also||https://bugs.documentfounda ||tion.org/show_bug.cgi?id=10 ||6866 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 106866] When I change the field length of the result is multiplied by 4 each time (firebird, varchar)
https://bugs.documentfoundation.org/show_bug.cgi?id=106866 rob...@familiegrosskopf.de changed: What|Removed |Added CC||rob...@familiegrosskopf.de See Also||https://bugs.documentfounda ||tion.org/show_bug.cgi?id=10 ||5142 --- Comment #2 from rob...@familiegrosskopf.de --- Opened a Firebird-Database with LO 5.3.2.1 on OpenSUSE 64bit rpm Linux, German GUI-language. Created a new table with an Integer and a Varchar-field. Varchar had length while creating the table. Saved the table, closed the table, closed LO. Then reopened the database, reopened the table for editing, ot for putting values in rows. Length of Varchar-field is 100 as expected. So I couldn't confirm this bug. Might be a special effect while fixing bug 105142 -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 103182] [META] GTK3-specific bugs
https://bugs.documentfoundation.org/show_bug.cgi?id=103182 Aron Budeachanged: What|Removed |Added Depends on||106852 Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=106852 [Bug 106852] no keyboard shortcut for 'paste values' in Calc -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 106852] no keyboard shortcut for 'paste values' in Calc
https://bugs.documentfoundation.org/show_bug.cgi?id=106852 Aron Budeachanged: What|Removed |Added Blocks||103182 Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=103182 [Bug 103182] [META] GTK3-specific bugs -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 106852] no keyboard shortcut for 'paste values' in Calc
https://bugs.documentfoundation.org/show_bug.cgi?id=106852 Aron Budeachanged: What|Removed |Added CC||ba...@caesar.elte.hu --- Comment #2 from Aron Budea --- Created attachment 132290 --> https://bugs.documentfoundation.org/attachment.cgi?id=132290=edit Paste special with GTK3 (and Breeze icon set) For clarification, as I understand it is about the paste special dialog you get if you paste cell values. I can navigate using Tab/Shift-Tab in the dialog just fine. However, with GTK3 backend it is impossible/very hard to see where I'm at: -for the buttons there's a very thin orange outline if they're selected, -for the checkboxes/radio buttons there's no indication at all. I guess that confirms there is an issue, but not exactly what is reported. John, can you confirm/clarify? Version: 5.4.0.0.alpha0+ Build ID: e604ddfd1196c877ddce603dca15f9a5228497e0 CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: gtk3; Locale: en-US (en_US.UTF-8); Calc: group -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 106733] Implement ODF attribute fo: hyphenate to exclude a portion of text from hyphenation
https://bugs.documentfoundation.org/show_bug.cgi?id=106733 Thomas Lendochanged: What|Removed |Added Blocks||94587 Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=94587 [Bug 94587] [META] ODF specification features missing or incorrectly imported -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 94587] [META] ODF specification features missing or incorrectly imported
https://bugs.documentfoundation.org/show_bug.cgi?id=94587 Thomas Lendochanged: What|Removed |Added Depends on||106733 Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=106733 [Bug 106733] Implement ODF attribute fo:hyphenate to exclude a portion of text from hyphenation -- You are receiving this mail because: You are the assignee for the bug.___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-2-1' - loleaflet/src
loleaflet/src/layer/AnnotationManager.js |3 --- loleaflet/src/layer/marker/Annotation.js |5 - 2 files changed, 4 insertions(+), 4 deletions(-) New commits: commit 8ece37e93bdbf902ef1efd6552dc4273bd0a61ac Author: Henry CastroDate: Wed Mar 29 15:26:05 2017 -0400 loleaflet: simplify date format of the annotation object Change-Id: I4d7adfa93f03b8fd639fd701066ed83b41a1bd82 diff --git a/loleaflet/src/layer/AnnotationManager.js b/loleaflet/src/layer/AnnotationManager.js index 256dd070..8cf90e24 100644 --- a/loleaflet/src/layer/AnnotationManager.js +++ b/loleaflet/src/layer/AnnotationManager.js @@ -48,7 +48,6 @@ L.AnnotationManager = L.Class.extend({ comment = comments[index]; comment.anchorPos = L.LOUtil.stringToBounds(comment.anchorPos); comment.anchorPix = this._map._docLayer._twipsToPixels(comment.anchorPos.min); - comment.dateTime = new Date(comment.dateTime.replace(/,.*/, 'Z')).toDateString(); comment.trackchange = false; this._items.push(L.annotation(this._map.options.maxBounds.getSouthEast(), comment).addTo(this._map)); } @@ -272,7 +271,6 @@ L.AnnotationManager = L.Class.extend({ } else { obj.comment.anchorPos = L.LOUtil.stringToBounds(obj.comment.anchorPos); obj.comment.anchorPix = this._map._docLayer._twipsToPixels(obj.comment.anchorPos.min); - obj.comment.dateTime = new Date(obj.comment.dateTime.replace(/,.*/, 'Z')).toDateString(); this.add(obj.comment); this._map.focus(); } @@ -298,7 +296,6 @@ L.AnnotationManager = L.Class.extend({ } else { obj.comment.anchorPos = L.LOUtil.stringToBounds(obj.comment.anchorPos); obj.comment.anchorPix = this._map._docLayer._twipsToPixels(obj.comment.anchorPos.min); - obj.comment.dateTime = new Date(obj.comment.dateTime.replace(/,.*/, 'Z')).toDateString(); modifiedObj = obj.comment; } modified._data = modifiedObj; diff --git a/loleaflet/src/layer/marker/Annotation.js b/loleaflet/src/layer/marker/Annotation.js index 28c099f0..72835031 100644 --- a/loleaflet/src/layer/marker/Annotation.js +++ b/loleaflet/src/layer/marker/Annotation.js @@ -231,9 +231,12 @@ L.Annotation = L.Layer.extend({ }, _updateContent: function () { + if (!(this._data.dateTime instanceof Date)) { + this._data.dateTime = new Date(this._data.dateTime.replace(/,.*/, 'Z')); + } this._contentText.innerHTML = this._nodeModifyText.innerHTML = this._data.text; this._contentAuthor.innerHTML = this._data.author; - this._contentDate.innerHTML = this._data.dateTime; + this._contentDate.innerHTML = this._data.dateTime.toDateString(); if (this._data.trackchange) { this._captionText.innerHTML = this._data.description; } ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-2-1' - loleaflet/src
loleaflet/src/layer/AnnotationManager.js | 143 --- 1 file changed, 77 insertions(+), 66 deletions(-) New commits: commit 94cdb2750f1aa08f9baf4d58a419bfff113b36c5 Author: Henry CastroDate: Wed Mar 29 14:45:21 2017 -0400 loleaflet: re-work the arrangement of annotation objects Change-Id: Idce433835bed16b943306e6ad1bb888f5e9e1ee5 diff --git a/loleaflet/src/layer/AnnotationManager.js b/loleaflet/src/layer/AnnotationManager.js index b4ff1614..256dd070 100644 --- a/loleaflet/src/layer/AnnotationManager.js +++ b/loleaflet/src/layer/AnnotationManager.js @@ -47,6 +47,7 @@ L.AnnotationManager = L.Class.extend({ for (var index in comments) { comment = comments[index]; comment.anchorPos = L.LOUtil.stringToBounds(comment.anchorPos); + comment.anchorPix = this._map._docLayer._twipsToPixels(comment.anchorPos.min); comment.dateTime = new Date(comment.dateTime.replace(/,.*/, 'Z')).toDateString(); comment.trackchange = false; this._items.push(L.annotation(this._map.options.maxBounds.getSouthEast(), comment).addTo(this._map)); @@ -61,6 +62,7 @@ L.AnnotationManager = L.Class.extend({ changecomment = redlines[idx]; changecomment.id = 'change-' + changecomment.index; changecomment.anchorPos = L.LOUtil.stringToBounds(changecomment.textRange); + changecomment.anchorPix = this._map._docLayer._twipsToPixels(changecomment.anchorPos.min); changecomment.trackchange = true; changecomment.text = changecomment.comment; this._items.push(L.annotation(this._map.options.maxBounds.getSouthEast(), changecomment).addTo(this._map)); @@ -77,6 +79,15 @@ L.AnnotationManager = L.Class.extend({ return null; }, + getIndexOf: function (id) { + for (var index = 0; index < this._items.length; index++) { + if (this._items[index]._data.id === id) { + return index; + } + } + return -1; + }, + removeItem: function (id) { var annotation; for (var iterator in this._items) { @@ -89,27 +100,23 @@ L.AnnotationManager = L.Class.extend({ }, unselect: function () { - this._selected = {}; + this._selected = -1; this._map._docLayer._selections.clearLayers(); this.update(); }, - select: function (obj) { - var annotation = obj instanceof L.Annotation ? obj : this.getItem(obj); + select: function (annotation) { if (annotation) { - this._selected.annotation = annotation; + this._selected = this.getIndexOf(annotation._data.id); this.update(); } }, update: function () { - var topRight = this._map.project(this._map.options.maxBounds.getNorthEast()); - var point, rectangles; - if (this._selected.annotation) { - this.layout(); - point = this._map._docLayer._twipsToPixels(this._selected.annotation._data.anchorPos.min); - this._map._docLayer._selections.clearLayers(); - rectangles = L.PolyUtil.rectanglesToPolygons(L.LOUtil.stringToRectangles(this._selected.annotation._data.textRange), this._map._docLayer); + this.layout(); + this._map._docLayer._selections.clearLayers(); + if (this._selected >= 0) { + var rectangles = L.PolyUtil.rectanglesToPolygons(L.LOUtil.stringToRectangles(this._items[this._selected]._data.textRange), this._map._docLayer); if (rectangles.length > 0) { this._map._docLayer._selections.addLayer(L.polygon(rectangles, { pointerEvents: 'none', @@ -119,70 +126,70 @@ L.AnnotationManager = L.Class.extend({ opacity: 0.25 })); } - this._selected.annotation.setLatLng(this._map.unproject(L.point(topRight.x, point.y))); } }, - layout: function () { - var topRight = this._map.project(this._map.options.maxBounds.getNorthEast()).add(L.point(this.options.marginX, this.options.marginY)); - var annotation, bounds, layoutBounds, foundBounds,point, latlng; - var layouts = []; + layoutUp: function (annotation, latLng, layoutBounds) { +