Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
|
|
w10:wrap was originally arrived to
writerfilter::dmapper::WrapHandler::lcl_attribute(), but
writerfilter::dmapper::DomainMapper_Impl::PushShapeContext() was called
already and set the anchor type. Fix this, then we can set a a suitable
anchor type in lcl_SetAnchorType() based on the type model.
Change-Id: Ib411450b10f29f814bc13d81eaec434971b2e52a
|
|
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
|
|
Change-Id: I514828469e68f2ae88309418e64ee93be30455f3
|
|
Change-Id: I71c3ebfcb68a53a291bcab2fdd397d62fd8b368a
|
|
Word handles the "border to page" distance as a subset of the page
margin. Writer handles these values separately, and the real margin is
the sum of the border width, the margin and the border width itself.
The problem was that the width of the border itself wasn't counted, so
the real margin was a bit larger than necessary.
Change-Id: Id38153308f1e321b6556762b30f3377f2360edf6
|
|
Change-Id: Ie0ed609076d59fbb9f3209e406de76aaa731073e
|
|
Change-Id: Ib8e9976e618e676465f0baf1f38be7e3297ac853
|
|
Change-Id: I707105f6da53a6cb790d743738875acde561e20f
|
|
This way the sprm handlers can be aware that a numbering is provided by
that style.
Change-Id: I5b5f1570a9e50fd8b3372f5ac7a6cd48e9751254
|
|
This can be triggered by using a style in the docx document, then
manually removing that style from styles.xml.
Change-Id: I4aad54d088d9fa56371ff49220316fb14fce6c37
|
|
|
|
Change-Id: I3358fad4949c2c21ecf63983a36b7c8428df9f06
|
|
Change-Id: I172073bac10e8d0449c0f5c0a226dd7ace013376
|
|
Change-Id: I97491c61ef83f947e1923785300490f3b7920203
|
|
Change-Id: Ic64e3e527ced7fcf81f90075bae7d8a646789d4e
|
|
Change-Id: I6c4395712cb4bb6b28e2997b4af24ab423573f4a
|
|
Change-Id: Idb109cf767342042f1a2941c30fcf137f468e7df
|
|
Change-Id: Idd938980b91ec8b822a92dfd7013a20fe5b6f498
|
|
Change-Id: If7edb301fa90a49d79fc5322a7c19ee2591f5494
|
|
Change-Id: I4c81eb1ec57bda2b5ce65b19de998bab2dfb6c3c
|
|
Change-Id: I064070a51cb87c10c72917b19969672d2121be7a
|
|
Change-Id: I93c9c6e267270a07bd98ea408f0d6f78759265bb
|
|
If the documents ends with a table, both Word/Writer produces a
non-table empty paragraph after that table. However, it's valid not to
emit that empty paragraph, so handle the situation in the importer.
Change-Id: I8ea163f2de62954f3891f8f48e81d89f6e29ce6f
|
|
One would think that with {\pict{\foo1}}, the inner group has no effect
in the outer group, but this turns out to be valid, so we should handle
it as well.
Change-Id: I64b933ad1cd5946f22d27669e9240d9e1875bde3
|
|
This fixes an assert from the fdo#49659 bugdoc.
Change-Id: I4c4d56aa119dcdb965a0b30ca137d7e7d719259c
|
|
Change-Id: I029b96e9d30393d6e7f0fe3aa841ac62147808df
|
|
There were two problems here:
1) SimpleShape::implConvertAndInsert() did not set the anchor type
2) DomainMapper_Impl::PushShapeContext() tried to overwrite it
Change-Id: I2c32016c4bb15c891cf287d8208e10817c6291e6
|
|
The dmapper part was already fixed in commit
9486851baea59d16c449d79bd61a38f6e686cfe0 for DOCX, this fixes the RTF
tokenizer.
Change-Id: Iaca706e50367bb744f5a03e15134bda1646df8fc
|
|
Update calls to factories to use new SimpleFileAccess::create method
Change-Id: Ie5b0696fe2228a9033b19969245a53c21a61aa14
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
|
|
Update calls to factories to use new ::create methods
Change-Id: I01d4417820f52718836c92faf3c2fae0dc96b30d
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
|
|
Change-Id: I67db5b5685872ef148bf4833330c02ea2b18c32e
|
|
Change-Id: I17bec612eb6d50acc4bf8ac8ea4299fd2380afb5
|
|
Change-Id: I910a508722a309d7916377a7e2df2093070809ad
|
|
Change-Id: Ibd7142f49d1a42ebab3bed02ea269a3c850197e6
|
|
Change-Id: Ie5a8469620650ba67bab8c875e0bc136bd103866
|
|
Change-Id: Ief7279a06ffbdd0e23fac28f8948daea4023823c
|
|
Change-Id: I7efb3bce9a3a6f6c029d99de2264e00bb1bc7c93
|
|
Change-Id: I17a1a94ee92ce04ff6928a20c552b3a3408a0626
|
|
Change-Id: Ibdde32014d2fc2fe43d59a5cc6ee7f722adcbfb6
|
|
Change-Id: I02e9af0034f4e9ed626615083c7c1506597f2a7e
|
|
Change-Id: If66b0a5f1b0444d8f0a6dfed1b518a0033d61d2e
|
|
Change-Id: Iaf52206aad2f1053d54025b0e71eff1b229e1372
|
|
Most RTF documents (produced by Word/Writer) reset character and
paragraph properties at the start of each paragraph. Because of this,
appending properties of the same type didn't cause any noticable
performance problems. However, it's valid to not reset these properties,
and in this case a longer document takes forever to import.
Filter these duplicates at the tokenizer level for trivial properties to
get acceptable import speed.
Also fixes rhbz#825548 in an easier-to-backport way.
Change-Id: Id0b7289323d45ff0d747c74bb78d8eb7def0cfc2
|
|
Change-Id: I171dac32f8a938dc4ecfbab13835823f65ee2611
|
|
rtf documents with vast sequences of replicated properties without any pard
resets to defaults create huge vectors of properties that eat time and memory
So if we are adding a property which already exists and there are no
intermediate properties which would cause side effects to the property then
update the existing one instead
Only implemented this optimization for some selected character properties
This takes my load time down to 7 seconds from effectively some "infinite"
hour+ load time.
Change-Id: I520779233180f4d9faf9fb0989d546e08fc6cabd
|
|
Change-Id: I22f5f4a17f2eef0d04756ff4c8e614da073248ca
|
|
Change-Id: If1497d78b8c31a4b2e5677bb57f40a0343a819a9
|
|
|
|
Change-Id: I5d5b5562a130ac5ba46afa3273cf65e7bbed2c13
|