The ones which use a definite 8-bit encoding read/write pascal-style
strings with a 16bit length prefix.
The ones which use a definite 16-bit encoding read/write pascal-style
UTF-16 strings with a 32bit length prefix, i.e. not ByteStrings at all
The "I dunno" ones might be UTF-16 strings or 8-bit strings, depending
on the charset. Rename to ReadUniOrByteString like the other
similar horrors to flag this misery
Nobody ever used the return values anyway, so for reading just
return the string and for writing the number of bytes written
Doesn't need to be members, make standalone functions
Rename to
read_lenPrefixed_uInt8s_ToO[U]String and
write_lenPrefixed_uInt8s_FromO[U]String, lengthy,
but much less unambiguous, seeing as a lot of users of it don't
seem to be aware that they read/write pascal-style length
prefixed strings, which isn't surprising given the
apparent simplicity of their original name.
added a unit test
The ones which use a definite 8-bit encoding read/write pascal-style
strings with a 16bit length prefix.
The ones which use a definite 16-bit encoding read/write pascal-style
UTF-16 strings with a 32bit length prefix, i.e. not ByteStrings at all
The "I dunno" ones might be UTF-16 strings or 8-bit strings, depending
on the charset. Rename to ReadUniOrByteString like the other
similar horrors to flag this misery
Nobody ever used the return values anyway, so for reading just
return the string and for writing the number of bytes written
Doesn't need to be members, make standalone functions
Rename to
read_lenPrefixed_uInt8s_ToO[U]String and
write_lenPrefixed_uInt8s_FromO[U]String, lengthy,
but much less unambiguous, seeing as a lot of users of it don't
seem to be aware that they read/write pascal-style length
prefixed strings, which isn't surprising given the
apparent simplicity of their original name.
added a unit test
# HG changeset patch
# User Christian Lippka ORACLE <christian.lippka@oracle.com>
# Date 1301475461 -7200
# Node ID d87b5924442237c58b243d83012f655ce59c312d
# Parent c6dff567a9e0ee383071e53c64e3f5a06a186015
impress210: #i41995# using view contact to get bound rect for old path animation import
# HG changeset patch
# User Ocke Janssen [oj] <Ocke.Janssen@oracle.com>
# Date 1301304590 -7200
# Node ID de9c2cc66a6d7a2f16479b97b059b38090f317a0
# Parent ac21acda382420131e228c65959f33b6ef999475
impress210: comment out not needed line
# HG changeset patch
# User Christian Lippka ORACLE <christian.lippka@oracle.com>
# Date 1299763312 -3600
# Node ID 6b1140cdac81a77836e5be80033f328a0956c94a
# Parent 8edc33ef50a3b6ebbc4e88d574b6b1ba57b1dbaa
impress210: #i117133# put new drawing layer fill and stroke styles in pool only for newly created documents
# HG changeset patch
# User Christian Lippka ORACLE <christian.lippka@oracle.com>
# Date 1299270680 -3600
# Node ID 69091b8fc77c9951fcdc52b800a37a92dc70bf84
# Parent 20c5c9384888da33596d864251881e6e46bdd339
impress210: #i50899# clean up fill attributes if fill style changes
# HG changeset patch
# User Ocke.Janssen@oracle.com
# Date 1297761051 -3600
# Node ID 3df655ccd7e3966c5c22df761981dde35b5e0059
# Parent 227bb8fe599b58e849c1f19f2233d2c1b0b767ad
impress210: #i106378# use datetime to get current date
#i115996# change default bullet symbol order from 'Oo-' in 'O-O-O'
inside text objects
# HG changeset patch
# User Christian Lippka ORACLE <christian.lippka@oracle.com>
# Date 1292243696 -3600
# Node ID 80a255ef3468baa8b249e02aa760b0da463e1d26
# Parent 055aad264da0cf9598fd1b7aafbd3e144c9b8ce2
impressdefaults1: #i115996# change default bullet symbol order from 'Oo-' in 'O-O-O' inside text objects
# HG changeset patch
# User Ocke.Janssen@oracle.com
# Date 1297164555 -3600
# Node ID 902597eed5414555107034f62583c4ccc2cdfd4b
# Parent 2f0f385e8b25938777bb9fed6a86a2ff43e0b7cd
impress210: #i105310# set tooltip for items and some refactoring
Do the tempfile handling in SdrMediaObj, not in the window;
this has the advantage that it works even in the presence of clipboard
documents without SfxBaseModels and thus without storage (sc, sw).
The SdrMediaObj instances share ownership of a temp file.
# HG changeset patch
# User Armin Le Grand <armin.le.grand@oracle.com>
# Date 1300116633 -3600
# Node ID 9d821e77ed393c984738cf3e829a8c94a681828f
# Parent 20c5c9384888da33596d864251881e6e46bdd339
aw084: #i112978# use GetAllMarkedBoundRect instead of GetAllMarkedRect to get fat line support
In order to do this, the media is written to a temp file by
avmedia::MediaWindowBaseImpl. This requires some rather ugly hacks to
transport the Storage that contains the media to the avmedia stuff,
including adding a XModel reference to avmedia::MediaItem.
There are currently 2 different ways to specify what kind of file dialog
should be created: the nDialogType and nFlags ctor parameters.
Simplify that by using the nDialogType for the API specified variety,
and the nFlags only for options that cannot be specified by the API.
This allows to get rid of 3 constructors, and the following constants:
WB_OPEN, WB_SAVEAS, WB_PASSWORD, SFXWB_PASSWORD, SFXWB_SHOWSTYLES
# HG changeset patch
# User Andre Fischer<andre.f.fischer@oracle.com>
# Date 1298997222 -3600
# Node ID bca8ed5c98e5c645a6c69c7fb90cd3da84627212
# Parent 5d52cdcf6d9357e7a6dcc1aa80ba27840042a6de
* found as LGPLv3-only fix at svn rev 1172130 (http://svn.apache.org/viewvc?view=revision&revision=1172130)
# HG changeset patch
# User Andre Fischer<andre.f.fischer@oracle.com>
# Date 1283353420 -7200
# Node ID 770385ae0c265c62134bf57eeca8283f7fe80b48
# Parent 2ebd15d9e8a637b5c563f1ae49768668412e2baa
* found as LGPLv3-only fix at svn rev 1172126 (http://svn.apache.org/viewvc?view=revision&revision=1172126)