Commit Graph
43 Commits
Author SHA1 Message Date
Aditya Bhatt 06e29d3ff4 Shadow content needs the same text-align: left rule as
office|presentation
2013-06-20 11:46:45 +02:00
Aditya Bhatt 6b309ae2a7 Hide elements like presentation|footer-decl and
presentation|date-time-decl, and use draw|page:nth-of-type instead of
nth-child to select the page to be displayed. Now the slideshow only
shows actual slides, not other objects
2013-06-19 13:08:48 +02:00
Aditya Bhatt 29f45f5b54 Stop hardcoding dimensions for presentation pages in webodf.css, and get
these dimensions from the page style.
A new API call has been added to know the type of document
(text/presentation/spreadsheet), and this is used to decide what sort of
CSS rule to generate for page layouts.
As a little temporary hack, for slideshows, the last page style where the
height is lesser than the width is used for layouting, because for the
vast majority of presentations this holds true. This will change once we
adequately implement support for master styles.
2013-06-19 13:08:48 +02:00
Lu Li 51d65b0efb prevent long words from extending out the table cell 2013-06-14 15:04:51 +10:00
Aditya Bhatt c1028400c0 Don't obscure avatar handles when at boundaries. 2013-06-11 15:29:36 +02:00
Aditya Bhatt 248d43c319 A new mapping for ODT page style in Style2CSS
Temporarily disable page height mapping, till we have pagination
2013-06-11 12:42:17 +02:00
Lu Li dd0327d842 increase the min-height of the text block to 1.3em. document with empty paragraphs looks a bit better with this value. 2013-05-23 12:02:23 +02:00
Aditya Bhatt 8d57a04c8e Insert text:s elements instead of spaces in OpInsertText.
Also make the cursor behave properly around such elements.
2013-05-13 10:18:10 +00:00
Jos van den Oever 9ae5bb99ed Fix dimensions of A4. 2013-05-02 16:23:36 +02:00
Philip Peitsch 8813c3b491 Prevent empty paragraphs and headings from being collapsed 2013-04-22 16:09:18 +10:00
Philip Peitsch 94985f606a office:text element will force a word-wrap if a particular word is longer than the available line width 2013-04-17 11:42:06 +02:00
Aditya Bhatt 1a7f6a6dd7 Some avatar handle styling changes.
In webodf, the handle's image's border is set with the user's color
instead of the handle background. Also, the cursor span is changed to
2px width for better visibility.
In editor.css, custom CSS overrides are applied to make the handles look
very much like the avatar 'thumbnails' in the people sidebar.
2013-03-26 13:46:54 +05:30
Aditya Bhatt 27857f6cf4 We don't want these animations anymore 2013-03-16 00:38:46 +05:30
Aditya Bhatt 674bbba4e1 Use proper heights and line-heights for editInfo content, so everything
looks centered and also avoid wrong line alignment
2013-03-15 18:40:21 +05:30
Aditya Bhatt 4c441ea646 Some style fixes to have all the editInfo elements in the tooltip appear
properly aligned
2013-03-14 18:21:03 +05:30
Aditya Bhatt 251d441337 Use proper namespace name, and set tooltip content width to 100% 2013-03-14 18:21:03 +05:30
Aditya Bhatt 8fd6f8117f Make marker partially transparent so that bullet points are not hidden 2013-01-24 15:08:34 +05:30
Aditya Bhatt c6b630e4fa Start top of marker from position 0 so the markers are aligned properly
in lists
2013-01-24 15:04:59 +05:30
Aditya Bhatt bae145599c Move tooltip arrow to bottom left, and make tooltip handle appear above
the paragraph
2013-01-24 14:39:54 +05:30
Aditya Bhatt 40ec535037 Styles for marker and tooltip 2013-01-24 06:09:14 +05:30
Aditya Bhatt e5efdbef9e Use relative positioning so we can absolutely position 100% high divs
inside p and h nodes. Experimental.
2013-01-24 02:27:56 +05:30
Aditya Bhatt e5f358a435 Set default normal line-height for text elements, so that dojo cannot pollute
it
2013-01-23 00:13:52 +05:30
Aditya Bhatt 73160ed414 Unset (arbitrary?) margins and paddings to text elements, this partially
fixes the problem of text shifting slightly when you save a style without
modification through the dialog.
2013-01-23 00:11:35 +05:30
Friedrich W. H. Kossebau ccb91768f6 Don't set font-weight to bold as default for text:h 2012-12-28 12:05:06 +01:00
Friedrich W. H. Kossebau 77d66a16c5 Unbreak avatar handler coloring 2012-11-09 12:29:35 +01:00
Friedrich W. H. Kossebau 5dd5b08ce4 Attach avatar handler to the right node (cursor element, not span element)
Fixes:
* avatar handler styles not being applied
* cursor blinking directly before avatar handler
and possibly also
* losing the avatar handler sometimes
2012-11-09 12:29:29 +01:00
Aditya Bhatt 349365feea use better caret, and hide the native content-editable outline 2012-10-22 10:32:09 +02:00
Jos van den Oever 566749728e Get avatar to move somewhat along with the caret. 2012-08-28 22:19:58 +02:00
Jos van den Oever 6186336626 Make test file have two documents and add avatar icons. 2012-08-09 09:17:39 +02:00
Jos van den Oever 8b1447df6a report caret movement to the session 2012-08-08 23:45:22 +02:00
Jos van den Oever c37feaaa03 Add a blinking caret for an avatar. 2012-08-08 21:29:30 +02:00
Aditya Bhatt 97d22c7cb4 Set the default cell-width from LibreOffice's defaults, and display the row count as a table-cell. 2012-08-06 20:39:32 +05:30
Aditya Bhatt 012690bd5d Links support:
* Add makeLinks method to odfCanvas.js so that click handlers are attached to ODF links.
* Make cursor a pointer for links, in webodf.css
2012-08-03 15:06:16 +05:30
Jos van den Oever 8416ca1220 Improve bullet lists.
Patch by Stuart Dickson

"
Here's the latest patch for the bullets functionality.

This includes the testdoc subfolder and there are two documents for testing the nested docs, one in LO and the other in Calligra.

The LO authored doc runs fine in Chrome, but on Firefox, the continued numbering has issues. It resets with each list, I believe the id-based selector may not be getting applied correclty, I'll add some additional decoration to the bullet block to confirm whether this is the case.

The Calligra document does not render correctly, which I was lookoing at before hitting build environment issues, which have taken my time the last couple of days (although look to be at an end now).

The things I wasn't too sure/happy with were:

    Having to copy code from Style2CSS into OdfCanvas (would prefer to have exposed the function and reused.
    I needed to get hold of the document in order to read the already added styles - and used window.document there (this works with jslint, but I'm not convinced it is the right approach)
"
2012-07-11 18:50:36 +02:00
Tobias Hintze bdef5cca4a add stuarts table-work. 2012-04-27 12:39:11 +02:00
Stuart Dickson d8e1fe12fc Including videos via Data URI 2012-04-13 11:22:28 +02:00
Jos van den Oever 1cd46d7980 Only show the first image in a frame.
Ideally this is the first supported image in a frame.
2011-12-07 10:13:57 +01:00
Jos van den Oever e19f2b23eb Add support for images in flat xml. 2011-10-14 12:46:13 +02:00
Jos van den Oever c6b7a59d32 Hide the change tracking elements. 2011-10-06 14:29:44 +02:00
Jos van den Oever 52aab4a687 Remove svg:title and svgdesc from the layout flow. 2011-09-30 20:35:15 +02:00
Jos van den Oever 2e7c5a2a9c Fix positioning for page anchors. 2011-09-30 20:31:23 +02:00
Jos van den Oever 2c4835fd8e Better positioning of frames that are anchored to paragraphs. 2011-09-29 11:29:51 +02:00
Jos van den Oever 3e98363d6a Rename defaultodfstyle.css to webodf.css. 2011-06-07 12:24:54 +02:00