1. 06 Haz, 2019 1 kayıt (commit)
    • Ashod Nakashian's avatar
      sd: support inserting background image from file via .uno:SelectBackground · 905e6bd3
      Ashod Nakashian yazdı
      The UNO command always prompted the user via file open dialog.
      This change allows for passing the filename as an argument
      to allow for inserting slide background programatically.
      
      Also, hide the Insert Image button in the sidebar
      since we can't use that (just yet), because
      it invokes .uno:SelectBackground directly. We would
      need to send LOOL a notification to invoke this on
      its own end to first prompt the user for a file.
      
      (cherry picked from commit 2118143bdd246921439ba9e835207585203dd45f)
      
      Change-Id: I20c0e33d66f8bcd72a6388e39c4ac92e64978f45
      Reviewed-on: https://gerrit.libreoffice.org/73481
      Tested-by: Jenkins
      Reviewed-by: 's avatarJan Holesovsky <kendy@collabora.com>
      905e6bd3
  2. 14 May, 2019 1 kayıt (commit)
  3. 23 Şub, 2019 1 kayıt (commit)
    • Muhammet Kara's avatar
      Add style options to redaction export · 10edac7e
      Muhammet Kara yazdı
      * Add 2 new uno command aliases to handle 2 different
        styles of redaction export/sanitization:
          * .uno:RedactedExportBlack & .uno:RedactedExportWhite
      
      * Replace the single export button with the 2 new buttons
      
      * Add a new toolbox names .uno:RedactedExportToolbox which
        consists of the new 2 commands. It will be added to the Redaction
        toolbar after we solve the icon issue.
      
      * Now new redaction shapes are named as RectangleRedactionShape
        or FreeformRedactionShape based on their type.
      
      * While exporting to PDF, a seamless step of "Sanitization"
        takes place, in which, all shapes in the Draw doc are traversed
        and turned into opaq black or white (with black border) shapes,
        then the whole doc is converted into bitmap (page by page).
      
      * After the export operation is completed. All shapes are converted
        back to the usual redaction style (gray and transparent).
      
      * Icon issue:
        * We need 2 new icons for our new commands, one for black redaction
          shapes without border, and one for white redaction shapes with black
          border.
        * I tried adding links to a current icon, but it didn't work, so they
          are iconless for now.
      
      * Next to do: Handle icon issue, and take the redaction implementation
        into a separate helper class because it is growing fast.
      
      Change-Id: I9b2b7716289b800cdbe7bf3ffa4a442fe5afc474
      Reviewed-on: https://gerrit.libreoffice.org/68072
      Tested-by: Jenkins
      Reviewed-by: 's avatarMuhammet Kara <muhammet.kara@collabora.com>
      10edac7e
  4. 04 Kas, 2018 1 kayıt (commit)
  5. 11 Eki, 2018 1 kayıt (commit)
    • Justin Luth's avatar
      tdf#117721 draw ui: add .uno::SetMinimal[RowHeight|ColumnWidth] · 79bc165b
      Justin Luth yazdı
      Minimize column width: Adjusts the width of the selected columns
      to fit the selected content. The table can shrink if necessary,
      but will not grow.
      
      (Previously no way to minimize columns. Since
      minimizing really can mess up merged cells, enhance my
      new calcPreferredColumnWidth function.)
      
      Minimize row height: Adjusts the height of the selected rows
      to fit the content, causing the table to shrink.
      
      (The new optimize action functioned as minimize. So this change
      tweaks optimize so that it does not reduce the table size. A
      followup commit will make it distribute based on largest
      minimized row (still without reducing table size), and change
      distributed rows to work the way the document states - based
      on the largest row.
      
      Change-Id: I807a9cc9e9441a1215539e817b87158afe5a0604
      Reviewed-on: https://gerrit.libreoffice.org/61472
      Tested-by: Jenkins
      Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
      79bc165b
  6. 22 Eyl, 2018 1 kayıt (commit)
  7. 21 Eyl, 2018 1 kayıt (commit)
    • Justin Luth's avatar
      tdf#117721 draw ui: add .uno::SetOptimalColumnWidth · 73859a1c
      Justin Luth yazdı
      Optimize column width: Adjusts the width of the
      selected columns to fit the content,
      without changing the width of the table.
      Any leftover space is distributed proportionately,
      with thin columns growing slightly,
      and wide columns growing much wider.
      
      The implementation and results are different from how Writer
      does it, but tables themselves are also very different in Draw.
      So I don't think it needs to be handled identically.
      
      Writer's implementation is really "minimalColumnWidth" anyway.
      
      Change-Id: Ia10cfa9822d7eef3c4909a82c21535aa6668b143
      Reviewed-on: https://gerrit.libreoffice.org/60078
      Tested-by: Jenkins
      Reviewed-by: 's avatarJustin Luth <justin_luth@sil.org>
      73859a1c
  8. 23 Agu, 2018 1 kayıt (commit)
  9. 07 Tem, 2018 1 kayıt (commit)
  10. 22 Ara, 2017 1 kayıt (commit)
  11. 21 Ara, 2017 1 kayıt (commit)
  12. 26 Tem, 2017 1 kayıt (commit)
  13. 05 May, 2017 1 kayıt (commit)
  14. 30 Nis, 2017 2 kayıt (commit)
    • Maxim Monastirsky's avatar
      Remove SlotType sdi property · 1c6cb1e8
      Maxim Monastirsky yazdı
      sdi files have two ways to specify the type of a slot:
      
      (a) Put it at the beginning of the first line
      (b) Using the SlotType property
      
      Where (b) have higher priority, and (a) is actually
      ignored for "method slots" (i.e. the ones that have
      parameter parentheses, even empty, and therefore get
      the SfxSlotMode::METHOD flag), which is very
      confusing.
      
      The goal here is to make exclusive use of (a) for all
      kinds of slots, and eventually remove the SlotType
      support code from svidl (in a follow-up commit).
      
      Change-Id: Ib6654d34e2f8aa8ebd0bd3c41aa2a86e30e9a634
      1c6cb1e8
    • Maxim Monastirsky's avatar
      Return values of sdi "method slots" were unused · e588678f
      Maxim Monastirsky yazdı
      Also expand nested methods.
      
      Only diff in workdir/SdiTarget is for SID_STYLE_WATERCAN
      from sw/sdi/_basesh.sdi which changed the .uno name from
      WatercanStyleModeOnOff to StyleWatercanMode, to match the
      name in sfx2/sdi/sfx.sdi (it was forced by svidl to have
      the same name).
      
      Change-Id: Iaeac9f4f10a36cb0b3afe3de2b6def8cd90edc6d
      e588678f
  15. 28 Mar, 2017 1 kayıt (commit)
  16. 27 Mar, 2017 1 kayıt (commit)
  17. 10 Eki, 2016 1 kayıt (commit)
  18. 07 Eyl, 2016 1 kayıt (commit)
  19. 30 Haz, 2016 1 kayıt (commit)
  20. 28 Şub, 2016 1 kayıt (commit)
  21. 19 Şub, 2016 1 kayıt (commit)
  22. 05 Şub, 2016 2 kayıt (commit)
  23. 04 Şub, 2016 6 kayıt (commit)
  24. 03 Şub, 2016 1 kayıt (commit)
  25. 07 Ara, 2015 1 kayıt (commit)
  26. 04 Ara, 2015 1 kayıt (commit)
    • Tomaž Vajngerl's avatar
      Remove image color conversion menu from Impress · 6f9bb9bd
      Tomaž Vajngerl yazdı
      In impress there is (or was) a submenu "Mode" for images that
      containted color transforms for images to various bitdepths and
      palettes. The action is destructable - which means the original
      is replaced by a new image. This also has little use today as I
      don't think many people want to shrink image (byte) size this way.
      The only useful transform is to 8-bit indexed for certain types
      of images to save space without a bigger color degradation, but it
      makes more sense to add this option to "compress image dialog".
      
      Change-Id: I7450b2ec3507fb5d180cbd1ec879cb5560a2dd22
      6f9bb9bd
  27. 22 Kas, 2015 1 kayıt (commit)
  28. 18 Kas, 2015 2 kayıt (commit)
    • Philippe Jung's avatar
      Impress: Rework the way the display modes are presented. · 229fc164
      Philippe Jung yazdı
      TODO: take into account remarks from Gerrit
      
      New combo to select display mode among:
       - Slide edition (Normal)
       - Outline
       - Notes
       - Slide sorter
       - Slide master
       - Notes master
       - Handout (master, as we are designing the template used to generate
         the handout)
      
      The combo is based on uno command .uno:DisplayMode
      
      Center pane tabs are hidden by default. A new uno dispatch
      command (.uno:ToggleTabBarVisibility) is available to show/hide
      this tab bar.
      
      Modified uno dispatch commands:
      
      No uno name has been modified.
      
      .uno:DiaMode :
      SID_DIAMODE renamed SID_SLIDER_SORTER_MODE
      
      .uno:OutlineMode
      SID_OUTLINEMODE renamed SID_OUTLINE_MODE
      
      .uno:NotesMode
      No change
      
      .uno:HandoutMode
      SID_HANDOUT_MODE renamed SID_HANDOUT_MASTER_MODE
      All internal code also considers the edit mode as master
      
      .uno:SlideMasterPage
      SID_SLIDE_MASTERPAGE renamed SID_SLIDE_MASTER_MODE
      If the input parameter SfxBoolItem Isactive is true or not provided,
      activates Slide Master mode. If parameter is false, activates the
      "Normal" (slide editing) mode.
      
      .uno:NotesMasterPage
      SID_NOTES_MASTERPAGE renamed SID_NOTES_MASTER_MODE
      If the input parameter SfxBoolItem Isactive is true or not provided,
      activates Notes Master mode. If parameter is false, activates the
      "Notes" mode.
      
      Modified behaviours: Now only one mode can be chosen. It is possible to
      navigate from a mode to any other mode.
      Previous behaviour: the following navigation
           Normal -> Slide Master -> Notes -> Normal
      was displaying slide master. It was required to activate Normal once more
      to get back to normal.
      Now the same commands will display the requested mode.
      
      Still to come (at least):
      - Fix reopen the last display mode.
      - Center pane tabs are now presenting all buttons for all modes (TODO).
      
      Change-Id: I11ab59d2f3caa9149260c5e55d44d598d0ce3390
      Reviewed-on: https://gerrit.libreoffice.org/16723Tested-by: 's avatarJenkins <ci@libreoffice.org>
      Reviewed-by: 's avatarJan Holesovsky <kendy@collabora.com>
      Tested-by: 's avatarJan Holesovsky <kendy@collabora.com>
      229fc164
    • Philippe Jung's avatar
      Removal of SID_TITLE_MASTER related code · d30a44af
      Philippe Jung yazdı
      i35731 fixed a bug by deprecating SID_TITLE_MASTER
      dispatch command in 2004.
      So the feature can not be called anymore since 2004.
      Ten years after, this changeset removes the code that could be
      considered as dead code.
      
      Change-Id: Ie212baf7ece2897578d2494030d790bcadd16f5f
      Reviewed-on: https://gerrit.libreoffice.org/16933Reviewed-by: 's avatarSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
      Tested-by: 's avatarSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
      d30a44af
  29. 30 Eyl, 2015 1 kayıt (commit)
  30. 12 Agu, 2015 1 kayıt (commit)
  31. 21 Tem, 2015 1 kayıt (commit)
    • Maxim Monastirsky's avatar
      tdf#36796 Status updates for custom shapes buttons · 74cc3fbc
      Maxim Monastirsky yazdı
      We're dealing here with 2 bugs:
      
      1. Single shape buttons (like rectangle, ellipse etc.) don't get
         the pressed state when active. The cause is that all commands of
         the same kind (Basic Shapes, Symbol Shapes etc.) are handled as
         one internally, allowing only one type of status updates. It used
         to transport the current active shape, but it was changed to a
         boolean value in the fix for i#41753, and since then used for
         the pressed state of the group buttons.
      
      2. The pressed state of a group button shows always, even when a
         user activates a shape from a place other than the drop-down
         of that button. But in this case the image of the group button
         doesn't update with the current shape, thus confusing the user on
         what is currently active. The cause here is that we use (since
         i#41753) the XSubToolbarController interface to update the last
         selected function (instead of the old-style status based update),
         and ToolBarManager notifies a controller about a new selection
         only if it was made from a particular toolbar that the controller
         claimed to use in the getSubToolbarName method.
      
         Since 7352a7c1 there is a similar
         regression for other group buttons in sd (like lines, 3D Objects
         and other), with the same cause. This is also fixed now.
      
      Change-Id: Ida074a001ff78bf5bd5bcb8151516daa6e27cbce
      74cc3fbc
  32. 18 Tem, 2015 1 kayıt (commit)