summaryrefslogtreecommitdiff
path: root/oox/source/token
AgeCommit message (Collapse)Author
2015-11-09pptx: "fall" transition, which needed p15 namespaceTomaž Vajngerl
Added p15 namespace which is present in MSO 2013+ documents. It adds a "prstTrans" element with a string "prst" attribute which is a name of the transition to be performed. This was added to support "fall" transition which translates to "fallOver" preset transition. Change-Id: I429bb106a12c1b99cce756502508e917720daef3
2015-11-08oox: define p14 namespace in strict, define P14_TOKENTomaž Vajngerl
Change-Id: I9c92b9a637f43fd425cd0741e480b72ee5cff919
2015-11-08oox: p14 namespace (MSO 2010) + tokens for slide transitionsTomaž Vajngerl
Change-Id: I72d1901ceb2e43e459efb197cb72bd701c7d8f63
2015-07-25tdf#92256: Make OOXML filter CONV_A1_XL_A1 aware tooKatarina Behrens
+ don't write string ref syntax if it hasn't been read or explicitly changed Change-Id: Id3788a71a4a3d0672283a4770c7d7a9608beb06f Reviewed-on: https://gerrit.libreoffice.org/17326 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-07-23tdf#92256: OOXML save/load syntax for string referenceKatarina Behrens
+ introduce a separate LibO namespace for that Change-Id: Ie62da0746e81ea0d861680863beb03094649d41c Reviewed-on: https://gerrit.libreoffice.org/17216 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-05-15support iconSets in extLst entriesMarkus Mohrhard
Change-Id: Iec293ec3541b87b16f5a8097d51b878166814670
2015-05-05loplugin:staticmethodsNoel Grandin
Change-Id: I384a5e60f4b7b2f479c89ef97630519059ab720f
2015-04-23this should be sorted and unique, no?Eike Rathke
Change-Id: Ic310a81aedc35b9a64ab60cadae30343a6115d60
2015-04-23add TotalsRow to properties indexEike Rathke
Change-Id: I1929e27d850144639db3826a0ec60a3085771296
2014-12-22Refactor building perfect hash tabels for tokensDaniel Sikeler
moved the defines to be usable in more modules moved perl-script to be usable in more modules Change-Id: If893e4b7e9dc670646bdf097cb6fa5710e45f1ac
2014-11-01oox: introduce W_TOKEN() macroMiklos Vajna
It was inconsistent that when parsing <a:foo> elements, A_TOKEN(foo) was available, but for <w:foo> elements there was no W_TOKEN() macro. Also, there were two manual variants (NMSP_doc|XML_foo or via OOX_TOKEN(doc, foo)), replace both of them with W_TOKEN() for easier searching. Change-Id: Ic5cd027f07518535b92671ffe3c486016a3f9f0a
2014-10-23inline TokenMap::getUtf8TokenNameMatúš Kukan
Change-Id: Icd9c6ebc9feb3e7aba28b01729b582a8f49c832a
2014-10-23maTokenNames.size() is constant: use it and be a bit fasterMatúš Kukan
Change-Id: I39a6e2badf0c159e87763e2782bc89f0ee6068ec
2014-09-29proper reading of mso-position-(horizontal|vertical)(-relative)Luboš Luňák
Change-Id: I50f537c697f6e73c1fd150f3f03fc65b85ccbeaf
2014-09-24Remove TokenMap::getUnicodeTokenName()Matúš Kukan
Change-Id: I778dc43085b6afbb6456cbf53fe8c95b624b75b3
2014-09-23fdo#84090: Remove maUniName from oox::TokenMapDavid Ostrovsky
Change-Id: I8165def0b6291bfd7bb109e1cdaeb4198ed696b7 Reviewed-on: https://gerrit.libreoffice.org/11560 Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de> Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
2014-09-23Add unit test for oox::TokenMapDavid Ostrovsky
Change-Id: Iced083868a84fd9fbb97ad91dfc0acbf5b69b766 Reviewed-on: https://gerrit.libreoffice.org/11559 Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de> Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
2014-08-19writerfilter: fail on mistyped namespace URL'sMiklos Vajna
And also fix one typo detected by this new check. Change-Id: Iaa7a4bb0b6dc3f81e5dd0b352584029cfed4ffbb
2014-08-15oox: sort namespaces in generated headerMiklos Vajna
Otherwise it's next to impossible to reasonably diff the generated code after a change. Change-Id: I13f98532535bfe3f4915677cb3346300f25e0cfa
2014-08-12Add reference to 'DomainMapper' to some DOCX import classesAdam Co
The reason for adding 'DomainMapper' is to be able to check during import in these classes whether or not the import is in a 'styles.xml' file or not. Also added blank handling for new XML nodes. Reviewed on: https://gerrit.libreoffice.org/10870 Change-Id: Ib2acde736d96f30eda40ee327991dc6ae0ed7f25
2014-08-05oox: tokenize all attributes from CT_CnfMiklos Vajna
Change-Id: Ifceb9c1319208c897a6f018fa0b5f8863b58c3e1
2014-08-05oox: sort tokens.txtMiklos Vajna
The benefit is that then it's possible to just add new tokens at the end of the file, have your editor put them to their sorted place and have no additional noise in the commit diff. Change-Id: I221b8b10ae588180dd61207a6c9279fe8af7531f
2014-08-04oox: tokenize noHBand and noVBandMiklos Vajna
Change-Id: I43ea6cb2665e17239da61adffd0583b9201bef59
2014-07-26bnc#885825: OOXML import and export of data label borders.Kohei Yoshida
2014-07-21fdo#80897: Preservation of text warp properties.Rohit Deshmukh
- Generic fix for all warp properties Change-Id: I77c37759aa49706fc3cd1a80770a85face53f0a2
2014-07-09remove no longer needed http://sprm nonsenseMiklos Vajna
Change-Id: I2f8d473ab564c9849963d937690fc48bc04a17b9
2014-07-07Adjust for the splitting of number format properties in chart.Kohei Yoshida
Since 1d38cb365543924f9c50014e6b2227e77de1d0c9, "number format" and "link number format to source" properties are 2 separate properties. Adjust OOXML import code for that split. Also, always set axis' number format via NumberFormat property even when it's a percent format. The axis object doesn't keep a non-percent and percent number formats separately. Change-Id: I8667b6f1a78d88cc37d059518919ad1b37f154e1
2014-06-25remove whitespacesMarkus Mohrhard
Change-Id: Ie14ba3dcb97f20479a04538748ef2c1c9e6c5dac
2014-05-23oox, writerfilter: add a14 namespace and tokensJacobo Aragunde Pérez
Added the artistic effects defined in the MS-ODRAWXML extension. Ref: http://msdn.microsoft.com/en-us/library/dd905216(v=office.12).aspx Change-Id: I24c5e5bbe569f160d300a7a7293ca047cb7a1b88.
2014-05-06oox: prepare for importing a TextBox property on shapesMiklos Vajna
Writer's SwXShape doesn't have that property yet, though. Change-Id: I997eb188574fab93d35595972fdc2eaebabc015b
2014-04-22fod#77122 DOCX filter: link between textboxes is not being preservedumeshkadam
Added support for linked textboxes for docx interoperability. Reviewed on: https://gerrit.libreoffice.org/9092 Change-Id: I7db4f5a1783afff53c64908d182788b262f5e863
2014-04-13Use --switch=2 --readonly-tables gperf optionsTor Lillqvist
The --switch option saves about one megabyte of code (or data), and the --readonly-tables seems like a good idea in general. Change-Id: I19419e2cb9bb76dea4547512572b689883c41d8d
2014-03-20ooxml: preserve checkbox sdt controlJacobo Aragunde Pérez
Checkbox controls in docx are implemented with a sdt block containing the property w:14:checkbox, which has several child elements. To implement the preservation of the field, we had to add several tags to the ooxml model file. Notice they belong to namespace w14, that's why we had to add a redundant definitions of CT_STRING, ST_STRING and their actions. Then, we just used the existing mechanisms on the importer and the exporter. Finally, added a unit test. TODO: the checkbox is preserved on export but it cannot be modified. We should import it like we do for combo and date boxes. Change-Id: I40f29b48ec24719c48482b9c8cff10176d1b188d
2014-03-18fdo#76249 DOCX export DML Drawing as lockedCanvas if it's inside DMLTextFrameVinaya Mandke
The Locked Canvas is imported correctly, but while exporting the drawing is exported inside a textbox. However a locked Canvas has to be exported inside a text-box for the RT file to work in MS Word 2010. As dml drawing elements are not allowed in the dml textboxes. Export as Locked Canvas iff the drawing was originally a Locked Canvas and is now inside a DML Text Frame. As otherwise the Locked Canvas is exported correctly as a DMLDrawing. Reviewed on: https://gerrit.libreoffice.org/8618 Change-Id: Ifa350d8922a22c4e480411530aa4d953bd3ed2ac
2014-03-10oox: handle all w14 text effects at groupshape importTomaž Vajngerl
When dealing with groupshapes, the responsibility to process the w14 text effects elements is in oox. This commit adds the code to handle all elements and its children elements and attributes and puts the values into a CharInteropGrabBag. Change-Id: Iafb8759bd60e0ee831296dc2d9159f4311ad5403
2014-03-06add the xml strict namespaces to misc/namespaces.txtMarkus Mohrhard
Change-Id: Ie83b5c94f1f002851bff3b39b1d9b676a3e44aa1
2014-03-05oox & writerfilter: add "anchorId" token and update model.xmlTomaž Vajngerl
Change-Id: Ibcbf552621b8c6c5c143521a697026cdeac90706
2014-03-04in the old design all lists needed to be the same size, fdo75200Markus Mohrhard
We did not crash in the invalid memory access because the lists were continuous in memory and we would just pick the next id. However it crashed when trying to map some of the ids to non existant strings. This commit also removes the need for the earlier fix for this bug that just hit the problem behind some checks much later in the call chain. Change-Id: Ic6658987815c4e84ed2449934c310e30dcd0ed4c
2014-03-02fix strict namespace list generationMarkus Mohrhard
The two perl scripts were apparently only generating the same order by luck. It did not work on all systems. Change-Id: Ib83ee5c6572d3bae2e2ac1846850bd65303e7d43
2014-03-01handle OOXML strict namespacesMarkus Mohrhard
Change-Id: I198862388426161e3f054a5f128639c59f3c9d24
2014-02-28writerfilter: extend tokens and model.xml for w:compatSettingsTomaž Vajngerl
Word stores compatibility mode and additional compatibility settings (like enableOpenTypeFeatures) in w:compatSetting. This needs to be preserved as well. Change-Id: I40895cc00952b7c3799edff0bf7f4328106305a1
2014-02-27oox: add "styleSet" to token listTomaž Vajngerl
Change-Id: Idf9ca432849e9ca53a533ee6d82267aa9d546423
2014-02-26Remove visual noise from ooxAlexander Wilms
Change-Id: Ie25838f20f00dc32d9d22959308c118cef688e94 Reviewed-on: https://gerrit.libreoffice.org/8288 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-23oox: add some more missing w14 tokensTomaž Vajngerl
Change-Id: Ied80a30419ac809c0cb20f8c29427ff0945f5904
2014-02-20Added word 2010 - w14 namespace and w14 elementsTomaž Vajngerl
Change-Id: I8098cc4bd49c3480bd45875a541d8273b9c7f287
2014-02-12Add tokens for 'table cell' redlines (future patch)Adam Co
This patch adds 2 tokens for future patche's use of table cell redline preservation. Change-Id: Ic0ec4122eeaf66c6f0ebff9251fbc38596877541 Reviewed-on: https://gerrit.libreoffice.org/7869 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-02-11fdo#74112 Added properties to store chart display unit information in import.sushil_shinde
- added display unit properties. - added axis display unit converter class. Change-Id: Iaa1f9a175b1109c8da7321a1567a04fb981568d1 Reviewed-on: https://gerrit.libreoffice.org/7720 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-02-11Add tokens for 'table row' redlines (future patch)Adam Co
This patch adds 2 tokens for future patche's use of table row redline preservation. Change-Id: I20e6d1dd84a07f515076aaa3cd5b32c492ec476d Reviewed-on: https://gerrit.libreoffice.org/7801 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-02-06DOCX export: register wp14 namespaceMiklos Vajna
Change-Id: I4ce857bd2e48372da4ed7252a2849ad37c73b6b9
2014-01-24oox: add wp14 tokensMiklos Vajna
Change-Id: Iec9cfa1fd12c45cdab5ef97ab4eb2573577c412b