You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2016/02/14 22:52:08 UTC
[Bug 59004] New: HSLF rendering - adjust values for
presetShapeDefinition differs in HSLF/XSLF
https://bz.apache.org/bugzilla/show_bug.cgi?id=59004
Bug ID: 59004
Summary: HSLF rendering - adjust values for
presetShapeDefinition differs in HSLF/XSLF
Product: POI
Version: 3.14-dev
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: HSLF
Assignee: dev@poi.apache.org
Reporter: kiwiwings@apache.org
Common SL renders office draw shapes based on the presetShapeDefinition.xml
Usually the adjust values seem to be the same for HSLF/XSLF.
There a certain shape types, which have a different calculation for the
formats,
e.g. hexagon.
The "adj" value for a hexagon varies from 0-10800 in HSLF whereas this value is
dependent
on the size of the shape.
There are a few msdn entries about a similar issue, but currently I don't
understand the
connection between height/width size/aspect and the adjust values.
Libre Office is displaying the shapes correct, but I haven't yet checked their
source.
In the attached example, the adj value for HSLF is 8635 and for XSLF it's
39977.
[1]
https://social.msdn.microsoft.com/Forums/en-US/3f69ebb3-62a0-4fdd-b367-64790dfb2491/presetshapedefinitionsxml-does-not-specify-width-and-height-form-some-autoshapes?forum=os_binaryfile
https://social.msdn.microsoft.com/Forums/en-US/71e7383e-e07d-4d2c-be6c-1390387b4cfe/unspecified-width-and-height-in-presetshapegeometriesxml?forum=os_binaryfile
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
[Bug 59004] HSLF rendering - adjust values for presetShapeDefinition
differs in HSLF/XSLF
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59004
--- Comment #4 from Andreas Beeker <ki...@apache.org> ---
I think I found something :) - page 73
https://www.loc.gov/preservation/digital/formats/digformatspecs/OfficeDrawing97-2007BinaryFormatSpecification.pdf
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
[Bug 59004] HSLF rendering - adjust values for presetShapeDefinition
differs in HSLF/XSLF
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59004
--- Comment #3 from Andreas Beeker <ki...@apache.org> ---
I've created a MSDN ticket:
https://social.msdn.microsoft.com/Forums/en-US/33e458e6-58df-48fe-9a10-e303ab08991d/preset-shapes-for-ppt?forum=os_binaryfile
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
[Bug 59004] HSLF rendering - adjust values for presetShapeDefinition
differs in HSLF/XSLF
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59004
--- Comment #1 from Andreas Beeker <ki...@apache.org> ---
Created attachment 33554
--> https://bz.apache.org/bugzilla/attachment.cgi?id=33554&action=edit
HSLF hexagon file
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
[Bug 59004] HSLF rendering - adjust values for presetShapeDefinition
differs in HSLF/XSLF
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59004
--- Comment #2 from Andreas Beeker <ki...@apache.org> ---
Created attachment 33555
--> https://bz.apache.org/bugzilla/attachment.cgi?id=33555&action=edit
XSLF hexagon file
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
[Bug 59004] HSLF rendering - adjust values for presetShapeDefinition
differs in HSLF/XSLF
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59004
Andreas Beeker <ki...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |62381
Referenced Bugs:
https://bz.apache.org/bugzilla/show_bug.cgi?id=62381
[Bug 62381] Fix rendering of AutoShapes
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
[Bug 59004] HSLF rendering - adjust values for presetShapeDefinition
differs in HSLF/XSLF
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59004
Andreas Beeker <ki...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #5 from Andreas Beeker <ki...@apache.org> ---
Fixed via r1859102 ... finally :)
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org