Related Topics
Website Development
The website technology supporting Philadelphia Reflections is PHP, MySQL and DHTML. The web hosting service is Internet Planners. The development of this website has provided an opportunity to learn new technology, to try out different techniques for getting noticed by the search engines and the trials and tribulations of dealing with malicious hackers and spammers who range from the annoying to the abusive.
This collection of articles documents some of our experiences and we hope that people surfing the web looking for solutions to problems we've encountered will benefit.
Pearls on a String:Further Extending Health (and Retirement) Savings Accounts
Pearls on a String: Further Extending Health (and Retirement) Savings Accounts.
HSAs are the string. Retirement saving, Privatizing Medicare, and Shifting Childhood Costs-- are the Pearls. Other Pearls to follow.
Co-ordinating Obamacare With Health Savings Accounts
George IV and Computers(1)
I got him into computers around 1960. He soon far surpassed me.
(Blog 2300) We have a facility on this website to download books of many chapters (made up of volumes of topics on the site) to Microsoft Word for subsequent editing and eventual publishing. In many cases we download lots of pictures (via an img src= tag). I have not found a way to set the way text flows around the images in Word using HTML or CSS, so I built a Word macro to do it. This should allow you to change the size of images, as well as move them around. Moving the captions requires the use of the captions feature in Word's image menu (right-click).
------------------------------------
Instructions for use of a Macro named Sub ImageFlow():
Sub ImageFlow()to
End Sub
If you want to do a lot of these manipulations, save the macro in the Macro Library of Windows Word.
------------------------------------ Sub ImageFlow() ' ' this Macro goes through an entire Word document and ' changes the way text flows around each picture ' ("Tight" in this example but see below for choices) ' Dim shpIn As InlineShape, shp As Shape For Each shpIn In ActiveDocument.InlineShapes If (shpIn.Type = wdInlineShapeLinkedPicture) Then Set shp = shpIn.ConvertToShape shp.WrapFormat.Type = wdWrapTight End If Next shpIn For Each shp In ActiveDocument.Shapes shp.WrapFormat.Type = wdWrapTight Next shp End Sub ---------------------------------------- Change wdWrapTight to any of the following: wdWrapBehind wdWrapFront wdWrapInline wdWrapNone wdWrapSquare wdWrapThrough wdWrapTight wdWrapTopBottom
My thanks to http://www.phrebh.com/Jenius/252-center-pictures-in-word-with-vba/ for showing me the essential technique of iterating through the pictures.
What are the InlineShapes' Types? See http://msdn.microsoft.com/en-us/library/microsoft.office.interop.word.inlineshape.type(v=office.11).aspx; it is possible we may also need to select on wdInlineShapePicture (as well as wdInlineShapeLinkedPicture) but for my specific purpose I did not need to.
Please Let Us Know What You Think