[Libreoffice-bugs] [Bug 104001] Text wrapping in writer on Linux is different to on Windows

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=104001

Buovjaga  changed:

   What|Removed |Added

 Status|NEEDINFO|RESOLVED
 Resolution|--- |WORKSFORME

--- Comment #5 from Buovjaga  ---
Ok, thanks. Yep, it would be hard to investigate the Palatino font issue
because it is a proprietary font and cannot be distributed for free! If you can
reproduce it with some free font, you can create a new issue.

-- 
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 104001] Text wrapping in writer on Linux is different to on Windows

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=104001

--- Comment #4 from Ernest Bywater  ---
(In reply to Buovjaga from comment #1)
> Could you try with 5.3 as now all operating systems use the same layout
> engine?
> http://dev-builds.libreoffice.org/daily/master/?C=M;O=A
> https://wiki.documentfoundation.org/Installing_in_parallel
> 
> Set to NEEDINFO.
> Change back to UNCONFIRMED, if the problem persists with 5.3. Change to
> RESOLVED FIXED, if the problem went away.

oops, sorry I responded as a new comment. Please see comment number 3.

-- 
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 104001] Text wrapping in writer on Linux is different to on Windows

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=104001

--- Comment #3 from Ernest Bywater  ---
I was asked to see if the behaviour had changed due to some of the latest
fixes. I had to wait until I was near a Win 7 machine again before I can check
on this. Did that a couple of days ago.

For most of the stories they now appear the same in both Linux and Win 7.
However, I did notice in one story where a paragraph ran very long (about 600
words) there was just enough creep to push a few words onto the next line to
create an extra part line of text. In all cases the font I was using was
Palatino Linotype 10 point, and I now wonder if the issue within Libre Office
has been fixed but there may be an issue with the font is treated within
Windows, but I don't know enough to be sure. 

I don't think there's enough of an issue to warrant doing any further work on
this, but will leave that decision up to the experts. If the experts wish to
change this to 'solved' I've no problems with that, or if they wish to look at
it further with more testing.

-- 
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: test/helpers.hpp

2017-06-15 Thread Miklos Vajna
 test/helpers.hpp |1 +
 1 file changed, 1 insertion(+)

New commits:
commit de785d90b26f5462fa21736fef130e9bf775afef
Author: Miklos Vajna 
Date:   Thu Jun 15 21:03:09 2017 +0200

test: give the socket the chance to get the error in getErrorCode()

make check fails for me like this:

Test name: HTTPCrashTest::testCrashKit
equality assertion failed
- Expected: 1001
- Actual  : 65535

Failures !!!
Run: 1   Failure total: 1   Failures: 1   Errors: 0

But when I run loolwsd and ./test manually (./test is invoked by gdb) and I
step through the code, then the test passes. So I guess what happens is 
that we
read from the socket too fast, and the error we're looking for is just not
there yet. Add the same amount of sleep here (0.5s) than what's used in
connectLOKit(), with that the test passes fine.

(The sleep is in test-only code.)

Change-Id: Iff105c45f21c40c2fb0a649fc9fd9a9065e7c952
Reviewed-on: https://gerrit.libreoffice.org/38846
Reviewed-by: Ashod Nakashian 
Tested-by: Ashod Nakashian 

diff --git a/test/helpers.hpp b/test/helpers.hpp
index 97f91929..220ffd30 100644
--- a/test/helpers.hpp
+++ b/test/helpers.hpp
@@ -166,6 +166,7 @@ int getErrorCode(LOOLWebSocket& ws, std::string& message, 
const std::string& tes
 {
 bytes = ws.receiveFrame(buffer.begin(), READ_BUFFER_SIZE, flags);
 std::cerr << testname << "Got " << 
LOOLProtocol::getAbbreviatedFrameDump(buffer.begin(), bytes, flags) << 
std::endl;
+
std::this_thread::sleep_for(std::chrono::milliseconds(POLL_TIMEOUT_MS));
 }
 while (bytes > 0 && (flags & Poco::Net::WebSocket::FRAME_OP_BITMASK) != 
Poco::Net::WebSocket::FRAME_OP_CLOSE);
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 108417] FILEOPEN DOCX Some embedded Arabic fonts are substituted

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108417

Buovjaga  changed:

   What|Removed |Added

   Keywords||filter:docx
 Status|NEEDINFO|NEW
Version|unspecified |3.5.0 release
 Blocks||104520
Summary|Some arabic fonts does not  |FILEOPEN DOCX Some embedded
   |display correctly   |Arabic fonts are
   ||substituted
 OS|Windows (All)   |All

--- Comment #7 from Buovjaga  ---
Well, I guess I was being a bit silly as the fonts really are in there (as can
be seen by extracting the .docx as zip). Now I checked on Windows and Andalus
can indeed be embedded (it says "Editable").

Earlier I tested on Linux and confirm all the fonts on Linux were substituted.

Win 7 Pro 64-bit Version: 6.0.0.0.alpha0+ (x64)
Build ID: a1ace08b5b86a76e7275dcef2545a7d52ae2ed2d
CPU threads: 4; OS: Windows 6.1; UI render: default; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2017-06-13_03:04:47
Locale: fi-FI (fi_FI); Calc: CL

LibreOffice 3.5.0rc3 
Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=104520
[Bug 104520] [META] DOCX (OOXML) bug tracker
-- 
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 104520] [META] DOCX (OOXML) bug tracker

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=104520

Buovjaga  changed:

   What|Removed |Added

 Depends on||108417


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=108417
[Bug 108417] FILEOPEN DOCX Some embedded Arabic fonts are substituted
-- 
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 102998] [META] Mail merge bugs and enhancements

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=102998
Bug 102998 depends on bug 63388, which changed state.

Bug 63388 Summary: MAILMERGE: LibreOffice freezes when clicking Test Settings 
button
https://bugs.documentfoundation.org/show_bug.cgi?id=63388

   What|Removed |Added

 Status|RESOLVED|NEW
 Resolution|FIXED   |---

-- 
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 63388] MAILMERGE: LibreOffice freezes when clicking Test Settings button

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=63388

Julien Nabet  changed:

   What|Removed |Added

 Status|RESOLVED|NEW
 Resolution|FIXED   |---

--- Comment #22 from Julien Nabet  ---
Jurassik: if you want to contribute and submit your patch, you can give a look
to https://wiki.documentfoundation.org/Development/GetInvolved

For the moment, there's no patch pushed on sources so this bug is not fixed.

-- 
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 102998] [META] Mail merge bugs and enhancements

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=102998
Bug 102998 depends on bug 63388, which changed state.

Bug 63388 Summary: MAILMERGE: LibreOffice freezes when clicking Test Settings 
button
https://bugs.documentfoundation.org/show_bug.cgi?id=63388

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

-- 
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 63388] MAILMERGE: LibreOffice freezes when clicking Test Settings button

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=63388

Jurassic Pork  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

-- 
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 108547] When moving to insert a new record, unbound controls should not get cleared

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108547

--- Comment #2 from Howard Johnson  ---
In reply to robert

> You could, as workaround, put the field, which shouldn't refresh, to a
> second form beside the first form.

Interesting idea. Thanks Robert.  I appreciate your help.


I implemented it and it works for my current needs. 


Unfortunately it makes the design more complicated, in my mind unnecessarily
complicated, now having to keep track of 2 forms.  

And this additional complexity also introduces a new minor issues, in that a
user might try to move the record pointer forward while focus is on the lookup
list box, and this doesn't make any sense.


My # one goal in submitting reports here is to hopefully help the next guy use
Base more easily.  I have found so many rough edges on Base that made it
unnecessarily hard to use.

The list box, perhaps the most important control to help put the 'relational'
word in a relational database, is full of issues.  For example, it can't cut
and paste, does not allow multiple columns, has the ID as the 2nd field when it
should probably be the first (left most), does not easily select items by
typing without chaos, is almost unusable on narrow width fields, and transposes
Abc into ABc when you want Abc, but ABc is also found.

Combo Box is not much better, and is actually worse in that it can't handle
more than one field at a time so it is almost totally useless at editing
relations.

I suspect, unfortunately, that these rough edges and many more are a good part
of the reason Base is not used that much, as I think it is otherwise a quite
capable tool!

How do I conclude that Base is not used that much?  I have watched many people
ask Base questions at ask.libreoffice.org, but even though they get reasonably
good and prompt answers I don't see them return.  I can't imagine that they are
continuing to use Base, especially because there are no further question coming
from them.  Yes a few do use Base.

I have stuck w/ Base because I want to have a reasonable alternative to Access
that is not owned by MS and that I can use on Linux.  To that end I hope to
help do what I an can, which at the moment is to report issues I am having in
using Base, and try to make good suggestion to improve it.  I admit that I'm
not right all of the time.  But I do have almost 40 years of database
experience starting with ISAM on an IBM 370 mainframe, and I know what Access
2003 can easily do, and I see no reason Base should not be able to at least
meet that bar.  It doesn't have to do it the same way, but it does need to be
able to easily handle relational data.

So I think unless someone can come up with a solid reason why unbound fields
should be cleared, in my mind this remains an unnecessary rough edge in Base.

-- 
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 108405] add more file formats

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108405

--- Comment #2 from krishna  ---
i was testing various image file formats given at
https://wiki.documentfoundation.org/Media_Support/Android.

when i have seen the list of the image file formats supported, i thought lo
viewer supports very few. it seems i have hurriedly created the bug.

Where should the file formats be added?
lo viewer. able to view embedded file.

and which file formats do you mean ?
i have created few bugs for image file formats which are not displaying  eg.
.eps, .pct.

-- 
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 63388] MAILMERGE: LibreOffice freezes when clicking Test Settings button

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=63388

--- Comment #21 from Jurassic Pork  ---
hello,
there is a problem when you use SMTP with the port 465 
you must use a smtplib.SMTP_SSL with this port.
Proposed code in mailmerge.py : 
if port == 465:
self.server = smtplib.SMTP_SSL(server,
port,timeout=tout)
else:
self.server = smtplib.SMTP(server, port,timeout=tout)

if dbg and os.name != 'nt':
self.server.set_debuglevel(1)

connectiontype =
xConnectionContext.getValueByName("ConnectionType")
if dbg:
print("ConnectionType: " + connectiontype, file=dbgout)
if connectiontype.upper() == 'SSL' and port != 465:
self.server.ehlo()
self.server.starttls()
self.server.ehlo()

-- 
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 33166] remember file open dialog sizing

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=33166

V Stuart Foote  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=75
   ||644
 Resolution|--- |FIXED

--- Comment #6 from V Stuart Foote  ---
Please DO NOT REOPEN the enhancement of comment 0 was implemented. Document
size is set per module--not per document.

New issue--new bug.

But, enhancement for bug 75644 (with its duplicates like bug 93727) remains
open against a per document UI size & position--which remains unsupported by
ODF, and requires extension of the format.

-- 
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 75644] Better options to control LibO window resize of the Start Screen and last used window size of each document module (summary in comment 10)

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=75644

V Stuart Foote  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=33
   ||166

-- 
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 42673] With disconnected network printers, Calc hangs opening some files waiting on the Windows print spooler

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=42673

Buovjaga  changed:

   What|Removed |Added

Version|5.2.7.2 release |3.4.3 release

-- 
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 42673] With disconnected network printers, Calc hangs opening some files waiting on the Windows print spooler

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=42673

Buovjaga  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

-- 
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 108417] Some arabic fonts does not display correctly

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108417

--- Comment #6 from Buovjaga  ---
(In reply to Buovjaga from comment #5)
> (In reply to kavalec74 from comment #4)
> > Yes, the fonts are embedded in the docx file. I checked it in another PC,
> > where these fonts are not installed. Please check the docx yourself.
> 
> That's not what I asked. Please check, if the font files allow embedding. Go
> to your fonts folder, find the files, right-click, properties, examine the
> data.

I am asking, because LibreOffice displays some of them as substituted.

-- 
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 108417] Some arabic fonts does not display correctly

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108417

--- Comment #5 from Buovjaga  ---
(In reply to kavalec74 from comment #4)
> Yes, the fonts are embedded in the docx file. I checked it in another PC,
> where these fonts are not installed. Please check the docx yourself.

That's not what I asked. Please check, if the font files allow embedding. Go to
your fonts folder, find the files, right-click, properties, examine the data.

-- 
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 42673] With disconnected network printers, Calc hangs opening some files waiting on the Windows print spooler

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=42673

--- Comment #15 from frugal  ---
To be clear, loading any Calc file in Calc causes this, not a specific file.
Also, this freezing does not seem to happen if I load Libreoffice and click
CREATE - Calc Spreadsheet.
Only loading an existing 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 42673] With disconnected network printers, Calc hangs opening some files waiting on the Windows print spooler

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=42673

frugal  changed:

   What|Removed |Added

Version|3.4.3 release   |5.2.7.2 release

-- 
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 42673] With disconnected network printers, Calc hangs opening some files waiting on the Windows print spooler

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=42673

frugal  changed:

   What|Removed |Added

 Status|NEW |UNCONFIRMED
 Ever confirmed|1   |0

--- Comment #14 from frugal  ---
I am having the same issue with LibreOffice_5.2.7_Win_x86 under Windows 8 x64.

When I load a file in Calc, it hangs for up to 2 minutes with the windows
"Loading wheel icon" and becomes completely unresponsive. Afterwards it works
as normal.

My main printer is a network printer that is usually offline. No issues if the
printer is online.

Here is someone else with the same issue - 
Like them, If I stop the windows process splwow64.exe as Calc is being
unresponsive, calc resumes instantly (it becomes responsive) - 

Or, if I do "ipconfig /release" while Calc is being unrespnsive, it instantly
becomes responsive.

https://ask.libreoffice.org/en/question/18138/calc-hangs-on-opening-ods-file-seems-related-to-printer-availability/

-- 
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: source/auxiliary

2017-06-15 Thread Olivier Hallot
 source/auxiliary/sbasic.tree |   13 -
 1 file changed, 12 insertions(+), 1 deletion(-)

New commits:
commit c5180610e70541db0c684fa29100c66355b8bfc2
Author: Olivier Hallot 
Date:   Fri Jun 16 00:50:10 2017 -0300

tdf#84675 Add VBA functions to tree file

Add current VBA functions to the tree (Contents tab)

Change-Id: I433cd9a77fd1fe6a15ea6778a475a96840299a3c
Reviewed-on: https://gerrit.libreoffice.org/38856
Reviewed-by: Olivier Hallot 
Tested-by: Olivier Hallot 

diff --git a/source/auxiliary/sbasic.tree b/source/auxiliary/sbasic.tree
index 7818c21ff..9448d6587 100644
--- a/source/auxiliary/sbasic.tree
+++ b/source/auxiliary/sbasic.tree
@@ -30,6 +30,7 @@
 Watch Window
 Macro Toolbar
 Macro
+Working with VBA 
Macros


 Using Procedures and 
Functions
@@ -44,8 +45,10 @@
 Numeric Functions
 Controlling Program 
Execution
 Variables
+Basic Constants
 Comparison Operators
 Strings
+Exclusive VBA 
functions
 Other Commands


@@ -53,6 +56,7 @@
 AND Operator 
[Runtime]
 Array Function 
[Runtime]
 Asc Function 
[Runtime]
+AscW Function [Runtime 
VBA]
 Atn Function 
[Runtime]
 Beep Statement 
[Runtime]
 Blue Function 
[Runtime]
@@ -77,6 +81,7 @@
 ChDrive Statement 
[Runtime]
 Choose Function 
[Runtime]
 Chr Function 
[Runtime]
+ChrW Function [Runtime - 
VBA]
 Close Statement 
[Runtime]
 Comparison Operators 
[Runtime]
 Const Statement 
[Runtime]
@@ -93,6 +98,7 @@
 DateValue Function 
[Runtime]
 Date Statement 
[Runtime]
 Day Function 
[Runtime]
+DDB Function [Runtime - 
VBA]
 Declare Statement 
[Runtime]
 DefBool Statement 
[Runtime]
 DefDate Statement 
[Runtime]
@@ -127,10 +133,11 @@
 Fix Function 
[Runtime]
 For...Next Statement 
[Runtime]
 Format Function 
[Runtime]
-FreeFile 
Function[Runtime]
+FreeFile Function 
[Runtime]
 FreeLibrary Function 
[Runtime]
 Function Statement 
[Runtime]
 Further Statements
+FV Function [Runtime 
-VBA]
 Generating Random 
Numbers
 GetAttr Function 
[Runtime]
 GetProcessServiceManager 
Function [Runtime]
@@ -148,9 +155,11 @@
 If...Then...Else Statement 
[Runtime]
 Imp-Operator 
[Runtime]
 InStr Function 
[Runtime]
+InStrRev Function [Runtime 
- VBA]
 InputBox Function 
[Runtime]
 Input# Statement 
[Runtime]
 Int Function 
[Runtime]
+IPmt Function [Runtime - 
VBA]
 IsArray Function 
[Runtime]
 IsDate Function 
[Runtime]
 IsEmpty Function 
[Runtime]
@@ -189,6 +198,7 @@
 Open Statement 
[Runtime]
 Option Base Statement 
[Runtime]
 Option Explicit Statement 
[Runtime]
+Option VBASupport Statement 
[Runtime]
 Optional (in Function 
Statement) [Runtime]
 Or-Operator 
[Runtime]
 Print Statement 
[Runtime]
@@ -223,6 +233,7 @@
 Stop Statement 
[Runtime]
 StrComp Function 
[Runtime]
 Str Function 
[Runtime]
+StrReverse Function 
[Runtime - VBA]
 String Function 
[Runtime]
 Sub Statement 
[Runtime]
 Switch Function 
[Runtime]
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: helpcontent2

2017-06-15 Thread Olivier Hallot
 helpcontent2 |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5e8eb215d9709c384f0f84c339d03e5d9c60c43c
Author: Olivier Hallot 
Date:   Fri Jun 16 00:50:10 2017 -0300

Updated core
Project: help  c5180610e70541db0c684fa29100c66355b8bfc2

tdf#84675 Add VBA functions to tree file

Add current VBA functions to the tree (Contents tab)

Change-Id: I433cd9a77fd1fe6a15ea6778a475a96840299a3c
Reviewed-on: https://gerrit.libreoffice.org/38856
Reviewed-by: Olivier Hallot 
Tested-by: Olivier Hallot 

diff --git a/helpcontent2 b/helpcontent2
index 538aa4791d07..c5180610e705 16
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit 538aa4791d07f40112953b5625a7dbba96d53105
+Subproject commit c5180610e70541db0c684fa29100c66355b8bfc2
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] help.git: Branch 'libreoffice-5-4' - source/auxiliary

2017-06-15 Thread Olivier Hallot
 source/auxiliary/sbasic.tree |   13 -
 1 file changed, 12 insertions(+), 1 deletion(-)

New commits:
commit 9d965444a9b787726e67c6eb5bbcb8ca9a5de8d2
Author: Olivier Hallot 
Date:   Fri Jun 16 00:50:10 2017 -0300

tdf#84675 Add VBA functions to tree file

Add current VBA functions to the tree (Contents tab)

Change-Id: I433cd9a77fd1fe6a15ea6778a475a96840299a3c
Reviewed-on: https://gerrit.libreoffice.org/38857
Reviewed-by: Olivier Hallot 
Tested-by: Olivier Hallot 

diff --git a/source/auxiliary/sbasic.tree b/source/auxiliary/sbasic.tree
index 7818c21ff..9448d6587 100644
--- a/source/auxiliary/sbasic.tree
+++ b/source/auxiliary/sbasic.tree
@@ -30,6 +30,7 @@
 Watch Window
 Macro Toolbar
 Macro
+Working with VBA 
Macros


 Using Procedures and 
Functions
@@ -44,8 +45,10 @@
 Numeric Functions
 Controlling Program 
Execution
 Variables
+Basic Constants
 Comparison Operators
 Strings
+Exclusive VBA 
functions
 Other Commands


@@ -53,6 +56,7 @@
 AND Operator 
[Runtime]
 Array Function 
[Runtime]
 Asc Function 
[Runtime]
+AscW Function [Runtime 
VBA]
 Atn Function 
[Runtime]
 Beep Statement 
[Runtime]
 Blue Function 
[Runtime]
@@ -77,6 +81,7 @@
 ChDrive Statement 
[Runtime]
 Choose Function 
[Runtime]
 Chr Function 
[Runtime]
+ChrW Function [Runtime - 
VBA]
 Close Statement 
[Runtime]
 Comparison Operators 
[Runtime]
 Const Statement 
[Runtime]
@@ -93,6 +98,7 @@
 DateValue Function 
[Runtime]
 Date Statement 
[Runtime]
 Day Function 
[Runtime]
+DDB Function [Runtime - 
VBA]
 Declare Statement 
[Runtime]
 DefBool Statement 
[Runtime]
 DefDate Statement 
[Runtime]
@@ -127,10 +133,11 @@
 Fix Function 
[Runtime]
 For...Next Statement 
[Runtime]
 Format Function 
[Runtime]
-FreeFile 
Function[Runtime]
+FreeFile Function 
[Runtime]
 FreeLibrary Function 
[Runtime]
 Function Statement 
[Runtime]
 Further Statements
+FV Function [Runtime 
-VBA]
 Generating Random 
Numbers
 GetAttr Function 
[Runtime]
 GetProcessServiceManager 
Function [Runtime]
@@ -148,9 +155,11 @@
 If...Then...Else Statement 
[Runtime]
 Imp-Operator 
[Runtime]
 InStr Function 
[Runtime]
+InStrRev Function [Runtime 
- VBA]
 InputBox Function 
[Runtime]
 Input# Statement 
[Runtime]
 Int Function 
[Runtime]
+IPmt Function [Runtime - 
VBA]
 IsArray Function 
[Runtime]
 IsDate Function 
[Runtime]
 IsEmpty Function 
[Runtime]
@@ -189,6 +198,7 @@
 Open Statement 
[Runtime]
 Option Base Statement 
[Runtime]
 Option Explicit Statement 
[Runtime]
+Option VBASupport Statement 
[Runtime]
 Optional (in Function 
Statement) [Runtime]
 Or-Operator 
[Runtime]
 Print Statement 
[Runtime]
@@ -223,6 +233,7 @@
 Stop Statement 
[Runtime]
 StrComp Function 
[Runtime]
 Str Function 
[Runtime]
+StrReverse Function 
[Runtime - VBA]
 String Function 
[Runtime]
 Sub Statement 
[Runtime]
 Switch Function 
[Runtime]
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'libreoffice-5-4' - helpcontent2

2017-06-15 Thread Olivier Hallot
 helpcontent2 |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2ea89dad6abdf75592109e0455e27ac539bdec86
Author: Olivier Hallot 
Date:   Fri Jun 16 00:50:10 2017 -0300

Updated core
Project: help  9d965444a9b787726e67c6eb5bbcb8ca9a5de8d2

tdf#84675 Add VBA functions to tree file

Add current VBA functions to the tree (Contents tab)

Change-Id: I433cd9a77fd1fe6a15ea6778a475a96840299a3c
Reviewed-on: https://gerrit.libreoffice.org/38857
Reviewed-by: Olivier Hallot 
Tested-by: Olivier Hallot 

diff --git a/helpcontent2 b/helpcontent2
index 382289ba413f..9d965444a9b7 16
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit 382289ba413f625b8cb41bb6702ad4c7b0e74ab0
+Subproject commit 9d965444a9b787726e67c6eb5bbcb8ca9a5de8d2
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: starmath/inc starmath/source

2017-06-15 Thread Takeshi Abe
 starmath/inc/document.hxx|2 +-
 starmath/source/document.cxx |2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 19e926441c5ea2306daee4531e3c3a8058a85a3d
Author: Takeshi Abe 
Date:   Wed Jun 14 22:02:10 2017 +0900

starmath: SfxObjectShell::GetMiscStatus() returns sal_uIntPtr

Change-Id: I2a4fa44414975e7b87c8313d01d7120d13a205e6
Reviewed-on: https://gerrit.libreoffice.org/38790
Tested-by: Jenkins 
Reviewed-by: Takeshi Abe 

diff --git a/starmath/inc/document.hxx b/starmath/inc/document.hxx
index 351724ddccc7..a705e72f33a8 100644
--- a/starmath/inc/document.hxx
+++ b/starmath/inc/document.hxx
@@ -116,7 +116,7 @@ class SM_DLLPUBLIC SmDocShell : public SfxObjectShell, 
public SfxListener
   sal_Int32 nFileFormat,
   bool bTemplate = false ) const override;
 
-virtual sal_uLong   GetMiscStatus() const override;
+virtual sal_uIntPtr GetMiscStatus() const override;
 virtual voidOnDocumentPrinterChanged( Printer * ) override;
 virtual boolInitNew( const css::uno::Reference< 
css::embed::XStorage >& xStorage ) override;
 virtual boolLoad( SfxMedium& rMedium ) override;
diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx
index 060fa6692de7..4f4c198e81b3 100644
--- a/starmath/source/document.cxx
+++ b/starmath/source/document.cxx
@@ -1295,7 +1295,7 @@ void SmDocShell::FillClass(SvGlobalName* pClassName,
 }
 }
 
-sal_uLong SmDocShell::GetMiscStatus() const
+sal_uIntPtr SmDocShell::GetMiscStatus() const
 {
 return SfxObjectShell::GetMiscStatus() | SVOBJ_MISCSTATUS_NOTRESIZEABLE
  | 
SVOBJ_MISCSTATUS_RESIZEONPRINTERCHANGE;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 60909] Out of space warning ...

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=60909

Xisco Faulí  changed:

   What|Removed |Added

   Assignee|theroomofthedoc...@gmail.co |libreoffice-b...@lists.free
   |m   |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 108557] FILEOPEN: DOCX file numbered list has out of sequence number when opened in LibreOffice

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108557

Gabriel Bowater  changed:

   What|Removed |Added

  Component|LibreOffice |Writer

-- 
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 108341] [Feature] Follow Editor

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108341

--- Comment #6 from Aditya Dewan  ---
Hi,

I have added a patch for this feature at
https://gerrit.libreoffice.org/#/c/38855/
it's a wip, but the basic functionality works as of now. There is no automatic
switching of editors, but rather each user has to manually select the editor.

This is how it currently works
users selects - view > follow editor
a list of all the users currently viewing the document pops up and then the
user can select the other user(editor) he wants to follow.

-- 
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 103378] [META] PDF export bugs and enhancements

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=103378
Bug 103378 depends on bug 99680, which changed state.

Bug 99680 Summary: Missing images and charts when exporting to PDF (print to 
PDF works)
https://bugs.documentfoundation.org/show_bug.cgi?id=99680

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

-- 
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 108560] EDITING: Slow Edit or Open Large Cells

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108560

--- Comment #3 from Francewhoa 
 ---
Created attachment 134060
  --> https://bugs.documentfoundation.org/attachment.cgi?id=134060=edit
screenshot---About_LibreOffice---Francewhoa---2017-06-15.jpg

-- 
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 108560] EDITING: Slow Edit or Open Large Cells

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108560

--- Comment #2 from Francewhoa 
 ---
Created attachment 134059
  --> https://bugs.documentfoundation.org/attachment.cgi?id=134059=edit
lorem_ipsum---Francewhoa---2017-06-15.txt

Text used to reproduce this challenge

-- 
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 108560] EDITING: Slow Edit or Open Large Cells

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108560

--- Comment #1 from Francewhoa 
 ---
Created attachment 134058
  --> https://bugs.documentfoundation.org/attachment.cgi?id=134058=edit
calc_spreadsheet---before---Slow_Edit_Large_Cell---Francewhoa---2017-06-15.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 108560] New: EDITING: Slow Edit or Open Large Cells

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108560

Bug ID: 108560
   Summary: EDITING: Slow Edit or Open Large Cells
   Product: LibreOffice
   Version: 5.2.7.2 release
  Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Calc
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: francewhoa+bugs.documentfoundation@ubertus.ca

Created attachment 134057
  --> https://bugs.documentfoundation.org/attachment.cgi?id=134057=edit
calc_spreadsheet---after---Slow_Edit_Large_Cell---Francewhoa---2017-06-15.ods

Hi LibreOffice enthusiasts :)


Challenge summary:
Using LibreOffice (LO) Calc, adding large amount of text to a text cell result
in Calc hangs. Hang ranges from slow to unusable Calc. Same challenge with
opening large cells.


Steps to reproduce challenge:
1. Install fresh LibreOffice 5.2.7.2

2. Create a fresh Calc spreadsheet. Find attached spreadsheet titled
"calc_spreadsheet---before---Slow_Edit_Large_Cell---Francewhoa---2017-06-15.ods"

3. Paste into a cell any text with the following minimum values:
...• Lines: 235
...• Words: 11,604
...• Characters with space: 78,936
...• Calculations: None
...• Formatting on cell: No advanced formatting
For spreadsheet example, find attached file titled
"calc_spreadsheet---after---Slow_Edit_Large_Cell---Francewhoa---2017-06-15.ods"

4. LibreOffice hang for ~30 seconds. One CPU is running at 100%. After that
hang the text is pasted.

5. Double click on that cell to open it. LibreOffice hangs again for another
~30 seconds. And so on.

The amount of text in the cell is directly correlated to the length of time
required to open or edit the cell. So 470 lines is roughly double the hang time
than 235 lines.


Expected outcome:
• Expected result is the text should be added to the text cell within ~1
second. Not ~30 seconds. 30 seconds is very fast if we need to do one operation
within ~one day. But the issue is that we need to do multiple operations within
1 minute. Then we need to do that multiple time per day, week, year. For
example when we need to do 10 to 20 copy-paste operations per minute, the total
freeze time range from 5 to 10 minutes. Which is too slow. Another example is
with 100 to 200 copy-paste, which result in a total freeze ranges 50 to 100
minutes. Again too slow. There is something slowing down both the copy-paste
process of a large cell and opening a large cell. It's unclear what is causing
that.


What we tried that was effective:
• Use LibreOffice 4.2. Instead of 5.2.7.2. This issue can not be reproduce on
LibreOffice 4.2.
• Using 5.2.7.2, brake down the large cell content into multiple small cells.
But that's not usable, as I need to add large amount of text to large amount of
cells, and sheets.


What I tried that was ineffective:
• "Format" menu > "Cell" option > "Numbers" > Text 
• "Format" menu > "Clear Direct Formatting" option 
• Increase memory at “Tools > LibreOffice > Memory“
• Force LO to use the lastest installed Java 1.8 at “Tools > Options >
LibreOffice > Advanced > Expert Configuration”
• Close the LO sidebar
• "Format" menu > "Cell" option > "Alignment" > unchecked "Wrap text
automatically" 


Suggested fix:
• Allow users to add large amount of text without triggering whatever is
triggering intensive CPU usage. Assuming the user is adding simple text and
without complex formatting and without any calculation. No cell validation is
requested, but maybe somehow LO is trying to validate the full content of the
cell. If so, how about allowing the user to deactivate such automated
validation per cell, per sheet, per spreadsheet, per LO global setting?


LibreOffice:
• Version: 5.2.7.2
• Build ID: 1:5.2.7-1~bpo8+1
• CPU Threads: 8; OS Version: Linux 4.9; UI Render: default; VCL: gtk3;
• Locale: en-CA (en_CA.utf8); Calc: group
• Java 1.8.0_131 Oracle Corporation

System:
• Base: Debian 8.8 Jessie, 64-bit
• Gnome: 3.14.1
• Kernel: 4.9.0-0.bpo.3-amd64 #1 SMP Debian 4.9.25-1~bpo8+1 (2017-05-19) x86_64
GNU/Linux


Hardware:
• Ram: 31GB. Only LibreOffice is open and active.
• Processor: Intel Core i7 @ 3.10 GHz
• CPU: 8


• Similar challenges:
...• https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1034999
...•
https://askubuntu.com/questions/925383/libreoffice-calc-is-slowing-down-when-working-with-big-cells
...•
https://ask.libreoffice.org/en/question/75074/libreoffice-5204-unbearably-slow-on-ubuntu-1404/

I would be happy to contribute testing and documentation if needed

Let me know if you have any questions or need anything else

Cheers,

Francewhoa

-- 
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 108555] Add line spacing feature to Calc cell styles

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108555

Yousuf Philips (jay)  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||c...@nouenoff.nl,
   ||philip...@hotmail.com,
   ||rb.hensc...@t-online.de,
   ||tietze.he...@gmail.com,
   ||vstuart.fo...@utsa.edu
 Ever confirmed|0   |1

--- Comment #1 from Yousuf Philips (jay)  ---
Didnt see the option in Excel and the functions in Format > Spacing also dont
work and dont know enough to judge what would be useful for a spreadsheet, so
i'll leave it to the experts.

Regina, Cor, Stuart, Heiko: Ball in your corner.

-- 
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 108559] Calc changes font to bold when the user tries to change the font size

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108559

Kevin  changed:

   What|Removed |Added

 CC||timbacont...@gmail.com

--- Comment #1 from Kevin  ---
Created attachment 134055
  --> https://bugs.documentfoundation.org/attachment.cgi?id=134055=edit
steps included in spreadsheet for 108559

-- 
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 108559] New: Calc changes font to bold when the user tries to change the font size

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108559

Bug ID: 108559
   Summary: Calc changes font to bold when the user tries to
change the font size
   Product: LibreOffice
   Version: 5.3.3.2 release
  Hardware: x86 (IA32)
OS: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Calc
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: timbacont...@gmail.com

Description:
Calc makes changes to one attribute when asked to make changes to another
attribute (which it doesn't change! But that's in a different report.)

Steps to Reproduce:
1. load the attached spreadsheet
2. try to change the font SIZE of the specified cells



Actual Results:  
it changes characters that were regular to bold without being asked

Expected Results:
1. make a selection
2. apply a command - it should do what you asked it to do and nothing more


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/58.0.3029.110 Safari/537.36

-- 
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 108557] FILEOPEN: DOCX file numbered list has out of sequence number when opened in LibreOffice

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108557

--- Comment #2 from Gabriel Bowater  ---
Created attachment 134054
  --> https://bugs.documentfoundation.org/attachment.cgi?id=134054=edit
PDF showing MS Office rendering sequence vs LO 5.3.3.2 rendering sequence

-- 
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 108558] New: issue with office start up and writer save As option window

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108558

Bug ID: 108558
   Summary: issue with office start up and writer save As option
window
   Product: LibreOffice
   Version: 5.2.7.2 release
  Hardware: IA64 (Itanium)
OS: Windows (All)
Status: UNCONFIRMED
  Severity: minor
  Priority: medium
 Component: LibreOffice
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: robmpie...@gmail.com

Description:
1. when i start office libre, using libreoffice5.2 icon on desktop and after i
select Writer, the green Office Libre 'splash screen header' (green one) stays
on desktop until i move a window over it.
2. SaveAs - defaults to save in My Documents (which is fine) but lists no
sub-folders.  Also, same with Desktop - to go from SaveAs in My documents to
SaveAs on my Desktop (for example) requires about 4 clicks and no sub folder
are listed when i do get to the Desktop. Default behavior is to list docs only
it seems, which is very limiting and confusing.

Steps to Reproduce:
1. just double click LibreOffice Icon on desktop and select Writer..when NOT
opening in full screen mode, the splash header remains on desktop.

2.only way to get rid of it is to manually move a window over it - maybe not a
bug, but certainly, an issue.
3.SaveAs pop-up window, as described, defaults to My Documents but lists no
Sub-Folders...automatically - that should be a default behavior...no?

Actual Results:  
results in frustration and a pain on my buttocks area...my one good nerve gets
fried every time.

Expected Results:
SaveAs should list all folders and files, and be easier to navigate to Desktop,
or wherever i need to save it 


Reproducible: Always

User Profile Reset: Yes -  same
What should the software have done instead? -  should make me feel sexy :)
or at least...smart enough to save a file where i want .

Additional Info:
thanks for putting this office suite out there for users at no cost - deeply
appreciate that effort - donation forthcoming.


User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:54.0) Gecko/20100101
Firefox/54.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-bugs] [Bug 108557] FILEOPEN: DOCX file numbered list has out of sequence number when opened in LibreOffice

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108557

--- Comment #1 from Gabriel Bowater  ---
Created attachment 134053
  --> https://bugs.documentfoundation.org/attachment.cgi?id=134053=edit
File with out of sequence number in numbered list

-- 
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 108557] New: FILEOPEN: DOCX file numbered list has out of sequence number when opened in LibreOffice

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108557

Bug ID: 108557
   Summary: FILEOPEN: DOCX file numbered list has out of sequence
number when opened in LibreOffice
   Product: LibreOffice
   Version: unspecified
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: LibreOffice
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: gabrielbowa...@catalyst.net.nz

Description:
When opening the attached file in LibreOffice 5.3.3.2, 1-6 in the numbered list
are sequenced correctly, but then what should be 7 is instead another 1. After
that the previous sequence resumes. 

Steps to Reproduce:
1. Open attached DOCX file
2. Check numbered list
3. The number sequence isn't correct

Actual Results:  
Number 1-6 are sequenced correctly, but then we get a number 1, followed by a
resumption of the original sequence

Expected Results:
Numbered list sequence continues uninterrupted 


Reproducible: Always

User Profile Reset: No - replicated on multiple systems

Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/58.0.3029.110 Safari/537.36

-- 
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 94326] Numbered headers not displayed and handled correctly ( DOC fileopen)

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94326

Gabriel Bowater  changed:

   What|Removed |Added

 CC||gabrielbowa...@catalyst.net
   ||.nz

--- Comment #16 from Gabriel Bowater  ---
Created attachment 134051
  --> https://bugs.documentfoundation.org/attachment.cgi?id=134051=edit
5.3.3.2 Error moved

Opening in LO 5.3.3.2 error doesn't manifest on first page but still occurs on
third page with the header number not appearing for what should be Section 3.
Also, the numbering for the numbered paragraphs in the section is out of
sequence.

-- 
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 108544] Anomalies with tables embedded in documents and shown as icons in MS Office files (XLS/XLSX in DOC/DOCX)

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108544

--- Comment #1 from Aron Budea  ---
A correction to the description:
"Both XLSX in DOC and XLS in DOC open in a new Calc window" <= This was
supposed to be "both XLS in DOCX and XLS in DOC" (so the embedded format is XLS
in both case).

Additional detail:
DOC with embedded XLSX opens Excel if installed, gives General OLE error if
Excel is not installed.

-- 
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 108545] Anomalies with documents embedded in documents in MS Office files (DOC, DOCX)

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108545

--- Comment #2 from Aron Budea  ---
A correction to the description:
"DOC with embedded DOCX behaves as expected." <= This was supposed to be DOCX
with embedded DOC.

Additional detail:
DOC with embedded DOCX opens Word if installed, gives General OLE error if Word
is not installed.

-- 
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-4' - vcl/qa vcl/source

2017-06-15 Thread Vasily Melenchuk
 vcl/qa/cppunit/pdfexport/data/tdf99680-2.odt |binary
 vcl/qa/cppunit/pdfexport/data/tdf99680.odt   |binary
 vcl/qa/cppunit/pdfexport/pdfexport.cxx   |   83 +++
 vcl/source/gdi/pdfwriter_impl.cxx|   11 +--
 4 files changed, 89 insertions(+), 5 deletions(-)

New commits:
commit f6726209329fefe9decca8fda8e136b8472a95a2
Author: Vasily Melenchuk 
Date:   Thu May 25 13:44:52 2017 +0300

tdf#99680 modified clipping for PDF export

If clipping is requested, but no clipping region is defined,
clipping is ignored.

This squashes the following 3 commits:

Change-Id: I793c1de1f4f6b0203727c0ff6aa8adecc43ad413
Reviewed-on: https://gerrit.libreoffice.org/38021
Tested-by: Jenkins 
Reviewed-by: Thorsten Behrens 

Change-Id: Id4565858b0135b3177044558db87a68ef828955b
Reviewed-on: https://gerrit.libreoffice.org/38403
Tested-by: Jenkins 
Reviewed-by: Miklos Vajna 

Change-Id: I102722140e216cb9ad29107aae3bdaa70472d471
Reviewed-on: https://gerrit.libreoffice.org/38694
Tested-by: Jenkins 
Reviewed-by: Thorsten Behrens 
Reviewed-on: https://gerrit.libreoffice.org/38825
Tested-by: Thorsten Behrens 

diff --git a/vcl/qa/cppunit/pdfexport/data/tdf99680-2.odt 
b/vcl/qa/cppunit/pdfexport/data/tdf99680-2.odt
new file mode 100644
index ..47c370004d86
Binary files /dev/null and b/vcl/qa/cppunit/pdfexport/data/tdf99680-2.odt differ
diff --git a/vcl/qa/cppunit/pdfexport/data/tdf99680.odt 
b/vcl/qa/cppunit/pdfexport/data/tdf99680.odt
new file mode 100644
index ..de12f9baa180
Binary files /dev/null and b/vcl/qa/cppunit/pdfexport/data/tdf99680.odt differ
diff --git a/vcl/qa/cppunit/pdfexport/pdfexport.cxx 
b/vcl/qa/cppunit/pdfexport/pdfexport.cxx
index b3661281d473..1a88b97e5364 100644
--- a/vcl/qa/cppunit/pdfexport/pdfexport.cxx
+++ b/vcl/qa/cppunit/pdfexport/pdfexport.cxx
@@ -66,6 +66,8 @@ public:
 void testTdf107013();
 void testTdf107018();
 void testTdf107089();
+void testTdf99680();
+void testTdf99680_2();
 #endif
 
 CPPUNIT_TEST_SUITE(PdfExportTest);
@@ -81,6 +83,8 @@ public:
 CPPUNIT_TEST(testTdf107013);
 CPPUNIT_TEST(testTdf107018);
 CPPUNIT_TEST(testTdf107089);
+CPPUNIT_TEST(testTdf99680);
+CPPUNIT_TEST(testTdf99680_2);
 #endif
 CPPUNIT_TEST_SUITE_END();
 };
@@ -591,6 +595,85 @@ void PdfExportTest::testTdf107089()
 // This failed, 'Hello' was part only a mixed compressed/uncompressed 
stream, i.e. garbage.
 CPPUNIT_ASSERT(it != pEnd);
 }
+
+void PdfExportTest::testTdf99680()
+{
+vcl::filter::PDFDocument aDocument;
+load("tdf99680.odt", aDocument);
+
+// The document has one page.
+std::vector aPages = aDocument.GetPages();
+CPPUNIT_ASSERT_EQUAL(static_cast(1), aPages.size());
+
+// The page 1 has a stream.
+vcl::filter::PDFObjectElement* pContents = 
aPages[0]->LookupObject("Contents");
+CPPUNIT_ASSERT(pContents);
+vcl::filter::PDFStreamElement* pStream = pContents->GetStream();
+CPPUNIT_ASSERT(pStream);
+SvMemoryStream& rObjectStream = pStream->GetMemory();
+
+// Uncompress it.
+SvMemoryStream aUncompressed;
+ZCodec aZCodec;
+aZCodec.BeginCompression();
+rObjectStream.Seek(0);
+aZCodec.Decompress(rObjectStream, aUncompressed);
+CPPUNIT_ASSERT(aZCodec.EndCompression());
+
+// Make sure there are no empty clipping regions.
+OString aEmptyReqion("0 0 m h W* n");
+auto pStart = static_cast(aUncompressed.GetData());
+const char* pEnd = pStart + aUncompressed.GetSize();
+auto it = std::search(pStart, pEnd, aEmptyReqion.getStr(), 
aEmptyReqion.getStr() + aEmptyReqion.getLength());
+CPPUNIT_ASSERT_EQUAL_MESSAGE("Empty clipping region detected!", it, pEnd);
+
+// Count save graphic state (q) and restore (Q) operators
+// and ensure their amount is equal
+size_t nSaveCount = std::count(pStart, pEnd, 'q');
+size_t nRestoreCount = std::count(pStart, pEnd, 'Q');
+CPPUNIT_ASSERT_EQUAL_MESSAGE("Save/restore graphic state operators count 
mistmatch!", nSaveCount, nRestoreCount);
+}
+
+void PdfExportTest::testTdf99680_2()
+{
+vcl::filter::PDFDocument aDocument;
+load("tdf99680-2.odt", aDocument);
+
+// For each document page
+std::vector aPages = aDocument.GetPages();
+CPPUNIT_ASSERT_EQUAL(static_cast(3), aPages.size());
+for (size_t nPageNr = 0; nPageNr < aPages.size(); nPageNr++)
+{
+// Get page contents and stream.
+vcl::filter::PDFObjectElement* pContents = 
aPages[nPageNr]->LookupObject("Contents");
+CPPUNIT_ASSERT(pContents);
+vcl::filter::PDFStreamElement* pStream = pContents->GetStream();
+

[Libreoffice-bugs] [Bug 108417] Some arabic fonts does not display correctly

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108417

--- Comment #4 from kavale...@gmail.com ---
Yes, the fonts are embedded in the docx file. I checked it in another PC, where
these fonts are not installed. Please check the docx yourself.

-- 
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 50774] FILEOPEN DOC/DOCX: automatic numbering in numbered lists different from Word numbering

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=50774

Gabriel Bowater  changed:

   What|Removed |Added

 CC||gabrielbowa...@catalyst.net
   ||.nz

--- Comment #25 from Gabriel Bowater  ---
Created attachment 134050
  --> https://bugs.documentfoundation.org/attachment.cgi?id=134050=edit
Misnumbering not occurring in LO 5.3.3.2 2017-06-16

Opening file in the current stable LO version doesn't produce the undesirable
result show in earlier screenshots.

-- 
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 107299] New Template Manager help content issues

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=107299

mi...@filmsi.net changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

-- 
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] minutes of ESC call ...

2017-06-15 Thread Antonio Faccioli - LibreItalia

Hy all,

Il 2017-06-15 15:09 Michael Meeks ha scritto:

Hi guys,

On 15/06/17 11:04, Heiko Tietze wrote:

Would say the arguments are on the table. Cloph, what is the drawback
of adding appimage to our repo ?


	Can we shelve this, and discuss it in-person at the next ESC call; 
I've

added it to the agenda already =) I'm hoping to see Antonio there.



Sorry, I did not manage to arrive in time. The work went longer than 
expected.



Thanks,

Michael.


Regards
Antonio
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [icu-support] Adding LibreOffice as reference

2017-06-15 Thread Sophia Schroeder
Hi Eike,

thanks for the pointers. :-)

Will do this too in the next few days so putted on my list. :-)

> 
> Eike Rathke  hat am 12. Juni 2017 um 18:10 geschrieben:
> 
> Hi Sophia,
> 
> On Sunday, 2017-06-11 12:50:16 +0200, Sophia Schroeder wrote:
> 
> > > 
> > the ICU project added us to the list of reference projects after my 
> > request yesterday.
> > 
> > > 
> Thank you for taking the initiative!
> 
> > > 
> > Are there any other upstream projects known we should be listen too 
> > and I may ask for it?
> > 
> > > 
> That could be investigated by inspecting all external/*/README files in
> the core source repository's tree and visit those projects' web sites
> and see if they have some similar "these projects use ..." page. If
> you'd want to take that?
> 
> Eike
> 
> --
> LibreOffice Calc developer. Number formatter stricken i18n 
> transpositionizer.
> GPG key 0x6A6CD5B765632D3A - 2265 D7F3 A7B0 95CC 3918 630B 6A6C D5B7 6563 
> 2D3A
> Care about Free Software, support the FSFE https://fsfe.org/support/?erack
> 
> ___
> LibreOffice mailing list
> LibreOffice@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice
> 


Regards / Mit freundlichen Grüßen
Sophia Schroeder
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-bugs] [Bug 107299] New Template Manager help content issues

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=107299

--- Comment #13 from Gabor Kelemen  ---
I think it would be safe now to close this one.
The originally reported problems are now fixed, and a few more as well.
Maybe we could split the examples out to new guide pages, but that's not really
a problem in itself.

-- 
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 80430] [META] LOCALHELP: Features x Documentation gap

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=80430
Bug 80430 depends on bug 102930, which changed state.

Bug 102930 Summary: [LOCALHELP] Review and complete the mail merge help pages
https://bugs.documentfoundation.org/show_bug.cgi?id=102930

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

-- 
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: sw/qa

2017-06-15 Thread Michael Stahl
 sw/qa/extras/odfexport/data/tdf103091.fodt |  307 +
 sw/qa/extras/odfexport/odfexport.cxx   |   67 ++
 2 files changed, 374 insertions(+)

New commits:
commit dfd626f68ea8c2c3adfa38897c204b36a832b84f
Author: Michael Stahl 
Date:   Thu Jun 15 23:26:40 2017 +0200

tdf#103091 sw: add unit test for conditional style import/export

Change-Id: I0af54a66679e66d7d2d05aba5dd341a9126ce631

diff --git a/sw/qa/extras/odfexport/data/tdf103091.fodt 
b/sw/qa/extras/odfexport/data/tdf103091.fodt
new file mode 100644
index ..c2c84115d01a
--- /dev/null
+++ b/sw/qa/extras/odfexport/data/tdf103091.fodt
@@ -0,0 +1,307 @@
+
+
+http://www.w3.org/1999/xlink; 
xmlns:dc="http://purl.org/dc/elements/1.1/; 
xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" 
xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" 
xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" 
xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" 
xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" 
xmlns:math="http://www.w3.org/1998/Math/MathML; 
xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" 
xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" 
xmlns:config="urn:oas
 is:names:tc:opendocument:xmlns:config:1.0" 
xmlns:ooo="http://openoffice.org/2004/office; 
xmlns:ooow="http://openoffice.org/2004/writer; 
xmlns:oooc="http://openoffice.org/2004/calc; 
xmlns:dom="http://www.w3.org/2001/xml-events; 
xmlns:xforms="http://www.w3.org/2002/xforms; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xmlns:rpt="http://openoffice.org/2005/report; 
xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" 
xmlns:xhtml="http://www.w3.org/1999/xhtml; 
xmlns:grddl="http://www.w3.org/2003/g/data-view#; 
xmlns:tableooo="http://openoffice.org/2009/table; 
xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" 
xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0"
 xmlns:css3t="http://www.w3.org/TR/css3-text/; office:version="1.2" 
office:mimetype="application/vnd.oasis.opendocument.text">
+ ms 
2017-06-15T21:56:462017-06-15T21:59:44ms
 
P0D1LibreOffice/3.5$Linux_X86_64
 
LibreOffice_project/3215f89-f603614-ab984f2-7348103-1225a5b
+ 
+  
+  
+  
+  
+  
+ 
+ 
+  
+   
+   
+
+   
+   
+  
+  
+   
+   
+  
+  
+   
+  
+  
+   
+  
+  
+  
+   
+   
+  
+  
+   
+   
+   
+   
+   
+   
+   
+   
+   
+   
+   
+   
+   
+   
+   
+   
+   
+   
+   
+   
+   
+   
+   
+   
+   
+   
+   
+   
+   
+  
+  
+   
+  
+  
+   
+   
+  
+  
+   
+   
+  
+  
+   
+  
+  
+   
+
+ 
+
+   
+  
+  
+   
+   
+  
+  
+   
+  
+  
+   
+
+ 
+
+   
+  
+  
+   
+
+ 
+
+   
+  
+  
+   
+
+ 
+
+   
+  
+  
+   
+
+ 
+
+   
+  
+  
+   
+
+ 
+
+   
+  
+  
+   
+
+ 
+
+   
+  
+  
+   
+
+ 
+
+   
+  
+  
+   
+
+ 
+
+   
+  
+  
+   
+
+ 
+
+   
+  
+  
+   
+
+ 
+
+   
+  
+  
+   
+   
+  
+  
+  
+   
+   
+  
+  
+   
+  
+  
+   
+
+ 
+ 
+
+   
+  
+  
+   
+
+ 
+ 
+
+   
+  
+  
+   
+
+ 
+ 
+
+   
+  
+  
+   
+   
+  
+  
+  
+   
+
+ 
+
+   
+  
+  
+   
+
+ 
+ 
+
+   
+  
+  
+   
+
+ 
+ 
+
+   
+  
+  
+   
+
+ 
+
+   
+   
+
+ 
+
+   
+   
+
+ 
+
+   
+   
+
+ 
+
+   
+   
+
+ 
+
+   
+   
+
+ 
+
+   
+   
+
+ 
+
+   
+   
+
+ 
+
+   
+   
+
+ 
+
+   
+   
+
+ 
+
+   
+  
+  
+  
+  
+ 
+ 
+  
+   
+
+   
+   
+   
+  
+ 
+ 
+  
+ 
+ 
+  
+   
+
+
+
+
+   
+   
+  
+ 
+
diff --git a/sw/qa/extras/odfexport/odfexport.cxx 
b/sw/qa/extras/odfexport/odfexport.cxx
index 960878b43c0e..e0e6255b6c6d 100644
--- a/sw/qa/extras/odfexport/odfexport.cxx
+++ b/sw/qa/extras/odfexport/odfexport.cxx
@@ -744,6 +744,73 @@ DECLARE_ODFEXPORT_TEST(testFdo43807, "fdo43807.odt")
 CPPUNIT_ASSERT_EQUAL(OUString("User Defined Drop 
Caps"),getProperty(xSet,"DropCapCharStyleName"));
 }
 
+DECLARE_ODFEXPORT_TEST(testTdf103091, "tdf103091.fodt")
+{
+// check that all conditional paragraph style conditions are imported
+uno::Reference 
xParaStyles(getStyles("ParagraphStyles"));
+uno::Reference xStyle1(xParaStyles->getByName(
+"Conditional"), uno::UNO_QUERY);
+auto conditions(getProperty(xStyle1, 
"ParaStyleConditions"));
+
+CPPUNIT_ASSERT_EQUAL(28, conditions.getLength());
+CPPUNIT_ASSERT_EQUAL(OUString("TableHeader"), conditions[0].Name);
+CPPUNIT_ASSERT_EQUAL(uno::makeAny(OUString("Addressee")), 
conditions[0].Value);
+CPPUNIT_ASSERT_EQUAL(OUString("Table"), conditions[1].Name);
+

[Libreoffice-bugs] [Bug 108469] 'As Character' image disappears after another image is inserted

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108469

--- Comment #5 from Commit Notification 
 ---
Xisco Fauli committed a patch related to this issue.
It has been pushed to "libreoffice-5-4":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=63399341002c8a88ab58add99707fbef24210576=libreoffice-5-4

tdf#104640, tdf#108469: Insert image where the cursor is

It will be available in 5.4.0.1.

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 104640] Images with caption will disappearing ('white box') when changing anchor

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=104640

Commit Notification  changed:

   What|Removed |Added

 Whiteboard|target:6.0.0|target:6.0.0 target:5.4.0.1

-- 
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 108469] 'As Character' image disappears after another image is inserted

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108469

Commit Notification  changed:

   What|Removed |Added

 Whiteboard|target:6.0.0|target:6.0.0 target:5.4.0.1

-- 
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 104640] Images with caption will disappearing ('white box') when changing anchor

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=104640

--- Comment #8 from Commit Notification 
 ---
Xisco Fauli committed a patch related to this issue.
It has been pushed to "libreoffice-5-4":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=63399341002c8a88ab58add99707fbef24210576=libreoffice-5-4

tdf#104640, tdf#108469: Insert image where the cursor is

It will be available in 5.4.0.1.

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-commits] core.git: Branch 'libreoffice-5-4' - sw/source

2017-06-15 Thread Xisco Fauli
 sw/source/core/text/frmform.cxx |8 +++-
 1 file changed, 7 insertions(+), 1 deletion(-)

New commits:
commit 63399341002c8a88ab58add99707fbef24210576
Author: Xisco Fauli 
Date:   Mon Jun 12 18:05:27 2017 +0200

tdf#104640, tdf#108469: Insert image where the cursor is

Partially revert 72a4987434368bfb0b15f5ebb70a52
Besides, add bDelta to the condition so the statement is false
if the image is resized

Change-Id: Ib07d328e040c38c63a30f6230ed9f6b605d76d9f
Reviewed-on: https://gerrit.libreoffice.org/38705
Tested-by: Jenkins 
Reviewed-by: Xisco Faulí 
(cherry picked from commit 3919d87210ea12ed3166c649ac52730026db01a4)
Reviewed-on: https://gerrit.libreoffice.org/38771

diff --git a/sw/source/core/text/frmform.cxx b/sw/source/core/text/frmform.cxx
index 2d1480d1e709..d35ef5bad1b1 100644
--- a/sw/source/core/text/frmform.cxx
+++ b/sw/source/core/text/frmform.cxx
@@ -1081,7 +1081,13 @@ void SwTextFrame::FormatAdjust( SwTextFormatter ,
 
 const SwTwips nDocPrtTop = Frame().Top() + Prt().Top();
 const SwTwips nOldHeight = Prt().SSize().Height();
-const SwTwips nChg = rLine.CalcBottomLine() - nDocPrtTop - nOldHeight;
+SwTwips nChg = rLine.CalcBottomLine() - nDocPrtTop - nOldHeight;
+
+//#i84870# - no shrink of text frame, if it only contains one as-character 
anchored object.
+if ( nChg < 0 && !bDelta && bOnlyContainsAsCharAnchoredObj )
+{
+nChg = 0;
+}
 
 // Vertical Formatting:
 // The (rotated) repaint rectangle's x coordinate referes to the frame.
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 61096] FILESAVE: XHTML export of doc with image broken

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=61096

Julien Nabet  changed:

   What|Removed |Added

 CC||serval2...@yahoo.fr

--- Comment #9 from Julien Nabet  ---
(In reply to Greg Ross from comment #7)
> Two updates to the above code, use correct variable for the href name and
> use ends-with() to ensure not to catches files like "name.jpeg.txt":
> 
> 
>   
>   data:image/jpg;base64, select="office:binary-data"/>
>   
>   
>   data:image/svg;base64, select="office:binary-data"/>
>   
>   
>   data:image/png;base64, select="office:binary-data"/>
>   
> 

I tried to directly replace image/* by image/jpg, image/png, image/bmp and
image/svg directly on resulting file, it still doesn't image.
I converted doc file in odt then unzipped it and found a wmf 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-commits] core.git: Branch 'libreoffice-5-3' - sc/source

2017-06-15 Thread Eike Rathke
 sc/source/core/tool/interpr7.cxx |6 ++
 sc/source/ui/unoobj/funcuno.cxx  |2 ++
 2 files changed, 8 insertions(+)

New commits:
commit b85a1921585d70323c1c10ea6a7d29f1aa00ed25
Author: Eike Rathke 
Date:   Thu Jun 15 13:05:16 2017 +0200

Resolves: tdf#104989 a matrix/array formula cell needs to have dimensions

 This is a combination of 2 commits.

Resolves: tdf#104989 a matrix/array formula cell needs to have dimensions

Most spreadsheet functions don't need it, but some may.

(cherry picked from commit 033d018a3a1d345d61f3c4dc4da693cdd4004dea)

Ensure all cases push an error return, tdf#104989 related (not the cause)

A formula cell in matrix context could have no dimensions.. (which is the 
cause
but elsewhere).

(cherry picked from commit e6abe9c3d06d6776e05bef93b5e6f87b403ea967)

1a04f9808d8f5c802789e3db77052351b24c24c7

Change-Id: I954acaa0a64c4dac8d15acd5b3f404019a7e0bce
Reviewed-on: https://gerrit.libreoffice.org/38832
Reviewed-by: Markus Mohrhard 
Tested-by: Jenkins 

diff --git a/sc/source/core/tool/interpr7.cxx b/sc/source/core/tool/interpr7.cxx
index 69eed575810b..b226717c2935 100644
--- a/sc/source/core/tool/interpr7.cxx
+++ b/sc/source/core/tool/interpr7.cxx
@@ -83,6 +83,11 @@ void ScInterpreter::ScFilterXML()
 
 }
 }
+if (!nMatCols || !nMatRows)
+{
+PushNoValue();
+return;
+}
 
 OUString aXPathExpression = GetString().getString();
 OUString aString = GetString().getString();
@@ -124,6 +129,7 @@ void ScInterpreter::ScFilterXML()
 switch(pXPathObj->type)
 {
 case XPATH_UNDEFINED:
+PushNoValue();
 break;
 case XPATH_NODESET:
 {
diff --git a/sc/source/ui/unoobj/funcuno.cxx b/sc/source/ui/unoobj/funcuno.cxx
index 31f2e1eacb7b..e9dd22b0ba0a 100644
--- a/sc/source/ui/unoobj/funcuno.cxx
+++ b/sc/source/ui/unoobj/funcuno.cxx
@@ -611,6 +611,8 @@ uno::Any SAL_CALL ScFunctionAccess::callFunction( const 
OUString& aName,
 pDoc, aFormulaPos, aTokenArr, formula::FormulaGrammar::GRAM_API,
 (sal_uInt8)(mbArray ? MM_FORMULA : MM_NONE) );
 pFormula = pDoc->SetFormulaCell(aFormulaPos, pFormula);
+if (mbArray && pFormula)
+pFormula->SetMatColsRows(1,1);  // the cell dimensions (only one 
cell)
 
 //  call GetMatrix before GetErrCode because GetMatrix always 
recalculates
 //  if there is no matrix result
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'libreoffice-5-4' - sc/source

2017-06-15 Thread Eike Rathke
 sc/source/core/tool/interpr7.cxx |6 ++
 1 file changed, 6 insertions(+)

New commits:
commit 134c9a76690d17a1a8a3c339ef4ef8cbe0b8841d
Author: Eike Rathke 
Date:   Thu Jun 15 12:06:00 2017 +0200

Ensure all cases push an error return, tdf#104989 related (not the cause)

A formula cell in matrix context could have no dimensions.. (which is the 
cause
but elsewhere).

Change-Id: I1a04f9808d8f5c802789e3db77052351b24c24c7
(cherry picked from commit e6abe9c3d06d6776e05bef93b5e6f87b403ea967)
Reviewed-on: https://gerrit.libreoffice.org/38831
Reviewed-by: Eike Rathke 
Tested-by: Jenkins 

diff --git a/sc/source/core/tool/interpr7.cxx b/sc/source/core/tool/interpr7.cxx
index 8b3e5375545b..0d8af3173ed2 100644
--- a/sc/source/core/tool/interpr7.cxx
+++ b/sc/source/core/tool/interpr7.cxx
@@ -83,6 +83,11 @@ void ScInterpreter::ScFilterXML()
 
 }
 }
+if (!nMatCols || !nMatRows)
+{
+PushNoValue();
+return;
+}
 
 OUString aXPathExpression = GetString().getString();
 OUString aString = GetString().getString();
@@ -124,6 +129,7 @@ void ScInterpreter::ScFilterXML()
 switch(pXPathObj->type)
 {
 case XPATH_UNDEFINED:
+PushNoValue();
 break;
 case XPATH_NODESET:
 {
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'libreoffice-5-4' - download.lst

2017-06-15 Thread David Tardon
 download.lst |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 5d87b80683513a47d4ed2a9de2ff5477da93cf42
Author: David Tardon 
Date:   Thu Jun 15 16:02:48 2017 +0200

upload graphite 1.3.10

Change-Id: Ib70e1c08a11465f5a65be8cd0c892e8f7667b478
Reviewed-on: https://gerrit.libreoffice.org/38837
Tested-by: Jenkins 
Reviewed-by: Michael Stahl 
(cherry picked from commit 619d93c8f660b26e19f41c6908807819ac783958)
Reviewed-on: https://gerrit.libreoffice.org/38844

diff --git a/download.lst b/download.lst
index a9e8d1c7b168..8f95309d7fd6 100644
--- a/download.lst
+++ b/download.lst
@@ -79,8 +79,8 @@ export GLM_SHA256SUM := 
d0312c360efe04dd048b3311fe375ff36f1993b4c2e3cb58c8106299
 export GLM_TARBALL := 
bae83fa5dc7f081768daace6e199adc3-glm-0.9.4.6-libreoffice.zip
 export GPGME_SHA256SUM := 
596097257c2ce22e747741f8ff3d7e24f6e26231fa198a41b2a072e62d1e5d33
 export GPGME_TARBALL := gpgme-1.8.0.tar.bz2
-export GRAPHITE_SHA256SUM := 
4fcbfa52527fd6fd6b54786c82bdbb96ec6b34fa2e799361e5164b6bbb671b76
-export GRAPHITE_TARBALL := 
3069842a88b8f40c6b83ad2850cda293-graphite2-minimal-1.3.9.tgz
+export GRAPHITE_SHA256SUM := 
aa5e58356cd084000609ebbd93fef456a1bc0ab9e46fea20e81552fb286232a9
+export GRAPHITE_TARBALL := graphite2-minimal-1.3.10.tgz
 export HARFBUZZ_SHA256SUM := 
8543a6372f08c5987c632dfaa86210c7edb3f43fbacd96095c609bc3539ce027
 export HARFBUZZ_TARBALL := harfbuzz-1.3.2.tar.bz2
 export HSQLDB_SHA256SUM := 
d30b13f4ba2e3b6a2d4f020c0dee0a9fb9fc6fbcc2d561f36b78da4bf3802370
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'private/mmeeks/formula-iterator' - formula/source include/formula sc/source

2017-06-15 Thread Michael Meeks
 formula/source/core/api/FormulaCompiler.cxx |6 --
 formula/source/core/api/token.cxx   |   24 
 include/formula/tokenarray.hxx  |2 +-
 sc/source/core/tool/compiler.cxx|1 -
 4 files changed, 25 insertions(+), 8 deletions(-)

New commits:
commit 2d042c1ab555d1044a4e7752788d8a96dd46ef00
Author: Michael Meeks 
Date:   Thu Jun 15 21:42:01 2017 +0100

Fails: catch differences in index.

Change-Id: I9bc20b9e877ec26202ba674998f4857fdb38f6df

diff --git a/formula/source/core/api/FormulaCompiler.cxx 
b/formula/source/core/api/FormulaCompiler.cxx
index d3327433b986..f9d0f3c179ed 100644
--- a/formula/source/core/api/FormulaCompiler.cxx
+++ b/formula/source/core/api/FormulaCompiler.cxx
@@ -1269,7 +1269,6 @@ bool FormulaCompiler::GetToken()
  nWasColRowName = 1;
 else
  nWasColRowName = 0;
-maArrIterator.assertSanity(pArr);
 mpToken = maArrIterator.Next();
 while( mpToken && mpToken->GetOpCode() == ocSpaces )
 {
@@ -2654,11 +2653,6 @@ void FormulaCompiler::PushTokenArray( FormulaTokenArray* 
pa, bool bTemp )
 maArrIterator = FormulaTokenArrayPlainIterator(*pArr, false);
 }
 
-void FormulaTokenArrayPlainIterator::assertSanity( FormulaTokenArray *pArr )
-{
-assert (mpFTA == pArr);
-}
-
 } // namespace formula
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/formula/source/core/api/token.cxx 
b/formula/source/core/api/token.cxx
index 2def76b6723e..d8894aaaf8c1 100644
--- a/formula/source/core/api/token.cxx
+++ b/formula/source/core/api/token.cxx
@@ -1723,6 +1723,7 @@ void FormulaTokenIterator::Reset()
 
 FormulaToken* FormulaTokenArrayPlainIterator::GetNextName()
 {
+assertSanity();
 if( mpFTA->pCode )
 {
 while ( *mpIndex < mpFTA->nLen )
@@ -1802,6 +1803,7 @@ bool FormulaTokenIterator::IsEndOfPath() const
 
 FormulaToken* FormulaTokenArrayPlainIterator::GetNextReference()
 {
+assertSanity();
 while( *mpIndex < mpFTA->nLen )
 {
 FormulaToken* t = mpFTA->pCode[ (*mpIndex)++ ];
@@ -1825,6 +1827,7 @@ FormulaToken* 
FormulaTokenArrayPlainIterator::GetNextReference()
 
 FormulaToken* FormulaTokenArrayPlainIterator::GetNextColRowName()
 {
+assertSanity();
 while( *mpIndex < mpFTA->nLen )
 {
 FormulaToken* t = mpFTA->pCode[ (*mpIndex)++ ];
@@ -1840,6 +1843,7 @@ FormulaToken* 
FormulaTokenArrayPlainIterator::GetNextColRowName()
 
 FormulaToken* FormulaTokenArrayPlainIterator::GetNextReferenceRPN()
 {
+assertSanity();
 while( *mpIndex < mpFTA->nRPN )
 {
 FormulaToken* t = mpFTA->pRPN[ (*mpIndex)++ ];
@@ -1863,6 +1867,7 @@ FormulaToken* 
FormulaTokenArrayPlainIterator::GetNextReferenceRPN()
 
 FormulaToken* FormulaTokenArrayPlainIterator::GetNextReferenceOrName()
 {
+assertSanity();
 if( mpFTA->pCode )
 {
 while ( *mpIndex < mpFTA->nLen )
@@ -1891,6 +1896,7 @@ FormulaToken* 
FormulaTokenArrayPlainIterator::GetNextReferenceOrName()
 
 FormulaToken* FormulaTokenArrayPlainIterator::Next()
 {
+assertSanity();
 if( mpFTA->pCode && *mpIndex < mpFTA->nLen )
 {
 FormulaToken *token = mpFTA->pCode[ (*mpIndex)++ ];
@@ -1903,6 +1909,7 @@ FormulaToken* FormulaTokenArrayPlainIterator::Next()
 
 FormulaToken* FormulaTokenArrayPlainIterator::NextNoSpaces()
 {
+assertSanity();
 if( mpFTA->pCode )
 {
 while( (*mpIndex < mpFTA->nLen) && (mpFTA->pCode[ *mpIndex 
]->GetOpCode() == ocSpaces) )
@@ -1920,6 +1927,7 @@ FormulaToken* 
FormulaTokenArrayPlainIterator::NextNoSpaces()
 
 FormulaToken* FormulaTokenArrayPlainIterator::NextRPN()
 {
+assertSanity();
 if( mpFTA->pRPN && *mpIndex < mpFTA->nRPN )
 {
 FormulaToken *token = mpFTA->pRPN[ (*mpIndex)++ ];
@@ -1932,6 +1940,7 @@ FormulaToken* FormulaTokenArrayPlainIterator::NextRPN()
 
 FormulaToken* FormulaTokenArrayPlainIterator::PrevRPN()
 {
+assertSanity();
 if( mpFTA->pRPN && *mpIndex )
 {
 FormulaToken *token = mpFTA->pRPN[ --(*mpIndex) ];
@@ -1944,6 +1953,7 @@ FormulaToken* FormulaTokenArrayPlainIterator::PrevRPN()
 
 FormulaToken* FormulaTokenArrayPlainIterator::PeekNext()
 {
+assertSanity();
 if( mpFTA->pCode && *mpIndex < mpFTA->nLen )
 return mpFTA->pCode[ *mpIndex ];
 else
@@ -1952,6 +1962,7 @@ FormulaToken* FormulaTokenArrayPlainIterator::PeekNext()
 
 FormulaToken* FormulaTokenArrayPlainIterator::PeekNextNoSpaces() const
 {
+assertSanity();
 if( mpFTA->pCode && *mpIndex < mpFTA->nLen )
 {
 sal_uInt16 j = *mpIndex;
@@ -1968,6 +1979,7 @@ FormulaToken* 
FormulaTokenArrayPlainIterator::PeekNextNoSpaces() const
 
 FormulaToken* FormulaTokenArrayPlainIterator::PeekPrevNoSpaces() const
 {
+assertSanity();
 if( mpFTA->pCode && *mpIndex > 1 )
 {
 sal_uInt16 j = *mpIndex - 2;
@@ -1984,6 +1996,7 @@ FormulaToken* 

[Libreoffice-bugs] [Bug 82802] conditional style with no conditions is displayed as un-conditional style after reloading document

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=82802

Michael Stahl  changed:

   What|Removed |Added

Summary|FORMATTING: custom  |conditional style with no
   |conditional style lost on   |conditions is displayed as
   |saving  |un-conditional style after
   ||reloading document

-- 
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 82802] conditional style with no conditions is displayed as un-conditional style after reloading document

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=82802

Michael Stahl  changed:

   What|Removed |Added

Summary|FORMATTING: custom  |conditional style with no
   |conditional style lost on   |conditions is displayed as
   |saving  |un-conditional style after
   ||reloading document

-- 
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: Branch 'private/mmeeks/formula-iterator' - formula/source

2017-06-15 Thread Michael Meeks
 formula/source/core/api/token.cxx |   47 ++
 1 file changed, 43 insertions(+), 4 deletions(-)

New commits:
commit 48368f65941916418d212f6539f6c9da4f330cdb
Author: Michael Meeks 
Date:   Thu Jun 15 21:22:01 2017 +0100

Double account for indexes so we can detect differences.

Change-Id: I9875914318f2aa011da8dde425738254c17accfd

diff --git a/formula/source/core/api/token.cxx 
b/formula/source/core/api/token.cxx
index ac15aac94de5..2def76b6723e 100644
--- a/formula/source/core/api/token.cxx
+++ b/formula/source/core/api/token.cxx
@@ -1729,9 +1729,13 @@ FormulaToken* 
FormulaTokenArrayPlainIterator::GetNextName()
 {
 FormulaToken* t = mpFTA->pCode[ (*mpIndex)++ ];
 if( t->GetType() == svIndex )
+{
+_nIndex = *mpIndex;
 return t;
+}
 }
 } // if( pCode )
+_nIndex = *mpIndex;
 return nullptr;
 }
 
@@ -1807,6 +1811,7 @@ FormulaToken* 
FormulaTokenArrayPlainIterator::GetNextReference()
 case svDoubleRef:
 case svExternalSingleRef:
 case svExternalDoubleRef:
+_nIndex = *mpIndex;
 return t;
 default:
 {
@@ -1814,6 +1819,7 @@ FormulaToken* 
FormulaTokenArrayPlainIterator::GetNextReference()
 }
 }
 }
+_nIndex = *mpIndex;
 return nullptr;
 }
 
@@ -1823,8 +1829,12 @@ FormulaToken* 
FormulaTokenArrayPlainIterator::GetNextColRowName()
 {
 FormulaToken* t = mpFTA->pCode[ (*mpIndex)++ ];
 if ( t->GetOpCode() == ocColRowName )
+{
+_nIndex = *mpIndex;
 return t;
+}
 }
+_nIndex = *mpIndex;
 return nullptr;
 }
 
@@ -1839,6 +1849,7 @@ FormulaToken* 
FormulaTokenArrayPlainIterator::GetNextReferenceRPN()
 case svDoubleRef:
 case svExternalSingleRef:
 case svExternalDoubleRef:
+_nIndex = *mpIndex;
 return t;
 default:
 {
@@ -1846,6 +1857,7 @@ FormulaToken* 
FormulaTokenArrayPlainIterator::GetNextReferenceRPN()
 }
 }
 }
+_nIndex = *mpIndex;
 return nullptr;
 }
 
@@ -1864,6 +1876,7 @@ FormulaToken* 
FormulaTokenArrayPlainIterator::GetNextReferenceOrName()
 case svExternalSingleRef:
 case svExternalDoubleRef:
 case svExternalName:
+_nIndex = *mpIndex;
 return t;
 default:
 {
@@ -1872,13 +1885,18 @@ FormulaToken* 
FormulaTokenArrayPlainIterator::GetNextReferenceOrName()
  }
  }
  }
+_nIndex = *mpIndex;
 return nullptr;
 }
 
 FormulaToken* FormulaTokenArrayPlainIterator::Next()
 {
 if( mpFTA->pCode && *mpIndex < mpFTA->nLen )
-return mpFTA->pCode[ (*mpIndex)++ ];
+{
+FormulaToken *token = mpFTA->pCode[ (*mpIndex)++ ];
+_nIndex = *mpIndex;
+return token;
+}
 else
 return nullptr;
 }
@@ -1890,15 +1908,24 @@ FormulaToken* 
FormulaTokenArrayPlainIterator::NextNoSpaces()
 while( (*mpIndex < mpFTA->nLen) && (mpFTA->pCode[ *mpIndex 
]->GetOpCode() == ocSpaces) )
 ++(*mpIndex);
 if( *mpIndex < mpFTA->nLen )
-return mpFTA->pCode[ (*mpIndex)++ ];
+{
+FormulaToken *token = mpFTA->pCode[ (*mpIndex)++ ];
+_nIndex = *mpIndex;
+return token;
+}
 }
+_nIndex = *mpIndex;
 return nullptr;
 }
 
 FormulaToken* FormulaTokenArrayPlainIterator::NextRPN()
 {
 if( mpFTA->pRPN && *mpIndex < mpFTA->nRPN )
-return mpFTA->pRPN[ (*mpIndex)++ ];
+{
+FormulaToken *token = mpFTA->pRPN[ (*mpIndex)++ ];
+_nIndex = *mpIndex;
+return token;
+}
 else
 return nullptr;
 }
@@ -1906,7 +1933,11 @@ FormulaToken* FormulaTokenArrayPlainIterator::NextRPN()
 FormulaToken* FormulaTokenArrayPlainIterator::PrevRPN()
 {
 if( mpFTA->pRPN && *mpIndex )
-return mpFTA->pRPN[ --(*mpIndex) ];
+{
+FormulaToken *token = mpFTA->pRPN[ --(*mpIndex) ];
+_nIndex = *mpIndex;
+return token;
+}
 else
 return nullptr;
 }
@@ -1962,6 +1993,7 @@ void FormulaTokenArrayPlainIterator::AfterRemoveToken( 
sal_uInt16 nOffset, sal_u
 else
 *mpIndex -= nStop - nOffset;
 }
+_nIndex = *mpIndex;
 }
 
 // real implementations of virtual functions
@@ -2095,6 +2127,7 @@ 
FormulaTokenArrayPlainIterator::FormulaTokenArrayPlainIterator( const FormulaTok
 _nIndex( 0 ),
 mpIndex( bInternal ? &_nIndex : const_cast( >nIndex ) 
)
 {
+_nIndex = *mpIndex;
 }
 
 // were in-lined.
@@ -2102,6 +2135,7 @@ 
FormulaTokenArrayPlainIterator::FormulaTokenArrayPlainIterator( const FormulaTok
 void FormulaTokenArrayPlainIterator::Reset()
 {
 *mpIndex = 0;
+_nIndex = 

[Libreoffice-bugs] [Bug 37878] Fields with conditional formatting not exported correctly to HTML

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=37878

Julien Nabet  changed:

   What|Removed |Added

 CC||serval2...@yahoo.fr
Version|5.0.4.2 release |3.4.1 release

--- Comment #23 from Julien Nabet  ---
Put back former version since this field must contains the earliest version
which has this bug.

-- 
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 'private/mmeeks/formula-iterator' - formula/source include/formula

2017-06-15 Thread Michael Meeks
 formula/source/core/api/token.cxx |   42 
 include/formula/tokenarray.hxx|   44 ++
 2 files changed, 49 insertions(+), 37 deletions(-)

New commits:
commit ce205a42673096db0c63559f45898f8ab2fdcce3
Author: Michael Meeks 
Date:   Thu Jun 15 21:10:28 2017 +0100

Working re-factor.

Change-Id: I357c8699affce78c6ba1f4779c7b655302eec4e7

diff --git a/formula/source/core/api/token.cxx 
b/formula/source/core/api/token.cxx
index 3a60403e6a9b..ac15aac94de5 100644
--- a/formula/source/core/api/token.cxx
+++ b/formula/source/core/api/token.cxx
@@ -2097,6 +2097,48 @@ 
FormulaTokenArrayPlainIterator::FormulaTokenArrayPlainIterator( const FormulaTok
 {
 }
 
+// were in-lined.
+
+void FormulaTokenArrayPlainIterator::Reset()
+{
+*mpIndex = 0;
+}
+
+sal_uInt16 FormulaTokenArrayPlainIterator::GetIndex() const
+{
+return *mpIndex;
+}
+
+FormulaToken* FormulaTokenArrayPlainIterator::First()
+{
+*mpIndex = 0;
+return Next();
+}
+
+void FormulaTokenArrayPlainIterator::Jump(sal_uInt16 nIndex)
+{
+*mpIndex = nIndex;
+}
+
+void FormulaTokenArrayPlainIterator::BackOne()
+{
+if (*mpIndex > 0)
+(*mpIndex)--;
+}
+
+FormulaToken* FormulaTokenArrayPlainIterator::FirstRPN()
+{
+*mpIndex = 0;
+return NextRPN();
+}
+
+FormulaToken* FormulaTokenArrayPlainIterator::LastRPN()
+{
+*mpIndex = mpFTA->nRPN;
+return PrevRPN();
+}
+
+
 } // formula
 
 
diff --git a/include/formula/tokenarray.hxx b/include/formula/tokenarray.hxx
index a12107091177..54c09718b284 100644
--- a/include/formula/tokenarray.hxx
+++ b/include/formula/tokenarray.hxx
@@ -423,32 +423,11 @@ public:
 
 void assertSanity( FormulaTokenArray *pArr );
 
-void Reset()
-{
-*mpIndex = 0;
-}
-
-sal_uInt16 GetIndex() const
-{
-return *mpIndex;
-}
-
-FormulaToken* First()
-{
-*mpIndex = 0;
-return Next();
-}
-
-void Jump(sal_uInt16 nIndex)
-{
-*mpIndex = nIndex;
-}
-
-void BackOne()
-{
-if (*mpIndex > 0)
-(*mpIndex)--;
-}
+void Reset();
+sal_uInt16 GetIndex() const;
+FormulaToken* First();
+void Jump(sal_uInt16 nIndex);
+void BackOne();
 
 FormulaToken* Next();
 FormulaToken* NextNoSpaces();
@@ -461,19 +440,10 @@ public:
 FormulaToken* PeekPrevNoSpaces() const;/// Only after 
Reset/First/Next/Last/Prev!
 FormulaToken* PeekNextNoSpaces() const;/// Only after 
Reset/First/Next/Last/Prev!
 
-FormulaToken* FirstRPN()
-{
-*mpIndex = 0;
-return NextRPN();
-}
-
+FormulaToken* FirstRPN();
 FormulaToken* NextRPN();
 
-FormulaToken* LastRPN()
-{
-*mpIndex = mpFTA->nRPN;
-return PrevRPN();
-}
+FormulaToken* LastRPN();
 
 FormulaToken* PrevRPN();
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-ux-advise] [Bug 82802] FORMATTING: custom conditional style lost on saving

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=82802

Michael Stahl  changed:

   What|Removed |Added

 CC||libreoffice-ux-advise@lists
   ||.freedesktop.org

--- Comment #13 from Michael Stahl  ---
there is no practical difference between a style that isn't conditional,
and a conditional style with no conditions.

as far as i can see there is no way to differentiate those
2 possibilities in an ODF document either; both cases
don't have any style:map element below style:style.

basically if anything this is an UI problem, we could just remove
this checkbox from the dialog without any loss of functionality.

-- 
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-bugs] [Bug 82802] FORMATTING: custom conditional style lost on saving

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=82802

Michael Stahl  changed:

   What|Removed |Added

 CC||libreoffice-ux-advise@lists
   ||.freedesktop.org

--- Comment #13 from Michael Stahl  ---
there is no practical difference between a style that isn't conditional,
and a conditional style with no conditions.

as far as i can see there is no way to differentiate those
2 possibilities in an ODF document either; both cases
don't have any style:map element below style:style.

basically if anything this is an UI problem, we could just remove
this checkbox from the dialog without any loss of functionality.

-- 
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 75788] certain inserted JPEG images appear black

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=75788

Caolán McNamara  changed:

   What|Removed |Added

 CC||caol...@redhat.com

--- Comment #13 from Caolán McNamara  ---
If I remove the configure flag --with-jpeg8 from our embedded libjpeg then this
image works, with it in place again it doesn't work. Which is a little odd so
there's something about jpeg8 support in libjpeg-turbo/libjpeg8 which causes
this.

-- 
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 108552] Impress crash or freezes the desktop when use zoom

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108552

Julien Nabet  changed:

   What|Removed |Added

Summary|Impress crash or frezzes|Impress crash or freezes
   |the desktop  when use zoom  |the desktop  when use zoom

-- 
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' - download.lst

2017-06-15 Thread David Tardon
 download.lst |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit ac80b0687b4a9ed345be68e446dbf11258ef0b28
Author: David Tardon 
Date:   Thu Jun 15 16:02:48 2017 +0200

upload graphite 1.3.10

Change-Id: Ib70e1c08a11465f5a65be8cd0c892e8f7667b478
Reviewed-on: https://gerrit.libreoffice.org/38837
Tested-by: Jenkins 
Reviewed-by: Michael Stahl 
(cherry picked from commit 619d93c8f660b26e19f41c6908807819ac783958)
Reviewed-on: https://gerrit.libreoffice.org/38845

diff --git a/download.lst b/download.lst
index abb0fdb60778..387355ce8a5e 100644
--- a/download.lst
+++ b/download.lst
@@ -56,7 +56,8 @@ export FREEHAND_TARBALL := libfreehand-0.1.1.tar.bz2
 export FREETYPE_TARBALL := 
dbf2caca1d3afd410a29217a9809d397-freetype-2.4.8.tar.bz2
 export GLEW_TARBALL := 3941e9cab2f4f9d8faee3e8d57ae7664-glew-1.12.0.zip
 export GLM_TARBALL := 
bae83fa5dc7f081768daace6e199adc3-glm-0.9.4.6-libreoffice.zip
-export GRAPHITE_TARBALL := 
3069842a88b8f40c6b83ad2850cda293-graphite2-minimal-1.3.9.tgz
+export GRAPHITE_MD5SUM := 9c499b8ec9f1b81fd0bb6a3b986f4b0f
+export GRAPHITE_TARBALL := graphite2-minimal-1.3.10.tgz
 export HARFBUZZ_MD5SUM := 5986e1bfcd983d1f6caa53ef64c4abc5
 export HARFBUZZ_TARBALL := harfbuzz-1.3.2.tar.bz2
 export HSQLDB_TARBALL := 17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 108223] "exporting to pdf" a writer document with an embedded draw 8 graphic fails to include or show the graphic in the pdf if the width of the draw 8 object matches or extend

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108223

--- Comment #2 from neswal.pe...@1visual.com ---
Created attachment 134049
  --> https://bugs.documentfoundation.org/attachment.cgi?id=134049=edit
writer document with embedded draw8 object

The attached document creates a pdf file without content or without visible
content when exported by "File->Export as PDF".

Page format A4, top and bottom page margins: 1,25 cm, left and right margins:
2,54 cm, darw8 object width: 15,90 cm.

Interesting note: this happens obviously only with certain page margins.
Creating this document with the same page format A4 but with page margins 2 cm,
2 cm, 2 cm, 2 cm and the draw object width 17 cm and larger - the error didn't
show up and the pdf export was ok.

-- 
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 33166] remember file open dialog sizing

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=33166

Todd  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---

--- Comment #5 from Todd  ---
(In reply to V Stuart Foote from comment #4)
> Please, file a new issue with complete details and steps to reproduce.
> 
> This back to Resolved FIXED.


Currently, it remembers the size and position of the last document you closed. 
It does not remember what the size and position was of the document you are
reopening.

-- 
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 108491] XHTML export puts inline formulae on separate lines

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108491

--- Comment #3 from Shmuel (Seymour J.) Metz  ---
I used export to HTML because I assumed that it would render faster than the
PDF that http://mason.gmu.edu/~smetz3 currently uses. Are you suggesting File
instead of Export?

-- 
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 104154] Add list view to template manager

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=104154

--- Comment #19 from Heiko Tietze  ---
(In reply to Yousuf Philips (jay) from comment #18)
> Modified datetime yes. Creation datetime no, as it isnt supported by all
> platforms.

We could take it from the document properties. There are plenty of fields that
might be interesting.

> path would likely be a huge column

Not the relative path like /School/Homework/*,
/School/Reports/* ( hidden).

> not sure what favorite flag is or how it would be implemented, but ideally
> it would also be there in thumbnail view as well.

Just an icon (star usually) to click on, making an object (the template here) a
favorite, or not.

-- 
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-bugs] [Bug 104154] Add list view to template manager

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=104154

--- Comment #19 from Heiko Tietze  ---
(In reply to Yousuf Philips (jay) from comment #18)
> Modified datetime yes. Creation datetime no, as it isnt supported by all
> platforms.

We could take it from the document properties. There are plenty of fields that
might be interesting.

> path would likely be a huge column

Not the relative path like /School/Homework/*,
/School/Reports/* ( hidden).

> not sure what favorite flag is or how it would be implemented, but ideally
> it would also be there in thumbnail view as well.

Just an icon (star usually) to click on, making an object (the template here) a
favorite, or not.

-- 
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: vcl/source vcl/unx

2017-06-15 Thread Caolán McNamara
 vcl/source/app/svmain.cxx |   18 +-
 vcl/unx/gtk/gtkinst.cxx   |6 --
 2 files changed, 17 insertions(+), 7 deletions(-)

New commits:
commit 9eb919628fce98b5e7a8b3262d76a8b0e8cc01c4
Author: Caolán McNamara 
Date:   Tue May 30 12:27:08 2017 +0100

make LANGUAGE setting universal, not just gtk specific

Change-Id: I845e808be27e2fad959a73d0d34a204b4bdcdd1f
Reviewed-on: https://gerrit.libreoffice.org/38211
Tested-by: Jenkins 
Reviewed-by: Caolán McNamara 
Tested-by: Caolán McNamara 

diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx
index 2a89d80f60f3..672618bd5712 100644
--- a/vcl/source/app/svmain.cxx
+++ b/vcl/source/app/svmain.cxx
@@ -313,10 +313,26 @@ bool InitVCL()
 new DesktopEnvironmentContext( css::uno::getCurrentContext() ) );
 
 // Initialize application instance (should be done after initialization of 
VCL SAL part)
-if( pSVData->mpApp )
+if (pSVData->mpApp)
+{
 // call init to initialize application class
 // soffice/sfx implementation creates the global service manager
 pSVData->mpApp->Init();
+}
+
+if (pSVData->maAppData.mpSettings)
+{
+//Now that uno has been bootstrapped we can ask the config what the UI 
language is so that we can
+//force that in as $LANGUAGE. That way we can get gtk to render 
widgets RTL
+//if we have a RTL UI in an otherwise LTR locale and get gettext using 
externals (e.g. python)
+//to match their translations to our preferred UI language
+OUString 
aLocaleString(pSVData->maAppData.mpSettings->GetUILanguageTag().getGlibcLocaleString(".UTF-8"));
+if (!aLocaleString.isEmpty())
+{
+OUString envVar("LANGUAGE");
+osl_setEnvironment(envVar.pData, aLocaleString.pData);
+}
+}
 
 pSVData->mpDefInst->AfterAppInit();
 
diff --git a/vcl/unx/gtk/gtkinst.cxx b/vcl/unx/gtk/gtkinst.cxx
index e01a267b6131..a22ea9c93f87 100644
--- a/vcl/unx/gtk/gtkinst.cxx
+++ b/vcl/unx/gtk/gtkinst.cxx
@@ -167,12 +167,6 @@ GtkInstance::GtkInstance( SalYieldMutex* pMutex )
 //UI in a LTR locale
 void GtkInstance::AfterAppInit()
 {
-OUString 
aLocaleString(Application::GetSettings().GetUILanguageTag().getGlibcLocaleString(".UTF-8"));
-if (!aLocaleString.isEmpty())
-{
-OUString envVar("LANGUAGE");
-osl_setEnvironment(envVar.pData, aLocaleString.pData);
-}
 EnsureInit();
 }
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 108552] Impress crash or frezzes the desktop when use zoom

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108552

Xisco Faulí  changed:

   What|Removed |Added

   Keywords||wantBacktrace
 CC||todven...@suomi24.fi
Version|4.4.0.3 release |4.3 all versions

--- Comment #9 from Xisco Faulí  ---
It seems the images in the background started to be displayed in commit
be7d87bea2611eb316b9b379aebc031179d4f794.
However, I'm not sure that commit is causing the freeze/crash... A callgrind
log might help 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


[Libreoffice-commits] core.git: Branch 'libreoffice-5-4' - sc/source

2017-06-15 Thread Eike Rathke
 sc/source/ui/unoobj/funcuno.cxx |2 ++
 1 file changed, 2 insertions(+)

New commits:
commit df5b20f737d4f56f86a6d19f509e13294c313d89
Author: Eike Rathke 
Date:   Thu Jun 15 13:05:16 2017 +0200

Resolves: tdf#104989 a matrix/array formula cell needs to have dimensions

Most spreadsheet functions don't need it, but some may.

Change-Id: I954acaa0a64c4dac8d15acd5b3f404019a7e0bce
(cherry picked from commit 033d018a3a1d345d61f3c4dc4da693cdd4004dea)
Reviewed-on: https://gerrit.libreoffice.org/38830
Reviewed-by: Eike Rathke 
Tested-by: Jenkins 

diff --git a/sc/source/ui/unoobj/funcuno.cxx b/sc/source/ui/unoobj/funcuno.cxx
index 81e13bde7bd8..c3b66b9d447f 100644
--- a/sc/source/ui/unoobj/funcuno.cxx
+++ b/sc/source/ui/unoobj/funcuno.cxx
@@ -592,6 +592,8 @@ uno::Any SAL_CALL ScFunctionAccess::callFunction( const 
OUString& aName,
 pDoc, aFormulaPos, aTokenArr, formula::FormulaGrammar::GRAM_API,
 mbArray ? ScMatrixMode::Formula : ScMatrixMode::NONE );
 pFormula = pDoc->SetFormulaCell(aFormulaPos, pFormula);
+if (mbArray && pFormula)
+pFormula->SetMatColsRows(1,1);  // the cell dimensions (only one 
cell)
 
 //  call GetMatrix before GetErrCode because GetMatrix always 
recalculates
 //  if there is no matrix result
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 108552] Impress crash or frezzes the desktop when use zoom

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108552

--- Comment #8 from Xisco Faulí  ---
it also crashes if zooming in the first page. it doesn't crash if the image in
the background is deleted

-- 
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: download.lst

2017-06-15 Thread David Tardon
 download.lst |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 619d93c8f660b26e19f41c6908807819ac783958
Author: David Tardon 
Date:   Thu Jun 15 16:02:48 2017 +0200

upload graphite 1.3.10

Change-Id: Ib70e1c08a11465f5a65be8cd0c892e8f7667b478
Reviewed-on: https://gerrit.libreoffice.org/38837
Tested-by: Jenkins 
Reviewed-by: Michael Stahl 

diff --git a/download.lst b/download.lst
index 454d1662835f..b26b825299c6 100644
--- a/download.lst
+++ b/download.lst
@@ -79,8 +79,8 @@ export GLM_SHA256SUM := 
d0312c360efe04dd048b3311fe375ff36f1993b4c2e3cb58c8106299
 export GLM_TARBALL := 
bae83fa5dc7f081768daace6e199adc3-glm-0.9.4.6-libreoffice.zip
 export GPGME_SHA256SUM := 
596097257c2ce22e747741f8ff3d7e24f6e26231fa198a41b2a072e62d1e5d33
 export GPGME_TARBALL := gpgme-1.8.0.tar.bz2
-export GRAPHITE_SHA256SUM := 
4fcbfa52527fd6fd6b54786c82bdbb96ec6b34fa2e799361e5164b6bbb671b76
-export GRAPHITE_TARBALL := 
3069842a88b8f40c6b83ad2850cda293-graphite2-minimal-1.3.9.tgz
+export GRAPHITE_SHA256SUM := 
aa5e58356cd084000609ebbd93fef456a1bc0ab9e46fea20e81552fb286232a9
+export GRAPHITE_TARBALL := graphite2-minimal-1.3.10.tgz
 export HARFBUZZ_SHA256SUM := 
8543a6372f08c5987c632dfaa86210c7edb3f43fbacd96095c609bc3539ce027
 export HARFBUZZ_TARBALL := harfbuzz-1.3.2.tar.bz2
 export HSQLDB_SHA256SUM := 
d30b13f4ba2e3b6a2d4f020c0dee0a9fb9fc6fbcc2d561f36b78da4bf3802370
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 108552] Impress crash or frezzes the desktop when use zoom

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108552

Xisco Faulí  changed:

   What|Removed |Added

Version|5.3.3.2 release |4.4.0.3 release

--- Comment #7 from Xisco Faulí  ---
I can also reproduce it in

Versión: 4.4.0.3
Id. de compilación: de093506bcdc5fafd9023ee680b8c60e3e0645d7
Configuración regional: es_ES

-- 
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: Changes to 'private/mmeeks/formula-iterator'

2017-06-15 Thread Michael Meeks
New branch 'private/mmeeks/formula-iterator' available with the following 
commits:
commit 57175968d152c94942f24fe82a4a1504631bbe41
Author: Michael Meeks 
Date:   Thu Jun 15 19:15:58 2017 +0100

Overcome 'Reset' problems ...

Change-Id: I69f4e9f151f55879255903ee4d6d4b1fb075f836

commit e86780a78c7ef095bccff284a2b3dc490844babc
Author: Michael Meeks 
Date:   Thu Jun 15 18:52:25 2017 +0100

Works - and kills lots of junk.

Change-Id: Ibc27bd7bc6523646564b2b592b91d6dfdcf30651

commit 4a6b3089cc8b794d7243d71ed0d658f5016c3cf7
Author: Michael Meeks 
Date:   Thu Jun 15 18:16:28 2017 +0100

The stack works too ...

Change-Id: I403445cc9a5c9c1a75c1c9f328f0376b10e7dce6

commit ab2b9de0a90c8be73a3e71e13a26b686a801eb56
Author: Michael Meeks 
Date:   Thu Jun 15 18:08:59 2017 +0100

Works - more work.

Change-Id: Ie7399287b11dc56257f2d65047b6a72f6b84b5ed

commit faff99f0699ccf7953371b76b9cf3df4dbc43da0
Author: Michael Meeks 
Date:   Thu Jun 15 17:48:01 2017 +0100

Works: use more of the API.

Change-Id: I660bac0d44d0e3bf69f19bdca8fe1504932f

commit 6077cd314e3269bc869e1867a3878aef30f1a8b3
Author: Michael Meeks 
Date:   Thu Jun 15 14:48:41 2017 +0100

Works: swap 1st call-site.

Change-Id: I3118d7c4beb7fd2eb7e27d6df3202465a1712e89

commit c32a7989cce3dc364c1812d3848371c03c32bbaf
Author: Michael Meeks 
Date:   Thu Jun 15 14:18:21 2017 +0100

Works: allow using a shared index and use it for FormulaCompiler.

Change-Id: If3e6ee87c554b31e3d5990376d6c0d4d04d093e9

commit 268a671a24e93cd1f0489362206027ff2e8ce1a5
Author: Michael Meeks 
Date:   Thu Jun 15 12:49:56 2017 +0100

Fails ucalc test.

Change-Id: Id5b00f609e59ca53659d3ade3924bd41019478df

commit 2740e4c4f4d099952483ae764b81a819e43bd52a
Author: Michael Meeks 
Date:   Thu Jun 15 12:40:00 2017 +0100

Works.

Change-Id: I517fe523f7b682fb0fb03457556459e534953b76

___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 108552] Impress crash or frezzes the desktop when use zoom

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108552

Xisco Faulí  changed:

   What|Removed |Added

   Priority|medium  |highest
 Status|UNCONFIRMED |NEW
Crash report or|dxcanvas::BitmapCanvasHelpe |["dxcanvas::BitmapCanvasHel
crash signature|r::clear()" |per::clear()"]
 Ever confirmed|0   |1
   Severity|normal  |critical

--- Comment #6 from Xisco Faulí  ---
Reproduced in

Versión: 5.3.3.2
Id. de compilación: 3d9a8b4b4e538a85e0782bd6c2d430bafe583448
Subproc. CPU: 1; SO: Windows 6.1; Repr. de IU: predet.; Motor de trazado:
HarfBuzz; 
Configuración regional: es-ES (es_ES); Calc: group

and

Version: 5.5.0.0.alpha0+
Build ID: 36b1e6270bf2fbb333e2a69c4bb5931eba418289
CPU threads: 1; OS: Windows 6.1; UI render: default; 
TinderBox: Win-x86@62-TDF, Branch:MASTER, Time: 2017-05-29_14:06:19
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-bugs] [Bug 108552] Impress crash or frezzes the desktop when use zoom

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108552

Xisco Faulí  changed:

   What|Removed |Added

   Hardware|x86-64 (AMD64)  |All
Crash report or||dxcanvas::BitmapCanvasHelpe
crash signature||r::clear()"
 OS|Linux (All) |All

--- Comment #5 from Xisco Faulí  ---
Reproduced in

and

-- 
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 107764] Menu bar (File, Edit, View, ...) missing on all LibreOffice Product Family with OpenGL on Intel(R) HD Graphics in Windows

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=107764

--- Comment #34 from PJC123  ---
I was looking through the duplicate bug reports and tried the temporary fix
that someone posted and it indeed works.  Here are the exact steps:

1) Open LibreOffice.
2) Press Alt+F12.
3) Go to LibreOffice > View.
4) NOTE: The mouse will not work for this.  TAB to "Use OpenGL for all
rendering" and unselect it by using the spacebar.
5) Click OK and then exit LibreOffice.
6) Reboot the computer.

-- 
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 103355] Notebookbar doesnt disappear during slide show / presentation mode

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=103355

Xisco Faulí  changed:

   What|Removed |Added

 CC||xiscofa...@libreoffice.org

--- Comment #16 from Xisco Faulí  ---
Should it be backported to 5.3 ?

-- 
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 103355] Notebookbar doesnt disappear during slide show / presentation mode

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=103355

Xisco Faulí  changed:

   What|Removed |Added

 CC||br...@bceassociates.com

--- Comment #15 from Xisco Faulí  ---
*** Bug 108554 has been marked as a duplicate of this bug. ***

-- 
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 108554] Notebook bar displayed in presentation mode

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108554

Xisco Faulí  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||xiscofa...@libreoffice.org
 Resolution|--- |DUPLICATE

--- Comment #1 from Xisco Faulí  ---


*** This bug has been marked as a duplicate of bug 103355 ***

-- 
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: uitest/writer_tests

2017-06-15 Thread Xisco Fauli
 uitest/writer_tests/pageDialog.py |   35 +++
 1 file changed, 31 insertions(+), 4 deletions(-)

New commits:
commit 134effd2494132495d0adb5453b8ddd9f803704e
Author: Xisco Fauli 
Date:   Thu Jun 15 17:32:58 2017 +0200

uitest: test page orientation

Change-Id: I265730664cf7dfb1d4a105023ae1e3b4c1fca4f5
Reviewed-on: https://gerrit.libreoffice.org/38838
Reviewed-by: Xisco Faulí 
Tested-by: Jenkins 

diff --git a/uitest/writer_tests/pageDialog.py 
b/uitest/writer_tests/pageDialog.py
index 88145e7a1b23..0845778d54a7 100644
--- a/uitest/writer_tests/pageDialog.py
+++ b/uitest/writer_tests/pageDialog.py
@@ -5,7 +5,7 @@
 #
 
 from uitest.framework import UITestCase
-from uitest.uihelper.common import select_pos
+from uitest.uihelper.common import select_pos, get_state_as_dict
 from com.sun.star.uno import RuntimeException
 from com.sun.star.awt.GradientStyle import LINEAR
 from com.sun.star.drawing.HatchStyle import SINGLE
@@ -14,8 +14,6 @@ from com.sun.star.drawing.RectanglePoint import MIDDLE_MIDDLE
 
 from libreoffice.uno.propertyvalue import mkPropertyValues
 
-from uitest.uihelper.common import get_state_as_dict
-
 class WriterPageDialog(UITestCase):
 
 def launch_dialog_and_select_tab(self, tab):
@@ -149,7 +147,7 @@ class WriterPageDialog(UITestCase):
 
 self.ui_test.close_doc()
 
-def test_page_tab(self):
+def test_paper_format(self):
 
 lPaperFormat = ["A6", "A5", "A4", "A3", "B6 (ISO)", "B5 (ISO)", "B4 
(ISO)", "Letter",
 "Legal", "Long Bond", "Tabloid", "B6 (JIS)", "B5 (JIS)", "B4 
(JIS)", "16 Kai",
@@ -173,4 +171,33 @@ class WriterPageDialog(UITestCase):
 
 self.ui_test.close_doc()
 
+def test_orientation(self):
+
+self.ui_test.create_doc_in_start_center("writer")
+
+document = self.ui_test.get_component()
+
+self.assertEqual(
+document.StyleFamilies.PageStyles.Standard.IsLandscape, False)
+
+xDialog = self.launch_dialog_and_select_tab(1)
+
+self.click_button(xDialog, 'radiobuttonLandscape')
+
+self.click_button(xDialog, 'ok')
+
+self.assertEqual(
+document.StyleFamilies.PageStyles.Standard.IsLandscape, True)
+
+xDialog = self.launch_dialog_and_select_tab(1)
+
+self.click_button(xDialog, 'radiobuttonPortrait')
+
+self.click_button(xDialog, 'ok')
+
+self.assertEqual(
+document.StyleFamilies.PageStyles.Standard.IsLandscape, False)
+
+self.ui_test.close_doc()
+
 # vim: set shiftwidth=4 softtabstop=4 expandtab:
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: uitest/writer_tests

2017-06-15 Thread Xisco Fauli
 uitest/writer_tests/pageDialog.py |   26 ++
 1 file changed, 26 insertions(+)

New commits:
commit 0254e70f99e6d0e96ef3e6cd7da173bcad7c933d
Author: Xisco Fauli 
Date:   Thu Jun 15 17:53:37 2017 +0200

uitest: Test text direction

Change-Id: I66943e432eadedaf4a1bc362861ea8be67b076c3
Reviewed-on: https://gerrit.libreoffice.org/38839
Tested-by: Jenkins 
Reviewed-by: Xisco Faulí 

diff --git a/uitest/writer_tests/pageDialog.py 
b/uitest/writer_tests/pageDialog.py
index 0845778d54a7..84284f61dd45 100644
--- a/uitest/writer_tests/pageDialog.py
+++ b/uitest/writer_tests/pageDialog.py
@@ -200,4 +200,30 @@ class WriterPageDialog(UITestCase):
 
 self.ui_test.close_doc()
 
+def test_text_direction(self):
+
+lTextDirection = ['Left-to-right (horizontal)', 'Right-to-left 
(horizontal)',
+'Right-to-left (vertical)', 'Left-to-right (vertical)']
+
+self.ui_test.create_doc_in_start_center("writer")
+
+document = self.ui_test.get_component()
+
+for i in range(4):
+with self.subTest(i=i):
+xDialog = self.launch_dialog_and_select_tab(1)
+
+xTextDirectionList = xDialog.getChild("comboTextFlowBox")
+select_pos(xTextDirectionList, str(i))
+
+self.assertEqual(
+get_state_as_dict(xTextDirectionList)["SelectEntryText"], 
lTextDirection[i])
+
+self.click_button(xDialog, 'ok')
+
+self.assertEqual(
+document.StyleFamilies.PageStyles.Standard.WritingMode, i)
+
+self.ui_test.close_doc()
+
 # vim: set shiftwidth=4 softtabstop=4 expandtab:
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 93556] Turning on Bullets Incorrectly Changes Tab Stops

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93556

--- Comment #5 from Timur  ---
Still so in 6.0+. Not clear why.

-- 
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 106617] Writer memory leak

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=106617

--- Comment #8 from d...@gotadsl.co.uk  ---
Patrick,
Yes, that sounds about right. And it's definitely a case of the LO being used,
rather than the file simply being opened that takes the memory. Eg. I've just
opened an 'offending file' and LO is using 175Mb, up from 54Mb when no file
opened. However, if I start editing, will quickly rise to 1Gb and a 2nd file of
similar size would go over 1.5Gb.

I have also noticed that Writer takes considerable time just to react after
moving to it from another application. Presumably it is having to grab RAM from
other applications?

-- 
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 58604] Line breaks don't stick to hanging punctuation

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=58604

Timur  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #14 from Timur  ---
This is your bug. If you say it's fixed, just mark as such. I did it now.

-- 
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 83066] [META] Tracking bug for CJK issues

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=83066
Bug 83066 depends on bug 58604, which changed state.

Bug 58604 Summary: Line breaks don't stick to hanging punctuation
https://bugs.documentfoundation.org/show_bug.cgi?id=58604

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

-- 
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 104154] Add list view to template manager

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=104154

--- Comment #18 from Yousuf Philips (jay)  ---
(In reply to Heiko Tietze from comment #17)
> creation and last modification datetime

Modified datetime yes. Creation datetime no, as it isnt supported by all
platforms.

> user

yes

> size

yes

> maybe the location and perhaps a favorite flag (would be a new feature).

path would likely be a huge column, so if added should be the last column. not
sure what favorite flag is or how it would be implemented, but ideally it would
also be there in thumbnail view as well.

-- 
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-bugs] [Bug 104154] Add list view to template manager

2017-06-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=104154

--- Comment #18 from Yousuf Philips (jay)  ---
(In reply to Heiko Tietze from comment #17)
> creation and last modification datetime

Modified datetime yes. Creation datetime no, as it isnt supported by all
platforms.

> user

yes

> size

yes

> maybe the location and perhaps a favorite flag (would be a new feature).

path would likely be a huge column, so if added should be the last column. not
sure what favorite flag is or how it would be implemented, but ideally it would
also be there in thumbnail view as well.

-- 
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


  1   2   3   >