Misplaced Pages

Compound File Binary Format

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.

Compound File Binary Format (CFBF), also called Compound File , Compound Document format , or Composite Document File V2 (CDF), is a compound document file format for storing numerous files and streams within a single file on a disk. CFBF is developed by Microsoft and is an implementation of Microsoft COM Structured Storage . The file format is used for storing storage objects and stream objects in a hierarchical structure within a single file.

#997002

50-553: Microsoft has opened the format for use by others and it is now used in a variety of programs from Microsoft Word and Microsoft Access to Business Objects. It also forms the basis of the Advanced Authoring Format . At its simplest, the Compound File Binary Format is a container, with little restriction on what can be stored within it. A CFBF file structure loosely resembles a FAT filesystem . The file

100-528: A .doc or .docx filename extension . Although the .doc extension has been used in many different versions of Word, it actually encompasses four distinct file formats: (The classic Mac OS of the era did not use filename extensions.) The newer .docx extension signifies the Office Open XML international standard for Office documents and is used by default by Word 2007 and later for Windows as well as Word 2008 and later for macOS. During

150-423: A WYSIWYG , windowed word processor with the ability to undo and display bold, italic, and underlined text, although it could not render fonts . It was not initially popular, since its user interface was different from the leading word processor at the time, WordStar . However, Microsoft steadily improved the product, releasing versions 2.0 through 5.0 over the next six years. In 1985, Microsoft ported Word to

200-523: A CFBF: More detail is given below for the header and each sector type. The CFBF Header occupies the first 512 bytes of the file and information required to interpret the rest of the file. The C-Style structure declaration below (extracted from the AAFA's Low-Level Container Specification) shows the members of the CFBF header and their purpose: When taken together as a single stream the collection of FAT sectors define

250-445: A Microsoft 365 subscription , respectively. In 1981, Microsoft hired Charles Simonyi , the primary developer of Bravo , the first GUI word processor , which was developed at Xerox PARC . Simonyi started work on a word processor called Multi-Tool Word and soon hired Richard Brodie , a former Xerox intern, who became the primary software engineer. Microsoft announced Multi-Tool Word for Xenix and MS-DOS in 1983. Its name

300-514: A Microsoft Word document such as a title, watermark, or other text, with graphical effects such as skewing, shadowing, rotating, stretching in a variety of shapes and colors, and even including three-dimensional effects. Users can apply formatting effects such as shadow, bevel, glow, and reflection to their document text as easily as applying bold or underline. Users can also spell-check text that uses visual effects and add text effects to paragraph styles. Microsoft Mouse The Microsoft Mouse

350-501: A Windows application. When Microsoft became aware of the Year 2000 problem , it made Microsoft Word 5.5 for DOS available for free downloads. As of February 2021 , it is still available for download from Microsoft's website. In 1991, Microsoft embarked on a project code-named Pyramid to completely rewrite Microsoft Word from the ground up. Both the Windows and Mac OS versions would start from

400-464: A Word Document file in a version of Word other than the one with which it was created can cause an incorrect display of the document. The document formats of the various versions change in subtle and not-so-subtle ways (such as changing the font or the handling of more complex tasks like footnotes). Formatting created in newer versions does not always survive when viewed in older versions of the program, nearly always because that capability does not exist in

450-459: A dictation function. Word 2021 added co-authoring, a visual refresh on the start experience and tabs, automatic cloud saving, dark mode, line focus, an updated draw tab, and support for ODF 1.3. The Mac was introduced on January 24, 1984, and Microsoft introduced Word 1.0 for Mac a year later, on January 18, 1985. The DOS, Mac, and Windows versions are quite different from each other. Only the Mac version

500-590: A few new features, including the Office Clipboard , which allowed users to copy and paste multiple items. It was the last version to run on the classic Mac OS and, on Mac OS X , it could only run within the Classic Environment . Word X, released in 2001, was the first version to run natively on, and to require, Mac OS X, and introduced non-contiguous text selection. Word 2004 was released in May 2004. It included

550-525: A new Notebook Layout view for taking notes either by typing or by voice. Other features, such as tracking changes, were made more similar with Office for Windows. Word 2008, released on January 15, 2008, included a Ribbon-like feature, called the Elements Gallery, that can be used to select page layouts and insert custom diagrams and images. It also included a new view focused on publishing layout, integrated bibliography management, and native support for

SECTION 10

#1732858810998

600-494: A pair of green buttons, and was nicknamed the "green-eyed mouse". As with other mice at the time, the Microsoft Mouse used a steel ball for tracking. The Japanese company Alps Electric produced the mouse. The initial version featured a DB-25 Serial Port. Later versions were available with an InPort ISA interface, requiring a Microsoft bus card to be installed in the computer or a DE-9 serial connector. All versions of

650-540: A stream called the "WordDocument" stream and this stream must start with a File Information Block (FIB). FIB serves as the first point of reference for locating everything else, such as where the text in a Word document starts, ends, what version of Word created the document and other attributes. Word 2007 and later continue to support the DOC file format, although it is no longer the default. The .docx XML format introduced in Word 2003

700-698: A technical bridge between the Microsoft Office Open XML Formats and the OpenDocument Format (ODF). This work was started in response to government requests for interoperability with ODF. The goal of the project was not to add ODF support to Microsoft Office, but only to create a plugin and an external toolset. In February 2007, this project released a first version of the ODF plugin for Microsoft Word. In February 2007, Sun released an initial version of its ODF plugin for Microsoft Office. Version 1.0

750-556: A toolbar that appears when selecting text, with options for formatting included. Word 2007 also included the option to save documents as Adobe Acrobat or XPS files, and upload Word documents like blog posts on services such as WordPress. Word 2010 allows the customization of the Ribbon, adds a Backstage view for file management, has improved document navigation, allows creation and embedding of screenshots, and integrates with online services such as Microsoft OneDrive . Word 2019 added

800-634: A visual refresh, the ability to save pictures in SVG format, and a new Sketched style outline. Word 2024, released on September 16, 2024, included Word session recovery, support for ODF 1.4, new theme and color palette and ability for easier collaboration. Even though collaboration features were also available in MS Word 2021 as part of post release update, they were not available in Word LTSC 2021 or Word LTSC 2024. Microsoft Word's native file formats are denoted either by

850-468: Is a computer mouse released by Microsoft in 1983. It is the first mouse released by the company, and it was bundled with the first versions of Microsoft Word , and/or Notepad (inclusion of these two programs varied in the initial product release), an on-screen teaching tutorial, a musical piano program, a game, and one of the first home computer color bitmap creation programs, called “Doodle,” for an initial price of $ 195. The Microsoft Mouse featured

900-476: Is available stand-alone or as part of the Microsoft Office suite. Word contains rudimentary desktop publishing capabilities and is the most widely used word processing program on the market. Word files are commonly used as the format for sending text documents via e-mail because almost every user with a computer can read a Word document by using the Word application, a Word viewer or a word processor that imports

950-409: Is defined in the header. The literature defines Sectors to be either 512 or 4096 bytes in length, although the format is potentially capable of supporting sectors ranging in size from 128-Bytes upwards in powers of 2 (128, 256, 512, 1024, etc.). The lower limit of 128 is the minimum required to fit a single directory entry in a Directory Sector. There are several types of sector that may be present in

1000-418: Is partitioned into Sectors which are chained together with a File Allocation Table (not to be mistaken with the file system of the same name) which contains chains of sectors related to each file, a Directory holds information for contained files with a Sector ID (SID) for the starting sector of a chain and so on. The CFBF file consists of a 512-Byte header record followed by a number of sectors whose size

1050-451: Is reserved by Microsoft's COM implementation for storing byte-range locking information for concurrent access. Microsoft Word Microsoft Word is a word processor program developed by Microsoft . It was first released on October 25, 1983, under the name Multi-Tool Word for Xenix systems. Subsequent versions were later written for several other platforms including: IBM PCs running DOS (1983), Apple Macintosh running

SECTION 20

#1732858810998

1100-458: The Classic Mac OS (1985), AT&T UNIX PC (1985), Atari ST (1988), OS/2 (1989), Microsoft Windows (1989), SCO Unix (1990), macOS (2001), Web browsers (2010), iOS (2014) and Android (2015). Commercial versions of Word are licensed as a standalone product or as a component of Microsoft 365 suite of software, which can be purchased either with a perpetual license or as part of

1150-632: The Macintosh Business Unit as an independent group within Microsoft focused on writing software for the classic Mac OS. Its first version of Word, Word 98, was released with Office 98 Macintosh Edition. Document compatibility reached parity with Word 97, and it included features from Word 97 for Windows, including spell and grammar checking with squiggles. Users could choose the menus and keyboard shortcuts to be similar to either Word 97 for Windows or Word 5 for Mac. Word 2001, released in 2000, added

1200-523: The ODF Alliance and others have claimed that the third-party plugins provide better support. Microsoft later declared that the ODF support has some limitations. In October 2005, one year before the Microsoft Office 2007 suite was released, Microsoft declared that there was insufficient demand from Microsoft customers for the international standard OpenDocument format support and that therefore it would not be included in Microsoft Office 2007. This statement

1250-425: The classic Mac OS (known as Macintosh System Software at the time). This was made easier by Word for DOS having been designed for use with high-resolution displays and laser printers, even though none were yet available to the general public. It was also notable for its very fast cut-and-paste function and unlimited number of undo operations, which are due to its usage of the piece table data structure. Following

1300-698: The "dove bar" Microsoft Mouse (so called for the curved palm rest's resemblance to a Dove soap bar) was introduced, in variants for both Microsoft's InPort , serial port and PS/2 port . In 1991, the trackball "Microsoft BallPoint Mouse" was made. The "kidney" Microsoft Mouse 2.0 was introduced in 1993, and its design served as the basis for the IntelliMouse , which debuted in 1996. More Microsoft mice have been released in later years, including Microsoft Natural Wireless Laser Mouse, Microsoft SideWinder , Arc Mouse , Microsoft Sculpt Ergonomic Mouse and others. In January 2024, Microsoft announced that it would license

1350-468: The Help section located near the top right corner (Word 2013 on Windows 8 ). For example, Normal.dotm is the master template from which all Word documents are created. It determines the margin defaults as well as the layout of the text and font defaults. Although Normal.dotm is already set with certain defaults, the user can change it to new defaults. This will change other documents which were created using

1400-427: The Microsoft Mouse could be used with IBM-compatible and other DOS systems. In 1985 Microsoft introduced the "gray-eyed" Microsoft Mouse, featuring a higher resolution than competing mice, and a rebadged copy of ZSoft PC Paintbrush called “PC Paintbrush,” which replaced Doodle in version 4 of the drivers. This would later be re-tooled and included with Windows 1, and formed the basis for Microsoft Paint . In 1987

1450-429: The Word format (see Microsoft Word Viewer ). Word 6 for Windows NT was the first 32-bit version of the product, released with Microsoft Office for Windows NT around the same time as Windows 95 . It was a straightforward port of Word 6.0. Starting with Word 95, each release of Word was named after the year of its release, instead of its version number. Word 2007 introduced a redesigned user interface that emphasized

1500-801: The late 1990s and early 2000s, the default Word document format ( .DOC ) became a de facto standard of document file formats for Microsoft Office users. There are different versions of "Word Document Format" used by default in Word 97–2007. Each binary word file is a Compound File , a hierarchical file system within a file. According to Joel Spolsky , Word Binary File Format is extremely complex mainly because its developers had to accommodate an overwhelming number of features and prioritize performance over anything else. As with all OLE Compound Files, Word Binary Format consists of "storages", which are analogous to computer folders and "streams", which are similar to computer files . Each storage may contain streams or other storage. Each Word Binary File must contain

1550-490: The most common controls, dividing them into tabs, and adding specific options depending on the context, such as selecting an image or editing a table. This user interface, called Ribbon, was included in Excel, PowerPoint and Access 2007, and would be later introduced to other Office applications with Office 2010 and Windows applications such as Paint and WordPad with Windows 7 , respectively. The redesigned interface also includes

Compound File Binary Format - Misplaced Pages Continue

1600-548: The new Office Open XML format. It was the first version to run natively on Intel-based Macs. Word 2011, released in October 2010, replaced the Elements Gallery in favor of a Ribbon user interface that is much more similar to Office for Windows, and includes a full-screen mode that allows users to focus on reading and writing documents, and support for Office Web Apps . Word 2021 added real-time co-authoring, automatic cloud saving, dark mode, immersive reader enhancements, line focus,

1650-441: The original 68000 CPU and was the last to be specifically designed as a Macintosh application. The later Word 6 was a Windows port and poorly received. Word 5.1 continued to run well until the last classic Mac OS . Many people continue to run Word 5.1 to this day under an emulated Mac classic system for some of its excellent features, such as document generation and renumbering, or to access their old files. In 1997, Microsoft formed

1700-413: The precedents of LisaWrite and MacWrite, Word for Mac OS added true WYSIWYG features. It fulfilled a need for a word processor that was more capable than MacWrite . After its release, Word for Mac OS's sales were higher than its MS-DOS counterpart for at least four years. The second release of Word for Mac OS, shipped in 1987, was named Word 3.0 to synchronize its version number with Word for DOS; this

1750-455: The previous version. Rich Text Format (RTF), an early effort to create a format for interchanging formatted text between applications, is an optional format for Word that retains most formatting and all content of the original document. Plugins permitting the Windows versions of Word to read and write formats it does not natively support, such as international standard OpenDocument format (ODF) (ISO/IEC 26300:2006), are available. Up until

1800-525: The release of Service Pack 2 (SP2) for Office 2007, Word did not natively support reading or writing ODF documents without a plugin, namely the SUN ODF Plugin or the OpenXML/ODF Translator. With SP2 installed, ODF format 1.1 documents can be read and saved like any other supported format in addition to those already available in Word 2007. The implementation faces substantial criticism , and

1850-448: The same code base. It was abandoned when it was determined that it would take the development team too long to rewrite and then catch up with all the new capabilities that could have been added at the same time without a rewrite. Instead, the next versions of Word for Windows and Mac OS, dubbed version 6.0, both started from the code base of Word for Windows 2.0. With the release of Word 6.0 in 1993, Microsoft again attempted to synchronize

1900-464: The status and linkage of every sector in the file. Each entry in the FAT is 4 bytes in length and contains the sector number of the next sector in a FAT chain or one of the following special values: The Range Lock Sector must exist in files greater than 2GB in size, and must not exist in files smaller than 2GB. The Range Lock Sector must contain the byte range 0x7FFFFF00 to 0x7FFFFFFF in the file. This area

1950-459: The template. It was previously Normal.dot. Word can import and display images in common bitmap formats such as JPG and GIF . It can also be used to create and display simple line art. Microsoft Word added support for the common SVG vector image format in 2017 for Office 365 ProPlus subscribers and this functionality was also included in the Office 2019 release. WordArt enables drawing text in

2000-449: The version numbers and coordinate product naming across platforms, this time across DOS, Mac OS, and Windows (this was the last version of Word for DOS). It introduced AutoCorrect, which automatically fixed certain typing errors, and AutoFormat, which could reformat many parts of a document at once. While the Windows version received favorable reviews (e.g., from InfoWorld ), the Mac OS version

2050-434: The version, it can perform simple calculations, and supports formatting formulas and equations . The following are some aspects of its feature set. Several later versions of Word include the ability for users to create their own formatting templates, allowing them to define a file in which: the title, heading, paragraph, and other element designs differ from the standard Word templates. Users can find how to do this under

Compound File Binary Format - Misplaced Pages Continue

2100-441: Was WYSIWYG and used a graphical user interface, far ahead of the other platforms. Each platform restarted its version numbering at "1.0". There was no version 2 on the Mac, but version 3 came out on January 31, 1987, as described above. Word 4.0 came out on November 6, 1990, and added automatic linking with Excel, the ability to flow text around graphics, and a WYSIWYG page view editing mode. Word 5.1 for Mac, released in 1992 ran on

2150-459: Was Microsoft's first attempt to synchronize version numbers across platforms. Word 3.0 included numerous internal enhancements and new features, including the first implementation of the Rich Text Format (RTF) specification, but was plagued with bugs. Within a few months, Word 3.0 was superseded by a more stable Word 3.01, which was mailed free to all registered users of 3.0. After MacWrite Pro

2200-498: Was a port of Word 1.05 for the Mac OS and was never updated. The first version of Word for Windows was released in 1989. With the release of Windows 3.0 the following year, sales began to pick up and Microsoft soon became the market leader for word processors for IBM PC-compatible computers . In 1991, Microsoft capitalized on Word for Windows' increasing popularity by releasing a version of Word for DOS, version 5.5, that replaced its unique user interface with an interface similar to

2250-529: Was a simple, XML -based format called WordProcessingML or WordML. The Microsoft Office XML formats are XML -based document formats (or XML schemas ) introduced in versions of Microsoft Office prior to Office 2007 . Microsoft Office XP introduced a new XML format for storing Excel spreadsheets and Office 2003 added an XML-based format for Word documents. These formats were succeeded by Office Open XML (ECMA-376) in Microsoft Office 2007 . Opening

2300-481: Was discontinued in the mid-1990s, Word for Mac OS never had any serious rivals. Word 5.1 for Mac OS, released in 1992, was a very popular word processor owing to its elegance, relative ease of use, and feature set. Many users say it is the best version of Word for Mac OS ever created. In 1986, an agreement between Atari and Microsoft brought Word to the Atari ST under the name Microsoft Write . The Atari ST version

2350-478: Was released in July 2007. Microsoft Word 2007 (Service Pack 1) supports (for output only) PDF and XPS formats, but only after manual installation of the Microsoft "Save as PDF or XPS" add-on. On later releases, this was offered by default. Among its features, Word includes a built-in spell checker, a thesaurus, a dictionary, and utilities for manipulating and editing text. It supports creating tables . Depending on

2400-555: Was repeated in the following months. As an answer, on October 20, 2005, an online petition was created to demand ODF support from Microsoft. In May 2006, the ODF plugin for Microsoft Office was released by the OpenDocument Foundation. Microsoft declared that it had no relationship with the developers of the plugin. In July 2006, Microsoft announced the creation of the Open XML Translator project – tools to build

2450-548: Was soon simplified to Microsoft Word . Free demonstration copies of the application were bundled with the November 1983 issue of PC World , making it the first to be distributed on-disk with a magazine . That year Microsoft demonstrated Word running on Windows . Unlike most MS-DOS programs at the time, Microsoft Word was designed to be used with a mouse. Advertisements depicted the Microsoft Mouse and described Word as

2500-402: Was widely derided. Many accused it of being slow, clumsy, and memory intensive, and its user interface differed significantly from Word 5.1. In response to user requests, Microsoft offered Word 5 again, after it had been discontinued. Subsequent versions of Word for macOS are no longer direct ports of Word for Windows, instead featuring a mixture of ported code and native code. Word for Windows

#997002