Age | Commit message (Collapse) | Author |
|
And also make sure that the model is re-checked when the schema changes.
Change-Id: I348d11aa770255329cd47535dff4b15a95e4bd8e
|
|
Commit af7d4a5ebf3e6a09cd2079f241dee16aa22e0276 (n#820503: initial MCE
support in writerfilter ooxml tokenizer, 2013-07-03) added these, but in
fact only the namespace-alias part was necessary. Now that oox provides
the list of namespaces to be registered, it can be removed completely.
Change-Id: If8f1b0c07602a0170c63b53d806a5b466d485747
|
|
Change-Id: I52c2298c9583617481069040e118520cf8935c6d
|
|
Change-Id: Ic15362b9a7687c7cba2e3b1554f2eac593afab3b
|
|
Most of the scripts parsing model.xml just load it as a DOM and extract
info from it needed for their task, which means if you have a typo in an
element / attribute name, it's just silently ignored.
This is annoying, let's prevent that by validating the model before
doing anything with it.
Change-Id: I4229e57c12840fead62cbd150dd1408f2f0d29eb
|
|
Change-Id: I274cdeddde53472e1d4d2188f88269a70677a1fd
|
|
This makes libwriterfilterlo.so smaller by 500KB in a stripped dbgutil
build.
Change-Id: I0046251a0fe83ceee6f585f17707e4ecf53996b6
|
|
workdir/CustomTarget/writerfilter/source/ooxml/OOXMLFastTokens.hxx was a
duplication of workdir/CustomTarget/oox/generated/oox/token/tokens.hxx,
except when the oox generator changed, the writerfilter copy was not
adjusted and Bad Things happened. We don't need this.
Change-Id: Id92481f110b04ec24cb424421aa0ec029b7896f3
|
|
ListValueMaps were completely useless; it is always just few values that used
to be in the unordered_map, so doing just a normal comparison couldn't be too
much worse than all the hash construction etc.
This saves >300k of the libwriterfilter.so size (striped).
If this proves to be less performing than what we used to have (which I
doubt), now when we generate the code using Python, it would be a piece of
cake to construct some deterministic finite automaton in each switch's case to
accept the value names, and return the values.
Change-Id: I95d0470b73ade1fbf5c9de2299c4adcc59286bc3
|
|
Apparently there can be much more than "just a few values" in some cases
(186 in OOXMLFactory_dml_shapeGeometry::getListValue) and MSVC compiler
cannot handle if statement that deeply nested.
This reverts commit 7aa7047eb48e81bc0b32448ff0487c993fe9a4db.
Change-Id: I2b4d166e73ce1e616fea81fcfcfc9915c5784d30
|
|
ListValueMaps were completely useless; it is always just few values that used
to be in the unordered_map, so doing just a normal comparison couldn't be too
much worse than all the hash construction etc.
This saves >300k of the libwriterfilter.so size (striped).
If this proves to be less performing than what we used to have (which I
doubt), now when we generate the code using Python, it would be a piece of
cake to construct some deterministic finite automaton in each switch's case to
accept the value names, and return the values.
Change-Id: I95d0470b73ade1fbf5c9de2299c4adcc59286bc3
|
|
Change-Id: Ia2380a23e31583f40a368168bc09d7fddd3e4ab7
|
|
Change-Id: I64996b3f96f51ba80ade636c13a2919410672a27
|
|
Change-Id: I2065215db5da0a379e902a74eff419d5c6068d21
|
|
Change-Id: Ia57a41aba91f00f3c1fb63a82c9793bf43434afb
|
|
Change-Id: Ie72afbb1a7d384386d3189dae8276444767aac53
|
|
fixes build errors like:
./workdir/CustomTarget/writerfilter/source/ooxml/model_preprocessed.xml: No such file or directory
Change-Id: I1ee4e6247e9b87548a0314914fd3fc6499783ea6
Reviewed-on: https://gerrit.libreoffice.org/10008
Tested-by: Michael Stahl <mstahl@redhat.com>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
|
|
Change-Id: I4dca13159a25ed137153c2a7a66ca4f87f612e87
|
|
So in case a script in the ooxml dir generates some output, that should
be in the ooxml dir under workdir as well.
Change-Id: I08fbb2d0c8950362628d11de4cfeda98c835ed9a
|
|
Change-Id: If138bb3de8815f9d24aa1db10543b904792a0b37
|
|
Change-Id: I23ee4844fcc034f1d586c10d6a16db71a4db5363
|
|
Change-Id: I8c63d8d1bcf4247491e4be22d1e37e1eefe1e7d1
|
|
Change-Id: Ic9e44d0050413c9225b030a4be6f71f5adc654fc
|
|
Change-Id: I56ae09cb89da7d078f64906e15677de58296c119
|
|
It's shorter and f9bf15e19ec823a58ee32bf94da81f3bb1a147bc (writerfilter:
initial strict DOCX support, 2014-03-07) shows it's a pain to do anything
non-trivial with XSLT 1.0 -- in that case black magic was needed to do a simple
unique sort.
Change-Id: Icf4e7b580ce1db6826989500dbf4a012d79acdb9
|
|
Change-Id: I7fde1b44809b1886730145f16878e0f1045b2555
|
|
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.
|
|
Change-Id: Ieda9780452af21aef40b925eff6693b8098e91f7
|
|
Change-Id: I378df2ddfc0912610b5f0d674c2a76601f4440c8
|
|
Change-Id: I4dcb2a6e73b95054204e31a3a54eedad2689db2c
|
|
Change-Id: Ia846d279ea5a4d375f8eb3736a0aabd419a07382
|
|
Change-Id: I540ff861ab492a1ad4c2a9d139834a9e36ca54bc
|
|
Change-Id: Ic5b254d1e6579baf2c9acdd24ddbaa95d554cf68
|
|
This is just the tokenizer part, though all the heavy-lifing in
model.xml should be now done.
Change-Id: Idb65f3c73a077f7fd0ffd74d7101954b9433f98e
|
|
Change-Id: I47607894a5903266052cef012a55c9655cc90e89
|
|
Change-Id: I5777e4846daccfbd78fa8a4f47c313a225d7aed2
|
|
Change-Id: I7120333562d926f9d535d265d2caf8c5a95cc558
|
|
Change-Id: Id9bb0ae05395fe635aec1a42e8b3c0995cf81463
|
|
writerfilter OOXML tokenizer was just ignoring the mce elements and thus
getting the Choice content and the Fallback one. This initial support
drops all mc:Choice contents to read mc:Fallback. At least for drawingML
vs VML support, we have a much better support of the fallback.
Change-Id: Ic0bf69d0436994e9cfcf38accdd57d17e9f391fe
(cherry picked from commit f4112ce9e7840efbcd567c4d18ed4519a1e91294)
|
|
Change-Id: Iab5eb4fbfecea905f4eeb9f1b1f503c1908dadc8
|
|
Change-Id: I53e1ccda41688975ea180f44bfd507ce4ca39bf2
|
|
Change-Id: I16eb442fd65b3a2f3a44108f670fd364dc7a64c0
Reviewed-on: https://gerrit.libreoffice.org/1988
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Peter Foley <pefoley2@verizon.net>
Tested-by: Peter Foley <pefoley2@verizon.net>
|
|
Change-Id: I5293fea9b5404b82e72761407d325c408a2e45ca
|
|
Change-Id: Icacd44abfa5bf5f75f0ee719b39fba6821976a8a
|
|
i.e. relocation truncated to fix: R_PPC64_TOC16_DS
while I'm at it merge the standalone header/footer files into the .xslt and
simplify the makefile.
Change-Id: Iee0e9b5dd96868f49f1bed22fb5dc6d28c8cef81
|
|
Change-Id: I97491c61ef83f947e1923785300490f3b7920203
|
|
Change-Id: I029b96e9d30393d6e7f0fe3aa841ac62147808df
|
|
Change-Id: I0d1802ebcf384095a6962fb1faf9516bd9a2dda6
|
|
Variables should have module name as prefix to prevent collisions.
|
|
Change-Id: I0a3ad6553692fc21eaf96cf35e9c343b4d716c21
|