Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gnumeric gnumeric
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 379
    • Issues 379
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • gnumericgnumeric
  • Issues
  • #208

Closed
Open
Created Dec 30, 2012 by Bugzilla@bugzilla-migration💬Reporter

failure to account for rotation/translation in custom shape import

Submitted by an unknown user

Link to original bug (#690875)

Description

Created attachment 232382 sample file

In the attached sample file we have for the diamond:

<draw:custom-shape draw:z-index="0" draw:style-name="gr1" svg:width="7.241cm" svg:height="6.986cm" draw:transform="rotate (0.523598775598299) translate (8.593cm 4.352cm)"> text:p/ <draw:enhanced-geometry svg:viewBox="0 0 21600 21600" draw:glue-points="10800 0 0 10800 10800 21600 21600 10800" draw:text-areas="5400 5400 16200 16200" draw:type="diamond" draw:enhanced-path="M 10800 0 L 21600 10800 10800 21600 0 10800 10800 0 Z N"/> </draw:custom-shape>

On import we ignore draw:transform="rotate (0.523598775598299) translate (8.593cm 4.352cm)", so the diamond is not correctly rotated nor translated.

Ideally, for the rotation we should be able to rotate the whole sheet object.

Attachment 232382, "sample file":
U.ods

Version: git master

Assignee
Assign to
Time tracking