- 08 Haz, 2018 40 kayıt (commit)
-
-
Michael Stahl yazdı
Change-Id: I3b128fe797e8fd6989821cfd540dc5e630e74d37
-
Michael Stahl yazdı
Such a lovely class! Change-Id: Id03795b1c62c35829cab093198daf082ca78d174
-
Michael Stahl yazdı
... the MergedPara here. Change-Id: I1a76c9d4a13277987218426a787b5b1b421d36ea
-
Michael Stahl yazdı
Change-Id: I7bdf58d1f2233ab77a1b774a99aa068fe9438ae8
-
Michael Stahl yazdı
Change-Id: Ied6e80e30ced49b11952c44c36e86e8575e42c0f
-
Michael Stahl yazdı
Change-Id: I2378dd76100d335e24ec21f4cfe62afa61b4e0e4
-
Michael Stahl yazdı
Change-Id: I8621546fcff000e93b3ea0593a5f1f8df94811a4
-
Michael Stahl yazdı
Change-Id: Id15b867e8a275529822bab8ce82da5eb2eeb484b
-
Michael Stahl yazdı
Change-Id: I655431923f24bb04826a814d7d8e59dea4bb7fc6
-
Michael Stahl yazdı
A bit hairy sometimes... Change-Id: Ic4b55bce4939001fe18f99d4902c7b5ef52f1fb7
-
Michael Stahl yazdı
Change-Id: I304b7b3fe92c7614e3a5bc887407487751423e71
-
Michael Stahl yazdı
Change-Id: I69e438575e76f67701d951dfeab0fd7fdda0e66f
-
Michael Stahl yazdı
Change-Id: I660953a6e101aae0f6dad38b74d0a5fa8f254221
-
Michael Stahl yazdı
Change-Id: I2f95b413a65fac0a68678eb06f90238707c57e68
-
Michael Stahl yazdı
Change-Id: I5e1e18ee4033d9c5776d856aaa61ead9dde3e702
-
Michael Stahl yazdı
Change-Id: If9ecad6bf396f459335177579f665fffaf917135
-
Michael Stahl yazdı
Change-Id: I38f2b4b34e3c740f94f2d6564e1a923a8ee4aaf8
-
Michael Stahl yazdı
Iterating the fields here looks a bit expensive, maybe it would be better to check the ViewOptions first... Change-Id: I41830e89a4fd683eee35bd2b0901fb9fb121b51c
-
Michael Stahl yazdı
Let it get the SwTextNode from the fly's anchor position, instead of from SwTextFrame. Change-Id: I833db32b2d7dd689c04fe93d75910364b6b91a3c
-
Michael Stahl yazdı
... footnotes for merged paragraphs. Change-Id: Ia32a2a776cb3a383f9ea0ecf51dcea872d6378be
-
Michael Stahl yazdı
... etc. Change-Id: I34336fa923b5c40a040490dd618633035efd5d94
-
Michael Stahl yazdı
Change-Id: Ic61309f7ae56b014a19b86173d520fb72a33667e
-
Michael Stahl yazdı
This is critical because it needs to know what SwTextNode sent the hint. Fortunately it looks like we can just convert this one implementation and the backward compat stuff in SwClient will keep the other SwFrames working as before with their Modify(). Change-Id: I16f0bf7495002e7393148429640262cb38dc4849
-
Michael Stahl yazdı
Could be that the node is empty but the frame not. Change-Id: I9b9af31f2ef9a6d862cfe38038222b5a46e6b0ab
-
Michael Stahl yazdı
... ModifyNotification() but SwClientNotify(), and let its default implementation call Modify(), because this allows for incremental migration of subclasses to SwClientNotify() while superclass still uses Modify(). Change-Id: Ieb7590507a80183e68341b3dee9ca5801d01bec0
-
Michael Stahl yazdı
... with multiple SwTextNodes in CheckParaRedlineMerge() Change-Id: I57402ca7d2210fc30015b9a7e2e05216e0b8a8eb
-
Michael Stahl yazdı
... if there's a merged text frame. Change-Id: Ida468518ab3f0c2a077a831ec81522f7d3b2c9ff
-
Michael Stahl yazdı
... that contains the first text of the frame. Change-Id: I8efc1acd87a7fcb9e4e38925f1ba91ec1a004dfd
-
Michael Stahl yazdı
Better not to assume that index 0 of the node is visible. Change-Id: I50f4a53d853cc59d3d0403eae34af48a56b1776a
-
Michael Stahl yazdı
Change-Id: Id0fb0ea0be731f2f4af372c2034d56fd6e20b4a1
-
Michael Stahl yazdı
... that could be a SwTextNode, too. Change-Id: I5627564966ce331b07b69010d42d61ff8a04364c
-
Michael Stahl yazdı
... or SwContentNode. Change-Id: Ib05038fd5a5550f5ed6dd90e129a2d7c3da74c1e
-
Michael Stahl yazdı
There are lots of existing loops over SwTextFrames of SwTextNodes, and these need to keep finding the frames if there's a WriterMultiListener in between. Add a template parameter to SwIterator that can be used to make the iteration transparent, i.e. return the client of the WriterMultiListener instead of the ListenerEntry itself. Change-Id: I8b67a027b392b08408f5fbf26be22884384aa6cf
-
Michael Stahl yazdı
This calls SwTextFrame::GetCharRect() on the frame where the mouse cursor is, with SwPositions that may be in a unrelated SwTextNode. Bogus positions now triggers asserts, so let's fix it. Change-Id: Idedb335ffd79c299976ad91b683dfb30cd0ceac2
-
Michael Stahl yazdı
There's a loop over nodes, calling SwTextNode::Hyphenate() each time. Introduce a new class SwInterHyphInfoTextFrame that is used in the SwTextFrame functions, and SwTextNode::Hyphenate() converts between the 2 types. Not sure if this will hyphenate a word that is split across nodes in the model, but perhaps this is good enough in practice. Change-Id: I78dec370e15c372284c934d9658b2dd5b3b97ae0
-
Michael Stahl yazdı
Abstract out the GetLang function into a parameter. SwScanner also uses a ModelToViewHelper but at this place it's used in "pass-through" mode which does an identity mapping. Change-Id: I45557c4e4446d1b4d95a206c414bbb6477593f8a
-
Michael Stahl yazdı
This has type "long", which is unusal. Presumably because it needed to represent numbers from -USHRT_MAX to +USHRT_MAX back in the day. Now we have sal_Int32 which happens to be signed and TextFrameIndex, but these are always positive currently; would it be too confusing to have a potentially negative TextFrameIndex here? Change-Id: I18c4893d9d24b59e98e9a3994139842ea25ae716
-
Michael Stahl yazdı
The text formatting calls SwTextNode::GetLang(), which is a bit of a problem now, but fortunately it calls it only for 0 or 1 character, and in that case we can easily indirect this to a single call to SwTextNode::Lang() in the right node. Change-Id: Id151cd6ae277bd2880fc8fc63305110ec2bf88c2
-
Michael Stahl yazdı
Change-Id: I3676357fbba242fe7f5ed632d704a6704e802217
-
Michael Stahl yazdı
The SwScriptInfo comes from the frame, and if both are used together they have to match. Change-Id: I3de0754d9ff316180fc04708889886684d6868e5
-