-
Notifications
You must be signed in to change notification settings - Fork 930
Private/gokay/view coordinates #13280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
007a07b to
85537ed
Compare
90abc3f to
f1f95ac
Compare
d85fd85 to
d45b850
Compare
7e5dac6 to
87b2d65
Compare
Signed-off-by: Gökay Şatır <[email protected]> Change-Id: Iefad9360f0fb3f0ef31b0a2c99872f2384242845
…etc. coordinates. Multipage view will not need to add functions to tilesSection this way. Signed-off-by: Gökay Şatır <[email protected]> Change-Id: Iffc094ebe6443f408658eb37e8598c60b3f69082
Signed-off-by: Gökay Şatır <[email protected]> Change-Id: I9ff2a2c863c357df7ee6bc57871cf7fe8f8a1bb2
Views should work without advertising themselves. When there is a need to check, one can use "app.activeDocument.activeView.type". Also removed "drawPageBackgroundsMultiPageView" function. Hopefully things will work without specialized drawing background functions. Signed-off-by: Gökay Şatır <[email protected]> Change-Id: I8334abc4b043b1893141c229c45060b91865464c
Signed-off-by: Gökay Şatır <[email protected]> Change-Id: Ic4c70f0f213da6ad2bcea9660384edee5a537912
Signed-off-by: Gökay Şatır <[email protected]> Change-Id: I794216965443ac90cf3ad552c5070c375c180a64
New layouts may render different parts at the same time in different coordinates. Parts may have their own (0, 0) point or they may have a location in a shared space. Both cases require to know the part numbers of the tiles. Or we will need draw functions for every layout type. This property will allow layouts to determine the vX and vY coordinates of points more precisely. Signed-off-by: Gökay Şatır <[email protected]> Change-Id: I0b5edd88f01216c9ffdc60c81c4276875600692f
Don't automatically set the view size in MultiPageView mode. Don't automatically set the viewed rectangle in MultiPageView mode. Signed-off-by: Gökay Şatır <[email protected]> Change-Id: Ifb89f285e13b88beed61009fa8b08c8c7580534d
…eady or not. Added that properties. Signed-off-by: Gökay Şatır <[email protected]> Change-Id: I9c5ed3be2defa4d218d08c84cfe41819083794e1
Signed-off-by: Gökay Şatır <[email protected]> Change-Id: I7c0c661f99bdbe25087bcba4091f22bff4745cb5
Signed-off-by: Gökay Şatır <[email protected]> Change-Id: I6932d964aa13577f2a6c5fad7b7f1532b724cc8d
Signed-off-by: Gökay Şatır <[email protected]> Change-Id: I250dedfcf65c02929d0e02294105d7ab42bcf5c4
…ions' myTopLeft properties. Signed-off-by: Gökay Şatır <[email protected]> Change-Id: Iec45b6c58cc301b58a77c66ce0b946c4361869c8
Adjust multipage view functionalities. Signed-off-by: Gökay Şatır <[email protected]> Change-Id: I2af421889f2448f1c09129cbc78ea37dc6cf391f
Signed-off-by: Gökay Şatır <[email protected]> Change-Id: Ie2734660c0c54e9628883cdb7b0857e1c00446c2
Signed-off-by: Gökay Şatır <[email protected]> Change-Id: I2303b452dd94e8e72fcbd655a17fa66b525452a5
7e05c81 to
6d8d93e
Compare
* Rename twopages.svg to lc_multipageview.svg so the file is automatically recognized by the JSDialog class. * Use map state handlers for toggling the multipage view layout. JSDialog class can toggle its button automatically. * Remove twopages_a.svg since JSDialogs has its own toggled state style. * Rename getPos2 to getPosSimplePoint and add an explanation. * Disable setting the viewSize and viewedRectangle properties externally in multipage view. Remove type checks from a few places. Signed-off-by: Gökay Şatır <[email protected]> Change-Id: I84634917f221a7908ad14d5ed0f619f61729900d
6d8d93e to
07fba48
Compare
| {type: 'toolitem', id: 'signstatus', command: '.uno:Signature', w2icon: '', text: _UNO('.uno:Signature'), visible: false}, | ||
| {type: 'spacer', id: 'permissionspacer'}, | ||
| this._generateHtmlItem('documentstatus', 2), // spreadsheet, text, presentation, drawing | ||
| {type: 'customtoolitem', id: 'multi-page-view', command: 'multipageview', text: _('Multi Page View'), dataPriority: 10, visible: false}, // text |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
somehow it is hidden in my case and I cannot get it back, possibly due to dataPriority: ?
I see status-hidden which is done by
| statusBarItems.forEach((item) => { |
yes, I did remove the patch hiding it explicitly :)
eszkadev
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see any obvious problems for regular mode.
@eszkadev thanks for checking :) |
Summary
TODO
Checklist
make prettier-writeand formatted the code.make checkmake runand manually verified that everything looks okay